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
namespace EasyXML { partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; public Ribbon1() : base(Globals.Factory.GetRibbonFactory()) ...
37.496183
139
0.571254
[ "MIT" ]
SonicPrince/LemonData
EasyXMLCode/EasyXML/Ribbon1.Designer.cs
5,108
C#
// Copyright (c) 2018 Alachisoft // // 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 agreed ...
31.428571
75
0.727273
[ "Apache-2.0" ]
abayaz61/NCache
Src/NCCommon/Queries/QueryKeyWords.cs
882
C#
#region License /* Copyright 2019 James F. Bellinger <http://www.zer7.com/software/hidsharp> 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...
28.583333
76
0.683188
[ "ECL-2.0", "Apache-2.0" ]
vinogradniy/HidSharp
HidSharp/Experimental/BleCharacteristicProperties.cs
1,031
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // /*******************************************************************/ /* WARNING */ /* This file should be identical in the Bartok and Singularity */ /* depots. Master copy resides in Bartok...
30.379009
77
0.390307
[ "MIT" ]
pmache/singularityrdk
SOURCE/base/Imported/Bartok/runtime/shared/GCs/RefWriteBarrier.cs
10,420
C#
namespace NGSoftware.Common.Configuration { public interface IAppSettings { string this[string parameterName] { get; } } }
20.285714
50
0.683099
[ "MIT" ]
ngeor/NGSoftware.Common
NGSoftware.Common/Configuration/IAppSettings.cs
142
C#
using VkNet.Enums.SafetyEnums; using VkNet.Utils; namespace VkNet.Model.RequestParams { /// <summary> /// Параметры метода friends.getOnline /// </summary> public struct FriendsGetOnlineParams { /// <summary> /// Параметры метода friends.getOnline /// </summary> /// <param name="gag">Заглушка для констру...
32.131579
304
0.682637
[ "MIT" ]
uid17/VK
VkNet/Model/RequestParams/Friends/FriendsGetOnlineParams.cs
3,318
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace CustomerService.SPA.Pages { public class ErrorModel : PageModel { public string RequestId { get...
26.166667
92
0.699045
[ "MIT" ]
QuinntyneBrown/CustomerService
src/CustomerService.SPA/Pages/Error.cshtml.cs
628
C#
using CellWar.Utils; using SharpCompress.Archives; using SharpCompress.Common; using System; using System.Diagnostics; using System.IO; using System.Net; namespace ppUpdator.Core { public class Updator { UpdateInfoModel info; public Updator() { info = JsonHelper.Json2Object...
32.597938
133
0.47723
[ "MIT" ]
cyf-gh/ppUpdator
ppUpdator/ppUpdator.Core/Updator.cs
7,158
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security.Claims; using System.Threading.Tasks...
29.659341
112
0.564283
[ "Apache-2.0" ]
18965824402/dotnet-core-Example
DotNetCore/mvc.filter/Controllers/HomeController.cs
2,731
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using NativeLibrary = NativeLibraryLoader.NativeLibrary; using Veldrid.MetalBindings; namespace Veldrid.MTL { internal unsa...
38.702479
136
0.572667
[ "MIT" ]
Bxil/veldrid
src/Veldrid/MTL/MTLGraphicsDevice.cs
23,415
C#
using System; using System.Collections.Generic; using System.Linq; using Elektronik.Containers.SpecialInterfaces; using Elektronik.Data; using Elektronik.PluginsSystem; namespace Elektronik.Containers { public class VirtualContainer : ISourceTree, IVisible, ISnapshotable { public VirtualContainer(stri...
26.866667
102
0.506479
[ "MIT" ]
dioram/Elektronik
Assets/Scripts/Containers/VirtualContainer.cs
3,629
C#
using Project1.WebUi.Controllers.Exceptions; using Project1.WebUi.Models; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Project1.Tests.WebUi.Models { public class OrderTest { [Fact] public void CanAdd12Pizzas() { Order o = new Ord...
25.071429
89
0.450499
[ "MIT" ]
1811-nov27-net/rogerio-pereira-Project1
Project1/Project1.Tests/WebUi/Models/OrderTest.cs
2,810
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TrackHoverManager : MonoBehaviour { public TrackHover[] tracks; public void Start() { Hover(1); } public void Hover(float number) { if (tracks.Length > number - 1) { ...
21.846154
54
0.457746
[ "MIT" ]
codebaard/synthesia
Unity_Synthesia/Assets/TrackHoverManager.cs
570
C#
namespace CarDiaryX.Application.Common { public class ApplicationSettings { public string Secret { get; private set; } } }
18
50
0.666667
[ "MIT" ]
stefanMinch3v/CarDiaryX
src/CarDiaryX.Api/CarDiaryX.Application/Common/ApplicationSettings.cs
146
C#
 using System; using System.Linq; namespace ngCoreSmartApp.ViewModels { public class OrderViewModel { public int Id { get; set; } public decimal Discount { get; set; } public string Comments { get; set; } } }
16.533333
45
0.620968
[ "MIT" ]
girishgodage/SmartApp
ngCoreSmartApp/ViewModels/OrderViewModel.cs
250
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. //------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG...
39.075
175
0.682662
[ "MIT" ]
Anreol/ReleasedFromTheVoid
Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs
1,563
C#
namespace NupkgWrench { internal class Constants { internal const string HelpOption = "-h|--help"; internal const string ExcludeSymbolsTemplate = "--exclude-symbols"; internal const string ExcludeSymbolsDesc = "Filter out symbol packages."; internal const string VersionFilterTe...
59.216216
205
0.735281
[ "MIT" ]
AChubatova/NupkgWrench
src/NupkgWrench/Constants.cs
2,191
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.PowerFx.Core.Functions; namespace Microsoft.PowerFx.Intellisense.IntellisenseData { /// <summary> /// This class represents the default intellisense result. /// </summary> internal class DefaultIntellisenseData...
40.540541
235
0.638667
[ "MIT" ]
CarlosFigueiraMSFT/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Intellisense/IntellisenseData/DefaultIntellisenseData.cs
3,002
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. #nullable disable using System; using System.Collections.Generic; using System.IO; using System.Linq; using System...
40.609639
227
0.540379
[ "Apache-2.0" ]
CyberSys/roslyn
src/Tools/Source/RunTests/Program.cs
16,855
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Security.Policy { public static class __UnionCodeGroup { public static IObservable<System.Security.Policy.PolicyStatement> Resolve( this IObserv...
39.888889
114
0.700836
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Security.Policy.UnionCodeGroup.cs
1,795
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using Elastic.Elasticsearch.Xunit.XunitPlumbing; using Nest; using System.ComponentModel; namespace Examples.XPac...
29.830508
81
0.690341
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Examples/XPack/Docs/En/RestApi/Security/GetTokensPage.cs
1,760
C#
using System; using System.IO; using System.Net; using System.Text; using System.Xml; namespace FastDFSCore.Client { /// <summary>FastDFSCore配置信息帮助类 /// </summary> public static class FDFSOptionHelper { /// <summary>从文件中读取配置信息 /// </summary> public static FDFSOption GetFDFSOpti...
40.42439
131
0.563654
[ "MIT" ]
SunGram/FastDFSCore
src/FastDFSCore/Client/FDFSOptionHelper.cs
8,707
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Shared; using Microsoft.Bui...
46.665079
222
0.51978
[ "MIT" ]
0xced/msbuild
src/Tasks/ResGen.cs
29,401
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
31.135593
101
0.438214
[ "MIT" ]
Appleseed/squidex
backend/src/Squidex.Infrastructure/Orleans/LoggingFilter.cs
1,839
C#
namespace Zhigly.Code.API { public class Recaptcha { public const string SiteKey = "Enter Recaptcha Site Key Here"; public const string Secret = "Enter Recaptcha Secret Here"; private const string Url = "https://www.google.com/recaptcha/api/siteverify"; public static s...
26.714286
85
0.56328
[ "MIT" ]
AlanMorel/zhigly
Zhigly/Zhigly/Code/API/Recaptcha.cs
563
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; using System.Collections.Generic; namespace HillPigeon.MvcAttributes { /// <summary> /// Identifies an action that supports the H...
31.621622
111
0.600855
[ "MIT" ]
AClumsy/HillPigeon
src/HillPigeon.Orleans/MvcAttributes/HttpGetAttribute.cs
1,170
C#
using System.Collections.Generic; using ActionGameFramework.Audio; using Core.Health; using TowerDefense.Agents; using UnityEngine; namespace TowerDefense.Level { /// <summary> /// A class representing the home base that players must defend /// </summary> public class PlayerHomeBase : DamageableBehaviour { ///...
23.333333
94
0.657453
[ "MIT" ]
FriendlyUser/BattleTD
Assets/Scripts/TowerDefense/Level/PlayerHomeBase.cs
3,222
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessEngine.Models { public class ProduitsBonLivraison { virtual public ProduitsBonLivraisonPK PKs { get; set; } } [Serializable] public class ProduitsBonLivrai...
24.095238
81
0.579051
[ "Apache-2.0" ]
InnovLabs/InnovFishShop
BusinessEngine/Models/ProduitsBonLivraison.cs
1,014
C#
using System; using WindowsInput; namespace GamepadMapper.Actuators { public class SendCharacterActuator : IAction { public SendCharacterActuator(char character, IKeyboardSimulator keyboard) { Character = character; Keyboard = keyboard; } public char Ch...
20.5
81
0.605691
[ "MIT" ]
EdonGashi/gamepad-mapper
src/GamepadMapper/Actuators/SendCharacterActuator.cs
494
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Text.Json.Serialization.Converters { internal sealed class Int32Converter : JsonConverter<int> { public Int32Converter() { IsInte...
35.491525
156
0.637536
[ "MIT" ]
333fred/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/Int32Converter.cs
2,094
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Xunit; namespace Nett.Tests.Unit { [ExcludeFromCodeCoverage] public sealed partial class TomlObjectFactoryTests { [Fact] public void Update_WhenKeyDoesntExist_ThrowInvalidOp...
29.182482
133
0.538394
[ "MIT" ]
NZSmartie/Nett
Test/Nett.Tests/Unit/TomlObjectFactory.Update.Tests.cs
7,998
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; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Mvc.Formatters { ...
30.362069
111
0.579216
[ "Apache-2.0" ]
Karthik270290/Projects
src/Microsoft.AspNetCore.Mvc.Core/Formatters/StreamOutputFormatter.cs
1,761
C#
using DG.Tweening; using UnityEngine.SceneManagement; using UnityEngine.UI; using GameComponentAttributes; using GameComponentAttributes.Attributes; using TMPro; using UnityEngine; namespace LD48Project.UI { public class EndgameWindow : GameComponent { const string DepthDescTemplate = "Your max depth is: \n{0:.0}...
27.548387
85
0.763466
[ "MIT" ]
shelhelix/LD48Project
Assets/Scripts/UI/EndgameWindow.cs
856
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit; using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Demos { // Simple example script that subscribes to primary pointer changes and...
38.413793
151
0.585278
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/MRTK/Examples/Demos/Input/Scenes/PrimaryPointer/PrimaryPointerHandlerExample.cs
2,228
C#
namespace FFXIVClientStructs.FFXIV.Component.GUI; [StructLayout(LayoutKind.Explicit, Size = 0x24)] public unsafe struct AtkUldComponentDataRadioButton { [FieldOffset(0x00)] public AtkUldComponentDataBase Base; [FieldOffset(0x0C)] public fixed uint Nodes[4]; [FieldOffset(0x1C)] public uint TextId; [Fie...
35.8
60
0.773743
[ "MIT" ]
AsgardXIV/FFXIVClientStructs
FFXIVClientStructs/FFXIV/Component/GUI/AtkUldComponentDataRadioButton.cs
360
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Azos.Log; using Azos.Conf; namespace Azos.Apps.Volatile { /// <summary> /// Defines a base provider that stores objects for ObjectStoreService class /// </summary> public abstract class ObjectStoreProvider : Service<O...
21.630137
104
0.545915
[ "MIT" ]
chadfords/azos
src/Azos/Apps/Volatile/ObjectStoreProvider.cs
1,579
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("Tex...
36.758621
84
0.746717
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter19/TextCellListCode/TextCellListCode/TextCellListCode.WinPhone/Properties/AssemblyInfo.cs
1,067
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
42.555556
94
0.777023
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudwf/Cloudwf/Transform/V20170328/ListApRadioStatusResponseUnmarshaller.cs
1,915
C#
// Copyright (C) 2014 dot42 // // Original filename: Android.Test.cs // // 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 re...
51.898181
4,729
0.681889
[ "Apache-2.0" ]
Dot42Xna/master
Generated/v4.2/Android.Test.cs
191,141
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/wingdi.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; ...
44.666667
145
0.744136
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/wingdi/EMREXTCREATEFONTINDIRECTW.cs
940
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.Globalization; using System.Runtime.InteropServices; using System.Text; namespace System.Diagnostics {...
47.379121
158
0.59666
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.Windows.cs
8,623
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WinFormsMVC.Request; using WinFormsMVC.View; namespace WinFormsMVCUnitTest.Test.Services.Base.GivenFormsManagementTest { interface IRedoTest { bool IsUndoLock ...
19.884615
76
0.595745
[ "MIT" ]
belre/WinFormsMVC
WinFormsMVCUnitTest/Test/Services/Base/GivenFormsManagementTest/IRedoTest.cs
519
C#
using System; using System.Threading.Tasks; using Couchbase; using Couchbase.KeyValue; namespace try_cb_dotnet.Services { public interface ICouchbaseService { ICluster Cluster { get; } IBucket TravelSampleBucket { get; } ICouchbaseCollection HotelCollection { get; } public Task...
37.5
104
0.612121
[ "MIT" ]
couchbaselabs/try-cb-dotnet
try-cb-dotnet/Services/CouchbaseService.cs
2,475
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Management.Automation; using System.Management.Automation.Internal; namespace Microsoft.PowerShell.Comman...
36.936585
154
0.521659
[ "MIT" ]
202006233011/PowerShell
src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetAliasCommand.cs
7,572
C#
//****************************************************************************************************** // AssemblyInfo.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
43.647059
105
0.651842
[ "MIT" ]
QuarkSoftware/gsf
Source/Libraries/Adapters/eDNAAdapters/Properties/AssemblyInfo.cs
2,230
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
56.772101
258
0.631657
[ "Apache-2.0" ]
garrettwong/google-cloud-dotnet
apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1.Tests/SubscriberServiceApiClientTest.g.cs
98,897
C#
// <auto-generated /> namespace Microsoft.Extensions.ApiDescription.Tool { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.Ext...
34.013216
284
0.575314
[ "Apache-2.0" ]
FluentGuru/AspNetCore
src/Mvc/dotnet-getdocument/src/Properties/Resources.Designer.cs
7,721
C#
namespace NServiceKit.DataAccess.Criteria { /// <summary>Interface for order descending criteria.</summary> public interface IOrderDescendingCriteria : ICriteria { /// <summary>Gets who ordered descending this object.</summary> /// /// <value>Describes who ordered descending this ob...
34.454545
73
0.686016
[ "BSD-3-Clause" ]
NServiceKit/NServiceKit
src/NServiceKit.Interfaces/DataAccess/Criteria/IOrderDescendingCriteria.cs
369
C#
using EntityFX.NetBenchmark.Core.Generic; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace EntityFX.NetBenchmark.Core.Whetstone { public class WhetstoneBenchmark : BenchmarkBase<WhetstoneResult>, IBenchamrk { private readonly Whe...
26.95
108
0.656772
[ "MIT" ]
Civil/EntityFX-Bench
src/dotnet/EntityFX.NetBenchamarks.Core/Whetstone/WhetstoneBenchmark.cs
1,080
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace dotIRC.Ctcp { // Defines all message senders for the client. partial class CtcpClient { /// <summary> /// Sends an action message to the specified target. /// <...
43.109589
114
0.614871
[ "MIT" ]
JustOxlamon/TwoRatChat
dotIRC/Ctcp/CtcpClientMessageSending.cs
3,149
C#
using LinkedList.Classes; using System; namespace LL_merge { public class Program { public static void Main(string[] args) { Node LL1Node1 = new Node("LL1Node1"); Node LL1Node2 = new Node("LL1Node2"); Node LL1Node3 = new Node("LL1Node3"); Node LL...
28.088608
59
0.4831
[ "MIT" ]
riedmank/Data-Structures-and-Algorithms
Challenges/LL_merge/LL_merge/Program.cs
2,221
C#
// Copyright 2020 zmjack // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Caching.Memory; using NStandard; using System; using System.Refle...
103.511111
196
0.777158
[ "Apache-2.0" ]
zmjack/NLinq
LinqSharp/~WhereHelper/MethodUnit.cs
4,660
C#
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DlibDotNet.Tests { public abstract class TestBase { #region Fields private readonly Random _Random; #endregion #region Constructors prote...
29.628755
170
0.484175
[ "MIT" ]
dongshengfengniaowu/DlibDotNet
test/DlibDotNet.Tests/TestBase.cs
13,809
C#
namespace HareDu.Model { using System.Collections.Generic; public interface PolicyInfo { string VirtualHost { get; } string Name { get; } string Pattern { get; } string AppliedTo { get; } IDictionary<string, string> Definition { get; } ...
18.736842
55
0.536517
[ "Apache-2.0" ]
ahives/HareDu2
src/HareDu/Model/PolicyInfo.cs
358
C#
namespace Stump.DofusProtocol.Messages { using System; using System.Linq; using System.Text; using Stump.DofusProtocol.Types; using Stump.Core.IO; [Serializable] public class NpcDialogCreationMessage : Message { public const uint Id = 5618; public override uint MessageI...
23.238095
64
0.566598
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.DofusProtocol/Messages/Messages/Game/Context/Roleplay/Npc/NpcDialogCreationMessage.cs
978
C#
using osu.Framework.Graphics.Textures; using osu.Framework.Graphics.UserInterface; using osu.Framework.Input.Events; using osu.Framework.Localisation; using osu.Framework.Platform; using osu.Game.Graphics.Sprites; using osu.Game.Overlays; using osu.Game.Rulesets.RurusettoAddon.UI.Users; using osuTK.Input; #nullable d...
27.73494
165
0.677585
[ "MIT" ]
Flutterish/rurusetto-addon
osu.Game.Rulesets.RurusettoAddon/UI/Wiki/WikiTab.cs
11,512
C#
using k8s; using k8s.Models; namespace KubeOps.Operator.Entities; /// <summary> /// Defines a custom kubernetes entity which can be used in finalizers and controllers. /// </summary> public abstract class CustomKubernetesEntity : KubernetesObject, IKubernetesObject<V1ObjectMeta> { /// <summary> /// The metad...
26.6875
96
0.714286
[ "Apache-2.0" ]
hypnopotamus/dotnet-operator-sdk
src/KubeOps/Operator/Entities/CustomKubernetesEntity.cs
429
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
35.415584
100
0.496883
[ "MIT" ]
TheWaywardHayward/Industrial-IoT
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/Registry/Extensions/EndpointModelEx.cs
5,454
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using EStore.Services; using EStore.Models.Admin.ManageCategoriesViewModels; using EStore.Models; namespace EStore.Controllers.Admin { public class ManageCategoriesController : AdminBase...
25.860465
102
0.543765
[ "MIT" ]
thehink/E-Store
EStore/Controllers/Admin/ManageCategoriesController.cs
3,336
C#
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Agencija.Models; namespace Agencija.Controllers { [ApiController] [Route("[controller]")] public class LukaController : ControllerBase { public AgencijaCont...
31.117188
99
0.456942
[ "MIT" ]
bazlooka/elfak-web-projekat
backend/Controllers/LukaController.cs
4,002
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; using Entities; using Services; namespace App { public partial class AddExpenseForm : Form { ...
29.114286
179
0.546614
[ "MIT" ]
sahaavi/Restaurant-Managemnet-System
App/AddExpenseForm.cs
2,040
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestController.cs" company="Marcin Smółka zNET Computer Solutions"> // Copyright (c) Marcin Smółka zNET Computer Solutions. All rights reserved. // </copyright> // <summary> // ...
36.456432
154
0.589461
[ "MIT" ]
msmolka/ZNetCS.AspNetCore.ResumingFileResults
test/ZNetCS.AspNetCore.ResumingFileResults.TestWebSite/Controllers/TestController.cs
8,792
C#
using System; using Domain.Interfaces; namespace Domain.Entities { public class UserMessage : IEntity { public Guid Id { get; set; } public Guid MessageId { get; set; } public Message Message { get; set; } public Guid UserToId { get; set; } public User To { get; set; } ...
28.166667
47
0.589744
[ "MIT" ]
M4urici0GM/messenger
v1/Backend/Domain/Entities/UserMessage.cs
509
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; /// <summary> /// https://sqlscriptmove.codeplex.com/ /// </summary> namespace sqlScriptMoveCS { static class Program { /// <summary> /// The main entry point for the ap...
22.5
65
0.617094
[ "MIT" ]
jlion001/sqlscriptmover
SQLScriptMover/Program.cs
587
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { using System.Net; using Microsoft.Azure.Documents; /// <summary> /// The cosmo...
33.119048
152
0.573329
[ "MIT" ]
SnehaGunda/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Resource/User/UserResponse.cs
2,784
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...
32.157895
183
0.668849
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/CloudFormation/Generated/Model/GetTemplateResponse.cs
1,833
C#
namespace Microsoft.Bing.ImageSearch.Samples { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; class ExampleAbstraction { public IList<Example> Examples { get; private set; } private TypeInfo backingType; public ExampleAbstr...
35.044776
194
0.580494
[ "MIT" ]
josmperez1/bing-search-sdk-for-net-1
samples/BingSearchSamples/BingImageSearch/multifeatured/ExampleAbstraction.cs
2,350
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
30.844206
121
0.520093
[ "CC0-1.0" ]
dropoutlabs/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryReader.cs
31,677
C#
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 using System.Linq; using System.Net.Http; using System.Threading.Tasks; using AspNetCoreSpa.Server.Entities; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCor...
34.283465
156
0.576481
[ "MIT" ]
Delashok/AspNetCoreSpa
Server/Controllers/HomeController.cs
4,356
C#
// ----------------------------------------------------------------------- // <copyright file="RoundRobinRouterState.cs" company="Asynkron AB"> // Copyright (C) 2015-2022 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using ...
34.44
99
0.594657
[ "Apache-2.0" ]
BearerPipelineTest/protoactor-dotnet
src/Proto.Actor/Router/Routers/RoundRobinRouterState.cs
863
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public enum BattleState { START, PLAYERTURN, DEFENDINGTURN, WON, LOST } public class GameManager : MonoBehaviour { private MusicController theMusicController; public GameObject playerCamera; public GameO...
26.831502
114
0.637679
[ "MIT" ]
charte88/Pokemon-Unity-Clone
Pokemon/Assets/Scripts/GameManager.cs
7,327
C#
using System; using NUnit.Framework; namespace EventStore.Projections.Core.Tests.Services.event_filter { [TestFixture] public class empty_event_filter : TestFixtureWithEventFilter { [Test] public void cannot_be_built() { Assert.IsAssignableFrom(typeof (InvalidOperationE...
22.625
84
0.68232
[ "Apache-2.0", "CC0-1.0" ]
cuteant/EventStore-DotNetty-Fork
src/EventStore.Projections.Core.Tests/Services/event_filter/empty_event_filter.cs
364
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> //--...
34.387097
151
0.581614
[ "MIT" ]
Meloman19/Persona5Rus
Persona5Rus/Properties/Settings.Designer.cs
1,068
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace EmpleadosMVC.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("000000000...
33.633803
96
0.456449
[ "MIT" ]
dobleub/dotnetcore-course
EmpleadosMVC/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
7,166
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.Xml; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Sys...
39.37486
221
0.57726
[ "MIT" ]
Ali-YousefiTelori/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlDictionaryWriter.cs
35,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace TestApi { public ...
31.18
109
0.657473
[ "MIT" ]
adamstephensen/test-api-publish-1221
TestApi/Startup.cs
1,561
C#
using System.Net.Mime; using System.Threading.Tasks; using Amazon.DynamoDBv2.DataModel; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NUlid; using Portfolio.Api.Infrastructure.Database.DataModel.Posts; using Portfolio.Api.Models.Posts; using System.Linq; using Portfolio.Api.Infrastructure.Seria...
36.082031
113
0.597164
[ "MIT" ]
pauloprsdesouza/personal-portfolio-api
src/Portfolio.Api/Controllers/PostsController.cs
9,237
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Security.Cryptography; using System.Threading.Tasks; using Docker.DotNet.Models; namespace DockerTestHelpers { public class SqlServerContainer : DockerServer { private readonly int _port; private string _...
28.253521
163
0.459621
[ "MIT" ]
JasperFx/DockerTestHelpers
src/DockerTestHelpers/SqlServerContainer.cs
2,008
C#
using System; using System.Windows; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.Revit.Attributes; using Autodesk.Revit.UI; using Autodesk.Revit.DB; using Autodesk.Revit.UI.Events; using System.Windows.Forms; using RvtDialogs; namespace RvtElectr...
48.351351
169
0.463946
[ "MIT" ]
jtprichard/RvtTCC2020
RvtElectrical/CmdFPParamAssoc.cs
21,470
C#
using DL.Entities.Base; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DL.Entities { public class Degree : BaseEntity { [Required] public string Name { get; set; } public ICollection<Scientist> Scientists { get; set; } = new List<Scientist>()...
22
87
0.672727
[ "MIT" ]
OlehTymoshenko/Diploma-API
Diploma/DL.Entities/Degree.cs
332
C#
using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using Microsoft.Xaml.Interactivity; using Windows.UI.Xaml.Controls; using AppContainerUITestMethod = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.AppContainer.UITestMethodAttribute; namespace Man...
40.402597
172
0.643362
[ "MIT" ]
ajpinedam/Uno.XamlBehaviors
src/BehaviorsSDKManaged/ManagedUnitTests/InteractionTest.cs
6,224
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.443038
84
0.529952
[ "MIT" ]
sachatrauwaen/OpenBlocks
Providers/TokenProvider/Widget/WidgetConfigurator.ascx.designer.cs
2,723
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.ComponentModel.DataAnnotations.Schema; using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Diagnostic...
49.384615
113
0.695483
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
src/EFCore.Relational/Metadata/Conventions/Internal/RelationalColumnAttributeConvention.cs
2,568
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("03...
38.459459
84
0.745608
[ "MIT" ]
MikeHitrov/SoftUni
C# Basics OOP/3. Static Members Exercises/03. Temperature Converter/Properties/AssemblyInfo.cs
1,426
C#
using JetBrains.Annotations; using JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Tree; using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree; using JetBrains.ReSharper.Psi.Tree; using Microsoft.FSharp.Compiler.SourceCodeServices; namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.DeclaredElement { internal class FShar...
37.666667
98
0.811209
[ "Apache-2.0" ]
gitter-badger/fsharp-support
ReSharper.FSharp/src/FSharp.Psi/src/Impl/DeclaredElement/FSharpProperty.cs
680
C#
// ----------------------------------------------------------------------- // <copyright file="GenerationState.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Avalonia.Co...
27.818182
81
0.528322
[ "MIT" ]
RustamGulamov/Avalonia
Avalonia/Controls/GenerationState.cs
920
C#
using System; using System.Threading; namespace p2e03 { class Person { public string CI { get; set; } public string Nombre { get; set; } public string Email { get; set; } public string Tel { get; set; } } }
18
42
0.571429
[ "MIT" ]
pollingerMaxi/ingenieria-en-sistemas
programacion-de-redes/practicos/practico-2/src/p2e03/Person.cs
252
C#
namespace AngleSharp.Css.Dom { using AngleSharp.Css.Parser; using System; using System.IO; /// <summary> /// Represents a CSS @keyframe rule. /// </summary> sealed class CssKeyframeRule : CssRule, ICssKeyframeRule { #region Fields private readonly CssStyleDeclaration _s...
23.285714
80
0.597137
[ "MIT" ]
Fraaankes/AngleSharp.Css
src/AngleSharp.Css/Dom/Internal/Rules/CssKeyframeRule.cs
1,467
C#
using UnityEngine; using System.Collections; namespace TinyFrameWork { public class UILevelItem : MonoBehaviour { private UILabel lbLevelName; private GameObject btnLevelItem; private int starCount = 0; void Awake() { lbLevelName = GameUtility.FindDeepChild...
33.894737
142
0.615683
[ "MIT" ]
tinyantstudio/UIFrameWork
Assets/Scripts/DemoExample/Example/UILevel/UILevelItem.cs
1,290
C#
using CoinGram.Common; using CoinGram.Common.Coinigy; using InfluxDB.LineProtocol.Client; using MediatR; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.IO; using System.Reflecti...
38.310811
174
0.670194
[ "MIT" ]
dennisbappert/coingram
src/Program.cs
2,837
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Hosting; namespace Microsoft.AspNetCore.TestHost; internal class NoopHostLifetime : IHostLifetime { public Task StopAsync(CancellationToken cancellat...
24.9
71
0.751004
[ "MIT" ]
3ejki/aspnetcore
src/Hosting/TestHost/src/NoopHostLifetime.cs
498
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Security; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using NBitcoin; using NBitcoin.BuilderExtensions; using Stratis.Bitcoin.Configuration...
39.964672
225
0.589472
[ "MIT" ]
fr0stnk/StratisFullNode
src/Stratis.Bitcoin.Features.Wallet/WalletManager.cs
55,433
C#
// Copyright 2017 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. namespace NodaTime.Text { /// <summary> /// Centralized location for error messages around text handling. /// </summary> internal static ...
106.842105
234
0.727463
[ "Apache-2.0" ]
BearerPipelineTest/nodatime
src/NodaTime/Text/TextErrorMessages.cs
8,122
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: AssemblyConfigurat...
41.1
84
0.782238
[ "MIT" ]
payoh/aspdotnet-client-directkit-json2
src/PayohService/Properties/AssemblyInfo.cs
824
C#
using Microsoft.Win32; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; using TSP; using TSP.Solution_Stratergies; using TSP.Solution_Stratergies.LocalSearch; using TSP_WPF.ViewModels; namespace TSP_WPF.Views { /// <summary> ...
31.025862
116
0.584051
[ "MIT" ]
JR-Morgan/Genetic-Algorithm-Framework
TSP_WPF/Views/Window1.xaml.cs
3,601
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Acme.ProjectName.Roles.Dto { public class UpdateRolePermissionsInput { [Range(1, int.MaxValue)] public int RoleId { get; set; } [Required] public List<string> GrantedPermissionNames { get;...
23.928571
64
0.680597
[ "MIT" ]
OzBob/aspnetboilerplate-samples
ModuleZeroCoreWebFarm/aspnet-core/src/Acme.ProjectName.Application/Roles/Dto/UpdateRolePermissionsInput.cs
337
C#
/* * Activiti REST API * * # activiti - Activiti is battle-tested Business Process Management. Organizations across the world depend on the open source platform in a huge range of demanding situations. It supports open standards with BPMN and DMN so you can create processes that suit you. * * OpenAPI spec ver...
40.2827
471
0.560071
[ "MIT" ]
freetalent/Activiti.Rest
src/IO.Swagger/Model/FieldExtension.cs
9,547
C#
using System; namespace NuGet.Server.Infrastructure.Lucene { public enum IndexingState { Idle, Scanning, Building, Commit, Optimizing } public class IndexingStatus { public IndexingState State { get; set; } public string Curre...
26.36
55
0.581184
[ "ECL-2.0", "Apache-2.0" ]
themotleyfool/NuGet
src/Server/Infrastructure/Lucene/IndexingStatus.cs
659
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("07...
38.135135
84
0.746279
[ "MIT" ]
Andro0/TelerikAcademy
C#2/08.Homework_Text_Files/07.ReplaceSubString/Properties/AssemblyInfo.cs
1,414
C#
using System.Collections; using NUnit.Framework; namespace Selenium3.Nunit.Framework { public class CrossBrowserData { public static IEnumerable LatestConfigurations { get { //chrome on Mac yield return new TestFixtureData("Chrome", "lates...
50.8875
102
0.566691
[ "MIT" ]
etiennesillon/demo-csharp
SauceExamples/Web.Tests/CrossBrowserData.cs
4,071
C#