content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.222222
151
0.578848
[ "Unlicense", "MIT" ]
arajar/EasyWFC
EasyWFC/Properties/Settings.Designer.cs
1,061
C#
using System; using System.Diagnostics; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; using Xamarin.Auth; using Xamarin.Forms; using Xamarin.Forms.Platform.WinPhone; using XamFormsAuthenticateProviders; using XamFormsAuthenticateProviders.WinPhone.Custom_Pages; using Button = Xam...
36.88189
112
0.541204
[ "MIT" ]
PacktPublishing/Xamarin-Cross-Platform-Mobile-Application-Development
Module 2/Chapter 1/Windows/s4/xamformsauthenticateproviders/XamFormsAuthenticateProviders.WinPhone/Custom Pages/LoginPageRenderer.cs
4,686
C#
using FluentValidation; using FluentValidation.Internal; using Microsoft.AspNetCore.Components.Forms; using System; using System.Linq; using System.Reflection; namespace Web.WebApp.Extensions { // Ref: https://chrissainty.com/using-fluentvalidation-for-forms-validation-in-razor-components/ public static class...
40.897436
157
0.671787
[ "MIT" ]
tolaveng/TrackMyExpense
src/Web.WebApp/Extensions/EditContextFluentValidationExtensions.cs
3,192
C#
using System; using System.Threading; namespace GitHub.Unity { class GitLockTask : ProcessTask<string> { private const string TaskName = "git lfs lock"; private readonly string arguments; public GitLockTask(string path, CancellationToken token, IOutputProcessor<string> proc...
30.708333
88
0.63772
[ "MIT" ]
Frozenfire92/Unity
src/GitHub.Api/Git/Tasks/GitLockTask.cs
737
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Generic; using System.Linq; using osu.Game.Rulesets.Replays; using osu.Game.Utils; namespace osu.Game.Replays { ...
30.823529
111
0.609733
[ "MIT" ]
peppy/osu-new
osu.Game/Replays/Replay.cs
1,017
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either h...
90.818182
310
0.7998
[ "MIT" ]
AsafMah/K2Bridge
K2Bridge.Tests.UnitTests/GlobalSuppressions.cs
1,001
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.712042
137
0.531886
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThan/Complete/NullableSingle/Double/TestSet_504__param__01__VV.cs
9,442
C#
using System; [Serializable] public class NoteHashSet : SerializableHashSet<Note> { }
12.428571
52
0.781609
[ "MIT" ]
SirLangley/Play
UltraStar Play/Assets/Common/Model/Song/NoteHashSet.cs
87
C#
using Ocelot.Configuration.Creator; using Ocelot.Configuration.File; using Ocelot.Values; using Shouldly; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.Configuration { public class UpstreamTemplatePatternCreatorTests { private FileRoute _fileRoute; private readonly ...
36.578544
124
0.527181
[ "MIT" ]
AndyConlisk/Ocelot
test/Ocelot.UnitTests/Configuration/UpstreamTemplatePatternCreatorTests.cs
9,547
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Management.Automation.Runspaces; using System.Reflection; using System.IO; using System.M...
45.217559
184
0.526481
[ "Apache-2.0", "MIT-0" ]
Lolle2000la/PowerShell
src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs
81,889
C#
using System.Runtime.InteropServices; namespace THNETII.WinApi.Native.WinNT { using static WinNTConstants; // C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 12312 /// <summary> /// Describes cache attributes. This structure is used with the <see cref="GetLogicalProcessorI...
42.176471
171
0.613203
[ "MIT" ]
couven92/thnetii-windows-api
src-native/THNETII.WinApi.Headers.WinNT/CACHE_RELATIONSHIP.cs
2,151
C#
namespace BookingsApi.AcceptanceTests.Helpers { public enum Scenario { Valid, Invalid, Negative, Nonexistent } }
14.363636
46
0.575949
[ "MIT" ]
hmcts/vh-bookings-api
BookingsApi/BookingsApi.AcceptanceTests/Helpers/Scenario.cs
160
C#
using Discord; using Discord.WebSocket; using System; using System.Threading.Tasks; namespace NadekoBot.Services.Discord { public class ReactionEventWrapper : IDisposable { public IUserMessage Message { get; } public event Action<SocketReaction> OnReactionAdded = delegate { }; public e...
30.26506
136
0.58121
[ "MIT" ]
moonantonio/NadekoBot
src/NadekoBot/Services/Discord/SocketMessageEventWrapper.cs
2,514
C#
using Recipe_Book.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics.Tracing; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.For...
38.112224
144
0.551635
[ "Apache-2.0" ]
AutumnO/Recipe_Book
Recipe_Book/Form1.cs
19,020
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; // ReSharper disable StringLiteralTypo namespace MathCore.Tests.Extensions { [TestClass, SuppressMessage("ReSharper", "InconsistentNaming")] public cla...
36.987552
98
0.545546
[ "MIT" ]
Infarh/MathCore
Tests/MathCore.Tests/Extensions/IDictionaryExtensionsTests.cs
8,916
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace MvcTypescript.MvcWebClient.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { ...
31.046512
110
0.627715
[ "MIT" ]
krcourville/mvc-grid-experiment
MvcTypescript.MvcWebClient/Models/ManageViewModels.cs
2,672
C#
using MacomberMapCommunications.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MacomberMapCommunications.Messages.EMS { /// <summary> /// © 2014, Michael E. Legatt, Ph.D., Electric Reliability Council of Texas...
31.714286
130
0.656532
[ "MIT" ]
geek96/MacomberMap
MacomberMapCommunications/Messages/EMS/MM_State_Measurement.cs
891
C#
using UnityEngine; using System.Collections.Generic; using UnityEditor; [CustomEditor(typeof(PanelAnimator))] public class PanelAnimatorInspector : Editor { public override void OnInspectorGUI() { var t = (PanelAnimator)target; var rt = ((RectTransform)t.transform); GUILayout...
26.926829
57
0.568841
[ "Unlicense", "MIT" ]
L-Lawliet/JECSu
Assets/JECSU/JEdit/UI/Editor/PanelAnimatorInspector.cs
1,106
C#
using System; using System.Timers; namespace MagiCloud.NetWorks { /// <summary> /// 心跳包控制端 /// </summary> public sealed class HeartBeatController { Timer timer = new Timer(1000); public long heartBeatTime = 20; ControlTerminal controlTerminal; public HeartBeatContr...
27.45283
83
0.514777
[ "MIT" ]
LiiiiiWr/MagiCloudSDK
Assets/MagiCloud/Scripts/NetWorks/Scripts/Core/Control/HeartBeatController.cs
1,483
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
38.946809
192
0.57416
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/avs/Microsoft.Azure.Management.Avs/src/Generated/LocationsOperationsExtensions.cs
3,661
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
41.022727
176
0.575346
[ "MIT" ]
tsvilans/glulamb
GluLamb.GH/Properties/Resources.Designer.cs
10,832
C#
using CsvHelper.Configuration.Attributes; using MessagePack; using Realms; using System.Collections.Generic; using System.Linq; namespace LINZCsvConverter.Model { public class TownCityLocation : RealmObject { [Ignore] // CsvHelper [Required] // Realm private byte[] LocationRaw { get; s...
26.719101
97
0.521867
[ "Apache-2.0" ]
carlst99/TrialManager
LINZCsvConverter/Model/TownCityLocation.cs
2,380
C#
using System; using Arctium.Connection.Tls.Protocol.HandshakeProtocol; namespace Arctium.Connection.Tls.Protocol.BinaryOps.Builder.HandshakeBuilders { internal class ClientKeyExchangeBuilder : HandshakeBuilderBase { public override Handshake BuildFromBytes(byte[] buffer, int offset, int length) ...
31.315789
87
0.705882
[ "MIT" ]
NeuroXiq/Arctium
src/Arctium/Arctium.Connection/Tls/Protocol/BinaryOps/Builder/HandshakeBuilders/ClientKeyExchangeBuilder.cs
597
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Concurrent; using System.Collections.Generic; using NuGet.Common; using NuGet.Frameworks; using NuGet.Packaging; using NuGet.P...
40.244898
111
0.700304
[ "Apache-2.0" ]
aelij/NuGet.Client
src/NuGet.Core/NuGet.Commands/RestoreCommand/ProjectRestoreRequest.cs
1,974
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Threading; using Microsoft.CodeAnalysis.Internal.Log; namespace Microsoft.CodeAnalysis....
27.074074
112
0.606019
[ "Apache-2.0" ]
HenrikWM/roslyn
src/Workspaces/Core/Portable/Notification/GlobalOperationRegistration.cs
1,464
C#
using System; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using NSubstitute; using Shouldly; using tusdotnet.Interfaces; using tusdotnet.Models; using tusdotnet.test.Extensions; using Xunit; namespace tusdotnet.test.Tes...
36.521739
108
0.611012
[ "MIT" ]
SnGmng/tusdotnet
Source/tusdotnet.test/Tests/CrossRequestLockTests.cs
3,362
C#
/*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System; using System.Linq; using System.Threading; using System.Thr...
32.325581
151
0.598291
[ "MIT" ]
JohnPKosh/azos
src/Azos/Data/Access/Cache/Table.cs
22,240
C#
using System.Collections; using Agava.YandexGames; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace YandexGames.Tests { public class PlayerAccountTests { [UnitySetUp] public IEnumerator WaitForSdkInitialization() { yield return YandexGamesSdk....
26.92
92
0.587667
[ "MIT" ]
forcepusher/YandexGamesUnity
Packages/com.agava.yandexgames/Tests/Runtime/PlayerAccountTests.cs
2,692
C#
using System; using System.Collections.Generic; using System.Text; namespace Lykke.Service.EthereumCore.Core.Common { public class IdCheckResult { public bool IsFree { get; set; } public Guid ProposedId { get; set; } } }
19.307692
48
0.677291
[ "MIT" ]
JTOne123/EthereumApiDotNetCore
src/Lykke.Service.EthereumCore.Core/Common/IdCheckResult.cs
253
C#
using NUnit.Framework; using System.Drawing; namespace ScottPlotTests { public class UnitTest1 { [Test] public void TestGetBitmap() { { var plt = new ScottPlot.Plot(1, 1); Bitmap bmp = plt.GetBitmap(); Assert.AreEqual(bmp.Width...
24.576923
57
0.471049
[ "MIT" ]
790687382/ScottPlot
tests/UnitTest1.cs
639
C#
using SkeMapper.Settings; using System; namespace SkeMapper.Builder { public class MapperBuilder : IApplySettings, IBuildMapper { private readonly Lazy<SkeMapper> mapperInstance = new Lazy<SkeMapper>(() => SkeMapper.Instance, true); private MapperBuilder() { } public static IApplySet...
26.346154
110
0.658394
[ "MIT" ]
keke1210/SkeMapper
src/SkeMapper/Builder/MapperBuilder.cs
687
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Formall.Persistence { using Formall.Reflection; using Raven.Json.Linq; internal class Repository : IRepository { private readonly Model _model; p...
28.744898
137
0.554491
[ "Apache-2.0" ]
InnPad/Formall.NET
Formall.RavenDB/Persistence/Repository.cs
2,819
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02...
38.567568
84
0.746321
[ "MIT" ]
ykomitov/Homeworks-TA
01.CSharp1/Intro-Programming-Homework/05.Print-Your-Name/Properties/AssemblyInfo.cs
1,430
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
29.52
145
0.731707
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO64_V2_A.Manual.cs
740
C#
using System; using System.CommandLine; using System.CommandLine.Invocation; using System.Threading.Tasks; using EasyAbp.AbpHelper.Extensions; using EasyAbp.AbpHelper.Steps.Abp; using EasyAbp.AbpHelper.Steps.Common; using Elsa.Activities; using Elsa.Expressions; using Elsa.Scripting.JavaScript; namespace EasyAbp.AbpH...
41.86747
176
0.531511
[ "MIT" ]
cnmediar/AbpHelper.CLI
src/AbpHelper/Commands/ServiceCommand.cs
3,477
C#
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Data; using System.Threading; using System.Threading.Tasks; using Dapper; using DotNetCore.CAP.Dashboard; using Microsoft.Extensions.Logg...
29.548872
105
0.618066
[ "MIT" ]
horbel/CAP
src/DotNetCore.CAP.MySql/IStorage.MySql.cs
3,930
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
30.897436
104
0.73361
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Shield/Generated/Model/DisassociateDRTRoleRequest.cs
1,205
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through ...
93.76
401
0.90913
[ "MIT" ]
DotNetAnalyzers/DocumentationAnalyzers
DocumentationAnalyzers/DocumentationAnalyzers/Properties/AssemblyInfo.cs
2,346
C#
using UnityEngine; namespace UGF.Messages.Runtime.Physics { [AddComponentMenu("Unity Game Framework/Messages/Physics/Message Collision All", 2000)] public class MessageCollisionAllReceiver : MonoBehaviour { [SerializeField] private MessageCollision m_onEnter = new MessageCollision(); [Seria...
32.0625
91
0.664717
[ "MIT" ]
unity-game-framework/ugf-messages
Packages/UGF.Messages/Runtime/Physics/MessageCollisionAllReceiver.cs
1,026
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JogoVelhaConsoleApp { /// <summary> /// Jogo da velha Com console App /// Demo de Matrizes /// Autor Alexander Silva /// </summary> class Program { static void Main(string[] args) { ...
22.747664
71
0.570666
[ "MIT" ]
AlexanderVieira/jogo-velha-consoleApp
JogoVelhaConsoleApp/JogoVelhaConsoleApp/Program.cs
2,441
C#
#nullable enable using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace FitsCs { public sealed class FitsWriter : BufferedStreamManager { // 16 * 2880 bytes is ~ 45 KB // It allows to process up to 16 Fits IDUs at once public FitsWriter(Stream ...
25.878205
105
0.471637
[ "MIT" ]
Ilia-Kosenkov/Fits-Cs
Fits-Cs/FitsWriter.cs
4,039
C#
// This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org. // IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd. using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentMo...
27.142857
101
0.769298
[ "Unlicense", "MIT" ]
BuildingSMART/IfcDoc
IfcKit/schemas/IfcMeasureResource/IfcNamedUnit.cs
1,140
C#
// Copyright © 2010-2015 Bertrand Le Roy. All Rights Reserved. // This code released under the terms of the // MIT License http://opensource.org/licenses/MIT namespace SysExtensions.Fluent.IO { /// <summary> /// Overwriting policy. /// </summary> public enum Overwrite { /// <summary>...
30.763158
85
0.548332
[ "MIT" ]
h10r/YouTubeNetworks
App/SysExtensions/Fluent.IO/Overwrite.cs
1,172
C#
namespace Aohost.Blog.BlazorApp.Models.Common { public class EmojiDto { public string Name { get; set; } public string Char { get; set; } public string Category { get; set; } public string[] Keywords { get; set; } } }
20.384615
46
0.584906
[ "MIT" ]
aohost/Aohost.Blog.Blazor
Models/Common/EmojiDto.cs
267
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
45.393443
121
0.671362
[ "BSD-3-Clause" ]
AlericInglewood/opensimulator
OpenSim/Tools/Robust.32BitLaunch/Program.cs
2,769
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ProjetoFinal.Core.Contrato { public interface IRepositorioGravacao<T> where T : EntidadeBase { T Adicionar(T entidade); IEnumerable<T> AdicionarLista(IEnumerable<T> listaEntidades); void D...
21.75
69
0.676519
[ "MIT" ]
JulioBorges/curso_c_sharp
ProjetoFinal/ProjetoFinal.Core/Contrato/IRepositorioGravacao.cs
611
C#
 #define PLAT_NO_INTERLOCKED using System.Threading; namespace ProtoBuf { internal sealed class BufferPool { internal static void Flush() { #if PLAT_NO_INTERLOCKED lock(pool) { for (int i = 0; i < pool.Length; i++) pool[i] = null; } #else ...
30.971154
123
0.444582
[ "MIT" ]
hcy12321/ProtoBufNetUnity3D
Assets/Plugins/protobuf-net/BufferPool.cs
3,223
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
33.061538
144
0.603071
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/GkeHub/Inputs/FeatureMembershipConfigmanagementConfigSyncGitArgs.cs
2,149
C#
using Newtonsoft.Json; namespace stellar_dotnet_sdk.responses { public class OperationFeeStatsResponse : Response { [JsonProperty(PropertyName = "min_accepted_fee")] public long Min { get; } [JsonProperty(PropertyName = "mode_accepted_fee")] public long Mode { get; } ...
27.964286
102
0.630907
[ "Apache-2.0" ]
alphapoint/dotnet-stellar-sdk
stellar_dotnet_sdk_4.5.2/responses/OperationFeeStatsResponse.cs
785
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Web; using Codeplex.Data; // DynamicJson はこれ。 using System.Diagnostics; //...
22.594406
86
0.599505
[ "MIT" ]
bryful/GalleriaSupport
FindFolder/Program.cs
3,251
C#
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using ServiceStack.Common.Tests.Models; namespace ServiceStack.OrmLite.MySql.Tests { [TestFixture] public class OrmLiteBasicPersistenceProviderTests : OrmLiteTestBase { [SetUp] public void SetUp() { } [Test] public void C...
26.041667
99
0.70912
[ "BSD-3-Clause" ]
augustoproiete-forks/ServiceStack--ServiceStack.OrmLite
src/ServiceStack.OrmLite.MySql.Tests/OrmLiteBasicPersistenceProviderTests.cs
3,125
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the Xcode designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; namespace StateRestoration { [Register ("FilterViewController...
19.941176
84
0.679941
[ "MIT" ]
Art-Lav/ios-samples
StateRestoration/StateRestoration/FilterViewController.designer.cs
678
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class CycleRoundDecisions : WeaponTransition { public CycleRoundDecisions(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } } ...
21.4
106
0.732087
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/CycleRoundDecisions.cs
307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Web.UI; using System.Web.UI.WebControls; public partial class frmHeadwiseFeeRpt : DBUtility { string strQry = ""; DataSet dsObj; protected void Page_Load(object sender, EventArgs e) { ...
30.367347
259
0.499328
[ "MIT" ]
clearcodetechnologies/cctSchoolApplication
frmHeadwiseFeeRpt.aspx.cs
4,466
C#
using CommandLine; namespace LangBuilder { public class Options { [Option('i', "input", Required = true, HelpText = "Input files to be processed")] public string Input { get; set; } [Option('o', "output", Required = true, HelpText = "Directory where translations should be cre...
37.105263
141
0.604255
[ "MIT" ]
CrazyHackGUT/sm-TranslationsBuilder
LangBuilder/Options.cs
707
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace AndroidIconography { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static v...
25.5
67
0.62549
[ "Apache-2.0" ]
iboalali/Android-Iconography
AndroidIconography/Program.cs
512
C#
using System; namespace Opds4Net.Server { /// <summary> /// Converts data items to syndication items /// </summary> public interface IOpdsItemConverter { /// <summary> /// Raise on a syndication item is generated. /// </summary> event EventHandler<ItemGeneratedEvent...
34.88
117
0.633028
[ "MIT" ]
atollkuci/calibre-reading-lists
source/Opds4Net/Opds4Net/Server/IOpdsItemConverter.cs
874
C#
using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using wyUpdate; public static class LimitedProcess { [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] static extern IntPtr GetShellWindow(); [DllImport("user32.dll", SetLastErro...
46.778571
278
0.505802
[ "BSD-2-Clause" ]
Amadeus-/wyupdate
Util/LimitedProcess.cs
13,100
C#
using System; using System.Collections.Generic; using Substrate.Nbt; using System.Collections; namespace Substrate { /// <summary> /// Provides named id values for known item types. /// </summary> /// <remarks>See <see cref="BlockType"/> for additional information.</remarks> public stat...
46.591928
120
0.60693
[ "MIT" ]
Micalobia/Substrate
SubstrateCS/Source/ItemInfo.cs
31,172
C#
// MIT License - Copyright (c) Malte Rupprecht // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package using System; using System.Collections.Generic; namespace LibreLancer.Utf.Anm { public class Script { public float RootHeigh...
37.30303
126
0.672624
[ "MIT" ]
lyzardiar/Librelancer
src/LibreLancer/Utf/Anm/Script.cs
1,233
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace performance { public partial class Form1 : Form { public Form1() { ...
17.619048
37
0.683784
[ "Apache-2.0" ]
foxundermoon/MessageService
performance/Form1.cs
372
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Skybot.Api.IntegTests.Controllers; using Skybot.Api.Models; using Skybot.Api.Services.IntentsServices; using Skybot.Api.Services.Settings; namespace Skybot.Api.IntegTests.Services.Inten...
34
95
0.664861
[ "MIT" ]
malekatwiz/Skybot
Skybot.Api.IntegTests/Services/IntentsServices/TranslateIntentTests.cs
1,294
C#
// Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root. using System; using System.Globalization; namespace Rotorz.Json { /// <summary> /// Node holding a 64-bit integer value. /// </summary> public sealed class JsonIntegerNode : ...
27.392857
88
0.532377
[ "MIT" ]
Joey35233/FoxKit
FoxKit/Assets/Lib/dotnet-json/JsonIntegerNode.cs
2,303
C#
namespace CinemAPI.Data.EF { using System; using System.Data.Entity.Migrations; public partial class initDbCreate : DbMigration { public override void Up() { CreateTable( "dbo.Cinemas", c => new { ...
42.245763
88
0.435306
[ "MIT" ]
ToniStoynev/CinemaApi
CinemaApi/CinemAPI.Data.EF/Migrations/201911210832562_initDbCreate.cs
4,985
C#
//----------------------------------------------------------------------- // <copyright file="MiscExtensions.cs" company="TemporalCohesion.co.uk"> // Copyright 2011 - Present Stuart Grassie // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
37.690909
104
0.576942
[ "Apache-2.0" ]
aldass/csharp-github-api
csharp-github-api/Extensions/MiscExtensions.cs
2,075
C#
using System; using UIKit; using Foundation; using CoreGraphics; using QuartzSample; public class RectDrawingView : QuartzView { public override void DrawInContext (CGContext context) { // Drawing with a white stroke color context.SetStrokeColor (1, 1, 1, 1); // And drawing with a blue fill color context.Set...
32.931818
93
0.645963
[ "MIT" ]
Art-Lav/ios-samples
QuartzSample/PolyDrawing.cs
4,347
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Windows.Forms { /// <summary> /// Delegate to the WebBrowser Navigated event. /// </su...
36.166667
104
0.746544
[ "MIT" ]
ArrowCase/winforms
src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventHandler.cs
436
C#
using System; using System.Threading; namespace LogJoint { public static class IsBrowser { static Lazy<bool> value = new Lazy<bool>(() => { var os = System.Runtime.InteropServices.RuntimeInformation.OSDescription; return os == "web" || os == "Browser"; }, LazyThr...
24.117647
85
0.619512
[ "MIT" ]
rkapl123/logjoint
trunk/model/generic/IsBrowser.cs
410
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Text; namespace Equinox.Infra.CrossCutting.Identity.Models.ManageViewModels { public class ManageLoginsViewModel { public IList<UserLoginInfo> CurrentLogins { ge...
25.5
69
0.762255
[ "MIT" ]
duyxaoke/DEV
src/Equinox.Infra.CrossCutting.Identity/Models/ManageViewModels/ManageLoginsViewModel.cs
410
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Net; using System.Numerics; using System.Windows.Forms; using ImGuiNET; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using T3.Core; using T3.Core.Logging; using T3.Gui.UiHelpers; namespace T3.Gui.InputUi { pub...
34.228395
131
0.572768
[ "MIT" ]
still-scene/t3
T3/Gui/InputUi/StringInputUi.cs
5,547
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
34.75
175
0.671181
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/DynamoDBv2/Generated/Model/DescribeGlobalTableRequest.cs
2,363
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using AutoMapper; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.As...
43.251852
243
0.574927
[ "MIT" ]
zhaoyanwenqi/Tubumu
src/Tubumu.Modules.Framework/Startup.cs
11,764
C#
// // System.Web.Services.Description.SoapBodyBinding.cs // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2002 // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal i...
25.401786
137
0.691388
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web.Services/System.Web.Services.Description/SoapBodyBinding.cs
2,845
C#
using MathNet.Numerics.LinearAlgebra; using MathNet.Numerics.LinearAlgebra.Double; using System; using System.IO; using UnityEngine; public class NeuralNetwork { private System.Random random = new System.Random(123); private int[] layers; private Matrix<double>[] nodes; private Matrix<double>[] weig...
28.066038
90
0.448908
[ "MIT" ]
JureBevc/genetic-neural-networks
Assets/GA/NeuralNetwork.cs
5,952
C#
using System.Xml.Serialization; namespace Artillery.DataProcessor.ExportDto { [XmlType("Country")] public class ExportCountryDto { [XmlAttribute("Country")] public string CountryName { get; set; } [XmlAttribute] public string ArmySize { get; set; } } }
20.266667
47
0.638158
[ "MIT" ]
Plamen-Angelov/Entity-Framework
Exam Preparation/Exam 16.12.2021/Artillery/DataProcessor/ExportDto/ExportCountryDto.cs
306
C#
using System.Threading.Tasks; namespace Plus.Authorization { public class AlwaysAllowMethodInvocationAuthorizationService : IMethodInvocationAuthorizationService { public Task CheckAsync(MethodInvocationAuthorizationContext context) { return Task.CompletedTask; } } }
26.416667
104
0.731861
[ "MIT" ]
Meowv/Plus.Core
Plus.Core/Plus/Authorization/AlwaysAllowMethodInvocationAuthorizationService.cs
319
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
35.647727
148
0.661779
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/Internal/MarshallTransformations/GetVaultLockRequestMarshaller.cs
3,137
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Money { class Program { static void Main(string[] args) { int bitcoinsNumber = int.Parse(Console.ReadLine()); double yuansNumber = double.Parse...
28.76
66
0.59388
[ "MIT" ]
BorisLechev/Programming-Basics
Exams/7.07.16/Money/Program.cs
721
C#
using System.Collections.Generic; using ETModel; using UnityEngine; namespace ETHotfix { [ObjectSystem] public class UIComponentAwakeSystem : AwakeSystem<UIComponent> { public override void Awake(UIComponent self) { self.Camera = Component.Global.transform.Find("UICamera").gameObject; } } /// <summary...
19.232558
89
0.678356
[ "MIT" ]
FlameskyDexive/Battle-Of-Balls
Unity/Assets/Hotfix/Module/UI/UIComponent.cs
837
C#
using System; using System.IO; using System.Linq; using CsvHelper.Configuration; using ESFA.DC.EAS.Tests.Base.Models; using FluentAssertions; using Microsoft.VisualBasic.FileIO; using Xunit; namespace ESFA.DC.EAS.Tests.Base.Helpers { public static class TestCsvHelper { public static void CheckCsv(stri...
34.527273
115
0.507636
[ "MIT" ]
SkillsFundingAgency/DC-EAS-2021
src/ESFA.DC.EAS.Tests.Base/Helpers/TestCsvHelper.cs
1,901
C#
using System.Collections.Generic; namespace Groceriz.Common.TranslationsConfigurationProvider { public interface ITranslationsConfigurationRefresherProvider { /// <summary> /// List of instances of <see cref="IConfigurationRefresher"/> for App Configuration. /// </summary> IEnum...
30.153846
93
0.719388
[ "Apache-2.0" ]
mattletw/I18Next.Net
Groceriz.Common.TranslationsConfigurationProvider/ITranslationsConfigurationRefresherProvider.cs
392
C#
namespace GearSharp { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
43.845745
110
0.58025
[ "MIT" ]
jadelgre/GearSharp
GearSharp/Form1.Designer.cs
8,245
C#
using Microsoft.AspNetCore.Components; using System.Text; namespace BlazorDesk.Components { public static class col { public static FluentColumn _ { get { return new FluentColumn(""); } } public static FluentColumn xs { get { return new FluentColumn("-xs"); } } public static FluentColu...
47.990909
128
0.606933
[ "MIT" ]
grammyleung/BlazorDesk
src/BlazorDesk/BlazorDesk.Components/Layout/Column.razor.cs
5,281
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace abc_bank { public class Account { public const int CHECKING = 0; public const int SAVINGS = 1; public const int MAXI_SAVINGS = 2; private readonly int...
28.75
80
0.486166
[ "Apache-2.0" ]
joselarabo/AbcBankCSharpInterview
abc-bank/Account.cs
2,532
C#
using System; using Xms.Core.Context; using Xms.Core.Data; namespace Xms.File { public interface IAttachmentFinder { Entity FindById(Guid id); PagedList<Entity> QueryPaged(int page, int pageSize, Guid entityId, Guid objectId); } }
20.076923
91
0.693487
[ "MIT" ]
861191244/xms
Libraries/File/Xms.File/IAttachmentFinder.cs
263
C#
using Fluky.Types; namespace Fluky { public class FirstName { public FirstName() { } public FirstName(string name, GenderType genderType) { Name = name; GenderType = genderType; } public string Name { get; set; } public GenderType GenderType { get; set; } } }
14.952381
56
0.60828
[ "MIT" ]
EmphaticFist/Fluky
src/Fluky/FirstName.cs
316
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /****************************************************************************** * This file is auto-generated from ...
37.308163
185
0.570264
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/Not.Vector64.Int64.cs
18,281
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChunkGenerator : MonoBehaviour { // Start is called before the first frame update public GameObject[] chunks = new GameObject[4]; private int position = 50; private int spawn = 400; void Start() { ...
22.823529
136
0.631443
[ "MIT" ]
XP-Mr-Robot/Endless-Runner
Assets/_Game/Scripts/ChunkGenerator.cs
778
C#
// ----------------------------------------------------------------------- // <copyright file="LighthouseService.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------------------------------- using Sy...
32.058824
100
0.533945
[ "Apache-2.0" ]
izavala/Cluster.WebCrawler
src/Lighthouse/LighthouseService.cs
1,092
C#
namespace eWAY.Rapid.Internals.Response { internal class Direct3DSecureEnrollResponse : BaseResponse { public string Default3dsUrl { get; set; } public long TraceId { get; set; } public string AccessCode { get; set; } } }
25.9
62
0.656371
[ "MIT" ]
CareerHub/eway-rapid-net
eWAY.Rapid/Internals/Response/Direct3DSecureEnrollResponse.cs
261
C#
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vector2 = Catalyst.Engine.Utilities.Vector2; using Vector3 = Catalyst.Engine.Utilities.Vector3; using Vector4 = Catalyst.Engine.Utilities.Vector4; using Color = Catal...
37.650943
248
0.570784
[ "MIT" ]
ttalexander2/catalystenginepublic
Catalyst.Engine/Rendering/Particle.cs
3,993
C#
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using zrak.Enumerators; namespace zrak.Models { public class TicTacToeStoreModel { [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } [BsonRepresentation(BsonType.String)] ...
31
55
0.625806
[ "MIT" ]
Wineburner/zrak
zrak/zrak/Models/TicTacToeStoreModel.cs
777
C#
/* * Copyright © 2017 EDDiscovery development team * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
46.340764
213
0.485534
[ "Apache-2.0" ]
nullx27/EDDiscovery
EDDiscovery/Actions/ActionsEDDCmds/ActionScanStar.cs
14,241
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.71875
205
0.579616
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DataBoxEdge/V20190801/GetBandwidthSchedule.cs
2,757
C#
namespace CodeFirstModels { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public partial class CustomerDemographic { public CustomerDemographic() { this.Customers = new HashSet<Customer>(); } [Key] ...
23.666667
68
0.62173
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/OpenRiaServices.EntityFramework/Test/CodeFirstModel/CustomerDemographic.cs
497
C#
namespace GTVariable { [System.Serializable] public class FloatReference : ReferenceVariable<float, FloatVariable> { } }
18.125
74
0.668966
[ "MIT" ]
GhooTS/PlanetExplorer
Assets/_Packages/GTScriptableVariable/Runtime/Variables/Reference/FloatReference.cs
147
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
45.656075
178
0.624539
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-artifactory
sdk/dotnet/LocalMavenRepository.cs
24,426
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Co...
37.702703
84
0.744803
[ "MIT" ]
LukasRH/AAU_2.Semester
OOP/Ugeopgaver/ConsoleMenu/ConsoleMenu/Properties/AssemblyInfo.cs
1,398
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
25.058296
463
0.697745
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.DirectoryServices/Sources/System.DirectoryServices.ActiveDirectory.AdamInstance.cs
5,588
C#
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
35.87619
369
0.564428
[ "MIT" ]
AustralianDisabilityLimited/MultiversePlatform
mvsm/AutoSplatHeightAngleRange.cs
18,835
C#