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; using Devdog.General; using UnityEngine; namespace Devdog.QuestSystemPro { public sealed class UseTriggerWaypointAction : MonoBehaviour, IWaypointAction { [Required] public Trigger trigger; public float useDistance = 1f; public IEnumera...
31.193548
100
0.679421
[ "MIT" ]
Alan-love/Quest-System-Pro
Assets/Devdog/QuestSystemPro/Scripts/Waypoint/WaypointActions/UseTriggerWaypointAction.cs
969
C#
using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using Elsa.Attributes; using Elsa.Serialization.ContractResolvers; using Newtonsoft.Json; using NodaTime; using NodaTime.Serialization.JsonNet; namespace Elsa.Bookmarks { public cla...
33.72549
201
0.666279
[ "BSD-3-Clause" ]
JohnZhaoXiaoHu/elsa-core
src/core/Elsa.Core/Bookmarks/BookmarkHasher.cs
1,722
C#
using System.Collections.Generic; using SearchSharp; namespace SearchSharpIntro { /// <summary> /// The data type. /// </summary> public record MyData { public string MySearchKey; public int MyValue; } public class Program { public static void Main(string[] arg...
24.333333
86
0.522655
[ "MIT" ]
Afanyiyu/SearchSharp
samples/SearchSharpIntro/Program.cs
951
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: doc.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Prot...
30.953757
147
0.656956
[ "MIT" ]
rodopoulos/pitaya-rs
pitaya-sharp/NPitaya/src/gen/Doc.cs
5,355
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public partial class TdApi { /// <summary> /// Checks the 2-step verification recovery email address verification code /// </summary> public class CheckR...
28.75
92
0.525604
[ "MIT" ]
mostafa8026/tdsharp
TDLib.Api/Functions/CheckRecoveryEmailAddressCode.cs
1,035
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ytg.BasicModel.DTO { /// <summary> /// 投注时用户信息 /// </summary> public class BettUserDto { public int Id { get; set; } public double Rebate { get; set; } ...
19.820513
69
0.525226
[ "Apache-2.0" ]
heqinghua/lottery-code-qq-814788821-
YtgProject/Ytg.BasicModel/DTO/BettUserDto.cs
817
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Collections.Generic; using System.Diagnostics; #if WINDOWS_UAP using System.Threading.Tasks; using Windows.Applicatio...
34.191107
129
0.549225
[ "MIT" ]
PulsarcGame/MonoGame
MonoGame.Framework/Game.cs
36,140
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CS451ScrabbleAssignment { public partial class Form2 : Form { public Form2() ...
18.190476
37
0.693717
[ "MIT" ]
ajm1014/scrabble
CS451ScrabbleAssignment/Form2.cs
384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ICSharpCode.CodeConverter.Shared; using ICSharpCode.CodeConverter.Util; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FindSymbols; using Microsoft.CodeAnalysis.Rename; namespace ICSharpCode.Co...
57.037879
219
0.657325
[ "MIT" ]
renesugar/CodeConverter
CodeConverter/VB/CaseConflictResolver.cs
7,400
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace cloudscribe.Core.Storage.EFCore.MySql.Migrations { public partial class cscore20190420 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "...
28.735294
71
0.551689
[ "Apache-2.0" ]
MicheleRoma/cloudscribe
src/cloudscribe.Core.Storage.EFCore.MySql/Migrations/20190420184803_cs-core-20190420.cs
979
C#
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(MovementMotor))] [RequireComponent(typeof(LookController))] [RequireComponent(typeof(PlayerAnimStateMachineController))] //[RequireComponent(typeof(PlayerCamController))] public class PlayerController : MonoB...
21.070707
75
0.727709
[ "Apache-2.0" ]
carlsc2/A-Clockwork-Cadmium-Orange
Parody Game Jam/Assets/Scripts/PlayerController.cs
2,088
C#
/* * Copyright (C) 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
35.322034
88
0.762956
[ "MIT" ]
Kaktus606/Fifteen
Assets/GooglePlayGames/Platforms/Native/PInvoke/ParticipantResults.cs
2,084
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace pitachan.DTOs.Janitors { public class LoginDTO { [Required(ErrorMessage = "Login_Email_Required_Message")] [EmailAddress(ErrorMessage = "Login...
30.7
97
0.73127
[ "MIT" ]
persamuel/pitachan
pitachan/DTOs/Janitors/LoginDTO.cs
616
C#
using System; using System.Linq; using System.Windows.Forms; using HidLibrary; namespace TestHarness { public partial class Main : Form { public Main() { InitializeComponent(); } private HidDevice[] _deviceList; private HidDevice _selectedDev...
30.611111
125
0.563521
[ "MIT" ]
profK/HidLibrary
src/TestHarness/Main.cs
4,410
C#
using LoteriaFacil.Domain.Validations; namespace LoteriaFacil.Domain.Commands { public class RegisterNewTypeLotteryCommand : TypeLotteryCommand { public RegisterNewTypeLotteryCommand(string name, int tens_min, decimal bet_min, int hit_min, int hit_max) { this.Name = name; ...
29.217391
114
0.635417
[ "MIT" ]
DiegoGalante/lotofacil-aspnetcore
LoteriaFacil.Domain/Commands/RegisterNewTypeLotteryCommand.cs
674
C#
using Moq; using StandardDot.Abstract.Configuration; using Xunit; namespace StandardDot.Abstract.IntegrationTests.Configuration { public class IConfigurationCacheTests { [Fact] public void Properties() { Mock<IConfigurationCache> cacheProxy = new Mock<IConfigurationCache>(MockBehavior.Strict); cacheProxy...
27.153846
93
0.756374
[ "MIT" ]
mrlunchbox777/StandardDot
src/AbstractIntegrationTests/Configuration/IConfigurationCacheTests.cs
706
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
47.5
153
0.651657
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IOnPremisesPublishingProfilePublishedResourcesCollectionRequest.cs
5,130
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.Identity { /// <summary> /// Options used to configure the <see cref="ClientCertificateCredential"/>. /// </summary> public class ClientCertificateCredentialOptions : TokenCredentialOptions,...
42.5
179
0.691979
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/identity/Azure.Identity/src/ClientCertificateCredentialOptions.cs
937
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using NewLife; using NewLife.Collections; namespace XCode { /// <summary>表达式基类</summary> public class Expression { #region 属性 /// <summary>文本表达式</summary> public S...
34.447552
120
0.550954
[ "MIT" ]
WuJiBase/X
XCode/Model/Expression.cs
5,450
C#
/***********************************************************************************************\ * (C) KAL ATM Software GmbH, 2021 * KAL ATM Software GmbH licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. \*********************************************...
69.605304
437
0.572607
[ "MIT" ]
KitPatterson/KAL_XFS4IoT_SP-Dev
Devices/SampleCardReader/CardReaderSample.cs
44,619
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("Al...
38.351351
84
0.74771
[ "MIT" ]
StefanDimitrov97/SoftUni-Basic
Exams/7 may/Alcohol Market/Alcohol Market/Alcohol Market/Properties/AssemblyInfo.cs
1,422
C#
using UnityEditor; using UnityEngine; using System.Collections.Generic; using System.IO; using System; using System.Collections; public class ExternalPackageManager { public static ExportPackageOptions exportOptions = ExportPackageOptions.IncludeDependencies | ExportPackageOptions.Recurse; protected static Pa...
35.668085
135
0.538774
[ "MIT" ]
TimeWalkOrg/TimeWalk
Assets/Editor/ExternalPackageManager.cs
8,382
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...
38.463446
128
0.613346
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/LakeFormation/Generated/ServiceEnumerations.cs
29,463
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.Debugger.Interop; using NetWebScript.Debug.Engine.Script; namespace NetWebScript.Debug.Engine.Events { class ProgramDestroyEvent : SynchronousEvent, IDebugProgramDestroyEvent2 { ...
26.358974
94
0.638132
[ "MIT" ]
jetelain/NetWebScript
NetWebScript/NetWebScript.Debug.Engine/Events/ProgramDestroyEvent.cs
1,030
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
41.133333
143
0.685575
[ "Apache-2.0" ]
MrDice/usd-unity-sdk
src/USD.NET/generated/SWIG/SWIGTYPE_p_TfDeclarePtrsT_SdfLayerStateDelegateBase_t__RefPtr.cs
1,234
C#
using MyCMS.Data.Intefaces; namespace MyCMS.Data.DataProviders { public class DataProviderManager : IDataProviderManager { public IDataProvider GetDataProvider(DataProviderType dataProviderType) { var dataProvider = dataProviderType switch { DataProvider...
28.263158
108
0.629423
[ "MIT" ]
manuelebagnolini/MyCMS
MyCMS.Data/DataProviderManager.cs
539
C#
using UnityEngine; using System; namespace MoreMountains.Tools { /// <summary> /// Int property setter /// </summary> public class MMPropertyLinkInt : MMPropertyLink { public Func<int> GetIntDelegate; public Action<int> SetIntDelegate; protected int _initialValue; p...
37.146853
158
0.546498
[ "MIT" ]
random-agile/slowmo_mobile
Assets/Amazing Assets/Feel/MMTools/Tools/MMRadio/MMProperty/MMPropertyLink/MMPropertyLinkInt.cs
5,312
C#
/* * freee API * * <h1 id=\"freee_api\">freee API</h1> <hr /> <h2 id=\"\">スタートガイド</h2> <p>1. セットアップ</p> <ol> <ul><li><a href=\"https://support.freee.co.jp/hc/ja/articles/202847230\" class=\"external-link\" rel=\"nofollow\">freeeアカウント(無料)</a>を<a href=\"https://secure.freee.co.jp/users/sign_up\" class=\"external-lin...
64.115686
5,736
0.659776
[ "MIT" ]
s-taira/freee-accounting-sdk-csharp
src/Freee.Accounting/Api/ExpenseApplicationsApi.cs
78,510
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("01...
38.027027
84
0.745558
[ "MIT" ]
stoyanov7/SoftwareUniversity
TechnologiesFundamentals/ProgrammingFundamentals-Extended/DataTypesAndVariables-Exercises/01.SpecialNumbers/01.SpecialNumbers/Properties/AssemblyInfo.cs
1,410
C#
using SharpVectors.Dom.Events; namespace SharpVectors.Dom.Svg { /// <summary> /// The SvgRectElement interface corresponds to the 'rect' element. /// </summary> /// <developer>niklas@protocol7.com</developer> /// <completed>100</completed> public interface ISvgRectElement : ISvgElement, ISvgTest...
24.568627
70
0.648045
[ "BSD-3-Clause" ]
GuillaumeSmartLiberty/SharpVectors
Main/Source/SharpVectorCore/Svg/Shapes/ISvgRectElement.cs
1,253
C#
using System; using SXL=System.Xml.Linq; namespace VisioAutomation.VDX.Internal { public static class XMLUtil { public static SXL.XElement CreateVisioSchema2003Element(string name) { string fullname = String.Format("{0}{1}",Constants.VisioXmlNamespace2003,name); var el ...
27.333333
93
0.620427
[ "MIT" ]
saveenr/VisioAutomation.VDX
VisioAutomation.VDX/Internal/XMLUtil.cs
658
C#
using EShop.Common.Constants; using Microsoft.AspNetCore.Authentication; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace EShop.ViewModels.Account { public class LoginViewModel// : GoogleReCaptchaModelBase { [Display(Name = "نام کاربری")] [Required(Error...
36.692308
80
0.702306
[ "MIT" ]
sradd3/EShop
src/EShop.ViewModels/Account/LoginViewModel.cs
991
C#
// Copyright (c) Microsoft. 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.Diagnostics; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.Reflection.PortableExecutable; usi...
38.405995
201
0.538773
[ "Apache-2.0" ]
ElanHasson/roslyn
src/Compilers/CSharp/Test/Emit/PDB/PortablePdbTests.cs
14,097
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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. [ass...
37.871795
84
0.750169
[ "MIT" ]
IAmAnubhavSaini/blog-posts
design/c_sharp/refactoring/MarsRoverSolution/MarsRoverAppTests/Properties/AssemblyInfo.cs
1,480
C#
using System; namespace Reddit.Inputs.Modmail { [Serializable] public class ModmailNewConversationInput : ModmailMessageBodyInput { /// <summary> /// subreddit name /// </summary> public string srName { get; set; } /// <summary> /// a string no longer than ...
32.275
146
0.566228
[ "MIT" ]
DanClowry/Reddit.NET
src/Reddit.NET/Inputs/Modmail/ModmailNewConversationInput.cs
1,293
C#
using System; using BTDB.Buffer; using BTDB.IL; using BTDB.StreamLayer; namespace BTDB.FieldHandler { public class ByteArrayFieldHandler : IFieldHandler { public virtual string Name => "Byte[]"; public byte[]? Configuration => null; public virtual bool IsCompatibleWith(Type type, Fiel...
32.055172
121
0.580034
[ "MIT" ]
karimtafsi/BTDB
BTDB/FieldHandler/ByteArrayFieldHandler.cs
4,648
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using System.Threading; using System.Threading.Tasks; namespace Ixy.Infrastructure.Interface { public interface IDbContext { DbSet<TEntity> Set<TEntity>() where TEntity : class; EntityEntry<TE...
25.333333
101
0.712406
[ "MIT" ]
sgwzxg/Ixy
src/Ixy.Infrastructure.Interface/IDbContext.cs
534
C#
using System; using System.Collections.Generic; using System.Linq; using NBitcoin; using Newtonsoft.Json; using Stratis.Bitcoin.Utilities; using Stratis.Bitcoin.Utilities.JsonConverters; namespace Stratis.Bitcoin.Features.Wallet { /// <summary> /// A wallet. /// </summary> public class Wallet { ...
40.267606
153
0.589204
[ "MIT" ]
ArcSin2000X/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.Wallet/Wallet.cs
42,887
C#
using System.Collections.Generic; /* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.pricer.option { //JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#: // ...
38.538922
128
0.704009
[ "Apache-2.0" ]
ckarcz/Strata.ConvertedToCSharp
modules/pricer/src/test/java/com/opengamma/strata/pricer/option/RawOptionDataTest.cs
6,438
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
28.916667
82
0.710855
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-core/Main/Ca/Infoway/Messagebuilder/Transport/Rest/Client.cs
1,041
C#
using Microsoft.AspNetCore.Identity; namespace Trov.IdentityServer4.Admin.Helpers.Identity { /// <inheritdoc /> /// <summary> /// If you want to create localization for Asp.Net Identity - it is one way how do that - override methods here /// And register this class into DI system - services.AddTransie...
37.0625
118
0.716695
[ "MIT" ]
ATronMorebis/IdentityServer4.Admin.MySql
src/Trov.IdentityServer4.Admin/Helpers/Identity/IdentityErrorMessages.cs
595
C#
using Microsoft.Extensions.Logging; using PS.Shared.HttpClients; using System.Threading; using System.Threading.Tasks; namespace PS.Web.Scraper.Interfaces { public interface IWebScraper { public Task Scrape(ScraperTextClient client, ILogger logger, CancellationToken token); } public interface...
26.7
94
0.758427
[ "Apache-2.0" ]
Unskilledcrab/Polysense
PS.Web.Scraper/Interfaces/IWebScraper.cs
536
C#
#nullable enable using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; using P...
38.488398
195
0.505397
[ "Apache-2.0" ]
G7h7/peachpie
src/Peachpie.Library.Network/CURLFunctions.cs
34,834
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Buffers; using System.ComponentModel; using System.IO; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; using Azure.Storage.Blobs.Models; using A...
43.72093
172
0.570462
[ "MIT" ]
Youssef1313/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/BlobClient.cs
60,162
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.Sy...
40.151796
244
0.513347
[ "Apache-2.0" ]
DustinCampbell/roslyn
src/Compilers/CSharp/Portable/SymbolDisplay/SymbolDisplayVisitor.Types.cs
34,653
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using AmazingShop.Product.Application.Repository.Abstraction; using AmazingShop.Product.Application.Resource.Dto; using AmazingShop.Shared.Core.Model; using MediatR; using Microsoft.EntityFrameworkCore; namespace AmazingShop.Product.Application.R...
41.192308
124
0.764706
[ "Apache-2.0" ]
hoangthanh28/amazing-shop
src/api/product-service/src/AmazingShop.Product.Application/Resources/Commands/Handlers/GetAllResourcesHandler.cs
1,071
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Assent; using FluentAssertions; using Newtonsoft.Json; using NSubstitute; using NUnit.Framework; using Octopus.Cli.Commands.Releases; using Octopus.Cli.Tests.Helpers; using Octopus.Client.Model; using Octopus.Client.Model.VersionContro...
38.054688
127
0.538698
[ "Apache-2.0" ]
eberzosa/OctopusCLI
source/Octo.Tests/Commands/ListReleasesCommandFixture.cs
4,873
C#
using System; using Microsoft.AspNetCore.SignalR; namespace OptimaJet.DWKit.StarterApplication.Utility { public class ScriptoriaIdProvider : IUserIdProvider { public virtual string GetUserId(HubConnectionContext connection) { var auth0Id = connection.GetHttpContext()?.GetAuth0Id();...
24.466667
72
0.683924
[ "MIT" ]
garrett-hopper/appbuilder-portal
source/OptimaJet.DWKit.StarterApplication/Utility/ScriptoriaIdProvider.cs
369
C#
#if !NETSTANDARD13 /* * 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 ...
34.1
107
0.708211
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/_bcl45+netstandard/IListDataQualityJobDefinitionsPaginator.cs
1,364
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 ...
32.634146
90
0.670404
[ "Apache-2.0" ]
554393109/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/UserTag/UserTagJson/TagJson.cs
1,340
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> //------------------------------------------...
29.959432
156
0.699255
[ "MIT" ]
Cloud-Awesome/cds-customisation
src/CloudAwesome.Xrm.Customisation/CloudAwesome.Xrm.Customisation/EarlyBoundModels/AppModule.cs
29,540
C#
using System.Text.Json.Serialization; using Newtonsoft.Json; using ProtoBuf; namespace BO4E.COM { /// <summary>Diese Komponente liefert die Geokoordinaten für einen Ort.</summary> [ProtoContract] public class Geokoordinaten : COM { /// <summary>Gibt den Breitengrad eines entsprechende...
36.434783
86
0.658711
[ "MIT" ]
HFInnovation/BO4E-dotnet
BO4E/COM/Geokoordinaten.cs
818
C#
using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; namespace k8s { /// <summary> /// <para> /// The <see cref="StreamDemuxer"/> allows you to interact with pr...
40.571429
201
0.527993
[ "Apache-2.0" ]
Gearset/kubernetes-client
src/KubernetesClient/StreamDemuxer.cs
11,360
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Harmony; using System.Reflection; using Verse; using RimWorld; using UnityEngine; namespace RD_WildAnimalAlert { [StaticConstructorOnStartup] class Main { static Main() { Log.Message("[RD_WildAnimalAlert] Initialisin...
35.082569
152
0.6875
[ "MIT" ]
Mehni/WildAnimalAlert
Source/WildAnimalAlert/Main.cs
3,826
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Linq; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Integration; using Micr...
49.193548
174
0.628066
[ "MIT" ]
amr-elsehemy/BotBuilder-Samples
samples/csharp_dotnetcore/06.using-cards/Startup.cs
7,627
C#
using System; using Fonet.Layout; using Fonet.Pdf; using Fonet.Pdf.Gdi; namespace Fonet.Render.Pdf.Fonts { /// <summary> /// A proxy object that delegates all operations to a concrete /// subclass of the Font class. /// </summary> internal class ProxyFont : Font, IFontDescriptor { ...
25.064327
137
0.448787
[ "Apache-2.0" ]
modiCAS/fo.net
Render/Pdf/Fonts/ProxyFont.cs
8,572
C#
using System.ComponentModel.DataAnnotations; using commercetools.Sdk.Domain.Types; namespace commercetools.Sdk.Domain.ProductTypes.UpdateActions { public class ChangeAttributeDefinitionInputHintUpdateAction : UpdateAction<ProductType> { public string Action => "changeInputHint"; [Required] ...
31.785714
91
0.721348
[ "Apache-2.0" ]
commercetools/commercetools-dotnet-core-sdk
commercetools.Sdk/commercetools.Sdk.Domain/ProductTypes/UpdateActions/ChangeAttributeDefinitionInputHintUpdateAction.cs
447
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mdryden.cflapi.v1.Models.Games { public enum Quarters { First = 1, Second = 2, Third = 3, Fourth = 4, OT = 5, } }
14.166667
40
0.694118
[ "MIT" ]
pudds/cfl-api.net
src/v1/Core/Models/Games/Quarters.cs
257
C#
namespace Membership { public interface IMembershipService { void CreateService(string name, string servicName); } }
19.571429
59
0.693431
[ "MIT" ]
Amphibian007/DotNetSelfPractise_Home
source/Classes/EFCorePractise/Contracts/IMembershipService.cs
139
C#
using System; using System.Threading.Tasks; namespace Seedwork.CQRS.Bus.Core.Tests.UnitTests.Configurations.Stubs { internal class BusSerializerStub : IBusSerializer { public T Deserialize<T>(byte[] data) { throw new InvalidOperationException(); } public byte[] Seri...
23
69
0.623188
[ "MIT" ]
tiagor87/Seedwork.CQRS.Bus
tests/Core/UnitTests/Configurations/Stubs/BusSerializerStub.cs
414
C#
using System; using System.Net.Http; using System.Threading.Tasks; namespace Rosie { public class WebRequestHandler : IDeviceService { public WebRequestHandler () { } public static string Identifier = "Web"; public string ServiceIdentifier => Identifier; HttpClient client = new HttpClient (); publ...
21.74359
96
0.704009
[ "Apache-2.0" ]
Clancey/Rosie
src/Core/Rosie/Devices/Handlers/WebRequestHandler.cs
850
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
39.567568
85
0.731557
[ "Unlicense" ]
primaryobjects/Fluent-Simple-RPG-Game
FluentInterfaceExample.Types/Properties/AssemblyInfo.cs
1,467
C#
using System.Collections.Generic; using Unity.UIWidgets.foundation; using Unity.UIWidgets.ui; namespace Unity.UIWidgets.widgets { public class Form : StatefulWidget { public Form( Key key = null, Widget child = null, bool autovalidate = false, WillP...
28.370079
102
0.517069
[ "Apache-2.0" ]
Luciano-0/2048-Demo
Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.12/Runtime/widgets/form.cs
7,206
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...
42.876923
104
0.693219
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MachineLearning/Custom/AmazonMachineLearningClient.Extensions.cs
2,787
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
34.447368
64
0.76929
[ "Apache-2.0" ]
opensearch-project/opensearch-net
src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexResponse.cs
1,309
C#
using System; using System.Collections.Generic; using System.Text; namespace Solid.IdentityModel.Tokens.Crypto { public struct SignatureAlgorithmName { public SignatureAlgorithmName(string algorithm) { Algorithm = algorithm; } public string Algorithm { get; } }...
19
55
0.659443
[ "MIT" ]
SOLIDSoftworks/Solid.IdentityModel
src/Solid.IdentityModel.Tokens/Crypto/SignatureAlgorithmName.cs
325
C#
using System.Collections.Generic; namespace onlysats.domain.Services.Request.ContentManagement { public class GetAssetsRequest : RequestBase { public int CreatorId { get; set; } public List<int> AssetIds { get; set; } = new List<int>(); // Empty means all public int? VaultId { get; set;...
28.333333
85
0.586275
[ "MIT" ]
conradcreel/onlysats
src/onlysatsdomain/Services/Request/ContentManagement/GetAssetsRequest.cs
510
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace PhonebookAPI.Migrations { public partial class TestNumber : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "PhoneNumber", ...
29.676471
71
0.512389
[ "MIT" ]
Barnacle/PhonebookApp
PhonebookAPI/Migrations/20200713110408_TestNumber.cs
1,011
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis { public class DocumentEventArgs : EventArgs { public Document Document { get; private set; }...
25.882353
161
0.672727
[ "Apache-2.0" ]
DavidKarlas/roslyn
src/Workspaces/Core/Portable/Workspace/DocumentEventArgs.cs
442
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("We...
37.694444
84
0.74871
[ "MIT" ]
chrisjsherm/FinanceWeb
WebResources/Properties/AssemblyInfo.cs
1,360
C#
using System.Collections.Generic; using System.Linq; namespace Qualm.Supervised.Classification { public class DecisionTrees : IClassifier { /// <summary> /// Builds a tree using the Iterative Dichotimiser 3 (ID3) algorithm /// <see href="http://en.wikipedia.org/wiki/ID3_algorithm" /> ...
30.139241
108
0.559429
[ "Apache-2.0" ]
danielcrenna/graveyard
qualm/src/Qualm/Supervised/Classification/DecisionTrees.cs
2,383
C#
using System.CodeDom.Compiler; using System.Runtime.Serialization; using System.Collections.Generic; namespace SolidRpc.Test.Vitec.Types.Image.Models { /// <summary> /// /// </summary> [GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")] public class ImageCategories { /// <summary> /...
29.73913
62
0.612573
[ "MIT" ]
aarrgard/solidrpc
SolidRpc.Test.Vitec/Types/Image/Models/ImageCategories.cs
684
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; /// <summary> Helper for invoke coroutines from is not MonoBehaviour </summary> public class CoroutineHelper : MonoBehaviour { static CoroutineHelper instance; static CoroutineHelper Instance { get { if (instance == ...
27.924528
113
0.718243
[ "MIT" ]
santoyox714/space-time-pilgrim
space-time-pilgrim/Assets/2DPlatformer/Scripts/Game/CoroutineHelper.cs
1,482
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 ...
75.643836
262
0.723615
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
tests/V6/Services/AccountBudgetProposalServiceClientTest.g.cs
27,610
C#
namespace ILStripWPFTestLib.ViewModel { static class AnotherStaticClass { public static readonly string TestString = "Test String"; } }
19.25
62
0.714286
[ "MIT-0" ]
BrokenEvent/ILStrip
ILStripWPFTestLib/ViewModel/AnotherStaticClass.cs
156
C#
using LexShop.Core.Models; using System.Linq; namespace LexShop.Core.Contracts { public interface IRepository<T> where T : BaseEntity { IQueryable<T> Collection(); void Commit(); void Delete(string Id); T Find(string Id); void Insert(T t); void Update(T t); ...
21.533333
56
0.603715
[ "MIT" ]
Anette-K/Lexshop
LexShop/LexShop.Core/Contracts/IRepository.cs
325
C#
namespace Library.Models { public class Rectangle : Figure { public double A { get; } public double B { get; } public Rectangle(double a, double b) { A = a; B = b; } public override double CalculateArea() { return A *...
19
57
0.48
[ "MIT" ]
LeadenYume/Example-Library
Library/Models/Rectangle.cs
477
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Xml.Linq; using Azure.Core; namespace Azure.Storage.Files.DataLake.Models { internal partial class BlobPrefix { internal static BlobPrefix DeserializeBl...
22.615385
74
0.620748
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/storage/Azure.Storage.Files.DataLake/src/Generated/Models/BlobPrefix.Serialization.cs
588
C#
using System; using System.Collections.Generic; using Entitas; using Entitas.Generic; public struct TestCompStruct_ToString_Implemented : IComponent , ICompData , Scope<TestScope1> { public TestCompStruct_ToString_Implemented( String s = "test" ) { Str = "test"; } public String Str; public override Stri...
17.333333
85
0.738248
[ "MIT" ]
c0ffeeartc/EntitasGenericAddon
Tests/Tests_Performance/Sources/Fixtures/TestCompStruct_ToString.cs
936
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { public float speed; public float rangeY; Vector3 initialPos; int direction = 1; // Start is called before the first frame update void Start() { var rand = ...
21.893617
71
0.562682
[ "MIT" ]
fatlewis/ludem-dare-47
Assets/Scripts/EnemyController.cs
1,031
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BlazorWasmApp.AuthServer.Dao; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace BlazorWasmApp.AuthServer.Controllers { [ApiController] [Route("api/[controller]")] public class Us...
24.241379
57
0.664296
[ "Apache-2.0" ]
mofajke/BlazorWasmApp
BlazorWasmApp.AuthServer/Controllers/UsersController.cs
705
C#
using AutoFixture; using AutoFixture.Xunit2; using EntityFrameworkCore.AutoFixture.Tests.Common.Customizations; namespace EntityFrameworkCore.AutoFixture.Tests.Common.Attributes { public class AutoDomainDataWithContextAttribute : AutoDataAttribute { public AutoDomainDataWithContextAttribute() ...
28.0625
71
0.712695
[ "MIT" ]
ccpu/EntityFrameworkCore.AutoFixture
src/EntityFrameworkCore.AutoFixture.Tests/Common/Attributes/AutoDomainDataWithContextAttribute.cs
451
C#
using AlephVault.Unity.Meetgard.Auth.Protocols.Simple; using AlephVault.Unity.Meetgard.Types; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AlephVault.Unity.Meetgard.Auth { namespace Samples { /// <summary> /// This sample login protocol has only one...
29.041667
116
0.649928
[ "MIT" ]
AlephVault/unity-meetgard-auth
Samples/Scripts/SampleSimpleAuthProtocolDefinition.cs
697
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Drawing { /// <summary> /// This interface defines methods for obtaining a display/window d...
43.964286
106
0.714054
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Drawing.Common/src/System/Drawing/IDeviceContext.cs
1,231
C#
namespace Cuku.Event { using UnityEngine; using UnityEngine.EventSystems; public class OnPointerClickEvent : PointerEvent, IPointerDownHandler, IPointerUpHandler { [SerializeField] private double clickCount = 1; [SerializeField] private float clickTime = 0.2f; [Sirenix.OdinInspector.PropertyOr...
16.810811
88
0.651125
[ "MIT" ]
Besjan/Event-Inspector
Pointer/OnPointerClickEvent.cs
1,246
C#
using System.Web.Security; namespace Sporty.Controllers { public class FormsAuthenticationService : IFormsAuthentication { #region IFormsAuthentication Members public void SignIn(string userName, bool createPersistentCookie) { FormsAuthentication.SetAuthCookie(userName, cre...
22.52381
80
0.651163
[ "MIT" ]
chstein/sportdiary
sources/Sporty/Controllers/FormsAuthenticationService.cs
473
C#
using Informapp.InformSystem.WebApi.Models.ExampleValues; using Informapp.InformSystem.WebApi.Models.Requests; using Informapp.InformSystem.WebApi.Models.Version1.Constants; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; namespace Infor...
33.882353
87
0.698785
[ "MIT" ]
InformappNL/informapp-api-dotnet-client
src/WebApi.Models/Version1/EndPoints/Countries/ListCountry/ListCountryV1Response.cs
1,154
C#
// Generated class v2.50.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Svg { public partial class SvgEllipse : NHtmlUnit.Svg.SvgElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IElement ...
26.833333
115
0.688199
[ "Apache-2.0" ]
HtmlUnit/NHtmlUnit
app/NHtmlUnit/Generated/Svg/SvgEllipse.cs
805
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.ComponentModel; using System.Globalization; using System.Reflection; namespace Sys...
42.030466
148
0.534686
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/src/System/Windows/Forms/Formatter.cs
23,455
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AspStore.Models { public class Order { public long Id { get; set; } [Required] [StringLength(maximumLength: 50)] public string Name { get; set; } ...
23.15
62
0.603672
[ "MIT" ]
mishelshaji/Asp-.Net-Core-Demo
AspStore.Models/Order.cs
928
C#
using ExoMerge.Analysis; namespace ExoMerge.Aspose { /// <summary> /// Overrides the keyword token parser to cleanse token text, i.e. replacing "fancy" quotes /// before passing on the token text to the underlying keyword token parser. /// </summary> public class DocumentKeywordTokenParser<TSourceType> : Keyword...
35.241379
134
0.74364
[ "MIT" ]
vc3/ExoMerge
ExoMerge.Aspose/DocumentKeywordTokenParser.cs
1,024
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// LoanRepayPlanTerm Data Structure. /// </summary> [Serializable] public class LoanRepayPlanTerm : AopObject { /// <summary> /// 是否当前期 /// </summary> [XmlElemen...
24.918033
61
0.482895
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/LoanRepayPlanTerm.cs
1,634
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Security.Claims; namespace RegionOrebroLan.Security.Claims { public class ClaimBuilder : IClaimBuilder { #region Fields private string _issuer; private string _originalIssuer; private readonly IDictionary<str...
19.492308
99
0.68311
[ "MIT" ]
RegionOrebroLan/.NET-Extensions
Source/Project/Security/Claims/ClaimBuilder.cs
2,534
C#
using Mosaik.Core; using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; //using MessagePack; namespace Catalyst { public struct Span : ISpan { public Span(Document parent, int index...
39.577049
228
0.482313
[ "MIT" ]
andmattia/catalyst
Catalyst/src/Base/Span.cs
12,073
C#
using System; using System.ComponentModel; using EfsTools.Attributes; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/ims/qipcall_octet_aligned_mode_amr_nb", true, 0xE1FF)] [Attributes(9)] public class QipcallOctetAlignedModeAmrNb { [ElementsCount(1)] ...
24.941176
84
0.643868
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/QipcallOctetAlignedModeAmrNb.cs
424
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.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Microsoft.Ent...
44.270718
111
0.62748
[ "Apache-2.0" ]
HeMinzhang/EntityFrameworkCore
test/EFCore.Specification.Tests/TestUtilities/QueryAsserterBase.cs
24,039
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // // This...
44.382857
163
0.653148
[ "MIT" ]
Azkel/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/Generated/NetworkSecurityGroupRule.cs
7,767
C#
// Copyright (c) Microsoft. 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.Immutable; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysis.Expressi...
35.526128
183
0.611607
[ "Apache-2.0" ]
AArnott/roslyn
src/ExpressionEvaluator/CSharp/Test/ResultProvider/FullNameTests.cs
29,913
C#
using System; namespace Battle.Actor { public class Animator : IComponent { public Animator() { } public void Start() { throw new NotImplementedException(); } public void Update() { throw new NotImplementedException(); ...
14.125
48
0.492625
[ "Apache-2.0" ]
mumuyu66/ml-angents-workspace
my_ml_angents/Assets/Scripts/LittleBattle/Module/Battle/Actor/Components/Animator.cs
341
C#
using Orchard.ContentManagement.Handlers; using Orchard.ContentManagement; using Orchard.CRM.Dashboard.Models; namespace Orchard.CRM.Dashboard.Handlers { public class SidebarHandler : ContentHandler { public SidebarHandler(IContentManager contentManager) { OnPublished<CoverWidgetPa...
30.515152
100
0.540218
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard.Web/Modules/Orchard.CRM.Dashboard/Handlers/SidebarHandler.cs
1,009
C#