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 UnityEngine; public class MenuPage : Openable { public int index; private UIAnimation transferAnimation; public override void Awake() { setupTransition(); base.Awake(); } public virtual void Start() { } public void setupTransition() { transferAni...
18.222222
48
0.58689
[ "MIT" ]
Mineorbit/DungeonsAndDungeons
Assets/Scripts/UI/Menus/MenuPage.cs
656
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> //-----------------------------------------...
28.750155
80
0.765192
[ "MIT" ]
opc-cpvp/OPC.PowerApps
src/Compliance.EarlyBound/OptionSets/DuplicateRuleMatchingEntityTypeCode.cs
46,489
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace KeyVault.Acmebot.Models { public class CertificateItem { [JsonProperty("id")] public Uri Id { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("dnsNames"...
24.170732
59
0.601413
[ "Apache-2.0" ]
CMeeg/keyvault-acmebot
KeyVault.Acmebot/Models/CertificateItem.cs
993
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Numerics; using System.Linq; using GlmSharp.Swizzle; // ReSharper disable InconsistentNaming namespace GlmSharp { /// <summar...
27.394737
91
0.638809
[ "MIT" ]
akriegman/GlmSharpN
GlmSharp/GlmSharp5/Mat2x5/decmat2x5.glm.cs
1,041
C#
/*generated*/ using System; using java.lang; using SimpleJSON; using de.yard.threed.platform; using java.util; using de.yard.threed.core.platform; namespace de.yard.threed.platform.unity { public class UnityJsonArray : UnityJsonValue , NativeJsonArray { public JSONArray value; public Uni...
20.9375
70
0.591045
[ "MIT" ]
thomass171/tcp-22
platform-unity/PlatformUnity/Assets/scripts-platform/UnityJsonArray.cs
670
C#
// Asset Usage Detector - by Suleyman Yasir KULA (yasirkula@gmail.com) namespace AssetUsageDetectorNamespace { using Extras; using UnityEngine; using UnityEditor; using UnityEditor.Animations; using UnityEngine.SceneManagement; using UnityEditor.SceneManagement; using System.Collections; using System.Collection...
33.904788
214
0.681804
[ "MIT" ]
FWCorey/UnityAssetUsageDetector
Plugins/AssetUsageDetector/Editor/AssetUsageDetector.cs
62,317
C#
using TestWrapper.Workers; using Unity.Burst; using Unity.Collections; namespace TestCase.Basic.Division.Simple.Optimization { [BurstCompile] public struct SimpleDivisionOptimizationLongJob : IJobExt<NativeArray<long>, NativeArray<long>, NativeArray<long>> { [ReadOnly] private NativeArray<long> _d...
22.76
118
0.522847
[ "MIT" ]
ErikMoczi/Unity.TestRunner.Jobs
Assets/TestCase/Basic/Division/Simple/Optimization/SimpleAdditionOptimizationLongJob.cs
1,140
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace SistemasDeFilmes { /// <summary> /// Interação lógica para App.xaml /// </summary> public partial class App : Application ...
18.333333
42
0.709091
[ "MIT" ]
Brunobagesteiro/Aula70483
SistemasDeFilmes/SistemasDeFilmes/App.xaml.cs
335
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is re...
26.942308
143
0.664811
[ "MIT" ]
ninianne98/CarrotCakeCMS-MVC
PluginCalendarModule/Code/dbCalendar.designer.cs
7,007
C#
using System; namespace _12_Test_Numbers { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int m = int.Parse(Console.ReadLine()); int sumMax = int.Parse(Console.ReadLine()); int sum = 0; int counter = 0; for (int i = n; i >= 1; i--) { for (int ...
18
51
0.537037
[ "MIT" ]
alchemistbg/Software-University
02-Tech-Module/01-Programming-Fundamentals/02-Conditional-Statements-and-Loops/02-Exercises/12_Test_Numbers/Program.cs
650
C#
using GitVersion.Extensions; using GitVersion.Helpers; namespace GitVersion; public class ReferenceName : IEquatable<ReferenceName?>, IComparable<ReferenceName> { private static readonly LambdaEqualityHelper<ReferenceName> equalityHelper = new(x => x.Canonical); private static readonly LambdaKeyComparer<Refer...
42.308642
120
0.707032
[ "MIT" ]
velkovb/GitVersion
src/GitVersion.Core/Git/ReferenceName.cs
3,427
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.ResourceManager.Storage.Models { /// <summary> Metric specification of operation. </summary> public partial class MetricSpe...
49.984127
250
0.663068
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/MetricSpecification.cs
3,149
C#
using System; using System.Collections.Generic; using System.Text; using CoreGraphics; using UIKit; using MusicPlayer.Managers; namespace MusicPlayer.iOS { internal class ProgressView : UIView { CustomProgress downloadProgess; CustomProgress sliderProgress; OBSlider slider; public Action EditingStarted {ge...
23.449664
106
0.683171
[ "Apache-2.0" ]
Clancey/gMusic
MusicPlayer.iOS/Controls/ProgressView.cs
3,496
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; //Joshua King //Unused but functional public class ShieldPickup : MonoBehaviour { public GameObject Shield; public float thrust = 1f; private Rigidbody2D rb2d; // Use this for initialization void Start () { rb2d = GetComponent...
24.54
107
0.696007
[ "MIT" ]
nberr/starlord
Assets/Scripts/ShieldPickup.cs
1,229
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.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnal...
29.944444
86
0.655844
[ "MIT" ]
belav/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/GroupKeywordRecommender.cs
1,080
C#
using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace PowerUtils.AspNetCore.Attributes { /// <summary> /// Response with status code 400 (BadRequest) /// </summary> public class Response400Attribute : ProducesResponseTypeAttribute { public Response400Attr...
26.333333
96
0.724051
[ "MIT" ]
TechNobre/PowerUtils.AspNetCore.Attributes.ResponseTypes
src/Attributes/Response400Attribute.cs
397
C#
using System; using Bitstamp.Client.Websocket.Json; using Newtonsoft.Json; namespace Bitstamp.Client.Websocket.Responses.Books; public class OrderBook { /// <summary> /// Timestamp - datetime only seconds /// </summary> [JsonConverter(typeof(UnixDateTimeSecondsConverter))] public DateTime Timesta...
28.25
71
0.679204
[ "Apache-2.0" ]
shaynevanasperen/bitstamp-client-websocket
src/Bitstamp.Client.Websocket/Responses/Books/OrderBook.cs
906
C#
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> //#define SHOW_TEMPLATE_HELP_BOX using System; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace AmplifyShaderEditor { public enum HDSRPMaterialType { SubsurfaceScatterin...
35.595188
315
0.730275
[ "MIT" ]
NEUGameDeveloper/SimpleRPG
Client/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Templates/TemplateMultiPassMasterNode.cs
118,354
C#
using System; using System.Threading; using Akka.Actor; using Akka.Quartz.Actor.Commands; using Akka.Quartz.Actor.Events; using Akka.Quartz.Actor.Exceptions; using Quartz; using Xunit; namespace Akka.Quartz.Actor.Tests { public class QuartzPersistentActorSpec : TestKit.Xunit2.TestKit { [Fact] ...
44.298246
154
0.625545
[ "Apache-2.0" ]
Ikendiken/Akka.Quartz.Actor
src/Akka.Quartz.Actor.Tests.Orig/QuartzPersistentActorSpec.cs
5,052
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Simple.OData.Client.Tests.Entities { public class Mammal : Animal { } }
16.307692
44
0.740566
[ "MIT" ]
3-PRO/Simple.OData.Client
src/Simple.OData.Client.UnitTests/Entities/Mammal.cs
214
C#
using Caf.CafModelingMetricCropSyst.Core.Interfaces; using Caf.CafModelingMetricCropSyst.Core.Models; using Caf.CafModelingMetricCropSyst.Infrastructure; using McMaster.Extensions.CommandLineUtils; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using Syste...
36.314286
134
0.611723
[ "CC0-1.0" ]
caf-ltar/CafModelingMetricCropSyst_DotNet_CafEEFlux
Cli/Container.cs
2,544
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fie.MasterPage { public class RootMenuItem { public RootMenuItem() { target = typeof(Pages.HomePage); title = Pages.HomePage.TITLE; } pub...
21
44
0.629073
[ "Apache-2.0" ]
DoumanAsh/Fie.mobile
Fie/Fie/MasterPage/RootMenuItem.cs
401
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
21.325203
95
0.650782
[ "Apache-2.0" ]
fossabot/aliyun-openapi-net-sdk
aliyun-net-sdk-imm/Imm/Model/V20170906/PutProjectRequest.cs
2,623
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseMenu : MonoBehaviour { public static bool GameIsPaused = false; public GameObject PauseMenuUI; void Update() { if (Input.GetKeyDown(KeyCode.Escape)...
17.176471
45
0.552511
[ "Apache-2.0" ]
ShiroixD/WatchOutAsteroids
Assets/Scripts/Menus/PauseMenu.cs
878
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Shashlik.EventBus.SqlServer.Tests.Efcore.Migrations { public partial class init : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Users", ...
30.533333
78
0.514192
[ "MIT" ]
dotnet-shashlik/shashlik.eventbus
src/Shashlik.EventBus.SqlServer.Tests/Efcore/Migrations/20201128024153_init.cs
918
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/services/ad_group_label_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.P...
37.245252
371
0.680361
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V5/Services/AdGroupLabelService.cs
45,104
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace SandboxDatabaseManager.Models { public class CopyDatabaseDetails { public string SourceDatabaseServer { get; set; } public string SourceDatabaseName { get...
33.192308
63
0.673233
[ "MIT" ]
TomaszM81/SandboxDatabaseManager
SandboxDatabaseManager/SandboxDatabaseManager/Models/CopyDatabaseDetails.cs
865
C#
using System; using Horse.Messaging.Protocol; using Horse.Messaging.Server.Cache; using Horse.Messaging.Server.Channels; using Horse.Messaging.Server.Clients; using Horse.Messaging.Server.Direct; using Horse.Messaging.Server.Network; using Horse.Messaging.Server.Options; using Horse.Messaging.Server.Queues; using Horse...
35.323404
133
0.63149
[ "Apache-2.0" ]
twino-framework/horse-mq
src/Horse.Messaging.Server/HorseRiderExtensions.cs
8,301
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("Ge...
37.176471
84
0.756329
[ "MIT" ]
age-killer/Electronic-invoice-document-processing
MailSort_CSHARP/packages/Independentsoft.Exchange.3.0.400/Tutorial/GetDelegate/Properties/AssemblyInfo.cs
1,267
C#
using BattleTech; using Harmony; using Localize; using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace TisButAScratch.Patches { public class FloatyPatches { [HarmonyPatch(typeof(AbstractActor), "CheckPilotStatusFromAttack")] static cl...
40.342105
171
0.573712
[ "MIT" ]
ajkroeg/TisButAScratch
Patches/FloatyPatches.cs
3,068
C#
// ------------------------------------------------------------------------------------------------ // Copyright (c) 2021 Ruzsinszki Gábor // This is free software under the terms of the MIT License. https://opensource.org/licenses/MIT // --------------------------------------------------------------------------------...
34.195122
135
0.481098
[ "MIT" ]
webmaster442/TcPlayer2
TcPlayer.Engine/Settings/SettingsFile.cs
2,807
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. using System; namespace Xtensive.Sql { /// <summary> /// Base class for SQL statements. /// </summary> [Serializable] public abstract class SqlStatement : SqlNode { protected SqlSta...
19.2
65
0.679688
[ "MIT" ]
DataObjects-NET/dataobjects-net
Orm/Xtensive.Orm/Sql/SqlStatement.cs
384
C#
using System; using System.Collections.Generic; using Entitas; using UnityEngine; namespace Game.Logic { public class StoneFallSystem : ReactiveSystem<GameEntity> { Contexts contexts; public StoneFallSystem(Contexts contexts) : base(contexts.game) { this.contexts = contexts...
34.017241
101
0.519007
[ "MIT" ]
shsa/unity
Supaplex/Assets/Game/Scripts/Logic/Systems/StoneFallSystem.cs
1,975
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class FGSMap : X12SegmentMap<FGS, X12Entity> { public FGSMap() { Id = "FGS"; Name = "Form Group"; Value(x => x.AssignedIdentifier, 1, x => x.MinLength(1).Max...
26.8
96
0.559701
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Segments/Maps/FGSMap.cs
536
C#
//----------------------------------------------------------------------- // Copyright 2017 Roman Tumaykin // // 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....
41.058824
87
0.644699
[ "Apache-2.0" ]
ConstantineK/ssis-build
src/SsisBuild.Core/ProjectManagement/IProjectFile.cs
1,398
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Combo_Spear : MonoBehaviour { // Start is called before the first frame update private PlayerPhone player; private float attackSpecialCd = 10.02f; private float attackSpecialDuration; private bool spearAtta...
30.967742
102
0.60625
[ "MIT" ]
NikoSilveira/Civilization-Rush
Assets/Scripts/Player/Combos/Combo_Spear.cs
1,922
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CanvasGroup))] public abstract class MenuBase : MonoBehaviour { [NonSerialized] public MenuManager MenuManager; protected CanvasGroup canvasGroup; protected virtual void Awake() { canvasGroup =...
23.333333
64
0.753247
[ "MIT" ]
Enter-your-name-studio/AB-Game-Jam
ABJam/Assets/Scripts/Menu/MenuBase.cs
772
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace CaveStory { public class PowerDoritoPickup : MapCollidable, IPickup { ...
35.882813
147
0.578271
[ "MIT" ]
golf1052/CaveStory
CaveStory/PowerDoritoPickup.cs
4,595
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("Con...
37.675676
84
0.748207
[ "MIT" ]
dragobaltov/Programming-Basics-And-Fundamentals
ControlNumber/ControlNumber/Properties/AssemblyInfo.cs
1,397
C#
using System; namespace _12._Number_Checker { class Program { static void Main(string[] args) { try { int number = int.Parse(Console.ReadLine()); Console.WriteLine("It is a number."); } catch (Exceptio...
19
59
0.390351
[ "MIT" ]
Svetloslav15/Softuni-Programming-Fundamentals
03.C# Conditional Statements and Loops - Lab/12. Number Checker/Program.cs
458
C#
//****************************************************************************************************** // ReadInputAdapter.cs // // Copyright © 2016, Duotong Yang All Rights Reserved. // // Code Modification History: // --------------------------------------------------------------------------------------------...
57.861953
105
0.639162
[ "MIT" ]
GridProtectionAlliance/openECA
Source/Analytics/LocalizedVARController/Source/LocalVoltageController/C#code/VoltController4/Adapters/ReadInputAdapter.cs
17,188
C#
using RogueSharpSample2.Abilities; using RogueSharpSample2.Core; namespace RogueSharpSample2.Systems { public static class AbilityGenerator { public static Pool<Ability> _abilityPool; public static Ability CreateAbility() { if (_abilityPool == null) { ...
29.185185
63
0.563452
[ "MIT", "Unlicense" ]
rsenna/RogueSharpSamples
SadConsole-8.99/RogueSharp-4.2/Systems/AbilityGenerator.cs
790
C#
using System; using NUnit.Framework; namespace Karzina.Common.FiniteStateMachineTests { [TestFixture] public class FiniteStateMachineEngineTest { [TestCase("Turnstile")] public void TestConstructorWithValidName(string Name) { FiniteStateMachineEngine engine = new Finite...
38.070423
200
0.603959
[ "MIT" ]
bruceanwyl/FiniteStateMachine
FiniteStateMachineTests/FiniteStateMachineEngineTest.cs
5,408
C#
using System; using System.Buffers.Text; using System.Text; using MySqlConnector.Utilities; namespace MySqlConnector.Core { internal sealed class ServerVersion { public ServerVersion(ReadOnlySpan<byte> versionString) { OriginalString = Encoding.ASCII.GetString(versionString); if (!Utf8Parser.TryParse(vers...
38.606557
121
0.709979
[ "MIT" ]
AndreiLuis/MySqlConnector
src/MySqlConnector/Core/ServerVersion.cs
2,355
C#
using System; using System.Runtime.CompilerServices; namespace Cake.MobileCenter { /// <summary> /// Settings for mobile-center apps list. /// Get list of configured applications. /// </summary> [CompilerGenerated] public sealed class MobileCenterAppsListSettings : AutoToolSettings { /// <summary> /// --dis...
25.703704
68
0.615994
[ "MIT" ]
cake-contrib/Cake.MobileCenter
src/Cake.MobileCenter/Apps/List/MobileCenterAppsListSettings.cs
1,388
C#
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Fabric; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors.Runtime; namespace DCT.ILR.FundingCalcService.ALBActor { [EventSource(Name = "MyCompany-DCT.ILR.Processing...
45.852941
258
0.60526
[ "MIT" ]
SkillsFundingAgency/DC-Alpha-ILR-Processing-SF-POC
src/DCT.ILR.FundingCalcService.ALBActor/ActorEventSource.cs
7,797
C#
// Copyright 2016-2017 Confluent 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 agreed to...
39.534884
144
0.523725
[ "Apache-2.0" ]
DHirani/confluent-kafka-dotnet
test/Confluent.Kafka.Benchmark/BenchmarkProducer.cs
5,100
C#
namespace TradingCompany.Repository { using System; using System.Collections.Generic; using System.Linq; using TradingCompany.Models; public class BankAccountRepository : IBankAccountRepository { private static readonly IList<BankAccount> bankAccounts = new List<BankAccount>() { new BankAccount(){ BankAc...
27.55814
141
0.759494
[ "Apache-2.0" ]
gaganpa2020/Trading-App-Backend
AccountService/TradingCompany.AccountService/TradingCompany.Repository/BankAccountRepository.cs
1,187
C#
/* * Created by SharpDevelop. * User: Admin * Date: 2018-03-29 * Time: 10:35 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using FastColoredTextBoxNS; using System.Text.RegularExpressions; using System; using System.Collections.Generic; using System.ComponentModel; using...
38.038285
711
0.558316
[ "MIT" ]
manicken/MicrosanCalc
.localhistory/D/_Projects/_Software/_CommonSourceFiles/RuntimeProgramming/1538328447$SourceCodeEditControl.cs
24,841
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Menu : MonoBehaviour { public void OpenLevel(string name) { SceneManager.LoadScene(name); } }
17.538462
35
0.789474
[ "MIT" ]
JullyKE/ShootEmUp
Parcial1_MGII_3907/Assets/ShootEmUp/Scripts/Menu.cs
230
C#
namespace UCloudSDK.Models { /// <summary> /// 获取弹性IP详细信息 /// <para> /// http://docs.ucloud.cn/api/unet/describe_eip.html /// </para> /// </summary> public partial class DescribeEIPRequest { /// <summary> /// 默认Action名称 /// </summary> private s...
24.671429
65
0.365373
[ "MIT" ]
icyflash/ucloud-csharp-sdk
UCloudSDK/Models/UNet/DescribeEIPRequest.cs
1,873
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FFBattleGenerator.BLL { public class FrameDef { /// <summary> /// Source position of frame /// </summary> public int X { get; set; } public int Y { get; set; } ...
29.731707
119
0.546349
[ "MIT" ]
drake7707/animation-builder
FFBattleGenerator/BLL/FrameDef.cs
1,221
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
36.852941
88
0.505986
[ "BSD-3-Clause" ]
0xCM/z0
src/root/src/minicore/ops/first32u.cs
1,253
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Component...
39.088983
151
0.524336
[ "Apache-2.0" ]
TrustPayments/csharp-sdk
src/TrustPayments/Model/RefundComment.cs
9,225
C#
namespace MiniORM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; internal class ChangeTracker<T> where T : class, new() { private readonly List<T> allEntities; private readon...
34.858696
111
0.597755
[ "MIT" ]
mayapeneva/DATABASE-Advanced-Entity-Framework
02.ORMFundamentals/MiniORM/ChangeTracker.cs
3,209
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
36.395349
149
0.633546
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Ckafka/V20190819/Models/CreateAclRequest.cs
3,514
C#
using Orleans; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Swashbuckle.Orleans.SwaggerGen { public interface ISwaggerGenGrain:IGrainWithGuidKey { Task<string> Generator(); } }
18.642857
55
0.750958
[ "Apache-2.0" ]
aqa510415008/Swashbuckle.Orleans.SwaggerGen
src/Swashbuckle.Orleans.SwaggerGen/ISwaggerGenGrain.cs
263
C#
using System; using System.IO; using Core.Enums; using Core.Extensions.LocalizationRelated; using Core.Localization; using Core.Localization.Impl; namespace Core.Text.Formatter { public class TimeSpanFormatter : ITextFormatter<TimeSpan> { public TimeSpanFormatter( ITimeLocalization? locali...
33.71831
73
0.541771
[ "MIT" ]
capjan/CoreLib
Core/Text/Formatter/TimeSpanFormatter.cs
2,396
C#
using NBitcoin.DataEncoders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol { public enum RejectCode : byte { MALFORMED = 0x01, INVALID = 0x10, OBSOLETE = 0x11, DUPLICATE = 0x12, NONSTANDARD =...
19.737589
88
0.608696
[ "MIT" ]
3DA4C300/NBitcoin
NBitcoin/Protocol/Payloads/RejectPayload.cs
2,785
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.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection.Internal; using System.Reflection.Metadata; using System.Reflection.Metadata.Tests; us...
33.112821
146
0.41726
[ "MIT" ]
belav/runtime
src/libraries/System.Reflection.Metadata/tests/PortableExecutable/DebugDirectoryTests.cs
25,828
C#
using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; using Newtonsoft.Json.Serialization; namespace OAuthExample { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API 配置和服务 // Web API 路由 ...
28.142857
109
0.623096
[ "MIT" ]
buyixiaohan/OAuthExample
OAuthExample/App_Start/WebApiConfig.cs
804
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.171875
130
0.581867
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Kusto/V20190515/Cluster.cs
9,772
C#
// This file was auto-generated based on version 1.1.0 of the canonical data. using Xunit; namespace HelloWorld; public class HelloWorldTests { [Fact] public void Say_hi_() { Assert.Equal("Hello, World!", HelloWorld.Hello()); } }
17.133333
77
0.66537
[ "MIT" ]
dalprahcd/exercism-solutions
csharp/hello-world/HelloWorldTests.cs
257
C#
using System.Windows.Automation; using TestStack.White.AutomationElementSearch; using TestStack.White.Configuration; using TestStack.White.Factory; using TestStack.White.UIItems.Actions; using TestStack.White.UIItems.Finders; using TestStack.White.UIItems.Scrolling; namespace TestStack.White.UIItems.TableItems...
32.719101
166
0.590316
[ "Apache-2.0", "MIT" ]
DaveWeath/White
src/TestStack.White/UIItems/TableItems/Table.cs
2,824
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // The test originally exposed the issue with predecessors lists: // 1. fgReplacePred did not keep the sorted order (GitHub_13295); // 2. fgAddRefPred did not find the existing oc...
41.979798
117
0.62873
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/Regression/JitBlue/GitHub_18056/Bool_And_Op.cs
4,156
C#
using LoESoft.MapEditor.Core.GUI.HUD; namespace LoESoft.MapEditor.Core.GUI { partial class MapEditorForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any re...
38.573333
145
0.588317
[ "MIT" ]
Devwarlt/loe-core
mapeditor/Core/GUI/MapEditorForm.Designer.cs
2,895
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // do...
44.718519
309
0.599194
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Library/Common/Lists/ListController.cs
18,112
C#
namespace Aurora.Profiles.ResidentEvil2.GSI.Nodes { /// <summary> /// Class representing player information /// </summary> public class Player_ResidentEvil2 : Node<Player_ResidentEvil2> { public enum PlayerStatus { /// <summary> /// Not in-game ...
26.583333
102
0.449843
[ "MIT" ]
CalcProgrammer1/Aurora
Project-Aurora/Project-Aurora/Profiles/Resident Evil 2/GSI/Nodes/Player.cs
1,845
C#
using System.Collections.Generic; using System.Globalization; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Core.IO; using Cake.Core.Tooling; public class GitTool : Tool<GitToolSettings> { readonly ICakeLog logger; public GitTool(IFileSystem fileSystem, ICakeEnvironment environme...
31.056338
128
0.630839
[ "MIT" ]
moerwald/AutoCake
src/AutoCake.Release/GitTool.cs
2,205
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...
40.652174
154
0.750802
[ "ECL-2.0", "Apache-2.0" ]
spring-operator/Management
test/Steeltoe.Management.EndpointWeb.Test/ManagementConfig.cs
1,872
C#
namespace API.Helpers; public class LikesParams : PaginationParams { public int UserId { get; set; } public string Predicate { get; set; } }
18.75
43
0.7
[ "MIT" ]
FernandoDevBh/DattingApp
API/Helpers/LikesParams.cs
150
C#
namespace Hexalith.OpenIdDict.Settings { using System.Collections.Generic; public class OpenIdSettings { public IEnumerable<string>? AuthorizedUrls { get; init; } public IEnumerable<string>? CertificatePaths { get; init; } public string? EncryptionCertificateFile { get; init; } ...
46.3
74
0.699784
[ "MIT" ]
Hexalith/Hexalith
src/Modules/Server/Hexalith.OpenIdDict.Server/Settings/OpenIdSettings.cs
928
C#
namespace Todos { public class Todo { public int Id { get; set; } public string Name { get; set; } public bool IsComplete { get; set; } } }
17.7
44
0.531073
[ "MIT" ]
SteveSandersonMS/featherhttp.framework
samples/todo/TodoBasicWithAuth/Todo.cs
179
C#
using Notus.Data.Infrastructure; using Notus.Model.Models; namespace Notus.Data.Repository { public class SecurityTokenRepository : RepositoryBase<SecurityToken>, ISecurityTokenRepository { public SecurityTokenRepository(IDatabaseFactory databaseFactory) : base(databaseFactory) { ...
24.941176
98
0.716981
[ "Apache-2.0" ]
gamunu/notus
Notus.Data/Repository/SecurityTokenRepository.cs
426
C#
using BentoEx.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace BentoEx.View { public class OrderStatusToStringConverter : IValueConverter { public object Convert(object value, Typ...
33.9375
125
0.58011
[ "MIT" ]
kmaki565/BentoEx
BentoEx/View/Converter.cs
2,733
C#
// ******************************************************************************************************** // <copyright file="MWLite.Symbology.cs" company="MapWindow.org"> // Copyright (c) MapWindow.org. All rights reserved. // </copyright> // The contents of this file are subject to the Mozilla Public License V...
36.558946
132
0.498767
[ "MPL-2.0" ]
nextfullstorm/MapWinGIS
demo/MWLite.Symbology/Forms/Symbology/LinesForm.cs
26,361
C#
using NServiceBus; namespace Messages { public class OrderCreated : IEvent { public string OrderId { get; set; } } }
15.333333
43
0.630435
[ "Apache-2.0" ]
SzymonPobiega/EventDrivenServices
src/Blue.AggregateChains/Messages/OrderCreated.cs
140
C#
using System; namespace ForkHttpListener { public sealed class HttpListenerRequestEventArgs : EventArgs { internal HttpListenerRequestEventArgs(HttpListenerRequest request, HttpListenerResponse response) { Request = request; Response = response; } /// <s...
25.956522
105
0.60134
[ "MIT" ]
codeyu/WebServer
src/ForkHttpListener/HttpListenerRequestEventArgs.cs
597
C#
using System; using System.ComponentModel; using RectangleF = CoreGraphics.CGRect; using SizeF = CoreGraphics.CGSize; using Foundation; using System.Collections.Generic; using CoreGraphics; using System.Diagnostics; #if __MOBILE__ using UIKit; using NativeLabel = UIKit.UILabel; #else using AppKit; using NativeLabel = ...
26.785303
230
0.725859
[ "MIT" ]
PavanKumarGithub/Xamarin.Forms
Xamarin.Forms.Platform.iOS/Renderers/LabelRenderer.cs
18,589
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AkCodeWorkSpaceCreator.Settings { internal class AkTerminalCustomizations { public AkTerminalCustomizations(Dictionary<string, object> settings) { var inner...
32.029412
76
0.557392
[ "MIT" ]
sr2200/AkCodeWorkSpaceCreator
src/AkCodeWorkSpaceCreator/Settings/AkTerminalCustomizations.cs
1,091
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System.Drawing; namespace ClearCanvas.Im...
21.876289
92
0.617342
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Imaging/StandardColorMaps.cs
2,122
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.Immutable; using System.IO; using System.Linq; using System.Text; using Syst...
47.018048
247
0.644507
[ "MIT" ]
Acidburn0zzz/roslyn
src/Compilers/CSharp/Test/Semantic/SourceGeneration/GeneratorDriverTests.cs
70,341
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; using Microsoft.TestCommon; namespace System.Web.Http.OData { public class TypeHelperTest { public static Th...
31.904762
133
0.577612
[ "Apache-2.0" ]
charliefr/aspnetwebstack
test/System.Web.Http.OData.Test/TypeHelperTest.cs
2,012
C#
using GSU.Museum.CommonClassLibrary.Models; using GSU.Museum.Web.Interfaces; using GSU.Museum.Web.Models; using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.GridFS; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace GSU.Museum.Web.Repositories { public class HallsR...
35.127119
144
0.529312
[ "MIT" ]
Neroz1x/GSU.Museum
GSU.Museum.Web/Repositories/HallsRepository.cs
4,147
C#
using System.Collections.Generic; namespace Upp.Net { public enum AddResult { Stale, Current, TooFarInFuture } public class ByFramePlayoutBuffer<T> where T : ISequencedMessage { private readonly T[] _buffer; private int _bufferBaseIndex; private int...
26.594595
80
0.538618
[ "Apache-2.0" ]
ThomasZeman/Upp.Net
Source/Upp.Net/BySequencePlayoutBuffer.cs
1,970
C#
using System.Resources; 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. [ass...
38.277778
94
0.754717
[ "MIT" ]
tmacharia/pine-gap
src/Properties/AssemblyInfo.cs
1,381
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IAGrim.Backup.Azure.Dto { class AzureItemContainer { public AzureItemPartitionDto Partition { get; set; } public List<AzureItem> Items { get; set; } } }
23.461538
60
0.718033
[ "MIT" ]
Anomandrake/iagd
IAGrim/Backup/Azure/Dto/AzureItemContainer.cs
307
C#
 using Lockstep.Collision2D; using Lockstep.Math; using System.Collections.Generic; public class BaseEntity : BaseLifeCycle { public int EntityId; public int PrefabId; public CTransform2D transform = new CTransform2D(); public object engineTransform; protected List<BaseComponent> allComponents; ...
21.865169
59
0.594553
[ "MIT" ]
XingHong/SimpleLockStepClient
Assets/Scripts/Logic/Framework/Base/BaseEntity.cs
1,948
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Framework; using DocumentFormat.OpenXml.Framework.Metadata; using DocumentFormat.OpenXml.P...
38.115789
146
0.64982
[ "MIT" ]
JaimeStill/Open-XML-SDK
src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_word_2016_wordml_cid.g.cs
7,244
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Test.Common.Windows { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threadin...
47.295918
239
0.656526
[ "MIT" ]
ArchanaMSFT/iotedge
test/Microsoft.Azure.Devices.Edge.Test.Common/windows/OsPlatform.cs
4,635
C#
// https://disqus.com/api/docs/errors/ //Error Codes // //Every error is represented with an HTTP status code, as well as a code and response message within the actual response body. // //There are two exceptions to these rules: // //Invalid formats will return an HTTP 415 with an error message as the response body. ...
50.675676
126
0.778667
[ "MIT" ]
stuarthillary/DisqusN
src/DisqusN/ApiResponse.cs
1,877
C#
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. // <auto-generated/> #nullable enable using System; using System.Security; using System.Runtime.InteropServices; namespace ImageMagick { internal static partial class MagickMemory { [Su...
34.939394
97
0.575455
[ "Apache-2.0" ]
aTiKhan/Magick.NET
src/Magick.NET/Native/Helpers/MagickMemory.cs
2,306
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using DrugShop.Model; namespace DrugShop.Date { public interface ICompanyTypeDAO { /// <summary> /// 往CompanyType表中新增一条数据 /// </summary> /// <param name="type"></param> /// <param name...
33.959459
89
0.553124
[ "MIT" ]
kuaidaoyanglang/DrugShop
DrugShop.Date/ICompanyTypeDAO.cs
2,691
C#
using System; using EdFi.SampleDataGenerator.Core.Entities; namespace EdFi.CalendarGenerator.Console { public class SchoolCalendarDate { public DateTime Date { get; set; } public CalendarEventDescriptor Descriptor { get; set; } } }
23.636364
63
0.715385
[ "Apache-2.0" ]
CSR2017/Ed-Fi-SampleDataGenerator
src/Utilities/EdFi.CalendarGenerator.Console/SchoolCalendarDate.cs
260
C#
using System.Reflection; using System.Runtime.InteropServices; using MelonLoader; // 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("StayMute")] [assembly:...
40.189189
84
0.738399
[ "MIT" ]
EllyVR/StayMute
StayMute/Properties/AssemblyInfo.cs
1,490
C#
using System; using System.Linq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Core.Models.Rdbms; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Caching; using Umbraco.Core.Persistence.Querying; using Umbraco.Core.Persistence.Repositories; using Umbraco.C...
46.324159
166
0.588527
[ "MIT" ]
ConnectionMaster/Umbraco-CMS
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
15,150
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // This source file is machine generated. Please do not change the code manually. using System; using System.Collections.Generic; usin...
28.156602
184
0.626945
[ "MIT" ]
coderIML/Open-XML-SDK.net
src/DocumentFormat.OpenXml/GeneratedCode/www_w3_org_2003_InkML.g.cs
167,393
C#
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; namespace MagratheaCore.Environment { public class StarDome { #region Constants private const int NumberOfStars = 2000; private const float Radius = 10; #endregion #region Properties public List<Star> Stars { get; privat...
22.333333
168
0.710614
[ "MIT" ]
george7378/magrathea
MagratheaCore/Environment/StarDome.cs
1,208
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Micro...
38.254753
249
0.621012
[ "Apache-2.0", "MIT" ]
AnatoliB/azure-functions-host
src/WebJobs.Script.WebHost/Controllers/ExtensionsController.cs
10,063
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.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflect...
41.708497
188
0.602595
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Runtime/tests/System/Type/TypeTests.cs
31,907
C#