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.Linq; using BlainePain.Geometry; using BlainePain.Navigation; namespace BlainePain.Rail { public static class TrackBuilder { private static readonly char?[] ValidTrackPieces = new char?[] { '-', '|', '/', '\\', '+', 'X', 'S' }; public static bool IsTrackPiece(char? c...
39.833333
144
0.470126
[ "MIT" ]
mattjhooper/BlainePain
BlainePain/Rail/TrackBuilder.cs
5,975
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...
41.309735
167
0.668166
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/CreateRemoteAccessSessionResponseUnmarshaller.cs
4,668
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.HttpRepl.Commands; using Microsoft.HttpRepl.Fake...
39.382353
111
0.648743
[ "Apache-2.0" ]
calebjenkins/HttpRepl
test/Microsoft.HttpRepl.Tests/Commands/DeleteCommandsTests.cs
4,017
C#
using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngine; namespace HuaweiAREngineRemote { /// <summary> /// 运行在 Editor 中 /// </summary> public class TcpClient : TcpBase { private PreviewStreamVisualizer _previewVisualizer; ...
35.777778
104
0.506832
[ "MIT" ]
dingxiaowei/AREngineRemote
Unity/Assets/AREngineRemote/Scripts/Tcp/TcpClient.cs
6,450
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Aspire.Studio.Plugin { public class PluginMenuStrip : MenuStrip { private List<string> plu...
21.71223
75
0.672962
[ "Apache-2.0" ]
AeroNexus/AspireStudio
AspireStudio/Plugin/PluginMenuStrip.cs
3,020
C#
global using Edvella.Devices; global using FluentAssertions; global using Microsoft.VisualStudio.TestTools.UnitTesting; global using NSubstitute; global using SixKeysOfTangrin; global using SixKeysOfTangrin.Effects;
36
58
0.865741
[ "MIT" ]
edvella/SixKeysOfTangrin
SixKeysOfTangrinTests/GlobalUsings.cs
218
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 * ...
31.373333
91
0.60816
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Tcaplusdb/V20190823/Models/ApplyResult.cs
2,545
C#
/** * 作 者:朱晓春(zhi_dian@163.com) * 创建时间:2018-12-22 14.27:00 * 版 本 号:1.0.0 * 功能说明:数据库函数显示字段成生实现类 * ---------------------------------- */ using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SQLite; using System.Reflection; using DotNet.Standard.Common.Utilit...
38.369942
137
0.433112
[ "Apache-2.0" ]
JTOne123/NParsing
src/DotNet.Standard.NParsing.SQLite/ObProperty.cs
13,382
C#
using System; using System.Globalization; using Common; using Fairweather.Service; namespace Standardization { public static class Formatting { const string comma_format = "#,#0.00"; public static string ToString(this decimal dec, bool use_default) { if (use_defaul...
28.929577
100
0.572541
[ "MIT" ]
staafl/dotnet-bclext
to-integrate/libcs_staaflutil/Business/Standardization/Formatting.cs
2,054
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...
35.096154
102
0.620822
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Compute/Outputs/RegionNetworkEndpointGroupAppEngine.cs
1,825
C#
using FluentMigrator.Runner.Generators.Oracle; using FluentMigrator.Runner.Processors.Oracle; namespace FluentMigrator.Runner.Processors.DotConnectOracle { public class DotConnectOracleProcessorFactory : MigrationProcessorFactory { public override IMigrationProcessor Create(string connectionString, IA...
43.266667
133
0.75963
[ "Apache-2.0" ]
Athari/FluentMigrator
src/FluentMigrator.Runner/Processors/DotConnectOracle/DotConnectOracleProcessorFactory.cs
651
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 System.Diagnostics; using ILCompiler.DependencyAnalysisFramew...
32.413793
186
0.666312
[ "MIT" ]
cmoski/corert
src/ILCompiler.CppCodeGen/src/Compiler/DependencyAnalysis/CppMethodCodeNode.cs
2,820
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
49.497354
1,358
0.617745
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/POCD_IN180002UK05MCCI_MT010101UK12MessageVersionCode.cs
9,355
C#
using Sdl.Web.Common.Models; using System; namespace Sdl.Web.Modules.Impress.Models { [Serializable] public class Message : EntityModel { public RichText Content { get; set; } } }
17.166667
45
0.665049
[ "Apache-2.0" ]
RWS/dxa-modules
webapp-net/Impress/Models/Message.cs
208
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using AdaptiveExpressions.Converters; using AdaptiveEx...
39.603295
194
0.514001
[ "MIT" ]
NickEricson/botbuilder-dotnet
libraries/AdaptiveExpressions/Expression.cs
31,249
C#
using System.Collections.Generic; using System.Linq; using WhetStone.SystemExtensions; namespace WhetStone.Looping { /// <summary> /// A static container for identity method /// </summary> public static class allEqual { /// <summary> /// Checks whether all members of an <see cref="...
48.888889
200
0.572727
[ "MIT" ]
bentheiii/WhetStone
WhetStone/AllEqual.cs
2,642
C#
namespace ExpressionsTest { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Bond; using Bond.Expressions; using Bond.Protocols; using Bond.IO.Unsafe; using Bond.Internal.Reflec...
32.563291
117
0.606997
[ "MIT" ]
Arshia001/OrleansBondBasedSerializer
Bond/cs/test/expressions/Program.cs
5,147
C#
using MediatR; using X.PagedList; namespace SupportManager.Web.Features.PhoneNumber { public class PhoneNumberListQuery : IRequest<IPagedList<PhoneNumberListItem>> { public int? PageNumber { get; set; } } }
22.8
81
0.723684
[ "MIT" ]
mycroes/SupportManager
SupportManager.Web/Features/PhoneNumber/PhoneNumberListQuery.cs
230
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.DOM { /// <summary> /// Returns attributes for the specified node. /// </summary> [Command(ProtocolName.DOM.GetAttributes)] public class GetAttributesCommand { /// <summary> ...
22.947368
60
0.724771
[ "MIT" ]
brewdente/AutoWebPerf
MasterDevs.ChromeDevTools/Protocol/DOM/GetAttributesCommand.cs
436
C#
using FluentValidation; using PS.Domain.Models; namespace PS.Domain.Validations { public class PetValidator : AbstractValidator<Pet> { public PetValidator() { RuleFor(x => x.Name).NotEmpty().WithMessage("Name required"); } } }
21.230769
73
0.626812
[ "MIT" ]
RafaCarva/PetShop
src/PS.Domain/Validations/PetValidator.cs
278
C#
//----------------------------------------------------------------------- // <copyright file="ActorSelectionSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyrigh...
39.23
136
0.56772
[ "Apache-2.0" ]
Aaronontheweb/akka.net
src/core/Akka.Tests/Actor/ActorSelectionSpec.cs
23,540
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Azure; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Configuration; using Microsoft.Bot.Schema; using Microsoft.Bot.Solutions.Authentication; using M...
42.412371
207
0.552423
[ "MIT" ]
geva/AI
solutions/Virtual-Assistant/src/csharp/microsoft.bot.solutions/Skills/SkillDialog.cs
12,344
C#
using System.Collections.Generic; namespace DotvvmAcademy.Validation { public class GlobalValidationDiagnostic : IValidationDiagnostic { public GlobalValidationDiagnostic(string message, IEnumerable<object> arguments, ValidationSeverity severity) { Message = message; Ar...
26
117
0.625
[ "Apache-2.0" ]
ammogcoder/dotvvm-samples-academy
src/DotvvmAcademy.Validation/GlobalValidationDiagnostic.cs
730
C#
using Newtonsoft.Json.Linq; using Skybrud.Essentials.Json.Extensions; namespace Skybrud.Social.Dropbox.Models.Files { /// <summary> /// Class representing the sharing information of a Dropbox folder. /// </summary> /// <see> /// <cref>https://www.dropbox.com/developers/documentation/http/docu...
35.688312
118
0.606259
[ "MIT" ]
abjerner/Skybrud.Social.Dropbox
src/Skybrud.Social.Dropbox/Models/Files/DropboxFolderSharingInfo.cs
2,750
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using System.Threading; using System.Diagnostics; using System.Windows.Threading; using Microsoft.Win32; using System.Linq; using System.Text; using Sensorit.Base; using DS4WinWPF.DS4Control; using DS4Windows.DS4Control; usi...
44.163154
265
0.494953
[ "MIT" ]
Adminixtrator/DS4Windows
DS4Windows/DS4Control/ControlService.cs
113,148
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using BikeDataProject.Integrations.Fitbit.API; using BikeDataProject.Integrations.Fitbit.Db; using Fitbit.Api.Portable; using Fitbit.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Loggin...
26.711409
107
0.69799
[ "MIT" ]
bikedataproject/fitbit-integration
src/BikeDataProject.Integrations.Fitbit.API/Controllers/SubscriptionController.cs
3,980
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DebuggerTesting.Utilities { internal static class HashUtilities { #region Methods public static int CombineHashCodes(int h1, int h2)...
32.21875
130
0.642095
[ "MIT" ]
Hedges/MIEngine
test/DebuggerTesting/Utilities/HashUtilities.cs
1,033
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace RRHH.Models { public class Department { [Key] public Int32 DepartmentId { get; set; } [Required] public Int32 CompanyId { get; set; } [StringLength(100)] publi...
26.05
68
0.627639
[ "CC0-1.0" ]
serpel/TimeSheetRRHH
RRHH/RRHH/Models/Department.cs
523
C#
using System; using System.Collections; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Android.Runtime { [Register ("java/util/HashMap", DoNotGenerateAcw=true)] public class JavaDictionary : Java.Lang.Object, System.Collections.IDictionary { class DictionaryEnumerator : ...
29.083714
118
0.663544
[ "MIT" ]
BrzVlad/xamarin-android
src/Mono.Android/Android.Runtime/JavaDictionary.cs
19,108
C#
using System; namespace TronRacers { public class Program { static int firstPlayerRowPosition; static int firstPlayerColPosition; static int secondPlayerRowPosition; static int secondPlayerColPosition; static bool isAlive = true; static void Main() { ...
32.992095
88
0.383731
[ "MIT" ]
ITonev/SoftUni
C#-Advanced/Practice-Exams/24-February-2019/ExamProblems/TronRacers/Program.cs
8,349
C#
// ----------------------------------------------------------------------- // <copyright file="UnitOfWorkAttribute.cs" company="OSharp开源团队"> // Copyright (c) 2014-2019 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2019-05-14...
33.277778
116
0.604341
[ "Apache-2.0" ]
2012desuming/osharp
src/OSharp.AspNetCore/Mvc/Filters/UnitOfWorkAttribute.cs
1,280
C#
using System; using PlainElastic.Net.Utils; namespace PlainElastic.Net.Mappings { /// <summary> /// Represents custom field mapping. /// This type of mapping useful when you need to provide runtime property mapping. /// </summary> public class CustomPropertyMap<T> : PropertyBase<T, CustomPropertyMa...
34.596386
175
0.597945
[ "MIT" ]
AAATechGuy/PlainElastic.Net
src/PlainElastic.Net/Builders/Mappings/Core/CustomPropertyMap.cs
5,743
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.AccessApi { /// <summary> /// DispatchInterface _Hyperlink /// SupportByVersion Access, 9,10,11,12,14,15,16 /// </summary> [SupportByVersion("Access", 9,10,11,12,14,15,16)] [EntityType(En...
33.668731
165
0.680368
[ "MIT" ]
DominikPalo/NetOffice
Source/Access/DispatchInterfaces/_Hyperlink.cs
10,877
C#
using News.App.Models; using News.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using News.Data.Models; namespace News.App.Controllers { public class HomeControll...
28.445255
132
0.538876
[ "MIT" ]
sanoylab/Full-Stack-Dev-Challenge
news-app/News.App/Controllers/HomeController.cs
3,899
C#
using TMPro; using UnityEngine; namespace Main.UI { public class LevelInfoUI : MonoBehaviour { public TextMeshProUGUI levelText; public GameObject previousObject; public GameObject currentObject; } }
17
44
0.693277
[ "MIT" ]
khayreddinebiada/Code-HC-Prototype-Example
UI/Panel Menu/LevelInfoUI.cs
238
C#
using System; using Baseline; using JetBrains.Annotations; using Marten; using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Logging; namespace Rocket.Surgery.Extensions.Marten.Commands { /// <summary> /// DumpCommand. /// </summary> [UsedImplicitly] [Command("dump", Description ...
30.926829
95
0.537066
[ "MIT" ]
RocketSurgeonsGuild/Marten
src/Marten/Commands/DumpCommand.cs
2,536
C#
namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.Basic.Servicegroup.ServicegroupUpdateRequestDatas { public class ServicegroupUpdateSslRequestData : ServicegroupUpdateRequestData { public ServicegroupUpdateSslRequestData(string servicegroupName) : base(servicegroupName) { } ...
37.6875
110
0.6733
[ "Apache-2.0" ]
CoreLayer/CoreLayer.Citrix.Adc.Nitro
src/CoreLayer.Citrix.Adc.NitroClient/Api/Configuration/Basic/Servicegroup/ServicegroupUpdateRequestDatas/ServicegroupUpdateSslRequestData.cs
603
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text.RegularExpressions; using UnityEngine.UI; using UnityEngine.SceneManagement; using IBM.Cloud.SDK.Utilities; using IBM.Cloud.SDK.Authentication; using IBM.Cloud.SDK; using IBM.Watson.Assistant.V2; using IBM.Cloud.SDK.DataTyp...
42.553957
161
0.662553
[ "Apache-2.0" ]
Yu713/daimon
Assets/_scripts/ToneService.cs
5,915
C#
// <auto-generated> - Template:RepositoryBase, Version:1.1, Id:70230bd4-f88f-41d8-a9c6-6e40aded5c07 using System; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using MSC.ConferenceMate.Repository.Entities.CM; using MSC.ConferenceMate.Repository.Interface; using CodeGenHero.Repository; using...
36.912963
200
0.776066
[ "Apache-2.0" ]
MSCTek/ConferenceMate
src/MSC.ConferenceMate.Repository/Repositories/CMRepositoryBase.cs
59,799
C#
using Hyperledger.Aries.Decorators.Attachments; using Hyperledger.Aries.Extensions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; using Hyperledger.Aries.Features.DidExchange; using Hyperledger.Aries.Agents; namespace Hyperledger.Aries.Tests.Decorators { public class AttachmentDecoratorTests ...
34.866667
154
0.613448
[ "Apache-2.0" ]
AYCH-Inc/aych.hyperdnet
test/Hyperledger.Aries.Tests/Decorators/AttachmentDecoratorTests.cs
3,140
C#
using hw.DebugFormatter; using hw.UnitTest; using Reni.Parser; // ReSharper disable StringIndexOfIsCultureSpecific.1 namespace ReniUI.Test { [UnitTest] public sealed class ThenElseMatching : DependenceProvider { [UnitTest] public void Matching() { const string text = @"...
34.55814
96
0.541723
[ "MIT" ]
hahoyer/reni.cs
src/ReniUI/Test/ThenElseMatching.cs
1,486
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /card/code/update 接口的请求。</para> /// </summary> public class CardCodeUpdateRequest : WechatApiRequest { /// <summary> /// 获取或设置卡券模板编号。 /// </summary> [Newtonsoft.Json.JsonProperty("ca...
31.933333
69
0.588727
[ "MIT" ]
ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/Code/CardCodeUpdateRequest.cs
1,036
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace General.Librerias.EntidadesNegocio { public class beCaptcha { public string Codigo { get; set; } public byte[] Imagen { get; set; } } }
19.466667
44
0.691781
[ "MIT" ]
ecruzado/pcu
General.Librerias.EntidadesNegocio/beCaptcha.cs
294
C#
using System.Collections.Generic; using Chinook.Domain.Converters; using Chinook.Domain.Entities; namespace Chinook.Domain.ApiModels { public class AlbumApiModel : BaseApiModel, IConvertModel<Album> { public string Title { get; set; } public int ArtistId { get; set; } public string Art...
25.96
67
0.57319
[ "MIT" ]
cwoodruff/Chinook5WebAPI
Chinook/Chinook.Domain/ApiModels/AlbumApiModel.cs
651
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("Ta...
37.594595
84
0.744069
[ "MIT" ]
DimitarDKirov/Data-Bases
10. ADO.NET/Homework/HomeworkADONET - Solution/Task1/Properties/AssemblyInfo.cs
1,394
C#
namespace IDEIMusic.Migrations { using System; using System.Data.Entity.Migrations; public partial class somechanges : DbMigration { public override void Up() { } public override void Down() { } } }
16.529412
50
0.540925
[ "MIT" ]
Thaenor/ARQSI_TP2
IDEIMusic/IDEIMusic/Migrations/201412041858339_somechanges.cs
281
C#
using System; using Tweetinvi.Models; namespace Tweetinvi.Events { public enum UserBlockedRaisedInResultOf { /// <summary> /// This case should not happen and is here in case Twitter changes when they trigger the Blocked event. /// If you happen to receive this mode, please report to T...
28.87037
118
0.602309
[ "MIT" ]
IEvangelist/tweetinvi
src/Tweetinvi.Core/Public/Events/AccountActivity/UserBlockedEvent.cs
1,561
C#
using Helpers; using System; using System.Windows.Forms; using System.Linq; using TaleWorlds.Core; using TaleWorlds.CampaignSystem; using TaleWorlds.CampaignSystem.SandBox.GameComponents; namespace BannerlordTweaks { public class TweakedPregnancyModel : DefaultPregnancyModel { public override float St...
41.28972
222
0.616342
[ "MIT" ]
cnedwin/Bannerlord.BannerlordTweaks
TweakedPregnancyModel.cs
4,420
C#
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; using System.Collections.Generic; public class TempleRunnerEditorTarget : TargetRules { public TempleRunnerEditorTarget(TargetInfo Target) : base(Target) { Type = TargetType.Editor; ExtraModuleNames.AddRange( ...
24
78
0.775
[ "MIT" ]
Domekabc/Polygon-lato2019-projekt
TempleRunner/Source/TempleRunnerEditor.Target.cs
360
C#
// dnlib: See LICENSE.txt for more info using System; using System.Collections.Generic; using System.IO; using dnlib.IO; using dnlib.DotNet.Pdb; using dnlib.PE; using dnlib.W32Resources; using dnlib.DotNet.MD; using System.Diagnostics; namespace dnlib.DotNet.Writer { /// <summary> /// Common module writer options b...
35.534483
197
0.723435
[ "MIT" ]
CodeShark-Dev/dnlib
src/DotNet/Writer/ModuleWriterBase.cs
32,976
C#
namespace System { [H5.Convention(Member = H5.ConventionMember.Field | H5.ConventionMember.Method, Notation = H5.Notation.CamelCase)] [H5.External] [H5.Constructor("Number")] [H5.Reflectable] #pragma warning disable CS0659 // Type overrides Object.Equals(object o) but does not override Object.GetHashCod...
39.508772
118
0.655861
[ "Apache-2.0" ]
curiosity-ai/h5
H5/H5/System/Int16.cs
2,252
C#
namespace CreativeTim.Argon.DotNetCore.Free.Models.Cms { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public partial class HostingModel : BaseModelEntity { [System.Diagnostics.CodeAnalys...
33.022222
128
0.687079
[ "MIT" ]
ngocbauofficial/dependencycore
CreativeTim.Argon.DotNetCore.Free/Models/Cms/HostingModel.cs
1,486
C#
using System; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.IO; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; using Cupscale.ImageUtils; using Cupscale.IO; using Cupscale.Main; using Cupscale.OS;...
44.745968
157
0.599892
[ "MIT" ]
yggdrasil75/cupscale
Code/Forms/ModelComparisonForm.cs
11,099
C#
namespace Genbox.VelcroPhysics.Shared { public class GraphNode<T> { public GraphNode(T item = default) { Item = item; } /// <summary>The item.</summary> public T Item { get; set; } /// <summary>The next item in the list.</summary> ...
22.741935
62
0.462411
[ "MIT" ]
D31m05z/VelcroPhysics
src/VelcroPhysics/Shared/GraphNode.cs
677
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Co...
37.810811
84
0.744103
[ "Apache-2.0" ]
AsfendTheMVP/Colosseum
Colosseum/Colosseum/Colosseum.iOS/Properties/AssemblyInfo.cs
1,402
C#
using MainArc.Ddomain; using System; using System.Collections.Generic; using System.Text; namespace MainArc.Application.ViewModel { public class CourseViewModel { public IEnumerable<Course> Courses { get; set; } } }
18.307692
56
0.722689
[ "MIT" ]
anas-dev-92/MainArch
MainArc/MainArc.Application/ViewModel/CourseViewModel.cs
240
C#
using System; using System.Threading.Tasks; using Telegram.Bot.Tests.Integ.Framework; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; namespace Telegram.Bot.Tests.Integ.Admin_Bot { public class ChatMemberAdministrationTestFixture { public Chat RegularMemberChat { get; } public int R...
37.608696
119
0.623892
[ "MIT" ]
Akshay-Gupta/Telegram.Bot
test/Telegram.Bot.Tests.Integ/Admin Bot/ChatMemberAdministrationTestFixture.cs
2,599
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using TestHelpers; namespace LinqAF.Tests { [TestClass] public class ContainsTests { [TestMethod] public void InstanceExtensionNoOverlap() ...
44.496644
182
0.559578
[ "Apache-2.0" ]
kevin-montrose/LinqAF
LinqAF.Tests/ContainsTests.cs
13,262
C#
// <copyright file="MessageArgsMsTest.cs" company="Automate The Planet Ltd."> // Copyright 2016 Automate The Planet 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 a copy of the License at http://www.apache.or...
38.033333
194
0.656442
[ "Apache-2.0" ]
FrancielleWN/AutomateThePlanet-Learning-Series
CSharp-Series/MSBuildTcpIPLogger/MessageArgsMsTest.cs
2,284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Xamarin.Forms; namespace XamarinFormsShared.WinPhone { public ...
19.888889
80
0.739292
[ "MIT" ]
HolisticWare/HolisticWare.Core
samples/XamarinFormsShared/XamarinFormsShared.WinPhone/MainPage.xaml.cs
539
C#
#nullable enable using System.Collections.Generic; using Edanoue.Logging.Interfaces; using Edanoue.Logging.Internal; using UnityEngine; using ILogger = Edanoue.Logging.Interfaces.ILogger; namespace Edanoue.Logging { using Extra = KeyValuePair<string, object>; /// <summary> /// Utility functions at module...
33.720721
122
0.54662
[ "MIT" ]
edanoue/UnityLogging
Runtime/Logging.cs
7,486
C#
using System; using Marten.Internal; using Marten.Linq.Fields; using Marten.Linq.SqlGeneration; using NSubstitute; using Shouldly; using Weasel.Postgresql; using Xunit; namespace DocumentDbTests.Reading.Linq.Internals { public class DummyStatement: Statement { public DummyStatement() : base(Substitute....
25.192308
83
0.597557
[ "MIT" ]
Rob89/marten
src/DocumentDbTests/Reading/Linq/Internals/StatementTests.cs
3,275
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace ImageFramework.ImageLoader { internal static class Dll { public const string DllFilePath = @"DxImageLoader.dll"; [DllImport(DllFi...
45.898305
145
0.727105
[ "MIT" ]
gaybro8777/ImageViewer
ImageFramework/ImageLoader/Dll.cs
2,710
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("Ta...
38.081081
84
0.74308
[ "MIT" ]
ewgeni-dinew/01.Programming-Fundamentals
13. String and Text/Task 07-Magic Nums/Properties/AssemblyInfo.cs
1,412
C#
using System.Collections.Generic; using System.IO.Abstractions.TestingHelpers; using Moq; using SpruceJS.Core; using SpruceJS.Core.Config.Files; using SpruceJS.Core.Modules.Exceptions; using Xunit; namespace SpruceJS.Tests.Core { public class SpruceBuilderExceptionTests { [Fact] public void OutputT...
36.182927
102
0.623525
[ "Apache-2.0" ]
whoknewdk/SpruceJS
src/Tests/SpruceJS.Tests/Core/SpruceBuilderExceptionTests.cs
5,936
C#
//----------------------------------------------------------------------- // <copyright file="jet_convert.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- #if !MANAGEDESENT_ON_WSA // Not exp...
33.904762
75
0.521067
[ "MIT" ]
Bhaskers-Blu-Org2/ManagedEsent
EsentInterop/jet_convert.cs
714
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; using System.Diagnostics; using System.Linq; using Microsoft.EntityFrameworkCore.Metadata; using Microsof...
41.897059
116
0.538961
[ "Apache-2.0" ]
belav/efcore
src/EFCore.Relational/Migrations/Operations/UpdateDataOperation.cs
5,698
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Logging; namespace SoundPlugin { public class SoundManager { private Dictionary<Source, Sound> oneTimeSounds = new Dictionary<Source, Sound>(); private OpenALManager openALM...
32.734375
133
0.583771
[ "MIT" ]
AnomalousMedical/Engine
SoundPlugin/Plugin/SoundManager.cs
2,097
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> //---...
43
80
0.663256
[ "MIT" ]
fesnarriaga/courses
desenvolvedor-io/04_rest-aspnet-core-webapi/04_CompleteApp/CompleteApp/src/CompleteApp.Api/obj/Debug/net5.0/CompleteApp.Api.AssemblyInfo.cs
1,075
C#
using UnityEngine; using Random = UnityEngine.Random; [RequireComponent(typeof(CarController))] public class CarAudio : MonoBehaviour { // This script reads some of the car's current properties and plays sounds accordingly. // The engine sound can be a simple single clip which is looped and pitched, or it ...
42.086364
137
0.591965
[ "MIT" ]
archx64/AutonomousDrivingSimulator
Car/Scripts/CarAudio.cs
9,259
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace EmployeeDetails { class Crud { public static List<Employee> EmployeeList = new List<Employee>(); Employee employee = new Employee(); Validate validate = new Validate(); ...
33.246575
334
0.415019
[ "MIT" ]
ajaybharathi0820/EmployeeDetails
Employee/Crud.cs
9,710
C#
using rover.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace rover.Classes { class Position : IPosition { public void PrintPosition(Common common) { char dir = 'N'; if (common.facing == 1) { dir = 'N';...
22.347826
73
0.395914
[ "MIT" ]
PersistentGaneshGadekar/rover
rover/Classes/Position.cs
1,030
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using W_ORM.Layout.Attributes; namespace W_ORM.MSSQL.Attributes { [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] public class NVARCHAR : BaseAttribute ...
24.703704
89
0.632684
[ "MIT" ]
bhdryrdm/W-ORM
W-ORM/W-ORM.MSSQL/Attributes/NVARCHAR.cs
669
C#
using System.Collections.Generic; namespace AdventOfCode { public interface ISolver { public int Day { get; } public string Title { get; } public void Setup(); public IEnumerable<string> Solve(); } }
18.923077
43
0.609756
[ "MIT" ]
Abzylicious/advent-of-code-2020
AdventOfCode/ISolver.cs
248
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using CA.LoopControlPluginBase; namespace CA_DataUploaderLib { public sealed class PluginsCommandHandler : IPluginCommandHandler { private readonly CommandHandler cmd; private readonly List<Act...
41.928571
151
0.653322
[ "MIT" ]
copenhagenatomics/CA_DataUploader
CA_DataUploaderLib/PluginsCommandHandler.cs
2,348
C#
using Moq; using Ocelot.Infrastructure; using Ocelot.Logging; using Ocelot.Provider.Kubernetes; using Ocelot.ServiceDiscovery.Providers; using Ocelot.Values; using Shouldly; using System; using System.Collections.Generic; using System.Text; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.Kubernetes { ...
30.686747
101
0.576757
[ "MIT" ]
akasexdev/Ocelot
test/Ocelot.UnitTests/Kubernetes/PollingKubeServiceDiscoveryProviderTests.cs
2,549
C#
namespace Pic.Plugin.GeneratorCtrl { partial class FindAndReplaceForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if man...
49.52093
166
0.629379
[ "MIT" ]
treeDiM/PackLib4ES
Sources/Libraries/Pic.Plugin.GeneratorCtrl/FindAndReplaceForm.Designer.cs
10,649
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.PublisherApi { ///<summary> /// DispatchInterface Plate /// Suppor...
29.02994
205
0.690594
[ "MIT" ]
brunobola/NetOffice
Source/Publisher/DispatchInterfaces/Plate.cs
9,698
C#
using System.Threading; using System.Threading.Tasks; using Application.Exceptions; using Application.Interfaces.Persistence.Main; using Application.Modules.Containers.Models; using Domain.Entities; using Mapster; using MediatR; namespace Application.Modules.Containers.Queries { public class GetContainerByIdQuery ...
30.219512
114
0.706215
[ "MIT" ]
kerem-acer/basic-cms
src/Application/Modules/Containers/Queries/GetContainerByIdQuery.cs
1,239
C#
namespace Merchello.Core.Models { using System; using System.Runtime.Serialization; using Merchello.Core.Models.EntityBase; /// <summary> /// Defines a note. /// </summary> public interface INote : IEntity { /// <summary> /// Gets or sets the entity key related to the ...
23.795455
85
0.518625
[ "MIT" ]
ryanology/Merchello
src/Merchello.Core/Models/Interfaces/INote.cs
1,049
C#
using SmartSql.Reflection.TypeConstants; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Text; using SmartSql.Utils; namespace SmartSql.Reflection.PropertyAccessor { public class EmitSetAccessorFactory : ISetAccesso...
36.041667
177
0.658382
[ "Apache-2.0" ]
Ahoo-Wang/SmartSql
src/SmartSql/Reflection/PropertyAccessor/EmitSetAccessorFactory.cs
1,732
C#
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restric...
38.539683
116
0.671746
[ "MIT" ]
Mhtshum/Dnn.Platform
DNN Platform/Library/Services/Scheduling/PurgeScheduleHistory.cs
2,429
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.936963
113
0.591776
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/OptionGroupOption.cs
11,844
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 ...
38.175
117
0.772757
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-adb/Adb/Transform/V20190315/BindDBResourcePoolWithUserResponseUnmarshaller.cs
1,527
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...
37.301587
115
0.595532
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/FMS/Generated/Model/Internal/MarshallTransformations/AppsListDataMarshaller.cs
4,700
C#
using System; using System.Collections.Generic; using InfectedRose.Luz; using InfectedRose.Lvl; namespace InfectedRose.Utilities { public static class LuzFileExtensions { public static uint GenerateChecksum(this LuzFile @this, List<LvlFile> scenes) { if (@this.Scenes.Length != scene...
30.794118
144
0.481375
[ "MIT" ]
UchuServer/InfectedRose
InfectedRose.Utilities/Extensions/LuzFileExtensions.cs
2,094
C#
namespace PythonSharp.Tests.Commands { using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using PythonSharp.Commands; using PythonSharp.Expressions; using PythonSharp.Language; using Pyt...
33.021277
140
0.62951
[ "MIT" ]
ajlopez/PythonSharp
Src/PythonSharp.Tests/Commands/SetAttributeCommandTests.cs
1,554
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace SIPSorcery.GB28181.Persistence { public abstract class QueryProvider : IQueryProvider { protected QueryProvider() { } IQueryable<S> IQueryProvi...
30.341463
141
0.656752
[ "BSD-2-Clause" ]
7956968/gb28181-sip
SIPSorcery.28181/Persistence/LINQtoData/QueryProvider.cs
1,246
C#
namespace NightLight { interface ITool { /// <summary> /// Sets up the tool /// </summary> /// <param name="target">The targets IP address</param> /// <param name="port">The targets port</param> /// <param name="connections">Amount of connections that sh...
35.555556
146
0.561719
[ "Unlicense" ]
Taco-Gestapo/project-breakfast
ITool.cs
1,282
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.905882
122
0.584453
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Synapse/V20210401Preview/Outputs/WorkspaceRepositoryConfigurationResponse.cs
2,457
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace WebAssembly.Instructions; /// <summary> /// Tests the <see cref="Int64CountOneBits"/> instruction. /// </summary> [TestClass] public class Int64CountOneBitsTests { /// <summary> /// Tests compilation and execution of the <see cref="Int64CountOneBi...
37.606061
126
0.688961
[ "Apache-2.0" ]
munik/dotnet-webassembly
WebAssembly.Tests/Instructions/Int64CountOneBitsTests.cs
1,243
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("Ra...
37.648649
84
0.744436
[ "MIT" ]
mzandvliet/RavenUnity
Properties/AssemblyInfo.cs
1,396
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; namespace SemanticHighlighter { [Export...
31.288288
82
0.683271
[ "MIT" ]
abmes/SemanticHighlighter
SemanticHighlighter/AbmesClassifierFormats.cs
3,475
C#
using System; using System.Collections; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using FluentAssertions.Common; using FluentAssertions.Equivalency; using FluentAssertions.Execution; namespace FluentAssertions.Collections { /// <summary> /// Contains a number of methods to as...
49.715719
150
0.610562
[ "Apache-2.0" ]
Jacksondr5/fluentassertions
Src/FluentAssertions/Collections/NonGenericCollectionAssertions.cs
14,867
C#
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Com...
36.222222
166
0.640423
[ "MIT" ]
InitialForce/ReactiveUI
src/ReactiveUI/Platforms/android/ReactivePreferenceFragment.cs
5,870
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Core...
58.5
275
0.641595
[ "MIT" ]
AntonioVT/azure-sdk-for-net
sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/RestOperations/WebPubSubPrivateEndpointConnectionsRestOperations.cs
33,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Harmony; namespace MechEngineer { internal static class HarmonyExtensions { internal static void Patch(this HarmonyInstance @this, Type type) { var parentMethodInfos = type.GetHarmonyMethods...
25.08
73
0.606061
[ "Unlicense" ]
adammartinez271828/MechEngineer
source/Misc/HarmonyExtensions.cs
629
C#
namespace System.Runtime.CompilerServices; internal static class IsExternalInit { }
28
42
0.845238
[ "MIT" ]
xiaomi7732/CodeSaar
CodeNameK/src/CodeWithSaar.PathUtility/src/IsExternalInit.cs
84
C#
// ============================================================ // // Astramed // SoftGears.CMS.Web // LoginModel.cs // // Created by: ykorshev // at 21.06.2013 10:32 // // ============================================================ namespace CityPlace.Web.Models.Account { /// <summary> /// Модель ...
22.242424
64
0.408719
[ "MIT" ]
softgears/CityPlace
CityPlace.Web/Models/Account/LoginModel.cs
784
C#
using System.Data.Entity; using StudentSystem.Persistence.Migrations; namespace StudentSystem.Persistence { public class DbConfig { public static void RegisterDb() { Database.SetInitializer(new MigrateDatabaseToLatestVersion<StudentSystemDbContext, Configuration>()); } ...
23.142857
113
0.703704
[ "MIT" ]
chunk1ty/student-system
src/StudentSystem.Persistence/DbConfig.cs
326
C#