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
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ObjectValidator { public class Class1 { } }
14.153846
33
0.73913
[ "MIT" ]
ChaseWilliamson501/itse1430
Labs/ContactManager.UI/ObjectValidator/Class1.cs
186
C#
using UnityEngine; using System.Collections; public class MouseLock : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { #if UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_5 || UNITY_4_6 Screen.lockCursor = true; #else Cursor.v...
16.619048
66
0.670487
[ "MIT" ]
N1gthWind/FPS-Game-Tutorial
FPS Game/Assets/TheKiwiCode/assets/FPS Pack/Scripts/Demo/MouseLock.cs
351
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace DesignPatterns_Proxy { class Program { //original source https://metanit.com/sharp/patterns/4.5.php static void Main(string[] args) { Console.WriteLine("Design Patterns ...
24.960938
83
0.492958
[ "MIT" ]
miroshkin/design-patterns-proxy
DesignPatterns_Proxy/DesignPatterns_Proxy/Program.cs
3,197
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HyperStrings { class Program { static void Main(string[] args) { var line = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var...
23.861538
99
0.462282
[ "MIT" ]
GeorgiMateev/hacker-rank-charp
HyperStrings/Program.cs
1,553
C#
using System; namespace NetCore.BatchCRUD.Infrastructures.Models { public class BaseModel { public int Id { get; set; } public DateTime CreatedOn { get; set; } public DateTime UpdatedOn { get; set; } } }
20.166667
50
0.628099
[ "MIT" ]
dangtathanh/demo-batch-crud
src/NetCore.BatchCRUD/Infrastructures/Models/BaseModel.cs
244
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace NginxConfTransformer { public static class ConfigProcessor { public static NgxResponse Merge(ref NgxResponse original) { var merged = new NgxResponse(); merge...
31.790323
97
0.48554
[ "MIT" ]
bangbingsyb/NginxConfigTransformer
src/ConfigProcessor.cs
1,973
C#
// Copyright 2008 Louis DeJardin - http://whereslou.com // // 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 requir...
34.825
120
0.646088
[ "Apache-2.0" ]
RobertTheGrey/spark
src/Samples/AspNetMvc/AdvancedPartials/Application.cs
1,393
C#
namespace _02.MakeSelectWithToList { using System; using System.Diagnostics; using System.Linq; using _01.SelectEmployeesFromTelerikAcademy; public class Program { public static void Main(string[] args) { var context = new TelerikAcademyEntities(); var ...
30.146341
110
0.480583
[ "Apache-2.0" ]
iliantrifonov/TelerikAcademy
Databases/9.EntityFrameworkPerformance/02.MakeSelectWithToList/Program.cs
1,238
C#
using System; namespace GitDeployPack.Model { [Flags] public enum VsProjectType { Undefined = 0, Web = 1, Console = 2, Service = 4, ClassLibrary = 8, Deployment = 16, Database = 32, Test = 64, WindowsApplication = 128, NetCore...
17.578947
33
0.502994
[ "Apache-2.0" ]
alivehim/GitDeployPack
src/GitDeployPack.Core/Model/VsProjectType.cs
336
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("2....
38.135135
84
0.746279
[ "MIT" ]
Ico093/TelerikAcademy
C#2/Exams/C#Part2-7-February-2012/TelerikAcademyExam2@7Feb2012/2.MessagesInABottle/Properties/AssemblyInfo.cs
1,414
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Uber.Module.Search.Abstraction.Model; namespace Uber.Module.Search.Abstraction.Store { public interface ISearchItemTargetStore { Task<List<SearchItemTarget>> Find(Guid searchItemKey); Task<List<SearchItemTarget...
27.1875
76
0.756322
[ "MIT" ]
uber-asido/backend
src/Uber.Module.Search.Abstraction/Store/ISearchItemTargetStore.cs
437
C#
namespace System.DirectoryServices { /// <summary> /// WellKnownDN /// </summary> public enum WellKnownDN { /// <summary> /// RootDSE /// </summary> RootDSE, /// <summary> /// DefaultNamingContext /// </summary> DefaultNa...
24.169811
39
0.45121
[ "MIT" ]
BclEx/BclEx-Extend
src/System.DirectoryServicesEx/DirectoryServices/WellKnownDN.cs
1,283
C#
/******************************************************************************/ /* This source, or parts thereof, may be used in any software as long the */ /* license of NostalgicPlayer is keep. See the LICENSE file for more */ /* information. ...
26.5
139
0.308827
[ "Apache-2.0" ]
neumatho/NostalgicPlayer
Source/NostalgicPlayerKit/Containers/AgentInfo.cs
4,613
C#
using System; namespace MediatR.CommandQuery.Definitions { public interface ITrackHistory { DateTime PeriodStart { get; set; } DateTime PeriodEnd { get; set; } } }
17.636364
42
0.649485
[ "MIT" ]
loresoft/MediatR.CommandQuery
src/MediatR.CommandQuery/Definitions/ITrackHistory.cs
196
C#
using Locust.Caching; using System; using System.Threading.Tasks; using Locust.Model; using Locust.ServiceModel; using Locust.ServiceModel.Babbage; using Locust.Modules.Api.Model; namespace Locust.Modules.Api.Strategies { public partial class ApiClientIPAddStrategy : ApiClientIPAddStrategyBase { public ApiClient...
33.46875
102
0.723623
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Api/Service/ApiClientIP/Add/Strategy.cs
1,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; namespace OfficeOAuth { public static class SettingsHelper { public static string ClientID { get { return ConfigurationManager.AppSettings["ida:ClientID"]; } } ...
23.243243
80
0.605814
[ "MIT" ]
OfficeDev/TrainingContent-Archive
O3652/O3652-7 Deep Dive into Security and OAuth/Completed Projects/Exercise02/OfficeOAuth/OfficeOAuth/SettingsHelper.cs
862
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using GraphQL.Language.AST; using GraphQL.Types; using Microsoft.EntityFrameworkCore; class IncludeAppender { Dictionary<Type, List<Navigation>> navigations; public IncludeAppender(Dictionary<Type, List<...
31.437908
165
0.636175
[ "MIT" ]
andrejohansson/GraphQL.EntityFramework
src/GraphQL.EntityFramework/IncludeAppender.cs
4,812
C#
#region using MaxMind.Db; using Newtonsoft.Json; using System; #endregion namespace MaxMind.GeoIP2.Model { /// <summary> /// Contains data for the traits record associated with an IP address. /// </summary> public class Traits { /// <summary> /// Constructor /// <...
42.229358
102
0.545369
[ "Apache-2.0" ]
lapakio/GeoIP2-dotnet
MaxMind.GeoIP2/Model/Traits.cs
13,811
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. using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Game.Online.API.Requests.Resp...
32.30303
84
0.625235
[ "MIT" ]
Awesome-Of-the-Internet/osu
osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerRoomSounds.cs
2,067
C#
namespace SoftUni.Models { using System; using System.Collections.Generic; public class Project { public Project() { this.EmployeesProjects = new HashSet<EmployeeProject>(); } public int ProjectId { get; set; } public string Name { get; set; } ...
21.076923
75
0.593066
[ "MIT" ]
Ivelin153/SoftUni
C# DB/C# DB Advanced/IntroEfCore_DbFirst/Models/Project.cs
550
C#
namespace VMS.ClassUtility { public class AnnualReportFileAttr { string fileName; string ext; string newFileName; string path; string absPath; public string FileName { get { return fileName; } ...
16.861111
37
0.298188
[ "MIT" ]
rogermadhu/VMS
VMS/ClassUtility/AnnualReportFileAttr.cs
1,216
C#
using System; using Unity.Entities; using UnityEngine; namespace Improbable.Gdk.TransformSynchronization { [CreateAssetMenu(menuName = "SpatialOS/Transforms/Receive Strategies/Interpolation")] public class InterpolationReceiveStrategy : TransformSynchronizationReceiveStrategy { public int TargetBuf...
36.176471
100
0.681301
[ "MIT" ]
456-Ritwik/gdk-for-unity
workers/unity/Packages/io.improbable.gdk.transformsynchronization/ScriptableObjects/ReceiveStrategies/InterpolationReceiveStrategy.cs
1,230
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.268707
140
0.574591
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Snowball/Generated/Model/CreateClusterRequest.cs
10,075
C#
using System; using System.Reflection; using Jasper.Http.Model; using LamarCodeGeneration.Frames; using LamarCodeGeneration.Model; namespace Jasper.Http.ContentHandling { public class UseReader : MethodCall { public UseReader(RouteChain chain, bool isLocal) : base(typeof(IRequestReader), s...
26.833333
91
0.626087
[ "MIT" ]
JasperFx/jasper
src/Jasper.Http/ContentHandling/UseReader.cs
807
C#
namespace JLibrary.PortableExecutable { using System; using System.Runtime.InteropServices; [Serializable, StructLayout(LayoutKind.Sequential)] public struct IMAGE_THUNK_DATA { public U1 u1; } }
17.692308
55
0.7
[ "MIT" ]
4cc3ssD3n13d/CheatsTurkeyX-UI
CTXUI/Others/JLibrary/PortableExecutable/IMAGE_THUNK_DATA.cs
232
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class Interactuable1: MonoBehaviour { [Header("Sobre las animaciones al activarse")] [SerializeField] #pragma warning disable 0649 private Animator clickAnimator; #pragma warning restore 0649 ...
23.777778
70
0.732087
[ "MIT" ]
HexStar27/cse-investigaciones
SQL game/Assets/Scripts/Botones/Interactuable1.cs
645
C#
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2016 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software; you can redistribute it and/or modify * it under the terms of The MIT License ...
31.338235
132
0.564054
[ "MIT" ]
235u/proposals
SharpNeatSerialization/SharpNeatLib/Network/ActivationFunctions/Unipolar/MaxMinusOne.cs
2,133
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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 without limitation the rights to use, co...
37.772727
93
0.744284
[ "MIT" ]
Acorisoft/AvalonEdit
ICSharpCode.AvalonEdit/Document/IUndoableOperation.cs
1,664
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; namespace CParser.Helpers { public class AsyncStreamBlock<TInput, TOutput> : IPropagatorBlock<TInput, TOutput> { // This block's input buffer protected Bu...
37.986301
158
0.652001
[ "MIT" ]
joshwyant/cscc
CParser/Helpers/AsyncStreamBlock.cs
2,773
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Windows; using System.Windows.Data; using System.Windows.Markup; namespace VRCEventUtil.Converters { class BoolToVisibilityConverter : MarkupExtension, IValueConverter { /// <summary> //...
27.215686
103
0.59366
[ "MIT" ]
rioil/VRCEventUtil
VRCEventUtil/Converters/BoolToVisibilityConverter.cs
1,436
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
37.714286
101
0.61039
[ "MIT" ]
KnicKnic/healthcare-shared-components
src/Microsoft.Health.Api/Features/HealthChecks/HealthCheckConfiguration.cs
1,850
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace AutomatasII { class Lexico : Token, IDisposable { private StreamReader archivo; protected StreamWriter bitacora; string nombreArchivo; protected int linea, caracter; const int ...
37.307506
149
0.34547
[ "MIT" ]
AndresEdu/AutomatasII
Lexico.cs
15,411
C#
/* * LambdaSharp (λ#) * Copyright (C) 2018-2021 * lambdasharp.net * * 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 requ...
48.023041
191
0.590442
[ "Apache-2.0" ]
LambdaSharp/LambdaSharpTool
Modules/LambdaSharp.Core/RegistrationFunction/Function.cs
20,843
C#
using System.Data; using Orchard.ContentManagement.MetaData; using Orchard.Core.Common.Models; using Orchard.Core.Contents.Extensions; using Orchard.Core.Title.Models; using Orchard.Data; using Orchard.Data.Migration; using Orchard.Localization; using Orchard.Projections.Models; namespace Orchard.Projections { pu...
45.18732
169
0.543048
[ "BSD-3-Clause" ]
Lawyerson/Orchard
src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs
15,682
C#
using System.Collections.Generic; namespace MetafileDumper.EmfPlus.Objects { /// <summary> /// Specifies focus scales for the blend pattern of a path gradient brush. /// [MS-EMFPLUS] 2.2.2.18 /// </summary> public class EmfPlusFocusScaleData : ObjectBase { public EmfPlusFocusScaleData(...
32.130435
80
0.582544
[ "MIT" ]
hughbe/Metafile-Dumper
src/EmfPlus/Objects/EmfPlusFocusScaleData.cs
1,480
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2018 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Origina...
27.346154
91
0.609705
[ "MIT" ]
ChristianBasiga/daggerfall-unity
Assets/Scripts/Editor/DaggerfallTerrainEditor.cs
1,424
C#
namespace Lyra.Features.Styles { public class BodyStyle { public string ForegroundColor { get; set; } public string BackgroundColor { get; set; } public float FontSize { get; set; } public string NormalFont { get; set; } public string SpecialFont { get; set; } ...
22.69697
65
0.575434
[ "MIT" ]
ogirard/lyra
src/Lyra/Features/Styles/(Model)/BodyStyle.cs
749
C#
// Copyright (c) Service Stack LLC. All Rights Reserved. // License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Web; using Funq; using Servi...
37.502931
151
0.566177
[ "Apache-2.0" ]
ildarisaev/sandbox2
src/ServiceStack/ServiceStackHost.cs
31,140
C#
 namespace DesktopApp { partial class FormAcercaDe { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
47.180212
167
0.578041
[ "MIT" ]
Edwinroman30/Prog_2_PracticaFinal
Prog_2_PracticaFinal(net4.8)/DesktopApp/FormAcercaDe.Designer.cs
13,354
C#
using System; using System.Collections.Generic; namespace CometFlavor.Extensions.Linq; /// <summary> /// IEnumerable{T} に対する拡張メソッド /// </summary> public static class EnumerableExtensions { /// <summary> /// シーケンスのフィルタと条件に適合しない場合のアクションを指定するオペレータ。 /// </summary> /// <typeparam name="TSource">シーケンスの要素型<...
26.764706
145
0.593407
[ "MIT" ]
toras9000/CometFlavor
CometFlavor/Extensions/Linq/EnumerableExtensions.cs
1,120
C#
using System; namespace WatsonConnection { public class Class1 { } }
9.222222
26
0.638554
[ "Apache-2.0" ]
juliarezender/api-person
WatsonConnection/Class1.cs
85
C#
//----------------------------------------------------------------------- // Copyright 2017 Roman Tumaykin // // 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....
41.153846
84
0.685514
[ "Apache-2.0" ]
ConstantineK/ssis-build
src/SsisBuild.Tests.Helpers/Properties/AssemblyInfo.cs
2,143
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.Collections.Generic; using Cake.Common.IO; using Cake.Common.Tools.DotNetCore.Build; usi...
38.347436
210
0.561349
[ "MIT" ]
duracellko/cake
src/Cake.Common/Tools/DotNetCore/DotNetCoreAliases.cs
59,824
C#
using System.Linq; using PatchKit.Api.Models.Main; using PatchKit.Unity.Patcher.AppData.Remote; using PatchKit.Unity.Patcher.AppData.Local; namespace PatchKit.Unity.Patcher.AppUpdater.Status { public static class StatusWeightHelper { public static double GetUnarchivePackageWeight(long size) { ...
27.943662
86
0.618448
[ "MIT" ]
SolidClouds/StarbornePatcher
Assets/PatchKit Patcher/Scripts/AppUpdater/Status/StatusWeightHelper.cs
1,986
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("PIn...
37.351351
84
0.74602
[ "Apache-2.0" ]
MFunction96/MFVolumeCtrl
PInvoke/Properties/AssemblyInfo.cs
1,385
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Q...
36.37037
151
0.566191
[ "MIT" ]
sndnvaps/QR_C_Sharp
QR_Encode_Decode/Properties/Settings.Designer.cs
1,090
C#
// Decompiled with JetBrains decompiler // Type: Diga.WebView2.Interop.ICoreWebView2Controller3 // Assembly: Diga.WebView2.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: AAF9543A-0FE1-46E7-BB2C-D24EA0535C0F // Assembly location: O:\webview2\v1077444\Diga.WebView2.Interop.dll using System; usi...
58.252336
330
0.798492
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
V1090249/Diga.WebView2.Interop.V1090249/ICoreWebView2Controller3.cs
6,235
C#
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org/?p=license&r=2.4. // ****************************************************...
25.73913
96
0.648226
[ "Apache-2.0" ]
assessorgeneral/ConQAT
org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/tests/EventTestFixture.cs
2,368
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 MS.Internal.Xml.XPath { using System; using Microsoft.Xml; using Microsoft.Xml.XPath; usin...
28.47619
105
0.561873
[ "MIT" ]
Bencargs/wcf
src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/XPath/Internal/Axis.cs
2,392
C#
using System.Linq; using DdfGuide.Core.Filtering; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DdfGuide.Test.Filtering { [TestClass] public class SpecialAudioDramasOnlyFilterTests { [TestMethod] public void FilterOnlyReturnsOnlyAudioDramasThatDontHaveANumber() { ...
32.129032
115
0.670683
[ "MIT" ]
KerstinMaur/DdfGuide
DdfGuide.Test/Filtering/SpecialAudioDramasOnlyFilterTests.cs
998
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
36.799692
180
0.556756
[ "MIT" ]
DaniGTA/CloudFlare-DDNS-Updater
Properties/Resources.Designer.cs
23,949
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerStats : MonoBehaviour { public int currentLevel; public int currentExp; public int[] toLevelUp; public int[] HPLevels; public int[] attackLevels; public int[] defenceLevels; public int currentHP; public int ...
20.311475
83
0.736885
[ "Unlicense" ]
vesche/snippets
c_sharp/Unity_ARPG_SFS_MMO_2/PlayerStats.cs
1,241
C#
namespace KeyMouse { using System; using System.Windows.Forms; using Incode; internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderin...
18.380952
56
0.707254
[ "MIT" ]
cschladetsch/Incode
IncodeWindow/Program.cs
388
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: AssemblyTi...
39.133333
85
0.729131
[ "Apache-2.0" ]
26384sunilrana/Habitat
src/Feature/Teasers/tests/Properties/AssemblyInfo.cs
1,176
C#
// ----------------------------------------------------------------------- // <copyright file="MSBuildProjectCollection.cs" company="Ollon, LLC"> // Copyright (c) 2017 Ollon, LLC. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using System.Component...
32
81
0.558594
[ "MIT" ]
Ollon/MSBuildTemplates
src/Ollon.VisualStudio.Extensibility.DesignTime.Implementation/Extensibility/Implementation/Services/MSBuildProjectCollection.cs
770
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("Foo...
37.837838
84
0.749286
[ "MIT" ]
stepan82/Programming-Basics
Exam-Exersises/Football_Tickets/Properties/AssemblyInfo.cs
1,403
C#
using System; using System.Diagnostics; using System.Windows.Input; namespace Fixie.AutoRun.Infrastructure { public class RelayCommand : RelayCommand<object> { public RelayCommand(Action execute) : base(_ => execute()) { } public RelayCommand(Action execute, Func<bool> canExecu...
23.369863
71
0.59789
[ "MIT" ]
JonasSamuelsson/fixie.AutoRun
src/Fixie.AutoRun/Infrastructure/RelayCommand.cs
1,708
C#
using System; using System.Collections.Generic; using System.Text; namespace ADASMobileClient.Core { interface ExitAppInterface { void exitApp(); } }
14.333333
33
0.697674
[ "MIT" ]
ajaykeshri/AdasLogin
UserDetailsClient/UserDetailsClient.Core/ExitAppInterface.cs
174
C#
using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using DevChatter.Bot.Core; using DevChatter.Bot.Core.GoogleApi; using Newtonsoft.Json; namespace DevChatter.Bot.Infra.GoogleApi { public class GoogleApiTimezoneLookup : ITimezoneLookup { private const string UNKNOWN_L...
41.239437
173
0.656079
[ "MIT" ]
DCurtin/devchatterbot
src/DevChatter.Bot.Infra.GoogleApi/GoogleApiTimezoneLookup.cs
2,928
C#
using UnityEngine; using System.Collections.Generic; namespace Effekseer { /// <summary xml:lang="en"> /// Which scale is A scale of effect based on. /// </summary> /// <summary xml:lang="ja"> /// どのスケールをエフェクトのスケールの元にするか /// </summary> public enum EffekseerEmitterScale { Local, Global, } /// <summary x...
22.706422
135
0.632646
[ "MIT" ]
effekseer/EffekseerForUnity
Dev/Plugin/Assets/Effekseer/Scripts/EffekseerEmitter.cs
13,739
C#
using Entitas; using System.Collections.Generic; public class FirstBossStageEntry : BossStage { float timeLimit; public float TimeLimit { get { return timeLimit; } } public int Count { get { return 1; } } public FirstBossStageEntry() { timeLimit = 2.0f; } public v...
29.40625
95
0.556854
[ "MIT" ]
kicholen/GamePrototype
Assets/Source/Src/System/Enemy/boss/first/Stage/Entry/FirstBossStageEntry.cs
943
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
43.447761
151
0.623497
[ "MIT" ]
Philippe-Morin/azure-powershell
src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/LinkedServices/GetAzureDataFactoryLinkedServiceCommand.cs
2,847
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using ZoomLa.BLL; using ZoomLa.Common; using ZoomLa.Model...
39.208092
245
0.630842
[ "Apache-2.0" ]
zoomlacms/web022
Source-Code-设客网设计师与设计院作品分享与威客门户网站/Manage/Pub/PubView.aspx.cs
6,909
C#
using System; namespace Protobuild { public interface ICommand { void Encounter(Execution pendingExecution, string[] args); int Execute(Execution execution); string GetDescription(); int GetArgCount(); string[] GetArgNames(); } }
15.210526
66
0.622837
[ "MIT" ]
SjB/Protobuild
Protobuild.Internal/CommandLine/ICommand.cs
291
C#
using System; using System.Collections.Generic; using System.Text; namespace Clustering_Iris.DataStructures { public class IrisData { public float Label; public float SepalLength; public float SepalWidth; public float PetalLength; public float PetalWidth; } }
15.9
40
0.672956
[ "MIT" ]
27theworldinurhand/machinelearning-samples
samples/csharp/getting-started/Clustering_Iris/IrisClustering/IrisClusteringConsoleApp/DataStructures/IrisData.cs
320
C#
using System; using System.Collections.Generic; using System.Windows.Forms; namespace AsyncDialog { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles()...
26.705882
65
0.614537
[ "Unlicense" ]
SiddharthMishraPersonal/InterviewPreperation
Winforms/asyncdialog-src/AsyncDialog/Program.cs
454
C#
 using pc2x.Application.Repositories.Repositories; using pc2x.Application.Services.Services; using SimpleInjector; using SimpleInjector.Integration.Wcf; using System; using System.Linq; using System.Reflection; using System.ServiceModel; namespace pc2x.Application.WebServices.WCF { public class WcfServiceFactory ...
33.643836
113
0.618485
[ "MIT" ]
pc2x/Wcf_WebApi_Test
pc2x.Application/pc2x.Application.WebServices.WCF/WcfServiceFactory.cs
2,458
C#
/* * Hydrogen Nucleus API * * The Hydrogen Nucleus API * * OpenAPI spec version: 1.9.4 * Contact: info@hydrogenplatform.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collections.Generic; using N...
24.992248
118
0.543424
[ "Apache-2.0" ]
ShekharPaatni/SDK
atom/nucleus/csharp/src/Nucleus.Test/Model/PortfolioHoldingAggTests.cs
3,224
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
35.384615
157
0.593478
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.462
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Component/KryptonPaletteNavigatorState.cs
2,763
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.OutlookApi { /// <summary> /// DispatchInterface Actions /// SupportByVersion Outlook, 9,10,11...
35.62963
188
0.674636
[ "MIT" ]
igoreksiz/NetOffice
Source/Outlook/DispatchInterfaces/Actions.cs
3,850
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attribute...
45.148148
95
0.776046
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/mixedreality/Microsoft.Azure.Management.MixedReality/src/Properties/AssemblyInfo.cs
1,222
C#
using MarkDoc.Core; using MarkDoc.Linkers; using MarkDoc.MVVM.Helpers; namespace MarkDoc.Plugins.GitMarkdown { public sealed class LinkerStep : BasePluginStep { /// <inheritdoc /> public override string Name => "Linker configuration"; /// <inheritdoc /> public override int StepNumber => 3; ...
23.208333
101
0.689408
[ "MIT" ]
hailstorm75/MarkDoc.Core
src/Plugins/MarkDoc.Plugins.GitMarkdown/LinkerStep.cs
559
C#
using System; namespace Otoge { static class Entry { static void Main(string[] args) { Console.WriteLine("Hello World!"); new Game(1280, 720, "Otoge").Run(); } } }
12.857143
38
0.627778
[ "MIT" ]
Xeltica/otoge
src/Entry.cs
180
C#
// <auto-generated /> using System; using IdentitySample.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace IdentitySample.Data.Migrations { [DbContext(ty...
35.008511
125
0.485232
[ "MIT" ]
IUCrimson/AspNet.Security.CAS
samples/IdentitySample/Data/Migrations/ApplicationDbContextModelSnapshot.cs
8,227
C#
namespace Kapi.API.Core.Extensions { using Kapi.API.Core.Models; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using System; using System.IdentityModel.Tokens.J...
37.493827
96
0.598617
[ "MIT" ]
luca16s/CapybaraFinancePlanner
Kapi.API.Core/Extensions/SecurityExtensions.cs
3,039
C#
using LandWin.Venues.DataCollection.Commands; using NServiceBus; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace LandWin.Venues.DataCollection.Web.Controllers { [RoutePrefix("api/commands")] public class CommandContr...
21.076923
68
0.587591
[ "MIT" ]
stephsun06/Landwin.Veunue
LandWin.Venues.DataCollection.Web/Controllers/CommandController.cs
824
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
34.585714
85
0.503924
[ "MIT" ]
loozixuan/Degree-RSD-Materials
BAIT2113 Web Application Development/Practical9/TryCatch.aspx.designer.cs
2,423
C#
#nullable disable using System; using System.IO; namespace SharpCompress.Compressors.Xz { [CLSCompliant(false)] public sealed class XZStream : XZReadOnlyStream { public static bool IsXZStream(Stream stream) { try { return null != XZHeader.FromStream...
26.268657
102
0.45
[ "MIT" ]
Artentus/sharpcompress
src/SharpCompress/Compressors/Xz/XZStream.cs
3,522
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Tests { public class ReflectionHelper { private static Tuple<object, PropertyInfo> GetProperty...
36.988889
115
0.577351
[ "MIT" ]
AJJTEAM/checkou-payment-api-client
Checkout.ApiClient.Tests/Utils/ReflectionHelper.cs
3,331
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...
29.777778
177
0.624067
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Cache/Latest/Outputs/SkuResponse.cs
1,072
C#
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi { public static class UnityYamlConstants { public static readonly string AssetsFolder = "Assets"; public static readonly string Prefab = ".prefab"; public static readonly string Scene = ".unity"; public static readonly...
53.159091
104
0.722959
[ "Apache-2.0" ]
JetBrains/resharper-unity
resharper/resharper-unity/src/Yaml/Psi/UnityYamlConstants.cs
2,339
C#
using System; namespace RocketMQ.Client { public class CloneGroupOffsetRequestHeader : CommandCustomHeader { [CFNotNull] public string srcGroup { get; set; } [CFNotNull] public string destGroup { get; set; } public string topic { get; set; } public bool offline ...
22.411765
68
0.606299
[ "MIT" ]
leeveel/RocketMQ.Client
RocketMQ.Client/Protocal/Header/CloneGroupOffsetRequestHeader.cs
383
C#
namespace GoshoSecurity.Models { public class UserLoginModel { public string Username { get; set; } public string Password { get; set; } } }
18.888889
44
0.617647
[ "MIT" ]
vividmaniac/GoshoSecurity
project/GoshoSecurity/GoshoSecurity/Models/UserLoginModel.cs
172
C#
namespace Dazor.Cli.Commands { internal class SeedApplyCommand { } }
14.6
35
0.739726
[ "MIT" ]
OlsonDev/Dazor
Dazor/Cli/Commands/SeedApplyCommand.cs
73
C#
using System.Collections.Generic; namespace SimplePatch { public class DeltaCollection<TEntity> : List<Delta<TEntity>> where TEntity : class, new() { } }
22.857143
97
0.7375
[ "Apache-2.0" ]
OmarMuscatello/SimplePatch
src/SimplePatch/DeltaCollection.cs
162
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; using Azure.ResourceManager; namespace Azure.ResourceManager.Resources { public partial class ScriptLogData : IUtf8JsonSerializable ...
31.771429
83
0.476619
[ "MIT" ]
Cardsareus/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ScriptLogData.Serialization.cs
2,224
C#
// // This file was auto-generated using the ChilliConnect SDK Generator. // // The MIT License (MIT) // // Copyright (c) 2015 Tag Games Ltd // // 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...
37.195313
180
0.691766
[ "MIT" ]
ChilliConnect/Samples
UnitySamples/CharacterGacha/Assets/ChilliConnect/GeneratedSource/Errors/GetZipPackageDefinitionsError.cs
9,522
C#
using Elastic.Xunit.XunitPlumbing; using Nest; using System.ComponentModel; namespace Examples.Ml.AnomalyDetection.Apis { public class UpdateDatafeedPage : ExampleBase { [U(Skip = "Example not implemented")] [Description("ml/anomaly-detection/apis/update-datafeed.asciidoc:112")] public void Line112() { //...
23.777778
80
0.67757
[ "Apache-2.0" ]
adamralph/elasticsearch-net
tests/Examples/Ml/AnomalyDetection/Apis/UpdateDatafeedPage.cs
642
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Vod.V1.Model { /// <summary> /// /// </summary> public class UpdateWa...
31.764706
112
0.457464
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Vod/V1/Model/UpdateWatermarkTemplateReq.cs
18,338
C#
/* Copyright (c) 2006 Google Inc. * * 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 applicable law or ...
34.133333
76
0.635417
[ "Apache-2.0" ]
michael-jia-sage/libgoogle
src/contentforshopping/elements/color.cs
1,538
C#
using DAM2_DI_U5_EJ_Agenda.dto; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DAM2_DI_U5_EJ_Agenda.logica { public class Logica { // Colección que usaremos para carar TODAS las tareas ...
34.710526
156
0.556735
[ "MIT" ]
alexiscv/DAM2_DI
DAM2_DI_U5_EJ_Agenda/DAM2_DI_U5_EJ_Agenda/logica/Logica.cs
3,969
C#
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Akka.NET Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //-...
45.058824
107
0.624021
[ "Apache-2.0" ]
cuteant/akka.net
test/Akka.TestKit.Tests/Properties/AssemblyInfo.cs
768
C#
using LocalCinema.Data.Model; using System; using System.Collections.Generic; using System.Data; using System.Text; using System.Threading.Tasks; namespace LocalCinema.Data.Repository.Interfaces { public interface IDbConnectionContext : IDisposable { IDbConnection GetOpenConnection(string con...
36.634146
103
0.6751
[ "Apache-2.0" ]
vikashCoach/LocalCinema
LocalCinema.Data.Repository/Interfaces/IDbConnectionContext.cs
1,504
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace LedGameDisplayLibrary { public class Character { public string Name { get; set; } public char Char { get; set; } public string File { get; set; } public Color[,] Pixels { get; set...
23.28
47
0.56701
[ "MIT" ]
Hunv/LedGameDisplay
LedGameDisplayLibrary/Character.cs
584
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.Collections.Generic; using System.Xml; using System.Diagnostics.CodeAnalysis; namespace System.Service...
31.057471
111
0.649149
[ "MIT" ]
06needhamt/runtime
src/libraries/System.ServiceModel.Syndication/src/System/ServiceModel/Syndication/SyndicationPerson.cs
2,702
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Xml; using System.Xml.Linq; using System.Xml.XPath; using JetBrains.Annotations; namespace Rocks.Helpers { public static class XmlExtensions { //...
36.105634
151
0.647422
[ "MIT" ]
MichaelLogutov/Rocks.Helpers
src/Rocks.Helpers/XmlExtensions.cs
30,764
C#
namespace Foxkit { public interface IProductHeaderValue { /// <summary> /// The name of the product, the GitHub Organization, or the GitHub Username that's using Octokit (in that order of preference) /// </summary> string Name { get; } /// <summary> /// The vers...
25.1875
135
0.563275
[ "MIT" ]
ThymonA/Foxkit.net
Foxkit/Interfaces/Http/Headers/IProductHeaderValue.cs
405
C#
using System; using System.Net.Mail; namespace Postal { /// <summary> /// Parses raw string output of email views into <see cref="MailMessage"/>. /// </summary> public interface IEmailParser { /// <summary> /// Creates a <see cref="MailMessage"/> from the string output o...
33.8
89
0.60503
[ "MIT" ]
Ravinia/postal
src/Postal/IEmailParser.cs
678
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...
26.641026
81
0.625602
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Synapse/V20201201/Outputs/WorkspaceKeyDetailsResponse.cs
1,039
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using EasyMobile.Internal; namespace EasyMobile { [AddComponentMenu("")] public class Advertising : MonoBehaviour { public static Advertising Instance { get; private set; } // Supported ad clients...
38.827359
148
0.571905
[ "MIT" ]
Guillemsc/Playground
Assets/EasyMobile/Scripts/Modules/Advertising/Advertising.cs
53,079
C#