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; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "TrapData.asset", menuName = "TowerDefense/Trap Configuration", order = 2)] public class PlayerTrapData : ScriptableObject { public float coolDownMax; public int damage; public float duration; }
26.333333
103
0.768987
[ "MIT" ]
debruw/Tower-Defence-Egypt-Mobile-Game
Assets/Scripts/In Game Scripts/PlayerTrapData.cs
318
C#
namespace DotNetInterview.Data.Models.Enums { public enum Country { None = 0, Bulgaria = 1, UK = 2, Germany = 3, France = 4, USA = 2, Other = 999, } }
15.714286
44
0.454545
[ "MIT" ]
TonyDimitrov/SharedDotNetInterview
Data/DotNetInterview.Data.Models/Enums/Country.cs
222
C#
namespace essentialMix.Newtonsoft.Serialization { public class SnakeCasePropertyExtensionNoDictionaryNamingStrategy : PropertyExtensionNoDictionaryNamingStrategy { /// <inheritdoc /> public SnakeCasePropertyExtensionNoDictionaryNamingStrategy() : base(NamingStrategyType.SnakeCase) { } } }
27.636364
112
0.819079
[ "MIT" ]
asm2025/asm
Standard/essentialMix.NewtonSoft/Serialization/SnakeCasePropertyExtensionNoDictionaryNamingStrategy.cs
306
C#
using LuaInterface; using System; using System.Collections.Generic; using UnityEngine; public class UIToggleWrap { public static void Register(LuaState L) { L.BeginClass(typeof(UIToggle), typeof(UIWidgetContainer), null); L.RegFunction("GetActiveToggle", new LuaCSFunction(UIToggleWrap.GetActiveToggle)); L.RegF...
25.983137
136
0.693731
[ "MIT" ]
moto2002/jiandangjianghu
src/UIToggleWrap.cs
15,408
C#
using GarageManager.Common.GlobalConstant; using GarageManager.Common.Notification; using GarageManager.Services.Contracts; using GarageManager.Web.Models.BindingModels.RepairService; using GarageManager.Web.Models.ViewModels.Repair; using Microsoft.AspNetCore.Mvc; using System.Security.Claims; using System.Threading....
35
103
0.606576
[ "MIT" ]
TodorChapkanov/Garage-Manager
Web/GarageManager.Web/Areas/Employees/Controllers/RepairsController.cs
4,412
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
41.017857
93
0.747932
[ "MIT" ]
Isopach/HotsStats
StatsDisplay/Properties/AssemblyInfo.cs
2,300
C#
using System; using AppRopio.Navigation.Menu.Core.Models; namespace AppRopio.Navigation.Menu.Core.Services { public interface IMenuConfigService { MenuConfig Config { get; } } }
18.181818
48
0.715
[ "Apache-2.0" ]
cryptobuks/AppRopio.Mobile
src/app-ropio/AppRopio.Navigation/Menu/Core/Services/IMenuConfigService.cs
202
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("Pr...
37.918919
84
0.746258
[ "MIT" ]
KvanTTT/BMSTU-Education
DataBase/Project12_LINQ2/Properties/AssemblyInfo.cs
1,406
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...
45.926267
196
0.599237
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/WebAppSourceControl.cs
9,966
C#
using MaterialSkin.Controls; using System.Drawing.Text; using Doomroulette.Properties; using System.Drawing; using System.Runtime.InteropServices; using System; using System.Linq; namespace Doomroulette { partial class frmMain { /// <summary> /// Required designer variable. /// </summ...
55.744944
169
0.628323
[ "MIT" ]
DDMan2019/Doomroulette
Doomroulette/Main.Designer.cs
49,615
C#
using UnityEngine; using System.Collections; using OpenCvSharp; using OpenCvSharp.Blob; using OpenCvSharp.CPlusPlus; using System.Collections.Generic; using System.IO; using System.Text; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization.Formatters.Binary; using System; //using System.Configura...
35.526576
260
0.556174
[ "MIT" ]
SeokbinKang/PrototypAR
src/unity/Assets/Scripts/ColorDetector.cs
28,743
C#
using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace PasswordVault.Utilities { public static class KeyGenerator { internal static readonly char[] chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*-_=+?...
28.969697
104
0.57636
[ "Apache-2.0" ]
willem445/PasswordVault
PasswordVault.Utilities/KeyGenerator.cs
958
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace MudBlazor.Markdown.Server { public class Program { public static Task Main(string[] args) { return CreateHostBuilder(args).Build().RunAsync(); } public static IHostBuilder CreateHostBuilder(str...
21.454545
64
0.735169
[ "MIT" ]
MyNihongo/MudBlazor.Markdown
samples/Server/Program.cs
472
C#
namespace SlipeServer.Server.AllSeeingEye; public interface IAseQueryService { string? GetRule(string key); bool RemoveRule(string key); void SetRule(string key, string value); string GetVersion(); byte[] QueryFull(); byte[] QueryLight(); byte[] QueryXFireLight(); }
22.846154
43
0.69697
[ "MIT" ]
correaAlex/Slipe-Server
SlipeServer.Server/AllSeeingEye/IAseQueryService.cs
299
C#
using Altaliza.Core.Entities; namespace Altaliza.Core.Repositories { public interface ICharacterRepository : IBaseEntityRepository<Character> { } }
25.333333
80
0.809211
[ "MIT" ]
felipehac/outplay-altaliza
backend/Altaliza.Core/Repositories/ICharacterRepository.cs
152
C#
// =================================== // The use and distribution terms for this software are covered by the Microsoft public license, // visit for more info : http://www.testcontrol.org (or) http://testcontrol.codeplex.com // // You must not remove this copyright notice, or any other, from this software // // S...
34.357143
97
0.613306
[ "MIT" ]
qamatic/testcontrol.net
TestControl.Net/Interfaces/ICodeBase.cs
483
C#
using System; using System.Collections.Generic; using System.Linq; namespace Swapping { class Link { public int Value { get; private set; } public Link Left { get; private set; } public Link Right { get; private set; } public Link(Link end, int x) { this.Va...
28.184729
86
0.386699
[ "MIT" ]
zachdimitrov/Learning_2017
DSA/MiniExams/_2017-07-01_MiniExam/Swapping/Program.cs
11,445
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/recommendationengine/v1beta1/prediction_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Goo...
41.6875
667
0.662104
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.RecommendationEngine.V1Beta1/Google.Cloud.RecommendationEngine.V1Beta1/PredictionService.g.cs
51,359
C#
using System; using Xunit; namespace ASLang.Executor.Tests { public class CodeExecutor { [Fact] public void TestHelloWorldProgram() { //Given //When //new CodeExecutor().Execute("test"); //Then Assert....
16.666667
49
0.457143
[ "MIT" ]
reenanms/AlpesSuinosLang
ASLang.Executor.Tests/CodeExecutor.cs
350
C#
using System; using System.Threading; using System.Threading.Tasks; using Vit.Core.Util.ConfigurationManager; using Vit.Extensions.Redis; namespace Vit.Db.Redis.QpsTest { public class RedisQpsTest { long requestCount = 0; public int threadCount = Vit.Core.Util.ConfigurationManager.C...
27.483516
129
0.5002
[ "Apache-2.0" ]
serset/Vit.Library
Vit.Db/Test/Vit.Db.Redis.QpsTest/RedisQpsTest.cs
2,503
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading.Tasks; namespace ContainerReader { class Program { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("C...
50.473988
523
0.504924
[ "MIT" ]
Tom60chat/ContainerReader
ContainerReader/Program.cs
8,732
C#
using System; using ContextNLog = NLog.NestedDiagnosticsContext; using Common.Logging; namespace HostBox.Logging { public class NLogNestedThreadVariablesContext : INestedVariablesContext { /// <inheritdoc /> public IDisposable Push(string text) { return ContextNLog.Push(te...
21.483871
75
0.561562
[ "MIT" ]
DenisKrasakovSDV/HostBox
Sources/HostBox/Logging/NLogNestedThreadVariablesContext.cs
668
C#
using System; using System.Linq; namespace AGXUnity { /// <summary> /// AGX Dynamics version and license information. /// </summary> public struct LicenseInfo { /// <summary> /// AGX Dynamics modules. /// </summary> [Flags] public enum Module { None = 0, AGX ...
29.680328
122
0.541563
[ "Apache-2.0" ]
Algoryx/AGXUnity
AGXUnity/LicenseInfo.cs
7,244
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Android.App; using Android.Content; using Android.OS; using Microsoft.Identity.Client.Platforms.Android.SystemWebview; namespace Microsoft.Identity.Client { /// <summary> /// BrowserTabActivity ...
37.756757
123
0.690766
[ "MIT" ]
SpillChek2/microsoft-authentication-library-for-dotnet
src/Microsoft.Identity.Client/Platforms/Android/BrowserTabActivity.cs
1,397
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("Cli...
37.783784
84
0.748927
[ "MIT" ]
Team-on/works
0_homeworks/C#/9 wcf/1/DiskServise/Client/Properties/AssemblyInfo.cs
1,401
C#
namespace DSAnimStudio.TaeEditor { partial class TaeComboMenu { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
53.847826
168
0.626867
[ "MIT" ]
Meowmaritus/DSAnimStudio
DSAnimStudio/TaeEditor/TaeComboMenu.Designer.cs
9,910
C#
using AutoFixture.NUnit3; using FluentAssertions; using NUnit.Framework; using SFA.DAS.Location.Domain.Models; namespace SFA.DAS.Location.Domain.UnitTests.Models { public class WhenMappingLocationToSuggestedLocationModel { [Test, AutoData] public void Then_The_Fields_Are_Correctly_Mapped(Domai...
27.428571
97
0.684028
[ "MIT" ]
SkillsFundingAgency/das-location-api
src/SFA.DAS.Location.Domain.UnitTests/Models/WhenMappingLocationToSuggestedLocationModel.cs
578
C#
using FoxTool.Fox.Types.Structs; using FoxTool.Fox.Types.Values; namespace FoxTool.Tpp.Classes { public class TppGlobalVolumetricFogParam { // Static properties public FoxEntityHandle Owner { get; set; } public FoxBool Enable { get; set; } public FoxColor Color { get; ...
38.172414
60
0.617886
[ "MIT" ]
Atvaark/FoxTool
FoxTool/Tpp/Classes/TppGlobalVolumetricFogParam.cs
1,107
C#
#if false // The following may not work when accessed using interfaces, because the ArrayList is cloned / boxed then using System.Collections.Generic; using System; namespace Toolbox { public struct ArrayList<TypeT> : IList<TypeT> { TypeT[] _data; int _count; uint _version; const int Initial...
17.395604
107
0.58686
[ "MIT", "Unlicense" ]
sharedsafe/SharedSafe.Toolbox
ArrayList.cs
3,168
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.Toolkit { /// <summary> /// Static class that represents...
43.805226
165
0.60937
[ "MIT" ]
ABak9/AR-Sharing
Assets/MixedRealityToolkit/Utilities/MixedRealityServiceRegistry.cs
18,444
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web.Mvc; using Chinook.Application; using Chinook.Data; using EasyLOB.Library.Mvc; using EasyLOB.Library.Resources; /* SELECT TOP 10 * FROM Invoice ORDER BY InvoiceId DESC SELECT TOP 10 * FROM In...
36.151515
123
0.529966
[ "MIT" ]
EasyLOB/EasyLOB-Chinook-1
Chinook.Mvc.AJAX/Controllers/Chinook/ChinookTasks/Sales.cs
4,774
C#
// // Copyright (c) Microsoft and contributors. 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 // // Unle...
43.186747
158
0.639978
[ "MIT" ]
Andrean/azure-powershell
src/StackAdmin/Compute/Commands.Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetCreateOrUpdateMethod.cs
7,004
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Linq; using Stride.Core.A...
47.100379
250
0.551771
[ "MIT" ]
Alan-love/xenko
sources/editor/Stride.Assets.Presentation/AssetEditors/UIEditor/Game/UILayoutHelper.cs
24,869
C#
using System; using System.Configuration; using System.IO; using WWTWebservices; namespace WWT.Providers { public class DustToastProvider : RequestProvider { public override void Run(IWwtContext context) { string query = context.Request.Params["Q"]; string[] values = que...
32.805556
129
0.552921
[ "MIT" ]
twsouthwick/wwt-website
src/WWT.Providers/Providers/DustToastProvider.cs
1,181
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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Li...
43.540816
330
0.613194
[ "ECL-2.0", "Apache-2.0" ]
Charliekenney23/pulumi-linode
sdk/dotnet/NodeBalancerNode.cs
8,534
C#
/* Copyright (c) Citrix Systems Inc. * 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,...
34.77027
91
0.650214
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenAdmin/Diagnostics/Checks/HAOffCheck.cs
2,575
C#
namespace Palantir.Numeric.UnitTests { using System; using FluentAssertions; using Xunit; // 0.01, up down and nearest // 0.05, up down and nearest // 0.10, up down and nearest // 0.50, up down and nearest // 1.00, up down and nearest // 10.00, up down and nearest public sealed class Rou...
41.469388
72
0.565125
[ "MIT" ]
palantirza/Numeric
tst/Palantir.Numeric.UnitTests/RoundingTests.cs
6,096
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using WeiXin.Helper; namespace Yank.WeiXin.Messages { /// <summary> /// /// </summary> public class TextMessage:Message { /// <summary> /// 模板静态字段 /...
30.701031
136
0.435527
[ "MIT" ]
kongpanda/WeiXin
Message/TextMessage.cs
3,050
C#
// Copyright 2017 the original author or authors. // // 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...
34.451613
110
0.733146
[ "ECL-2.0", "Apache-2.0" ]
spring-operator/CircuitBreaker
src/Steeltoe.CircuitBreaker.HystrixBase/Strategy/ExecutionHook/HystrixCommandExecutionHookDefault.cs
1,070
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.239 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------...
31.483871
148
0.635246
[ "MIT" ]
dotnetprojects/TreeViewEx
Samples/SelectionBinding/Properties/Settings.Designer.cs
978
C#
namespace AniVetNetwork.Web.Areas.Administration.Controllers { using AniVetNetwork.Services.Data; using AniVetNetwork.Web.ViewModels.Administration.Dashboard; using Microsoft.AspNetCore.Mvc; public class DashboardController : AdministrationController { private readonly ISettingsService se...
28.541667
100
0.689051
[ "MIT" ]
p-vascool/WebProject
Web/AniVetNetwork.Web/Areas/Administration/Controllers/DashboardController.cs
687
C#
using System.Threading.Tasks; using HitMeApp.Indentity.Contract.Dtos; using HitMeApp.Indentity.Contract.Queries; using HitMeApp.Indentity.Core; using HitMeApp.Shared.Infrastructure.Cqrs.Queries; namespace HitMeApp.Indentity.Infrastructure.Persistence.QueryHandlers { internal sealed class GetUserByIdHandler : IQue...
29.8
82
0.711409
[ "MIT" ]
Somsiady-Inc/HitMeApp
backend/Modules/Identity/HitMeApp.Indentity/Infrastructure/Persistence/QueryHandlers/GetUserByIdHandler.cs
747
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class playanim : MonoBehaviour { public Animation anim; // Start is called before the first frame update void Start() { anim = gameObject.GetComponent<Animation>(); } // Update is called once per fra...
19.1
52
0.649215
[ "Unlicense" ]
23SAMY23/Drift-Into-Space
Drift Into Space/Assets/Scripts/playanim.cs
384
C#
using Sanatana.DataGenerator.Generators; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Linq; using System.Collections; using System.Threading.Tasks; using Sanatana.DataGenerator.Storages; using Sanatana.DataGenerator.Entities; using Sanatana.DataGenerator.Modi...
35.304878
103
0.638687
[ "MIT" ]
RodionKulin/Sanatana.DataGenerator
Sanatana.DataGenerator/Internals/ReflectionInvoker.cs
2,897
C#
using HarmonyLib; using UnityEngine; namespace GalacticScale { public partial class PatchOnUIPlanetDetail { [HarmonyPrefix] [HarmonyPatch(typeof(UIPlanetDetail), "SetResCount")] public static bool SetResCount(int count, ref RectTransform ___rectTrans, ref RectTransform ___paramGroup) /...
38.294118
183
0.689708
[ "CC0-1.0" ]
PhantomGamers/GalacticScale3
Scripts/Patches/UIPlanetDetail/SetResCount.cs
653
C#
using System; using System.Collections.Generic; using DotVVM.Framework.Utils; using System.Reflection; using System.Linq; using DotVVM.Framework.Controls; using DotVVM.Framework.Compilation.Styles; public static partial class StyleBuilderExtensionMethods { /// <summary> Adds a new postback handler to the PostBack....
44.299145
174
0.689562
[ "Apache-2.0" ]
AlexanderSemenyak/dotvvm
src/Framework/Framework/Compilation/Styles/StyleBuilderMethods.Helpers.cs
5,183
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace BACnet.IP { public delegate void DatagramReceivedDelegate(IPEndPoint ep, byte[] buffer, int length); public class UDPAsyncServer : IDispos...
30.630332
103
0.480272
[ "MIT" ]
LorenVS/bacstack
BACnet.IP/UDPAsyncServer.cs
6,465
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Tavis.UriTemplates; using Xunit; using Xunit.Extensions; namespace UriTemplateTests { public class ParameterMatchingTests { [Fact] public void MatchUriToT...
29.506757
166
0.562056
[ "Apache-2.0" ]
augustoproiete-forks/tavis-software--Tavis.UriTemplates
src/UriTemplateTests/ParameterMatchingTests.cs
8,736
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.JsonPatch.Operations; namespace Microsoft.AspNetCore.JsonPatch.Exceptions; public class JsonPatchException : Exception { public Operati...
27.571429
86
0.733679
[ "MIT" ]
3ejki/aspnetcore
src/Features/JsonPatch/src/Exceptions/JsonPatchException.cs
965
C#
using System.Runtime.CompilerServices; using Xamarin.Forms; using Xamarin.Forms.Internals; using Xamarin.Forms.Platform.Android; // These renderers are now registered via the RenderWithAttribute in the Android Forwarders project. // Note that AppCompat and FastRenderers are also registered conditionally in FormsAppCom...
64.706897
116
0.805755
[ "MIT" ]
puppetSpace/Xamarin.Forms
Xamarin.Forms.Platform.Android/Properties/AssemblyInfo.cs
3,753
C#
// Copyright 2016 Google Inc. 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 // // Unless required by applic...
51.35
201
0.663539
[ "Apache-2.0" ]
chrisdunelm/gcloud-dotnet
apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2/BigQueryClientImpl.Queries.cs
11,299
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.Globalization; namespace Microsoft.NodejsTools.Npm { /// <summary> /// Fired when an attempt to execute an npm com...
33.666667
161
0.614623
[ "Apache-2.0" ]
Abd-Elrazek/nodejstools
Nodejs/Product/Npm/NpmCommandCompletedEventArgs.cs
1,275
C#
namespace Unicorn.Internal { internal enum uc_arch { // From unicorn.h UC_ARCH_ARM = 1, // ARM architecture (including Thumb, Thumb-2) UC_ARCH_ARM64, // ARM-64, also called AArch64 UC_ARCH_MIPS, // Mips architecture UC_ARCH_X86, // X86 arch...
33.176471
76
0.579787
[ "MIT" ]
ElektroKill/unicorn-net
src/Unicorn.Net/Internal/uc_arch.cs
566
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace AnimeSearch.Models { public class TheMovieDBResult : Result { private TheMovieDBGenres[] genres_tmp = null; publ...
35.025641
187
0.52123
[ "MIT" ]
Dim145/AnimeSearch
AnimeSearch/Models/TheMovieDBResult.cs
4,100
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://ww...
47.969697
104
0.695515
[ "MIT" ]
AzPsTest/azure-powershell
src/Resources/Resources/Properties/AssemblyInfo.cs
1,551
C#
#region license // Copyright (c) 2007-2010 Mauricio Scheffer // // 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 requi...
43.554348
132
0.631645
[ "Apache-2.0" ]
071300726/SN
SolrNet.Tests/Utils/EmbeddedResource.cs
4,009
C#
using System; using System.Collections.Generic; using System.Text; namespace BonusCalcListener.Domain { public static class PayElementTypeIds { public const int Reactive = 301; public const int Overtime = 401; public const int OutOfHours = 501; } }
20.428571
42
0.692308
[ "MIT" ]
LBHackney-IT/bonuscalc-listener
BonusCalcListener/Domain/PayElementTypeIds.cs
286
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class R4Map : X12SegmentMap<R4, X12Entity> { public R4Map() { Id = "V1"; Name = "Vessel Identification"; Value(x => x.PortOrTerminalFunctionCode,...
36.28
83
0.540243
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Segments/Maps/R4Map.cs
907
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WebApi.Entities { public partial class PostcodeAvailableDate { [Key] [Column("id")] public int Id { get; set; } [StringLeng...
27.571429
60
0.649396
[ "MIT" ]
uskudaristanbul/aspnet-core-3-signup-verification-api
Entities/PostcodeAvailableDate.cs
581
C#
using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using Serilog; using ServiceComponents.Api.Mediator; namespace ServiceComponents.AspNet.Http { public class HttpQueryReceiverCorrelationBehavior : HttpReceiverCorrelationBehavior, IReceiveHtt...
36.5
239
0.753425
[ "MIT" ]
davidsarkany/servicecomponents
src/ServiceComponents.AspNet/Http/HttpQueryReceiverCorrelationBehavior.cs
1,024
C#
using System; using DefaultEcs.Internal.Serialization; using DefaultEcs.Internal.Serialization.TextSerializer; using DefaultEcs.Internal.Serialization.TextSerializer.ConverterAction; namespace DefaultEcs.Serialization { /// <summary> /// Represents a context used by the <see cref="TextSerializer"/> to convert...
38.789474
231
0.615106
[ "MIT-0" ]
DagobertDev/DefaultEcs
source/DefaultEcs/Serialization/TextSerializationContext.cs
6,635
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace CodePooper.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to...
34.75
98
0.679856
[ "MIT" ]
willbuildapps/talks
azuretechnights/cosmos/demo/CodePooper/CodePooper.iOS/AppDelegate.cs
1,114
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
39.061269
184
0.592908
[ "MIT" ]
71221-maker/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/StoreSelectedScalar.Vector128.Byte.15.cs
17,851
C#
// <copyright file="CrossBrowserTestingCredentialsResolver.cs" company="Automate The Planet Ltd."> // Copyright 2021 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...
48.842105
228
0.741379
[ "Apache-2.0" ]
alexandrejulien/BELLATRIX
src/Bellatrix.Mobile/plugins/execution/Helpers/CrossBrowserTestingCredentialsResolver.cs
1,858
C#
using GraphQL.Execution; using GraphQL.Instrumentation; using GraphQL.Types; using GraphQL.Validation; using GraphQLParser.AST; namespace GraphQL { /// <summary> /// A mutable implementation of <see cref="IResolveFieldContext"/> /// </summary> public class ResolveFieldContext : IResolveFieldContext<obj...
34.836735
173
0.608475
[ "MIT" ]
BearerPipelineTest/graphql-dotnet
src/GraphQL/ResolveFieldContext/ResolveFieldContext.cs
5,121
C#
using System; using JetBrains.Annotations; using Microsoft.Xna.Framework.Graphics; namespace MonoGame.Extended.WinForms.WindowsDX { public sealed class SwapChainUpdatedEventArgs : EventArgs { public SwapChainUpdatedEventArgs([NotNull] SwapChainRenderTarget swapChainRenderTarget) { Guard.Argum...
27.789474
97
0.732955
[ "BSD-3-Clause-Clear" ]
hozuki/MonoGame.Extended2
Sources/MonoGame.Extended.WinForms.WindowsDX/SwapChainUpdatedEventArgs.cs
530
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/openapitools/openapi-generator.g...
25.902655
159
0.563375
[ "Apache-2.0" ]
3v1lW1th1n/openapi-generator
samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
2,927
C#
//----------------------------------------------------------------- // All Rights Reserved. Copyright (C) 2021, DotNet. //----------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data; namespace DotNet.Business { using Model; using Util; ...
43.738506
236
0.559359
[ "MIT" ]
cuiwenyuan/DotNet.Util
src/DotNet.Business/BaseComment/BaseCommentManager.cs
17,219
C#
using System.Threading.Tasks; using Xemio.Logic.Requests.Organizations; using Xunit; namespace Xemio.Logic.Tests.Requests { public class OrganizationsTests : RequestTests { [Fact] public async Task CreateOrganizationQueryAndDeleteIt() { var organizationName = "Test-Organiza...
30.920635
90
0.555441
[ "MIT" ]
haefele/Xemio
tests/Xemio.Logic.Tests/Requests/OrganizationsTests.cs
1,948
C#
using System.Collections.Generic; using System.IO; namespace OpenVIII { public partial class Kernel_bin { /// <summary> /// Junction Abilities Data /// </summary> /// <see cref="https://github.com/alexfilth/doomtrain/wiki/Junction-abilities"/> public class Junction_abil...
36.68
117
0.527263
[ "MIT" ]
A-n-d-y/OpenVIII
Core/Kernel/Kernel_bin.Junction_abilities.cs
1,836
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 #region Usings using System; using System.Collections.Specialized; using System.Web.UI; using DotNetNuke.Commo...
37.303371
106
0.461145
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/UI/WebControls/PropertyEditor/Edit Controls/TrueFalseEditControl.cs
6,642
C#
/* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using...
48.712941
159
0.632227
[ "Apache-2.0" ]
DenKoren/openapi-generator
samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/StoreApi.cs
41,406
C#
using System; using System.Reflection; namespace AOPTest.Aspect02 { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface, Inherited = true)] public abstract class AspectAttribute : Attribute { public abstract object Action(object target, MethodBase method, object[] par...
31.727273
117
0.799427
[ "MIT" ]
treytomes/ILExperiments
AOPTest/Aspect02/AspectAttribute.cs
351
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("P1_...
37.945946
84
0.75
[ "MIT" ]
quackwilson/ParticleSwarmOptimization
CS_Ver/P1_ShubertFunction/P1_ShubertFunction/Properties/AssemblyInfo.cs
1,407
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
48.80937
280
0.635223
[ "MIT" ]
tongbong/UnitsNet
UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/CoefficientOfThermalExpansion.WindowsRuntimeComponent.g.cs
30,215
C#
 using System; using System.Web; using System.Web.UI; using System.Collections.Specialized; using Newtonsoft.Json; using PBIWebApp.Properties; using Microsoft.IdentityModel.Clients.ActiveDirectory; namespace PBIWebApp { /* NOTE: This code is for sample purposes only. In a production application, you could use a M...
45.637209
170
0.611904
[ "MIT" ]
anuradhak06/POWERBI
samples/webforms/integrate-tile-web-app/PBIWebApp/Default.aspx.cs
9,814
C#
using Snuggle.Core.IO; using Snuggle.Core.Meta; namespace Snuggle.Core.Models.Objects.Settings; public record OculusSettings(bool SharedDepthBuffer, bool DashSupport, bool LowOverheadMode, bool ProtectedContext, bool V2Signing) { public static OculusSettings Default { get; } = new(false, false, false, false, fal...
43.857143
166
0.703583
[ "MIT" ]
yretenai/Snuggle
Snuggle.Core/Models/Objects/Settings/OculusSettings.cs
1,230
C#
// <auto-generated /> using System; using DutchTreat.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DutchTreat.Migrations { [DbContext(typeof(DutchCo...
34.142857
125
0.47045
[ "MIT" ]
RuchiraGamage/DutchTreat
DutchTreat/Data/Migrations/DutchContextModelSnapshot.cs
11,474
C#
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Uk.Models.Common; using KeyPayV2.Uk.Enums; namespace KeyPayV2.Uk.Models.Business { public class LocationItemModel { public int Id { get; set; } public string Name { get; set; } } }
21.2
41
0.666667
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Uk/Models/Business/LocationItemModel.cs
318
C#
using BEPUphysics.BroadPhaseEntries; using BEPUphysics.BroadPhaseEntries.MobileCollidables; using BEPUutilities.ResourceManagement; using Microsoft.Xna.Framework; using BEPUutilities; namespace BEPUphysics.NarrowPhaseSystems.Pairs { ///<summary> /// Handles a mobile mesh-mobile mesh collision pair. ///</s...
34.456693
137
0.631856
[ "Unlicense", "MIT" ]
MSylvia/Lemma
BEPUphysics/NarrowPhaseSystems/Pairs/MobileMeshMobileMeshPairHandler.cs
4,378
C#
 namespace AssetStudio { class AssetFont { public string m_Name; public byte[] m_FontData; public AssetFont(AssetPreloadData preloadData, bool readSwitch) { AssetsFile sourceFile = preloadData.sourceFile; EndianStream a_Stream = preloadData.sourceFile.a_...
38.321168
122
0.476762
[ "MIT" ]
Ancherny/AssetStudio
AssetStudio/Classes/Font.cs
5,252
C#
using System.ComponentModel; using System.Runtime.CompilerServices; namespace ProfilingApp { public class PersonBasicViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private string _firstName; private string _lastName; private int ...
24.75
95
0.453824
[ "MIT" ]
putridparrot/Presentation.Core
ProfilingApp/PersonBasicViewModel.cs
1,388
C#
using System.Net; using Moq; using Net.Http.OData.Model; using Net.Http.OData.Query; using Net.Http.OData.Query.Validators; using Xunit; namespace Net.Http.OData.Tests.Query.Validators { public class TopQueryValidatorTests { public class WhenTheTopQueryOptionIsSetAndItIsNotSpecifiedInAllowedQueryOptio...
37.700535
190
0.604965
[ "Apache-2.0" ]
Net-Http-OData/Net.Http.OData
Net.Http.OData.Tests/Query/Validators/TopQueryOptionValidatorTests.cs
7,052
C#
using System; using System.Buffers.Binary; using System.Net; using NetworkPrimitives.Utilities; namespace NetworkPrimitives.Ipv4 { /// <summary> /// Represents an IPv4 Subnet Mask, in subnet mask notation. /// </summary> public readonly struct Ipv4SubnetMask : IBinaryNetworkPrimitive<Ipv4SubnetMask>, ...
43.113924
145
0.562621
[ "MIT" ]
binarycow/NetworkPrimitives
src/NetworkPrimitives/Ipv4/Subnet/Ipv4SubnetMask.cs
23,844
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 CursoWindowsForms { public partial class Frm_Principal_Menu_UC : Form { int C...
36.669697
169
0.55921
[ "MIT" ]
DiogoBarbosaSilvaSousa/windows-forms-com-c-sharp-parte-7-sql-server
Curso/CursoWindowsForms/CursoWindowsForms/Frm_Principal_Menu_UC.cs
12,127
C#
// ========================================================================== // FuncDispatcher.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =========================================================...
36.205479
98
0.454408
[ "MIT" ]
maooson/squidex
src/Squidex.Infrastructure/Dispatching/ActionDispatcher.cs
2,643
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Autofac.Extensions.DependencyInjection; namespace DependencyInject...
28.758621
75
0.676259
[ "MIT" ]
tilark/geeknetcorestudy
DependencyInjectionAutofacDemo/Program.cs
834
C#
// Copyright (c) 2021 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
45.032258
101
0.709169
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Enum/ClientNodeStatus.cs
1,396
C#
 // ReSharper disable once CheckNamespace namespace Easy.Common { using System; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using Easy.Common.Extensions; /// <summary> /// Provides a very fast and efficient property setter and getter access as ...
47.679612
164
0.623295
[ "MIT" ]
jimd-personal/Easy.Common
Easy.Common/Accessors/AccessorBuilder.cs
14,735
C#
using System.Collections.Generic; namespace MahApps.Metro.IconPacks { /// ****************************************** /// This code is auto generated. Do not amend. /// ****************************************** public static class PackIconZondiconsDataFactory { public static IDictionary<P...
185.93038
641
0.629591
[ "MIT" ]
michael-hawker/MahApps.Metro.IconPacks
src/MahApps.Metro.IconPacks/PackIconZondiconsDataFactory.cs
58,756
C#
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Timers; using System.Windows; using System.Windows.Controls; using ...
37.988189
128
0.531869
[ "MIT" ]
21pages/WPF-Samples
Getting Started/Concepts/samps/propertychangenotification_samp.xaml.cs
9,651
C#
#if !NETSTANDARD1_5 using MasterDevs.ChromeDevTools.Serialization; using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; using WebSocket4Net; namespace MasterDevs.ChromeDevTools { public class ChromeSession : IChromeSessi...
35.676471
163
0.561727
[ "MIT" ]
infiniteloopltd/ChromeDevTools
source/ChromeDevTools/ChromeSession.cs
9,706
C#
using System; using UnityEngine; using System.Reflection; namespace WorldStabilizer { public class HangarReconnector : GenericReconnector { private PartModule moduleHangar = null; private bool collisionDetected = false; public HangarReconnector () { } public override void OnAwake () { base.OnAwak...
21.365854
104
0.679224
[ "MIT" ]
whale2/WorldStabilizer
WorldStabilizer/HangarReconnector.cs
878
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 ...
49.660062
198
0.539968
[ "Apache-2.0" ]
bsogulcan/google-api-dotnet-client
Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.cs
225,556
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.Linq; using Moq; using NuGet.Services.Entities; using Xunit; namespace NuGetGallery.ViewModels { pu...
39.575916
554
0.602262
[ "Apache-2.0" ]
304NotModified/NuGetGallery
tests/NuGetGallery.Facts/ViewModels/ListPackageItemViewModelFacts.cs
15,120
C#
namespace TextUml.Models { using System.ComponentModel.DataAnnotations; public class ChangePassword { [Required] public string OldPassword { get; set; } [Required] [StringLength(64, MinimumLength = 6)] public string NewPassword { get; set; } [Required] ...
26.888889
107
0.634298
[ "MIT" ]
marufsiddiqui/textuml-dotnet
source/TextUml/Models/ChangePassword.cs
486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yoktorm.Compiler { public interface IModelCompiler { } }
14.142857
35
0.747475
[ "MIT" ]
simplic-systems/yoktorm
src/Yoktorm/Compiler/IModelCompiler.cs
200
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TradeUnionCommittee.DAL.Entities { public class GiftEmployees { public long Id { get; set; } public long IdEmployee { get; set; } public string NameEvent { get; set;...
30.916667
61
0.6469
[ "MIT" ]
zavada-sergey/TradeUnionCommittee.App
src/TradeUnionCommittee.Core/src/TradeUnionCommittee.DAL/Entities/GiftEmployees.cs
744
C#
using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace UE4.Native { /// <summary> /// /// </summary> /// <remarks> /// This struct must have the same layout as SharedDotNet in CLRHost.cpp /// </remarks> [StructLayout( LayoutKind.Sequential, Pack = 0 )] ...
36.412844
113
0.700932
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Native/Shared.cs
3,971
C#
/*********************************************************************************************************************** Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies. All rights reserved. Redistribution and use in source and binary forms, with or without modificati...
55.894737
122
0.682203
[ "BSD-3-Clause" ]
OpenRelayOSS/openrelay-cdk-unity
DTLS.Net/CipherSuite/SignatureHashAlgorithm.cs
2,126
C#