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.Collections.Generic; using ESFA.DC.ILR.Tests.Model; using ESFA.DC.ILR.ValidationService.Data.File.FileData.Interface; using ESFA.DC.ILR.ValidationService.Interface; using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.PartnerUKPRN; using ESFA.DC.ILR.ValidationService.Rules.Tests.Abstract; using Flue...
30.759398
138
0.58592
[ "MIT" ]
SkillsFundingAgency/DC-ILR-1819-ValidationService
src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/PartnerUKPRN/PartnerUKPRN_03RuleTests.cs
4,093
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BFF.Model; using BFF.Model.Models; using BFF.Persistence.Realm.ORM.Interfaces; using BFF.Persistence.Realm.Repositories.ModelRepositories; using MrMeeseeks.Extensions; namespace BFF.Persistence.Realm.Models.Domain { ...
37.6
142
0.610638
[ "MIT" ]
Yeah69/BFF
Persistence/Realm/Models/Domain/BudgetCategory.cs
1,880
C#
using System; using System.Collections.Generic; using System.Text; namespace Demo.Function.Movies.API.Data { public class Category { public int id { get; set; } public string CategoryName { get; set; } public string Description { get; set; } public bool IsActive { get; set;...
17.421053
48
0.628399
[ "MIT" ]
rutzsco/nosql-openhack
Demo.Function.Movies.API/Data/Movie.cs
333
C#
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using SteveTheTradeBot.Api.AppStartup; using SteveTheTradeBot.Core.Components.Users; using SteveTheTradeBot.Dal.Models.Auth; using SteveTheTradeBot.Dal.Models.Users; using Bumbershoot.Utilities.Helpe...
33.711538
120
0.619224
[ "Apache-2.0" ]
rolfwessels/SteveTheTradeBot
src/SteveTheTradeBot.Api/Security/UserClaimProvider.cs
3,403
C#
namespace Todo.Extensions { public static class StringExtension { public static bool HasContent(this string content) => content?.Trim().Length > 0; } }
20.555556
61
0.627027
[ "MIT" ]
niteshrestha/todo-mobile
Todo/Todo/Extensions/StringExtension.cs
187
C#
using System; using System.Timers; using Melanchall.DryWetMidi.Common; namespace Melanchall.DryWetMidi.Devices { /// <summary> /// Tick generator which uses <see cref="Timer"/> for ticking. /// </summary> public sealed class RegularPrecisionTickGenerator : TickGenerator { #region Constants...
26.861386
95
0.50387
[ "MIT" ]
jrdndj/drywetmidi
DryWetMidi/Devices/Clock/TickGenerator/RegularPrecisionTickGenerator.cs
2,715
C#
using Lesarde.Frogui.Media; using System.Collections.Generic; using System.Linq; namespace Demo { /*************************************************************************************************** SolidColorBrushes class *******************************************************************************************...
59.056122
101
0.666523
[ "Apache-2.0" ]
lesarde-co/frogui
Samples/Demo/Shared/SolidColorBrushes.cs
11,577
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Lucene.Net.Analysis; using Lucene.Net.Analysis.Standard; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.QueryParsers; using Lucene.Net.Search; using Lucene.Net.Store; namespace ActivityLibrary { publi...
31.52
134
0.541117
[ "Apache-2.0" ]
neerajmathur/UMETRIX
ActivityLibrary/Lucene/LuceneService.cs
3,942
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/d2d1effects.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
36.666667
145
0.756364
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d2d1effects/D2D1_COLORMATRIX_ALPHA_MODE.cs
552
C#
// Copyright (c) Huy Hoang. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Threading.Tasks; namespace Dash.Engine { public interface IUriResourceRepository { Task Add(Uri uri); Task A...
22.565217
107
0.65896
[ "Apache-2.0" ]
dotnet-dash/dash
src/Dash/src/Dash/Engine/IUriResourceRepository.cs
521
C#
using System.Collections.Generic; namespace EnderPi.Genetics.Linear8099 { /// <summary> /// Class to clean the program. Specifically, remove statements that don't do anything. /// </summary> /// <remarks> /// 8099 syntax is much more expressive than tree-based genetic programming, but it is also ...
45.254902
154
0.600953
[ "MIT" ]
EnderPi/FlemishGiant
Jabba/Framework/Genetics/Linear8099/Machine8099ProgramCleaner.cs
2,310
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("te...
38.135135
84
0.746279
[ "MIT" ]
camilo727/terminar_comida
terminar_comida/terminar_comida.iOS/Properties/AssemblyInfo.cs
1,414
C#
#if NET35 namespace AgileObjects.ReadableExpressions.Translations { using System; using System.Collections.Generic; using System.Reflection; using Extensions; using Microsoft.Scripting.Ast; using LinqExp = System.Linq.Expressions; /// <summary> /// Converts a .NET 3.5 Linq Expression o...
45.855153
136
0.5961
[ "MIT" ]
rikimaru0345/ReadableExpressions
ReadableExpressions/Translations/LinqExpressionToDlrExpressionConverter.cs
16,464
C#
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // Redistributions of source code must retain the above copyright notice, // this list of conditi...
32.551963
158
0.53785
[ "BSD-3-Clause" ]
ianbattersby/EventStore
src/EventStore/EventStore.Projections.Core/Messages/ProjectionManagementMessage.cs
28,190
C#
// // IMonsterInfo.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.Data.Abstractions.Language; namespace NosSmooth.Data.Abstractions.Infos; /// <summary> /// The NosTale monster in...
24.56
102
0.674267
[ "MIT" ]
Rutherther/NosSmooth
Data/NosSmooth.Data.Abstractions/Infos/IMonsterInfo.cs
619
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.DataTransfer { #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class DataProviderRequest { // Skipping alread...
46.055556
111
0.803378
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.DataTransfer/DataProviderRequest.cs
829
C#
using NSpec; using NUnit.Framework; namespace Coypu.Drivers.Tests { internal class When_choosing : DriverSpecs { [Test] public void Chooses_radio_button_from_list() { var radioButton1 = Field("chooseRadio1"); radioButton1.Selected.should_be_false(); ...
28.090909
96
0.56068
[ "MIT", "Unlicense" ]
Jetski5822/coypu
src/Coypu.Drivers.Tests/When_choosing.cs
1,238
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Exit Games GmbH"/> // <summary>Demo code for Photon Chat in Unity.</summary> // <author>developer@exitgames.com</author> // ----------------------------------------------------...
41.866667
120
0.476911
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Assets/Photon/PhotonChat/Demos/DemoChat/AppSettingsExtensions.cs
1,258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SampleWithUnity.Models { public class FooDto { } }
14.454545
33
0.72956
[ "MIT" ]
raychiutw/ioc-di-sample
src/SampleWithUnity/Models/FooDto.cs
161
C#
using AccountingNote.Auth; using AccountingNote.DBSource; using AccountingNote.ORM.DBModel; using AccountingNote1.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AccountingNote.SystemAdmin { public par...
34.851852
103
0.46607
[ "MIT" ]
UserKen-first/WebFormMiniDataBase
WebDB/AccountingNote1/SystemAdmin/AccountingDetail.aspx.cs
7,091
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace _02.SimpleWebFormsApp { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } } }
18.294118
60
0.691318
[ "MIT" ]
ni4ka7a/TelerikAcademyHomeworks
ASP.NET-WebForms/02.WebFormsIntro/02.SimpleWebFormsApp/Default.aspx.cs
313
C#
using Discord.Commands; using Discord.WebSocket; using DragonLore.MagicNumbers.Roles; using DragonLore.Managers; using DragonLore.Models; using Newtonsoft.Json; using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace DragonLore.Modules { public class CsgoModule...
40.271186
188
0.522517
[ "MIT" ]
RyadaProductions/DragonLoreV2
DragonLore/Modules/CsgoModule.cs
4,754
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace PeteLazuran { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
21.92
64
0.572993
[ "MIT" ]
NaruzaL/PeteLazuran.com
src/PeteLazuran/Program.cs
550
C#
// Collect : Collect, Store and Forward industrial data // Copyright SPIA Tech India, www.spiatech.com // MIT License using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceProcess; using System.Text; using Sy...
19.176471
56
0.657975
[ "MIT" ]
SPIATECH/Collect
Collect/Collect.Service/Collect.Common.svc/Service1.cs
652
C#
// Copyright 2017-2021 Elringus (Artyom Sovetnikov). All rights reserved. using System; using System.Collections.Generic; using System.Linq; namespace Naninovel { public class ProjectResourceLocator<TResource> : LocateResourcesRunner<TResource> where TResource : UnityEngine.Object { private re...
35.333333
147
0.71012
[ "Unlicense" ]
ChrisKindred/CartomancyGame
CartomancyGame/Assets/Naninovel/Runtime/Common/ResourceProvider/ProjectResourceLocator.cs
1,166
C#
namespace Chartreuse.Today.App.VoiceCommand { internal static class CortanaConstants { internal const string VoiceCommandDefinitionVersionKey = "VoiceCommandVersion"; internal const string PhraseListFolder = "folder"; internal const string PhraseListView = "view"; i...
37.5
87
0.697778
[ "MIT" ]
2DayApp/2day
src/2Day.App.VoiceCommand/CortanaConstants.cs
677
C#
using Microsoft.Xna.Framework; namespace ShooterGame.Windows.Core { public interface IAnimationFactory { IAnimation Build(ITexture2D spriteStrip, int frameWidth, int frameTime, int frameCount, bool looping = true, float scale = 1.0f, Color color = default(Color)); } }
30.1
116
0.707641
[ "Apache-2.0" ]
becdetat/monogame-tw-tutorial
src/ShooterGame.Windows/Core/IAnimationFactory.cs
301
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CBTCondIsActionTargetPlayerDef : IBehTreeReactionTaskDefinition { p...
32.391304
142
0.759732
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CBTCondIsActionTargetPlayerDef.cs
723
C#
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; // Image 36: Newt...
31.555556
146
0.794601
[ "MIT" ]
TotalJTM/PrimitierModdingFramework
Dumps/PrimitierDumpV1.0.1/Newtonsoft/Json/Serialization/CamelCaseNamingStrategy.cs
854
C#
/* * CLR版本: 4.0.30319.42000 * 命名空间名称/文件名: Volo.Abp.AuditLogging.HttpApi.Volo.Abp.AuditLogging/AuditLoggingHttpApiModule * 创建者:天上有木月 * 创建时间:2019/4/2 12:19:33 * 邮箱:igeekfan@foxmail.com * 文件功能描述: * * 修改人: * 时间: * 修改说明: */ using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.AuditLogging.Application.Contracts.Volo...
23.5
94
0.728314
[ "Apache-2.0" ]
burningmyself/microservice
modules/audit-logging/src/Volo.Abp.AuditLogging.HttpApi/Volo/Abp/AuditLogging/AuditLoggingHttpApiModule.cs
707
C#
//------------------------------------------------------------------------------ // <auto-generated> // 이 코드는 도구를 사용하여 생성되었습니다. // 런타임 버전:4.0.30319.42000 // // 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 // 이러한 변경 내용이 손실됩니다. // </auto-generated> //--------------------------------------------------------...
33.932515
172
0.528295
[ "MIT", "Unlicense" ]
rollrat/swiss-tournament
Swiss Tournament/Language/en-US.Designer.cs
6,413
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
23.601563
187
0.620986
[ "MIT" ]
dayfox5317/ET_Lua
Unity/Assets/Cold/XLua/Gen/SystemRuntimeCompilerServicesAsyncMethodBuilderAttributeWrap.cs
3,023
C#
 using CnGalWebSite.DataModel.Application.Dtos; namespace CnGalWebSite.APIServer.Application.Entries.Dtos { public class GetEntryInput : PagedSortedAndFilterInput { public GetEntryInput() { Sorting = "Id"; ScreeningConditions = "全部"; } } }
20.133333
58
0.63245
[ "MIT" ]
CharacterRevolution/CnGalWebSite
CnGalWebSite/CnGalWebSite.APIServer/Application/Entries/Dtos/GetEntryInput.cs
308
C#
using System; using System.ComponentModel; using CoreGraphics; using Foundation; using Microsoft.Maui.Graphics; using UIKit; namespace Microsoft.Maui.Controls.Compatibility.Platform.iOS { internal class ChildViewController : UIViewController { public override void ViewDidLayoutSubviews() { foreach (var vc in...
28.097561
148
0.744792
[ "MIT" ]
Amir-Hossin-pr/maui
src/Compatibility/Core/src/iOS/Renderers/TabletFlyoutPageRenderer.cs
17,282
C#
using GraphQLToQueryable.TestData.Entities; using Microsoft.EntityFrameworkCore; namespace GraphQLToQueryable.EfCore { public class Context : DbContext { protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { if (!optionsBuilder.IsConfigured) { ...
29.590909
131
0.669739
[ "MIT" ]
martinhjulstrom/GraphQLToQueryable
GraphQLToQueryable.EfCore/Context.cs
653
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace zooperdan.AtlasMaker { [CreateAssetMenu(fileName = "Atlas", menuName = "zooperdan/AtlasMaker/Atlas", order = 1)] public class Atlas : ScriptableObject { public string id; [HideInInspector] ...
24.823529
93
0.677725
[ "CC0-1.0" ]
zooperdan/AtlasMaker-for-2D-Dungeon-Crawlers
AtlasMaker/AtlasMaker/Atlas.cs
424
C#
namespace iayos.intrinioapi.servicemodel.flag { public enum HistoricalDataType { /// <summary> /// Default: Did you forget to specify which Historical Data Type to use? I bet you did... /// </summary> IaYoS_Warning_Unset, /// <summary> /// Financial year /// </summary> FY, /// <summary> /// Qua...
16
92
0.589583
[ "MIT" ]
daleholborow/iayos.intrinioapi
src/iayos.intrinioapi.servicemodel.flag/HistoricalDataType.cs
482
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...
29.021277
114
0.601906
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/ElasticMapReduce/Generated/Model/StepStatus.cs
2,728
C#
/** * This file is part of OmniAPI, licensed under the MIT License (MIT). * * Copyright (c) 2017 Helion3 http://helion3.com/ * * 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 ...
45.774194
93
0.7463
[ "MIT" ]
OutpostOmni/OmniAPI
OmniAPI/Entities/Placeable/ICombustionGeneratorEntity.cs
1,421
C#
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(LanguageSchoolApp.App_Start.NinjectWebCommon), "Start")] [assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(LanguageSchoolApp.App_Start.NinjectWebCommon), "Stop")] namespace LanguageSchoolApp.App_Start { using System; using Syste...
36.462366
144
0.591271
[ "MIT" ]
vasilvalkov/LanguageSchool
LanguageSchoolApp/LanguageSchoolApp/App_Start/NinjectWebCommon.cs
3,391
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _4.Variable_in_Hexadecimal_Format { class Program { static void Main(string[] args) { string inputNumber = Console.ReadLine(); int number = Conv...
21.421053
58
0.643735
[ "MIT" ]
bobo4aces/02.SoftUni-TechModule
01. PF - 98. Labs/01.30.2018/4. Variable in Hexadecimal Format/04. Variable in Hexadecimal Format.cs
409
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace AerisWeather.Net.Models.Responses { public class TidesResponse : BaseAerisResponse { [JsonProperty("periods")] public List<Tide> Tides { get; set; } } }
20.307692
50
0.693182
[ "MIT" ]
EasyIntegration/AerisWeather.Net
AerisWeather.Net/Models/Responses/TidesResponse.cs
266
C#
/* Copyright 2012-2021 Marco De Salvo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
37.404762
191
0.552939
[ "Apache-2.0" ]
mdesalvo/RDFSharp
RDFSharp/Model/Validation/Abstractions/Constraints/RDFAndConstraint.cs
4,715
C#
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software distributed under the ...
44.891188
138
0.579247
[ "Apache-2.0" ]
Jimmy-Hu/google-api-dotnet-client
Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs
58,583
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Machine.Specifications; namespace Dolittle.Runtime.DependencyInversion.for_BindingBuilder { public class when_binding_to_generic_type : given.a_null_binding ...
35.565217
126
0.694377
[ "MIT" ]
dolittle/Runtime
Specifications/DependencyInversion/for_BindingBuilder/when_binding_to_generic_type.cs
818
C#
using QuestionnaireSystem.Auth; using QuestionnaireSystem.DBSource; using QuestionnaireSystem.ORM.DBModels; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; namespace QuestionnaireSystem { public p...
39.202381
160
0.484968
[ "MIT" ]
implife/QuestionnaireSystem
QuestionnaireSystem/QuestionnaireSystem/Default.aspx.cs
6,726
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 ...
40.795455
135
0.698607
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/AdGroupFeedServiceClient.GetAdGroupFeedRequestObjectAsyncSnippet.g.cs
1,795
C#
namespace Godot { public static partial class Signals { public class KinematicBody : CollisionObject { } } }
21
56
0.666667
[ "MIT" ]
ItsJustGeek/Godot.Signals
Godot.Signals/Node/Spatial/CollisionObject/PhysicsBody/KinematicBody.cs
128
C#
#nullable enable using System; using System.Threading; using System.Threading.Tasks; using PrimeFuncPack.UnitTest; using Xunit; using static PrimeFuncPack.UnitTest.TestData; namespace PrimeFuncPack.Core.Tests; partial class AsyncFuncTest { [Fact] public void From_06_SourceFuncIsNull_ExpectArgumentNullExcepti...
32.627907
139
0.712758
[ "MIT" ]
pfpack/pfpack-core
src/core-func-ext/Func.Extensions.Tests/Test.AsyncFunc/AsyncFuncTest.06.cs
1,403
C#
using System; using System.Numerics; using System.Threading.Tasks; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.RLP; namespace Nethereum.Signer { public class Transaction : TransactionBase { public Transaction(byte[] rawData) { SimpleRlpSigner = new RLPSigner(rawDa...
37.623656
122
0.613604
[ "MIT" ]
Ali8668/Nethereum
src/Nethereum.Signer/Transaction.cs
3,501
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System.Text; namespace AlgoTest.LeetCode.Permute { [TestClass] public class PermuteProblem { [TestMethod] public void Test() { ...
24.930233
65
0.491604
[ "MIT" ]
sagasu/Algo-DataStructures
AlgoTest/LeetCode/Permute/Permute.cs
1,074
C#
/* * DevOps Vault API * * The purpose of this application is to provide a simple service for storing and getting secrets * * The version of the OpenAPI document: 1.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Te...
32.496552
140
0.558786
[ "Apache-2.0" ]
thycotic/dsv-netcore-sdk
src/DevOpsVault.SDK.Core/Model/MemberResponse.cs
4,712
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> //---...
41.083333
80
0.649087
[ "MIT" ]
Urgen-Dorjee/MyBlogPage
CommonShared/obj/Debug/netstandard2.0/CommonShared.AssemblyInfo.cs
986
C#
using System; using System.Collections.Generic; using System.Linq; using DiagramDesigner; using Caliburn.Micro; using System.ComponentModel.Composition; using System.Collections.ObjectModel; using System.Windows.Input; namespace DemoApp { [Export(typeof(ShellViewModel))] public class ShellViewModel : Screen ...
36.787611
127
0.580467
[ "MIT" ]
nwilliamfeng/MVVMDiagramDesigner
src/DemoApp/ViewModels/ShellViewModel.cs
4,159
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программным средством. // Версия среды выполнения: 4.0.30319.42000 // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создан повторно....
40.676056
183
0.61946
[ "MIT" ]
KriptYashka/LiveModel
WantedDeadOrAlive/Properties/Resources.Designer.cs
3,419
C#
#region copyright /* * Copyright (c) 2018 Sveriges Radio AB, Stockholm, Sweden * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, t...
46.628571
76
0.765931
[ "BSD-3-Clause" ]
IrisBroadcast/CodecControl
src/CodecControl.Client/Exceptions/CodecException.cs
1,634
C#
using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; #endif namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues { #if UITEST [NUnit.Framework.Category(Compatibility.UITests.UITestCategories.Github5000)] #en...
27.642857
140
0.743325
[ "MIT" ]
10088/maui
src/Compatibility/ControlGallery/src/Issues.Shared/Issue2837.cs
1,163
C#
using System; using System.Collections.Generic; namespace CopyDetection { public static class ListICopyItenExtension { public static List<string> DetectCopied(this IList<string> source, Predicate<int> copiedLengthPredicate ) { var result = new List<string>(); for(var ind...
30.255814
113
0.441968
[ "MIT" ]
phuocquach/csharp-practicing
Extension/CopyDetection/ListICopyItemDetectionExtension.cs
1,301
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpellCollision : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } void OnCollisionEnt...
15.208333
52
0.619178
[ "MIT" ]
albertec1/Eldrich-Invasion
Eldrich Invasion/Assets/Scripts/SpellCollision.cs
365
C#
namespace OpenGLBindings { /// <summary> /// Used in GL.Arb.TexBuffer, GL.ColorTable and 32 other functions /// </summary> public enum InternalFormat { /// <summary> /// Original was GL_DEPTH_COMPONENT = 0x1902 /// </summary> DepthComponent = 6402, /// <summar...
31.595773
78
0.512501
[ "MIT" ]
DeKaDeNcE/WoWDatabaseEditor
Rendering/OpenGLBindings/InternalFormat.cs
23,918
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace ApiService.Controllers { //client_id:client.api.service //client_secret:clientsecret //grant_type:password //username:edi...
21.411765
60
0.559753
[ "MIT" ]
MaybeEleven/dotnetcore-examples
Authentication-and-Authorization/ApiService/Controllers/ValuesController.cs
1,466
C#
/* * Demo program for ListView Sorting * Created by Li Gao, 2007 * * Modified for demo purposes only. * This program is provided as is and no warranty or support. * Use it as your own risk * */ using System; using System.Collections; using System.Globalization; using System.Windows; using System.Wi...
32.212389
139
0.544368
[ "Apache-2.0" ]
XYRYTeam/SimplePrism
SamplePrism.Controls/ListViewEx/ListViewSorter.cs
7,280
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 Microsoft.CodeAnalysis.Editor.Shared.Utilities; namespace Microsoft.CodeAnalysis.Editor.FindUsages { int...
30.066667
71
0.756098
[ "MIT" ]
belav/roslyn
src/EditorFeatures/Core/FindUsages/AbstractFindUsagesService.cs
453
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.692308
153
0.590457
[ "MIT" ]
ScriptBox21/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ServiceAnnouncementMessagesCollectionPage.cs
1,509
C#
using System; using System.Collections.Generic; using System.Linq; using System.Xml; using Dynamo.Graph; using Dynamo.Graph.Nodes; using Dynamo.Graph.Nodes.CustomNodes; using Dynamo.Interfaces; using Dynamo.Models; namespace Dynamo.Search.SearchElements { /// <summary> /// Search element for custom nodes....
32.382813
96
0.520869
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
src/DynamoCore/Search/SearchElements/CustomNodeSearchElement.cs
4,147
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Castle.DynamicProxy; using SimpleInjector; using Xunit; namespace RedSheeps.SimpleInjector.DynamicProxy.Tests { public class WhenMethodTypeParameterFixture { [Fact] public ...
30.580645
98
0.591069
[ "MIT" ]
RedSheeps/RedSheeps.SimpleInjector.DynamicProxy
Source/RedSheeps.SimpleInjector.DynamicProxy.Tests/WhenMethodTypeParameterFixture.cs
2,846
C#
using Entitas; public sealed class UpdateTimeSystem : IExecuteSystem, IInitializeSystem { private readonly Contexts _contexts; private readonly ITimeService _timeService; public UpdateTimeSystem(Contexts contexts, Services services) { _contexts = contexts; _timeService = services.Time...
27
89
0.705128
[ "MIT" ]
Master-Maniac/Endless-Runner-Entitas-ECS
Assets/Sources/Input/Time/UpdateTimeSystem.cs
704
C#
using System; using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.Authorization.Users; using Abp.AutoMapper; using iMasterEnglishNG.Authorization.Users; namespace iMasterEnglishNG.Users.Dto { [AutoMapFrom(typeof(User))] public class UserDto : EntityDto<long> { ...
25.902439
57
0.656309
[ "MIT" ]
RenJieJiang/iMasterEnglishNG
aspnet-core/src/iMasterEnglishNG.Application/Users/Dto/UserDto.cs
1,062
C#
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable PartialTypeWithSinglePart // ReSharper disable ClassNeverInstantiated.Global #nullable disable namespace Lambdy.Tests.TestModels.NorthwindTables { public partial class Region { public long Id { get; set; } public strin...
25.857143
55
0.745856
[ "MIT" ]
vladimirbelyayev/Lambdy
Lambdy.Tests/TestModels/NorthwindTables/Region.cs
364
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Cofoundry.Domain; using Cofoundry.Domain.CQS; namespace Cofoundry.Web.Admin { public class CustomEntityRoutingRulesApiController : BaseAdminApiController { private rea...
27
101
0.710562
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Web.Admin/Admin/Api/CustomEntities/CustomEntityRoutingRulesApiController.cs
731
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("Mos...
37.675676
84
0.748207
[ "MIT" ]
Pixke/HBSIS
22-26_07/MostrarJoinha/Properties/AssemblyInfo.cs
1,397
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> //-----------------------------------------...
23.833333
81
0.480769
[ "BSD-3-Clause" ]
madreflection/MadReflection.BungieNetApi
src/MadReflection.BungieNetApi.Entities/Generated_/Destiny/DestinyVendorFilter.cs
574
C#
using EPiServer.Commerce.Order; using EPiServer.Framework.Localization; using EPiServer.ServiceLocation; using Foundation.Cms.Attributes; using Foundation.Commerce.Markets; using Foundation.Features.MyAccount.CreditCard; using Mediachase.Commerce; using Mediachase.Commerce.Customers; using Mediachase.Commerce.Orders; ...
37.104693
327
0.601576
[ "Apache-2.0" ]
CalinL/Foundation
src/Foundation/Features/Checkout/Payments/GenericCreditCardPaymentOption.cs
10,280
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Devices.WiFi { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public enum WiFiConn...
28.657143
63
0.701894
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.WiFi/WiFiConnectionStatus.cs
1,003
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/guide/setguidecardmaterial 接口的请求。</para> /// </summary> public class CgibinGuideSetGuideCardMaterialRequest : WechatApiRequest, IMapResponse<CgibinGuideSetGuideCardMaterialRequest, CgibinGuideSetGuideCardMater...
35.340909
169
0.607074
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Material/CgibinGuideSetGuideCardMaterialRequest.cs
1,693
C#
// // Test the generated API selectors against typos or non-existing cases // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // Copyright 2012-2013 Xamarin Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
29.083474
167
0.67721
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
tests/introspection/ApiSelectorTest.cs
34,493
C#
using Microsoft.Extensions.DependencyInjection; namespace Zhongli.Services.Image; public static class ImageSetup { public static IServiceCollection AddImages(this IServiceCollection services) => services.AddScoped<IImageService, ImageService>(); }
29.111111
83
0.801527
[ "MIT" ]
WFP-Doobelepers/Zhongli
Zhongli.Services/Image/ImageSetup.cs
264
C#
using System; using System.Collections.Generic; namespace ParkIt.Models { public class PagedResponse <T> : Response<T> { public int PageNumber {get; set;} public int PageSize {get; set;} public Uri FirstPage {get; set;} public Uri LastPage {get; set;} public int TotalPages {get; set;} publi...
25.296296
63
0.647145
[ "MIT" ]
MaxBrockbank/ParkItAPI
ParkIt/Models/PagedResponse.cs
683
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class LoopL5_110Map : X12LayoutMap<LoopL5_110, X12Entity> { public LoopL5_110Map() { Id = "Loop_L5_110"; Name = "Loop L5"; Segment(x => x.Descrip...
26
58
0.5301
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/Maps/LoopL5_110Map.cs
598
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using NBXplorer.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Extensions.Logging; using System.Net; using System.Threading.Tasks; using NBitcoin; using System.Text; using Command...
56.237569
211
0.73966
[ "MIT" ]
codingteks/NBXplorer
NBXplorer/Configuration/DefaultConfiguration.cs
10,181
C#
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Changes Copyright (c) 2011 Garrett Serack . All rights reserved. // TaskScheduler Original Code from http://taskscheduler.codeplex.com/ // </copyright> // <license> // The software is l...
83.594925
412
0.74211
[ "Apache-2.0" ]
Jaykul/clrplus
Platform/Scheduling/V2/TaskSchedulerV2Interop.cs
88,947
C#
using Newtonsoft.Json; using System; using TheSaga.Exceptions; namespace TheSaga.Utils { internal static class SagaExceptionExtensions { internal static Exception ToSagaStepException(this Exception exception) { if (exception == null) return null; if (is...
26.093023
92
0.535651
[ "MIT" ]
b-y-t-e/TheSaga
TheSaga/TheSaga/Utils/SagaExceptionExtensions.cs
1,124
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
54.496063
534
0.663632
[ "MIT" ]
lantuma/DDZ
Unity/Assets/Model/ILBinding/System_Runtime_CompilerServices_TaskAwaiter_1_Dictionary_2_Int32_Google_Proto_t.cs
6,921
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SolderingRobotController { public class AppConfig { public AppSettings SetDefaultConfig() { AppSettings settings = new AppSettings(); S...
31.4
70
0.603222
[ "MIT" ]
briandorey/Soldering-Robot-Project
Windows Software/SolderingRobotController/SolderingRobotController/AppConfig.cs
2,671
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...
38.06
178
0.677877
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/Outputs/OraclePartitionSettingsResponse.cs
1,903
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Management.Network.Models { /// <summary> Bastion Shareable Link. </summary> public partial class BastionShareableLink { /// <summa...
38.64
144
0.622153
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/BastionShareableLink.cs
1,932
C#
using YourBrand.Documents.Domain; using Microsoft.EntityFrameworkCore; using YourBrand.Documents.Infrastructure.Persistence.Interceptors; namespace YourBrand.Documents.Infrastructure.Persistence; public static class ServiceCollectionExtensions { public static IServiceCollection AddPersistence(this IServ...
35.030303
145
0.728374
[ "MIT" ]
marinasundstrom/YourCompany
Documents/Documents/Infrastructure/Persistence/ServiceCollectionExtensions.cs
1,156
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.CodeAnalysis; using System.IO; using Syste...
44.104348
146
0.651222
[ "MIT" ]
Surfndez/WindowsTemplateStudio
code/test/Templates.Test/BuildRightClickWithLegacy/BuildRightClickWithLegacyFixture.cs
5,074
C#
using NBitcoin; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.ComponentModel; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Bases; using WalletWasabi.Helpers; using WalletWasabi.Interfaces; using WalletWasabi.JsonConverters; using WalletWasabi.Loggi...
38.279279
141
0.787244
[ "MIT" ]
Groestlcoin/WalletWasabi
WalletWasabi/CoinJoin/Coordinator/Rounds/CoordinatorRoundConfig.cs
4,249
C#
// ----------------------------------------------------------------------- // <auto-generated> // 此代码由代码生成器生成。 // 手动更改此文件可能导致应用程序出现意外的行为。 // 如果重新生成代码,对此文件的任何修改都会丢失。 // 如果需要扩展此类,可以遵守如下规则进行扩展: // 1. 横向扩展:如需给当前模块添加方法接口,可新建文件“IInStorManagerContract.cs”的分部接口“public partial interface IInStorManagerContract”添...
29.75
186
0.569236
[ "Apache-2.0" ]
zhongw2020/teng.kun
src/teng.kun.Core/InStorManager/IInStorManagerContract.generated.cs
3,403
C#
using Engine.Contracts; using Engine; namespace Game.Acts { public class AttackAct : BaseAct { private IActor Target; public AttackAct (string name, IActor actor) { Name = name; Self = actor; } public override ActResult Do (IScene scene) { (scene as IStage).Attack (Self as IPlacableAc...
19.757576
78
0.648773
[ "MIT" ]
sheix/GameEngine
Game/Acts/AttackAct.cs
654
C#
using Discord; using Discord.WebSocket; namespace BonusBot.AudioModule.Models { internal class EmbedInfo { public ISocketMessageChannel Channel { get; init; } public Embed? Embed { get; set; } public IMessage? Message { get; init; } public EmbedInfo(ISocketMessageChannel chann...
29.866667
102
0.65625
[ "MIT" ]
emre1702/BonusBo
Modules/AudioModule/Models/EmbedInfo.cs
450
C#
using System; using System.Collections.Generic; using System.Data.Common; namespace Sylvan.Data { partial class Schema { /// <summary> /// Builder for creating Schema. /// </summary> public class Builder { List<Column.Builder>? columns; List<Column.Builder> Columns => columns ?? throw new InvalidOpe...
22.282051
101
0.625432
[ "MIT" ]
0xced/Sylvan
source/Sylvan.Data/Schema.Builder.cs
1,740
C#
using ESI.NET.Models.Mail; using ESI.NET.Models.SSO; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using static ESI.NET.EsiRequest; namespace ESI.NET.Logic { public class MailLogic { private readonly HttpClient _client; private readonly EsiConfig _confi...
42.362069
208
0.565459
[ "MIT" ]
changshuzf/ESI.NET
ESI.NET/Logic/MailLogic.cs
7,373
C#
// Copyright 2022 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 ...
47.119048
159
0.746337
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Security.PrivateCA.V1/Google.Cloud.Security.PrivateCA.V1.GeneratedSnippets/CertificateAuthorityServiceClient.GetCertificateTemplateResourceNamesAsyncSnippet.g.cs
1,979
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. // // Generated on 2020 October 09 05:47:03 UTC // </auto-generated> //--------------...
37.144578
137
0.657152
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/go/internal/modfetch/cache_DownloadDirPartialErrorStruct.cs
3,083
C#
using MYOB.AccountRight.SDK.Contracts.Version2.Contact; namespace MYOB.AccountRight.SDK.Contracts.Version2.GeneralLedger { /// <summary> /// The different tax code types /// </summary> public enum TaxCodeType { /// <summary> /// Consolidated /// </summary> Consolida...
27.172932
161
0.502767
[ "MIT" ]
AnshumanSaurabhMYOB/AccountRight_Live_API_.Net_SDK
MYOB.API.SDK/SDK/Contracts/Version2/GeneralLedger/TaxCode.cs
3,616
C#
using WalletWasabi.JsonConverters; using WalletWasabi.Helpers; using NBitcoin; using Newtonsoft.Json; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace WalletWasabi.KeyManagement { [JsonObject(MemberSerialization.OptIn)] public class KeyManager { [JsonProperty(Ord...
28.092511
126
0.69343
[ "MIT" ]
r0otChiXor/WalletWasabi
WalletWasabi/KeyManagement/KeyManager.cs
6,379
C#
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E0228F2EB31D70EF0930F82B58F8081AC8A07A76" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes t...
32.112676
118
0.620614
[ "Unlicense" ]
squabbi/DogeKit-Pixel2
DogeKit Serializer/obj/Debug/App.g.cs
2,282
C#
using Microsoft.Extensions.DependencyInjection; using NLog; using ReconNess.Core.Models; using ReconNess.Core.Services; using System; using System.Threading; using System.Threading.Tasks; namespace ReconNess.Services { /// <summary> /// This class implement <see cref="IAgentBackgroundService"/> /// </summ...
57.481013
182
0.714821
[ "MIT" ]
STEALTH-Z/reconness
src/ReconNess/Services/AgentBackgroundService.cs
4,543
C#