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 Chloe.Entities { public class User { public string Id { get; set; } public string Name { get; set; } } }
17.4
40
0.666667
[ "Apache-2.0" ]
xman086/Ace
src/DotNet/Chloe.Entities/User.cs
263
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Web; // for server using System.Net; // for client using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text; namespace ML.Utils { public class CookieParse { public struc...
40.714946
3,734
0.489536
[ "MIT" ]
JerryXia/ML
src/ML.Utils/CookieParse.cs
52,860
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.381354
248
0.559574
[ "Apache-2.0" ]
SM-125F/google-api-dotnet-client
Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs
240,692
C#
using System.Collections.Generic; namespace RemoteFactorioServer { class Config { public string RemoteIp { get; set; } public int RemotePort { get; set; } public IList<string> Servers { get; set; } public string ServerFolder { get; set; } public string ServerStartPoint ...
28
52
0.620536
[ "MIT" ]
oxypomme/RemoteFactorioServer
RemoteFactorioServer/Config.cs
450
C#
// <auto-generated /> using System; using ForbExpress.DAL.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace ForbExpress.Migrations.UsersIdenti...
36.959259
128
0.467782
[ "Apache-2.0" ]
masterofsea/ForbExpress
Migrations/UsersIdentity/UsersIdentityContextModelSnapshot.cs
9,981
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.477273
83
0.659214
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Cynosdb/V20190107/Models/OfflineClusterRequest.cs
1,301
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/S...
27.685864
136
0.715582
[ "Apache-2.0" ]
hnjm/StockSharp
Messages/IMessageAdapterWrapper.cs
10,578
C#
/*Problem 19. Dates from text in Canada Write a program that extracts from a given text all dates that match the format DD.MM.YYYY. Display them in the standard date format for Canada. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ...
32.5
130
0.621719
[ "MIT" ]
koravski/TelerikAcademy
02.C#2/06.StringsAndTextProcessing/Problem19DatesFromTextInCanada/Program.cs
1,107
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.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCo...
35.107544
183
0.571178
[ "MIT" ]
FelicePollano/efcore
test/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs
109,360
C#
using Newtonsoft.Json.Linq; namespace SitecoreCognitiveServices.Foundation.BigMLSDK { public partial class Model { /// <summary> /// Creating a model is a process that can take just a few seconds or a /// few days depending on the size of the dataset used as input and on /// the...
32.03125
80
0.566829
[ "MIT" ]
markstiles/SitecoreCognitiveServices.Core
src/Foundation/BigMLSDK/code/Model/Status.cs
1,025
C#
using System.Collections; using System.Linq; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace Coffee.PackageManager { public class Settings : ScriptableObject { static HostData s_EmptyHostData; static Settings s_Instance = null; static Settings Instance { get { if...
23.631579
96
0.684484
[ "MIT" ]
drunken-lemurs/UpmGitExtension
Editor/Scripts/Settings.cs
1,349
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Devices.Display.Core { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class DisplayManagerEnabl...
46.571429
188
0.760123
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Display.Core/DisplayManagerEnabledEventArgs.cs
1,630
C#
using EasyNetQ; using EventBusMessages; using Newtonsoft.Json; using System; namespace DotnetCore.Receiver { class Program { readonly static IBus bus = RabbitHutch.CreateBus( connectionString: "host=localhost;virtualHost=CUSTOM_VHOST;username=rabbitmq_adm1n;password=Admin@#789;timeout=10",...
29.147059
127
0.556004
[ "MIT" ]
DHJayasinghe/rabbitmq-easynetq-communication
DotnetCore.Receiver/Program.cs
993
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Data.Eval.CodeWriting; using Tests.Resources; namespace Tests.CodeWriting { [TestFixture] public class CSharpCodeWriterTests { [Test] public void CSharpCodeWriter_...
22.53125
64
0.676838
[ "Apache-2.0" ]
JTOne123/data-eval
Data_Eval/Tests/CodeWriting/CSharpCodeWriterTests.cs
1,444
C#
using System; using System.ComponentModel; namespace Umbraco.Core.Configuration.UmbracoSettings { public interface IUmbracoSettingsSection : IUmbracoConfigurationSection { IContentSection Content { get; } ISecuritySection Security { get; } IRequestHandlerSection RequestHandler { get;...
26.815789
83
0.689892
[ "MIT" ]
nvdeveloper/UmbracoUpgrade-7.7.0-WordAround
src/Umbraco.Core/Configuration/UmbracoSettings/IUmbracoSettingsSection.cs
1,021
C#
using System; using PresenceLight.Core; using System.Windows; using System.Windows.Media; using System.Text.RegularExpressions; using System.Windows.Controls; using PresenceLight.Telemetry; using System.Linq; using Microsoft.Extensions.Logging; using System.Collections.Generic; using PresenceLight.Core.WizServices; n...
35.583851
134
0.543376
[ "MIT" ]
gizmohd/presencelight
src/DesktopClient/PresenceLight/MainWindow.Wiz.cs
5,731
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace BookLibrary.App.Migrations { public partial class final : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.Cre...
43.076555
123
0.479618
[ "MIT" ]
LyuboslavKrastev/CSharp-MVC-Frameworks-ASP.NET-Core-July-2018
04. MVC-Architecture-Components-Exercises/BookLibrary.App/Migrations/20180722181752_final.cs
9,005
C#
// <auto-generated /> using System; using KNet.API.Context; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace KNet...
30.365854
75
0.6
[ "MIT" ]
PGBSNH19/project-g2
KNet/KNet.API/Migrations/20201209095755_Initial.Designer.cs
1,247
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace FoodRecipeBuilder.Models { public class RecipeContext : DbContext { public RecipeContext(DbContextOptions<RecipeContext> options) : base(options) { ...
21
85
0.711779
[ "MIT" ]
CSharpFinalProject174/FinalProject
FoodRecipeBuilder/Models/RecipeContext.cs
401
C#
using System; using Xamarin.Forms; namespace ExploreChildSizes { class OpenStackLayout : StackLayout { static readonly BindablePropertyKey ConstraintKey = BindableProperty.CreateReadOnly( "Constraint", typeof(Size), typeof(OpenStackLayout), ...
32.557895
101
0.596508
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter26/ExploreChildSizes/ExploreChildSizes/ExploreChildSizes/OpenStackLayout.cs
3,093
C#
// <copyright file="ModerationEntity.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace SocialPlus.Server.Entities { using System; using Microsoft.CTStore; using SocialPlus.Models; /// <summary> /// The content moderation entity. /// </summary...
30.847458
85
0.59011
[ "MIT" ]
Bhaskers-Blu-Org2/EmbeddedSocial-Service
code/Server/Common/Entities/ModerationEntity.cs
1,822
C#
using System; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Diagnostics; using Microsoft.Win32; using NAudio.CoreAudioApi; namespace PlexFlux.UI { /// <summary> /// Interaction logic for ...
36.538043
269
0.561357
[ "MIT" ]
brian9206/PlexFlux
PlexFlux/UI/SettingsWindow.xaml.cs
6,725
C#
// // Gendarme.Rules.Naming.AvoidRedundancyInTypeNameRule // // Authors: // Cedric Vivier <cedricv@neonux.com> // // Copyright (C) 2008 Cedric Vivier // // 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 ...
34.843931
181
0.701228
[ "MIT" ]
SteveGilham/Gendarme
gendarme/rules/Gendarme.Rules.Naming/AvoidRedundancyInTypeNameRule.cs
6,028
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MccDaq; namespace KVStore_Update { public struct GPIO_PIN { public DigitalPortType port; public short val; public GPIO_PIN(DigitalPortType port, short val) ...
42.29
91
0.65642
[ "MIT" ]
trogersVLS/KVStore_Update
Communications/GPIO_Defs.cs
4,231
C#
using ProtoBuf; using System; using System.Collections.Generic; using System.ComponentModel; namespace msg { [ProtoContract(Name = "SCMapIndexNotice")] [Serializable] public class SCMapIndexNotice : IExtensible { private long _id = 0L; private long _worldMapId = 0L; private readonly List<KVStruct> _index =...
18.421053
117
0.672143
[ "MIT" ]
moto2002/superWeapon
src/msg/SCMapIndexNotice.cs
1,400
C#
using System.Web.Http; using Sitecore.Services.Core; using Sitecore.Services.Infrastructure.Sitecore.Services; using Sitecore.Feature.ServicesClient.Models; using Sitecore.Feature.ServicesClient.Repositories; namespace Sitecore.Feature.ServicesClient.Controllers { // this will be called with a routing by ...
33.470588
115
0.6942
[ "MIT" ]
MartinMiles/Sitecore.ServicesClient
src/Feature/ServicesClient/code/Controllers/EntityController.cs
1,140
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; using System.Text; using Microsoft.Win32; namespace Wox.Plugin.ControlPanel { //from:https://raw.githubusercontent.com/CoenraadS/Windows-Control-Panel-Items public static class...
37.064706
157
0.526662
[ "MIT" ]
Acidburn0zzz/Wox
Plugins/Wox.Plugin.ControlPanel/ControlPanelList.cs
12,604
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.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace System.IO { // Abstract Iterator, borrowed from Linq. ...
24.573333
98
0.56701
[ "MIT" ]
71221-maker/runtime
src/libraries/System.IO.FileSystem/src/System/IO/Iterator.cs
1,843
C#
using AutoMapper; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web.Mvc; namespace HomeMadeFood.Web.Common.Mapping { public class AutoMapperConfig { public static void Config(params Assembly[] assemblies) { Mapper.Initializ...
38.04878
112
0.544231
[ "MIT" ]
MilStancheva/HomeMadeFood
HomeMadeFood/Web/HomeMadeFood.Web.Common/Mapping/AutoMapperConfig.cs
3,122
C#
using AntDesign; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LesBatisseursDeNations { public class UserOptions { public SiderTheme SiderTheme => SiderTheme.Dark; public MenuTheme MenuTheme => MenuTh...
24.117647
71
0.72439
[ "MIT" ]
for-the-new-order/les-batisseurs-de-nations
src/les-batisseurs-de-nations/UserOptions.cs
412
C#
using System; using Microsoft.Extensions.Logging; using Xunit.Abstractions; // from https://stackoverflow.com/questions/46169169/net-core-2-0-configurelogging-xunit-test namespace DasBlog.Tests.FunctionalTests.Common { public class XunitLogger : ILogger { private readonly ITestOutputHelper _testOutputHelper; pri...
28.475
139
0.76295
[ "MIT" ]
Boldbayar/dasblog-core-master
source/DasBlog.Tests/FunctionalTests/Common/XunitLogger.cs
1,139
C#
using System; namespace LeanCloud.Realtime { [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public sealed class AVIMTypedMessageTypeIntAttribute : Attribute { public AVIMTypedMessageTypeIntAttribute(int typeInt) { this.TypeInteger = typeInt; ...
26
85
0.676923
[ "Apache-2.0" ]
leancloud/realtime-SDK-dotNET
LeanCloud.Realtime/Public/AVIMTypedMessageTypeIntAttribute.cs
392
C#
/* * Copyright 2018 Mikhail Shiryaev * * 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 a...
32.955882
113
0.582776
[ "Apache-2.0" ]
ytchhh/scada
ScadaServer/ScadaServer/ScadaServerEngine/Manager.cs
4,876
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using WinRT; using WinRT.Interop; #pragma warning disable 0169 // warning CS0169: The field '...' is never used #pragma warning disable 0649 // warning CS0169: Field '...' is never assigned to namespace WinRT.Int...
34.682353
137
0.637381
[ "MIT" ]
Bhaskers-Blu-Org2/CsWinRT
WinRT.Runtime/Interop/IContextCallback.cs
2,950
C#
using MovieLibrary.Dal.MongoDB.Documents; using MovieLibrary.Logic.Models; namespace MovieLibrary.Dal.MongoDB.Extensions { internal static class MovieInfoExtensions { public static MovieInfoDocument ToDocument(this MovieInfoModel model) { return new MovieInfoDocument { Title = model.Title, ...
27.704545
129
0.689089
[ "MIT" ]
CodeFuller/movie-library
src/MovieLibrary.Dal.MongoDB/Extensions/MovieInfoExtensions.cs
1,178
C#
using System; using NUnit.Framework; using System.Xml; using Xamarin.Forms.Core.UnitTests; using System.Reflection; namespace Xamarin.Forms.Xaml.UnitTests { [TestFixture] public class TypeExtensionTests : BaseTestFixture { IXamlTypeResolver typeResolver; Internals.XamlServiceProvider serviceProvider; [SetU...
30.092593
120
0.737231
[ "MIT" ]
akihikodaki/Xamarin.Forms
Xamarin.Forms.Xaml.UnitTests/TypeExtensionTests.cs
1,625
C#
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ using NewRelic.Agent.Extensions.Providers.Wrapper; using NewRelic.SystemExtensions; using NewRelic.Agent.Extensions.Parsing; using NewRelic.Agent.Api; namespace NewRelic.Providers.Wrapper.MongoDb { public class...
40.076923
162
0.728087
[ "Apache-2.0" ]
Faithlife/newrelic-dotnet-agent
src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/MongoDb/MongoDatabaseDefaultWrapper.cs
1,563
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/d3d12video.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Sy...
38.511628
145
0.721014
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_ENCODER_LEVEL_SETTINGTests.cs
1,658
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace ShlomiBo.ExpressedTests { internal sealed class ExpressionComparer : IEqualityComparer<Expression> { public static ExpressionComparer Intance { get; } = new ExpressionComparer(); public bool Equals(Expres...
22.454545
79
0.730769
[ "MIT" ]
Shlomibo/Expressed
ShlomiBo.ExpressedTests/ExpressionComparer.cs
496
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject.Deneme { class Worker:Person { public string Mission { get; set; } public Worker(string firstName, string lastName, string email, string mission ) : base(firstNam...
24.772727
122
0.612844
[ "MIT" ]
baristutakli/NA-203-Notes
MyProject/Deneme/Worker.cs
547
C#
using System; using Microsoft.Xna.Framework; using Terraria.ID; using Terraria.ModLoader; using Terraria; using Terraria.Localization; using Terraria.DataStructures; using static Terraria.ModLoader.ModContent; namespace ItemsBuffs.Items.Tools { public class RodofDiscordClassic : ModItem { /*...
37.780488
215
0.529159
[ "MIT" ]
FireCoffe/ItemsBuffs
Items/Tools/RodofDiscordClassic.cs
4,647
C#
using System; using System.Collections.Generic; using System.Text; using NBitcoin; namespace Stratis.SmartContracts.Test { public class SendCreateContractResult { public ulong Fee { get; set; } public string Hex { get; set; } public string Message { get; set; } public bool Succ...
25.5
61
0.655773
[ "MIT" ]
bumplzz69/StratisBitcoinFullNode
src/Stratis.SmartContracts.Test/SendCreateContractResult.cs
461
C#
namespace h73.Elastic.Core.Enums { /// <summary> /// Predefined timers for scrolling /// </summary> public class ScrollTime { /// <summary> /// The scroll 1m /// </summary> public const string Scroll1M = "1m"; /// <summary> /// The scroll 2m ...
21.735294
44
0.474966
[ "MIT" ]
henskjold73/h73.Elastic.Core
h73.Elastic.Core/Enums/ScrollTime.cs
741
C#
using System.Web.Mvc; using Epinova.ElasticSearch.Core.EPiServer.Contracts; using EPiServer; using Epinova.ElasticSearch.Core.EPiServer.Controllers; using Epinova.ElasticSearch.Core.EPiServer.Enums; using EPiServer.Core; using Moq; using TestData; using Xunit; namespace Core.Episerver.Tests.Controllers { public c...
33.368421
109
0.652997
[ "MIT" ]
Nettsentrisk/Epinova.Elasticsearch
tests/Core.Episerver.Tests/Controllers/IndexerControllerTests.cs
1,904
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
36.605263
116
0.643422
[ "Apache-2.0" ]
Bimble/Lean
Brokerages/Paper/PaperBrokerageFactory.cs
2,784
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("adressbook-web-tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("adressbook-web-tests")] ...
31.333333
59
0.761398
[ "Apache-2.0" ]
IrinaShumovskaya/csharp_training
addressbook-web-test/adressbook-web-tests/Properties/AssemblyInfo.cs
659
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; using System.Diagnostics; using System.Management.Automation; namespace Micros...
33.502825
144
0.540809
[ "Apache-2.0", "MIT-0" ]
KevinMarquette/Powershell
src/Microsoft.PowerShell.Commands.Utility/commands/utility/trace/SetTracerCommand.cs
5,930
C#
using System; using System.IO; using System.Threading.Tasks; using Get_images_from_db_by_url.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Get_images_from_db_by_url.Controllers { [ApiController] [Route("[controller]")] public class ImageController : ControllerBase ...
26.555556
67
0.495816
[ "MIT" ]
frudberg/Get-images-from-db-by-url
Get-images-from-db-by-url/Controllers/ImageController.cs
958
C#
using Microsoft.Win32; using System; using System.IO; using System.Runtime.InteropServices; using VbIntrOP = Microsoft.Vbe.Interop; using MsWord = Microsoft.Office.Interop.Word; using System.Windows.Forms; using System.Reflection; namespace WordMacro { public partial class WordMacroForm : Form { publi...
40.465649
229
0.587814
[ "MIT" ]
Fa1c0n35/CSharp4Pentesters
WordMacro/WordMacroForm.cs
5,303
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
37.962963
151
0.581463
[ "MIT" ]
manbou404/CSharpLab
SourceLibrary/10-CSharp/GetTimeStampBuilding/Properties/Settings.Designer.cs
1,199
C#
using System; /// <summary> /// String.Insert(Int32, String) /// Inserts a specified instance of String at a specified index position in this instance. /// </summary> class StringInsert { private const int c_MIN_STRING_LEN = 8; private const int c_MAX_STRING_LEN = 256; private const int c_MAX_SHORT_STR_...
33.446237
138
0.593313
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/string/stringinsert.cs
12,442
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using HslCommunication.Enthernet; using HslCommunication.Core.Net; using Newtonsoft.Json.Linq; namespace Client { public partial c...
29.045
132
0.508349
[ "MIT" ]
arthur0702/RemoteMonitor
Client/FormClient.cs
6,315
C#
using Volo.Abp.Domain; using Volo.Abp.Modularity; namespace LINGYUN.ApiGateway { [DependsOn(typeof(AbpDddDomainModule))] public class ApiGatewayDomainModule : AbpModule { } }
17.545455
51
0.73057
[ "MIT" ]
FanShiYou/abp-vue-admin-element-typescript
aspnet-core/modules/apigateway/LINGYUN.ApiGateway.Domain/LINGYUN/ApiGateway/ApiGatewayDomainModule.cs
195
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://ww...
49.482759
104
0.685017
[ "MIT" ]
3quanfeng/azure-powershell
src/ImageBuilder/Properties/AssemblyInfo.cs
1,407
C#
using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using CarsManager.Application.Common.Exceptions; using CarsManager.Application.Common.Interfaces; using CarsManager.Application.Common.Security; using CarsManager.Application.Employees.Queries.GetEmployees; usin...
35.5
121
0.644046
[ "MIT" ]
pkanev/CarsManager
src/Application/Vehicles/Queries/GetVehicleExtended/GetVehicleExtendedQuery.cs
2,345
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System.Collections; using HoloToolkit.Unity; namespace HoloToolkit.Examples.Prototyping { /// <summary> /// updates the position of...
28.16129
110
0.553837
[ "MIT" ]
ActiveNick/MixedRealityToolkit-Unity
Assets/HoloToolkit-Examples/Prototyping/Scripts/CyclePosition.cs
1,748
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("Sv...
38.027027
84
0.746979
[ "MIT" ]
azarkevich/SvnPreCommitAuthor
SvnUpdateNames/Properties/AssemblyInfo.cs
1,410
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Fungus { /// <summary> /// The block will execute when the desired OnMouse* message for the monobehaviour is received /// </summary> [EventHandlerInfo("MonoBehaviour", "Mouse", ...
26.307692
116
0.552632
[ "MIT" ]
ACM-London-Game-Development/MinoTourPublic
Assets/Fungus/Scripts/EventHandlers/MonoBehaviour/Mouse.cs
2,054
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MoviePortal.Models; namespace Mo...
35.396552
125
0.564053
[ "MIT" ]
CamSoper/how-insightful
Demos/MoviePortal_Instrumented/Migrations/20191016015045_InitialCreate.Designer.cs
2,055
C#
using Shouldly; using System.Threading; using System.Threading.Tasks; using Xunit; using CleanArchitecture.Application.UnitTests.Common; using CleanArchitecture.Application.Families.Commands.CreateFamily; namespace CleanArchitecture.Application.UnitTests.Families.Commands.CreateFamily { public class CreateFamilyC...
33.452381
86
0.629893
[ "MIT" ]
dkm8923/WeddingAppCore
tests/Application.UnitTests/Families/Commands/CreateFamily/CreateFamilyCommandTests.cs
1,407
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...
39.295858
151
0.597651
[ "ECL-2.0", "Apache-2.0" ]
aamir-locus/pulumi-aws
sdk/dotnet/WafRegional/SizeConstraintSet.cs
6,641
C#
using Radical.ComponentModel; using Radical.Model; using Radical.Samples.ComponentModel; using System.Collections.Generic; namespace Radical.Samples.Presentation.EntityView { [Sample( Title = "EntityView Primer", Category = Categories.IEntityView )] public class HelloWorldViewModel : SampleViewModel { public Hel...
20.139535
75
0.623557
[ "MIT" ]
RadicalFx/documentation
samples/Showcases/Radical.Samples/Presentation/EntityView/HelloWorldViewModel.cs
868
C#
// Copyright 2016 MaterialUI for Unity http://materialunity.com // Please see license file for terms and conditions of use, and more information. using System; using UnityEngine; using UnityEngine.UI; using Object = UnityEngine.Object; namespace MaterialUI { [Serializable] [AddComponentMenu("MaterialUI/Dia...
30.25641
148
0.647458
[ "MIT" ]
11one/PanzerWar
Assets/MaterialUI/Scripts/Components/Dialogs/DialogSections.cs
4,722
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 "li...
60.520755
202
0.673917
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CodeGuruProfiler/Generated/_bcl35/AmazonCodeGuruProfilerClient.cs
112,266
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using Azure.Core; namespace Azure.Management.EventHub { /// <summary> Client options for EventHub. </summary> public class EventHubManagementClientOptions : ClientOptions ...
19.529412
64
0.722892
[ "MIT" ]
LeighS/azure-sdk-for-net
sdk/eventhub/Azure.Management.EventHub/src/Generated/EventHubManagementClientOptions.cs
332
C#
namespace LetsSport.Data.Repositories { using System; using System.Linq; using System.Threading.Tasks; using LetsSport.Data.Common.Repositories; using Microsoft.EntityFrameworkCore; public class EfRepository<TEntity> : IRepository<TEntity> where TEntity : class { public Ef...
28.016949
93
0.596491
[ "MIT" ]
yotkoKanchev/LetsSport
Data/LetsSport.Data/Repositories/EfRepository.cs
1,655
C#
namespace Ticker.WpfShared.Commands { using System; using System.ComponentModel; using System.Reflection; internal class PropertyObserverNode { private readonly Action action; private INotifyPropertyChanged inpcObject; public PropertyObserverNode(PropertyInfo propertyInfo,...
30.675325
162
0.544877
[ "MIT" ]
CJones-Sumo/TickerExample
Ticker.WpfShared/Commands/PropertyObserverNode.cs
2,364
C#
using System; using System.Collections.Generic; namespace EFCoreDemos.EFCSharp.Entities { public partial class EmailsBeans { public string Id { get; set; } public string EmailId { get; set; } public string BeanId { get; set; } public string BeanModule { get; set; } publ...
27.117647
51
0.624729
[ "MIT" ]
AlexHart/.NET-Core-DB-demos
DbCoreDemos.EFCSharp/Entities/EmailsBeans.cs
463
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NSubstitute; using Xunit; using Xunit.Sdk; public class CollectionAssertsTests { public class All { [Fact] public static void NullCollectionThrows() { Assert.Throws<ArgumentNu...
30.759714
124
0.530333
[ "Apache-2.0" ]
Acidburn0zzz/xunit
test/test.xunit.assert/Asserts/CollectionAssertsTests.cs
30,085
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Ordinem.Shell.Xamarin.Forms.Models; namespace Ordinem.Shell.Xamarin.Forms.Views { public partial class NewItemPage : ContentPage { public Item Item { get; set; } public NewItemPage() { InitializeComponen...
18.307692
55
0.70028
[ "MIT" ]
Devidence7/Fuxion
src/Ordinem/Shell/Xamarin/Forms/Views/NewItemPage.xaml.cs
716
C#
 // This file was automatically generated by the code gen tool - do not modify. using System ; using scg = System.Collections.Generic ; using sd = System.Data ; using sds = System.Data.SqlClient ; using sr = System.Reflection ; using mst = Microsoft.SqlServer.Types ; using mss = Microsoft.SqlServer.Server ; ...
42.218391
162
0.693711
[ "MIT" ]
casaletto/alby.pantheon.2015
alby.pantheon.codegen/storedProcedure/LeaseGet.cs
3,830
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
31.66129
101
0.600102
[ "Apache-2.0" ]
554393109/WeiXinMPSDK
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/DownloadStockUseFlowReturnJson.cs
2,137
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VersionControlSnapshot.Model { public enum FileTransferCondition { ALWAYS, NEVER, IF_DIFF } }
17.285714
38
0.743802
[ "MIT" ]
tonnycordeiro/VersionControlSnapshot
VersionControlSnapshot/Models/FileTransferCondition.cs
244
C#
using CrazyflieDotNet.Crazyflie; using CrazyflieDotNet.Crazyflie.Feature; using CrazyflieDotNet.Crazyflie.Feature.Localization; using CrazyflieDotNet.Crazyflie.Feature.Log; using log4net; using log4net.Config; using System; using System.IO; using System.Reflection; using System.Threading; namespace CrazyflieDotNet.Ex...
37.445415
148
0.547872
[ "MIT" ]
DominicUllmann/CrazyflieDotNet
CrazyflieDotNet/Source/CrazyflieDotNet.Example/Program.cs
8,577
C#
namespace DotNetDiagrams.SequenceDiagrams.Interfaces.Configurations { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public interface IPlantUMLSequenceDiagramConfiguration { } }
23.333333
68
0.75
[ "MIT" ]
JustinBritt/Diagrams
DotNetDiagrams.SequenceDiagrams/Interfaces/Configurations/IPlantUMLSequenceDiagramConfiguration.cs
282
C#
namespace InputshareLib { public enum BoundEdge { Top, Bottom, Left, Right } }
11.272727
25
0.475806
[ "MIT" ]
shayanc/Inputshare
InputshareLib/BoundEdge.cs
126
C#
namespace ClearHl7.Codes.V290 { /// <summary> /// HL7 Version 2 Table 0142 - Military Status. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0142</remarks> public enum CodeMilitaryStatus { /// <summary> /// ACT - Active duty. /// </summary> Ac...
22.75
60
0.441392
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V290/CodeMilitaryStatus.cs
548
C#
using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: Guid("ed270a39-d32c-438a-bf4f-aa0e66c7879c")] [assembly: InternalsVisibleTo("EasyNetQ.Tests, PublicKey=" + "00240000048000009400000006020000002400005253413100040000010001...
55.538462
112
0.695291
[ "MIT" ]
10088/EasyNetQ
Source/EasyNetQ/Properties/AssemblyInfo.cs
722
C#
using System; namespace Cowboy.WebSockets.Extensions { public abstract class ExtensionParameter { public ExtensionParameter(string name) { if (string.IsNullOrWhiteSpace(name)) throw new ArgumentNullException("name"); this.Name = name; } ...
23.125
69
0.590991
[ "Apache-2.0" ]
corefan/Cowboy
Cowboy/Cowboy.WebSockets/Extensions/Parameters/ExtensionParameter.cs
557
C#
using System; using System.Diagnostics; namespace Calamari.Terraform.Helpers { public static class VersionExtensions { public static bool IsLessThan(this Version value, string compareTo) { return value.CompareTo(new Version(compareTo)) < 0; } } }
21.214286
75
0.6633
[ "Apache-2.0" ]
OctopusDeploy/Sashimi.Terraform
source/Calamari/Helpers/VersionExtensions.cs
299
C#
using Fig.Datalayer.BusinessEntities; using NHibernate; using NHibernate.Mapping.ByCode; using NHibernate.Mapping.ByCode.Conformist; namespace Fig.Datalayer.Mappings; public class ClientStatusMap : ClassMapping<ClientStatusBusinessEntity> { public ClientStatusMap() { Table("setting_client"); I...
34.368421
89
0.566616
[ "Apache-2.0" ]
mzbrau/fig
src/api/Fig.Datalayer/Mappings/ClientStatusMap.cs
1,306
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 ...
41.836431
185
0.580771
[ "MIT" ]
AArnott/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/CompareTest.Vector64.Int32.cs
22,508
C#
using System.ComponentModel; using System.Runtime.CompilerServices; namespace WeeklyCurriculum.Contracts { public class ViewModelBase : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected virtual void RaisePropertyChanged([CallerMemberName] string prop...
28.5625
98
0.739606
[ "MIT" ]
tziemek/WeeklyCurriculum
WeeklyCurriculum.Contracts/ViewModelBase.cs
459
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoraKeysManagerFacade { using System; public class JoinRefusedException : Exception { public JoinRefusedException(string message) ...
23.125
101
0.67027
[ "MIT" ]
LauraDamianTNA/iotedge-lorawan-starterkit
LoRaEngine/LoraKeysManagerFacade/JoinRefusedException.cs
372
C#
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Rush.Judgements; using osu.Game.Rulesets.Rush.Objects; using osu.Game.Rulesets.Scori...
38.84375
178
0.730491
[ "MIT" ]
Beamographic/rush
osu.Game.Rulesets.Rush/Scoring/RushHealthProcessor.cs
1,212
C#
using LinqToDB.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace LinqToDB.SqlQuery { public class SqlMergeSourceTable : ISqlTableSource { public SqlMergeSourceTable() { SourceID = Interlocked.Increment(ref SelectQuery....
29.253247
183
0.714983
[ "MIT" ]
Corey-M/linq2db
Source/LinqToDB/SqlQuery/SqlMergeSourceTable.cs
4,354
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("Se...
38.918919
96
0.747917
[ "MIT" ]
dotmailer/ec-cpaas-quickstarts
OneAPI/cSharp/SendSMS/SendSMS/Properties/AssemblyInfo.cs
1,442
C#
using GameTracker_Core; using GameTracker_Core.Models; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace GameTrackerTest { [TestFixture] class SerializerTest { private static readonly string appDataPath = Path.Combine(Environment.G...
26.333333
101
0.5338
[ "MIT" ]
swagslash/GameTracker-Agent
GameTrackerTest/SerializerTest.cs
3,715
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Newtonsoft.Json; using System.IO; using BlepOutLinx; using System.Diagnostics; namespace BlepOutIn { public partial class Op...
35.32646
250
0.520331
[ "Unlicense" ]
Daratrixx/BOI
BlepOutLinx/Options.cs
10,282
C#
using Upgrade; using Ship; using System.Collections.Generic; using System; namespace UpgradesList.SecondEdition { public class Q7Astromech : GenericUpgrade { public Q7Astromech() : base() { UpgradeInfo = new UpgradeCardInfo( "Q7 Astromech", UpgradeTy...
28.413043
154
0.628156
[ "MIT" ]
simonthezealot/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Upgrades/Astromech/Q7Astromech.cs
1,309
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante lo siguiente // conjunto de atributos. Cambie los valores de estos atributos para modificar la información // asociada con un ensamblado. [assembly: ...
40.25
101
0.761905
[ "ISC" ]
ThorHuno/CoreSystems
CoreApi/Properties/AssemblyInfo.cs
1,466
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.ML; namespace Samples.Dynamic.Trainers.Regression { public static class PermutationFeatureImportance { public static void Example() { // Create a new context for ML.NET operations. It can be used for...
38.409449
97
0.543665
[ "MIT" ]
GitHubPang/machinelearning
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Regression/PermutationFeatureImportance.cs
4,880
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace WebClient1.Controllers { [Route("api/[controller]")] [ApiController] public class TestContro...
22.040816
56
0.544444
[ "Apache-2.0" ]
yingpanwang/MyMicroServiceSolution
WebClient1/Controllers/TestController.cs
1,082
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 System; using System.Collections.Generic; using System.Runtime.Serialization; using Nest.Utf8Json; namespac...
51.640138
211
0.727218
[ "Apache-2.0" ]
RPM1984/elasticsearch-net
src/Nest/Mapping/TypeMapping.cs
14,926
C#
using System; using System.Collections.Generic; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class Adaptor { //For Adaptor [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSha...
55.5
173
0.749035
[ "Apache-2.0", "MIT" ]
Ali-Alzyoud/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.Adaptor.cs
1,556
C#
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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, inc...
40.044118
92
0.668013
[ "MIT" ]
Ardaurum/Unity-ArdLibrary
Assets/Plugins/YamlDotNet/Core/ForwardAnchorNotSupportedException.cs
2,723
C#
using System; namespace netstandard20csharp_D { public class Class1 { } }
9.777778
31
0.659091
[ "MIT" ]
aolszowka/VisualStudioSolutionGenerator
VisualStudioSolutionGenerator.Tests/TestData/ProjectDependencies/netstandard20csharp/netstandard20csharp_D/Class1.cs
90
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _06.UserLogs { class UserLogs { static void Main() { var data = new SortedDictionary<string, Dictionary<string, List<string>>>(); string input ...
28.951613
105
0.474095
[ "MIT" ]
ShadyObeyd/ProgrammingFundamentals-Homeworks
14.DictionariesLambdaAndLinq-Exercises/06.UserLogs/UserLogs.cs
1,797
C#
using Abp.Application.Services.Dto; using Abp.Domain.Entities; using System; using System.Collections.Generic; using System.Text; namespace AccountingSystems.BadStocks.Dto { public class BadStockDto : FullAuditedEntityDto<int>, IMustHaveTenant { public int TenantId { get; set; } public int Pro...
28
73
0.674812
[ "MIT" ]
CorinthDev-Github/Invoice-and-Accounting-System
aspnet-core/src/AccountingSystems.Application/BadStocks/Dto/BadStockDto.cs
534
C#
namespace DTML.EduBot.Dialogs { using Autofac; public class BasicDialogModule : Module { protected override void Load(ContainerBuilder builder) { base.Load(builder); builder.RegisterType<AuthenticateDialog>(); builder.RegisterType<RootDialog>(); ...
29.65
62
0.62226
[ "MIT" ]
distance-teaching-and-mobile-learning/DTML.EduBot
DTML.EduBot/Dialogs/BasicDialogModule.cs
595
C#