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
// 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 Microsoft.CodeAnalysis; namespace Nuget.PackageIndex.Client { /// <summary> /// Code imported form Mic...
31.652174
111
0.652473
[ "Apache-2.0" ]
ConnectionMaster/NuGet.PackageIndex
src/Nuget.PackageIndex/Client/SyntaxTokenExtensions.cs
730
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
23.206897
46
0.68945
[ "MIT" ]
JianGuoWan/third-edition
WPF/Chapter_10/BreakfastForLumberjacks/BreakfastForLumberjacks/MainWindow.xaml.cs
675
C#
using System; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace Xen2D { //Example FontEnumeration definition //public enum Fonts : int //{ // [ContentIdentifier( "fonts\\Arial" )] // Arial, // [ContentIdentifier( "fonts\\TimesNewRoman"...
36.235294
138
0.655844
[ "MIT" ]
raphaelmun/Xen
Xen2D/Core/SpriteFontCache.cs
1,234
C#
using UnityEngine; using UnityEngine.InputSystem; /// <summary> /// Implements strategy for player selfdestruction. /// </summary> public class PlayerDestruction : OnInputActionsBehaviour { [SerializeField] private PlayerRespawn PlayerRespawn = null; [SerializeField] private IntegerVariable PlayerLives = null;...
35.166667
91
0.758294
[ "Unlicense" ]
ConstantinProkhorov/AsteroidsArcade
Assets/Scripts/Input/ShipControlls/PlayerDestruction.cs
635
C#
using Newtonsoft.Json; namespace BetfairNG.Data { public class ReplaceInstruction { [JsonProperty(PropertyName = "betId")] public string BetId { get; set; } [JsonProperty(PropertyName = "newPrice")] public double NewPrice { get; set; } } }
22
49
0.629371
[ "MIT" ]
k-s-s/betfairng
Data/ReplaceInstruction.cs
288
C#
using ARKBreedingStats.Library; using ARKBreedingStats.species; using ARKBreedingStats.values; using System; using System.Drawing; namespace ARKBreedingStats.library { public static class CreatureExtensions { /// <summary> /// Creates an image with infos about the creature. /// </summa...
48.75625
300
0.527753
[ "MIT" ]
ro007bbe/ARKStatsExtractor
ARKBreedingStats/library/CreatureExtensions.cs
7,803
C#
using System; namespace ExampleFunctionAppProject.Models { /// <summary> /// User model. /// </summary> public class User { /// <summary> /// ID if the user. /// </summary> public string Id { get; set; } /// <summary> /// Name of the user. ...
19.846154
46
0.467054
[ "MIT" ]
UNIFYSolutions/Unify.AzureFunctionAppTools
Example/ExampleFunctionAppProject/Models/User.cs
518
C#
namespace APIComparer.Backend { using System; using Contracts; using NServiceBus; using NServiceBus.Logging; public class ComparisonHandler : IHandleMessages<CompareNugetPackage> { public void Handle(CompareNugetPackage message) { log.Info($"Received requ...
36.722222
165
0.608926
[ "MIT" ]
Particular/APIComparer
APIComparer.Backend/ComparisonHandler.cs
1,289
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 w...
40.107143
93
0.749332
[ "MIT" ]
Team-on/works
3_dll/[C#] Fake3D/example/ex1/Properties/AssemblyInfo.cs
2,249
C#
using MyAbpApp.MultiTenancy; using Volo.Abp.AuditLogging; using Volo.Abp.BackgroundJobs; using Volo.Abp.FeatureManagement; using Volo.Abp.Identity; using Volo.Abp.IdentityServer; using Volo.Abp.Modularity; using Volo.Abp.MultiTenancy; using Volo.Abp.PermissionManagement.Identity; using Volo.Abp.PermissionManagement.Id...
32.589744
83
0.736428
[ "MIT" ]
DosSEdo/Abp.SettingUi
sample/MyAbpApp/src/MyAbpApp.Domain/MyAbpAppDomainModule.cs
1,273
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3QuestCond_IsItemEquipped : ...
35.969697
138
0.719461
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/W3QuestCond_IsItemEquipped.cs
1,187
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Xunit; using RoyalBlood; namespace RoyalBlood.UnitTests { public class RoyalBloodUnitTests { public List<string> Input1 = new List<string>(); public List<string> Output1 = new List<stri...
24.431818
58
0.575814
[ "MIT" ]
StarlightIT/miscprojects
assignments/Algorithms/Kattis/RoyalBlood.UnitTests/RoyalBloodUnitTests.cs
1,077
C#
using System; using UnityEngine; using TMPro; using UnityEngine.EventSystems; namespace Yarn.Unity { public class OptionView : UnityEngine.UI.Selectable, ISubmitHandler, IPointerClickHandler, IPointerEnterHandler { [SerializeField] TextMeshProUGUI text; [SerializeField] bool showCharacterName =...
29.891892
115
0.565099
[ "MIT" ]
DanielSidhion/YarnSpinner-Unity
Runtime/Views/OptionView.cs
2,212
C#
// Copyright (c) Zolution Software Ltd. All rights reserved. // Licensed under the MIT License, see LICENSE.txt in the solution root for license information using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Rezo...
17.833333
95
0.738318
[ "MIT" ]
LordZoltan/Rezolver
src/Rezolver.Microsoft.Extensions.DependencyInjection/RezolverServiceScope.cs
644
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; [assembly: AssemblyTitle("Microsoft Azure Security Center Library")] [assembly: AssemblyDescription("Provides ma...
41.631579
115
0.782554
[ "MIT" ]
AnanyShah/azure-sdk-for-net
src/SDKs/SecurityCenter/Management.SecurityCenter/Properties/AssemblyInfo.cs
791
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
26.2375
83
0.672701
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-xml/Main/Ca/Infoway/Messagebuilder/Xml/Vocabulary.cs
2,099
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 30.03.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
23.81068
134
0.525586
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_002__AS_STR/Divide/Complete/Int16/Double/TestSet_R504AAB003__param.cs
4,907
C#
using System.Threading.Tasks; namespace VismaBugBountySelfServicePortal.Services { public interface IUserService { Task<bool> UserExist(string email); Task SaveSession(string email); Task RemoveSession(string email); Task<bool> IsValidSession(string email); } }
25.583333
50
0.700326
[ "MIT" ]
visma-prodsec/BugBountySelfServicePortal
VismaBugBountySelfServicePortal/Services/IUserService.cs
309
C#
using UnityEngine; using System.Collections; public class LogicGlobalFracturing : MonoBehaviour { [HideInInspector] public static bool HelpVisible = true; void Start() { HelpVisible = true; } public static void GlobalGUI() { GUI.Box(new Rect(0, 0, 400, 420), ""); G...
28.243243
144
0.623923
[ "MIT" ]
cwang25/SmashChess
SmashChess/Assets/Ultimate Game Tools/Fracturing/Sample Scene Data/Scripts/LogicGlobalFracturing.cs
1,045
C#
using System.Collections.Generic; using System.Linq; using ModelBazy; using UI.Interfaces; namespace UI { public class PunktyObslugiService :IService { public List<PunktyObslugi> PunktyObslugi { get; set; } private WypozyczalniaEntities context; public PunktyObslugiService() ...
21.675676
63
0.586035
[ "MIT" ]
amitrega01/WypozyczalniaElektronarzedzi
UI/PunktyObslugiService.cs
804
C#
using UnityEngine; using System; using System.Collections; public class ForestSlot : MonoBehaviour { #region STATIC_ENUM_CONSTANTS [Serializable] public class ForestPrefab{ public GameObject[] treePrefabs; public GameObject[] particlePrefabs; public int totalTrees; public int totalParticles; } #endr...
23.125
254
0.695946
[ "MIT" ]
chrislugram/HuntRebels
Assets/Scripts/Terrain/ForestSlot.cs
2,962
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YouTubeVlogger { // To save some bandwidth, we can cache request results and keep // them for some time. But it may be impossible to put such code // directly into the service clas...
29.969231
68
0.590349
[ "MIT" ]
BaiGanio/Design-Patterns
project/src/Structural/Proxy/Intermediate/YouTubeVlogger/Proxy/CachedYouTubeClass.cs
1,950
C#
// This file is part of the SimWinGamePad project, which is released under MIT License. // For details, see: https://github.com/DavidRieman/SimWinInput namespace SimWinInput { using System; using System.Collections.Generic; [Flags] public enum GamePadControl : Int32 { None = 0, /...
35.5
151
0.604695
[ "MIT" ]
DavidRieman/SimWinInput
SimWinGamePad/GamePadControl.cs
2,132
C#
using Steeltoe.Management.Census.Stats.Measures; using System; using System.Collections.Generic; using System.Text; namespace Steeltoe.Management.Census.Stats { public interface IMeasure { M Match<M>( Func<IMeasureDouble, M> p0, Func<IMeasureLong, M> p1, Func<IMeasu...
22.4
49
0.622768
[ "Apache-2.0" ]
SergeyKanzhelev/opencensus-csharp
src/Steeltoe.Management.OpenCensus/Api/Stats/IMeasure.cs
450
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TextInput : MonoBehaviour { public InputField inputField; GameController controller; private void Awake() { controller = GetComponent<GameController>(); inputField.onEnd...
20.75
76
0.635972
[ "MIT" ]
Spid3r0/2D-Text-Adventure-Game
Text-Adventure-Game/Assets/Scripts/TextInput.cs
1,164
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace RajUniEFCoreRP.Migrations { public partial class RowVersion : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<int>( name: "Grade", ...
28.052632
71
0.526266
[ "MIT" ]
aranab/RajUniEFCoreRP
RajUniEFCoreRP/Migrations/20200314002721_RowVersion.cs
1,068
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * This Source Code Form is "Incompatible With Secondary Licenses", as * defined by the Mozilla Public Licens...
43.935561
183
0.413276
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
utybo/scfe
SCFE/SCFE/GitExtension.cs
36,818
C#
using System; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; namespace WayneKing.Practice.Trees { public class TrieTree : WayneKing.Practice.Abstractions.IWordDictionary { internal class Node : IComparable<Node> { public ...
28.9375
90
0.440718
[ "MIT" ]
Wayne-King/word-transformer
Trees/TrieTree.cs
8,797
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { /// <remarks> /// <strong>Stability</strong>: Experimental /// </remarks> [JsiiTypeProxy(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: "jsii-calc.Confus...
40.571429
310
0.649648
[ "Apache-2.0" ]
NGL321/jsii
packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs
1,136
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Microsoft.EntityFrameworkCore.Metadata.Conventions { /// <summary> /// Represents an operation that shou...
41.130435
104
0.698732
[ "MIT" ]
FelicePollano/efcore
src/EFCore/Metadata/Conventions/IEntityTypeAddedConvention.cs
946
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Media; public partial class AppMain { private static byte[][] g_gm_player_motion_right_tbl { ...
45.439054
711
0.599541
[ "Unlicense" ]
WanKerr/Sonic4Episode1
Sonic4Episode1/AppMain/Gm/GmPlayer.cs
111,464
C#
//using UnityEngine; //using System.Collections; // //public class DeathText : MonoBehaviour { // // private GameObject EndText; // // // Use this for initialization // void Start () { // // Setting up the reference. // EndText = GameObject.Find("End_Text"); // } // // // Update is called once per frame // void Upd...
21.65
56
0.625866
[ "MIT" ]
jooshkins/Divided
Unused Scripts/DeathText.cs
435
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
32.327586
143
0.624
[ "MIT" ]
bomber-lomber/netcore-edu
HelloKitty.NetCore.Mvc/Startup.cs
1,875
C#
/* * Ory APIs * * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. * * The version of the OpenAPI document: v0.0.1-alpha.30 * Contact: support@ory.sh * Generated by: https://github.com/...
35.453237
179
0.601461
[ "Apache-2.0" ]
ory/sdk
clients/client/dotnet/src/Ory.Client/Model/ClientActiveProject.cs
4,928
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ImaginCrud.Entities { /// <summary> /// Datos de paginación de una consulta /// </summary> public class Pagining { #region paginación /// <summary> ...
26.078947
51
0.54894
[ "Unlicense" ]
ludaher/imagincrud
ImaginCrud.Entities/Pagining.cs
997
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using API.Data; using API.Data.Repository; using API.Models; using API.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc...
36.649351
114
0.638909
[ "MIT" ]
Quantified-Student-Watch/api-backend
API/Startup.cs
2,822
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 System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Advapi32 { [GeneratedDllImport(Libraries.Ad...
29.8
109
0.760626
[ "MIT" ]
BodyBuildingKang/runtime
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs
447
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TroydonFitnessWebsite.Models.Products { public class Product { // Primary Key public int ProductID { get; set; } // Navigation Pro...
36.784314
166
0.648188
[ "MIT" ]
TroydonAnabolic/TroydonFitness
DockerVersion/TroydonFitnessWebsite/TroydonFitnessWebsite/Models/Products/Product.cs
1,878
C#
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using RestaurantReviewsLibrary; namespace RestaurantReviewsTests { [TestClass] public class Tests { private Restaurant restaurant1 = new Restaurant { RestaurantA...
35.453237
103
0.566153
[ "MIT" ]
1804-Apr-USFdotnet/Pedro-Rivera-Project1
RestaurantReviews/RestaurantReviewsTests/UnitTest1.cs
4,930
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
42.378882
169
0.607651
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/Internal/MarshallTransformations/DescribeRobotResponseUnmarshaller.cs
6,823
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
35.529412
130
0.627759
[ "MIT" ]
tuoxieyz/fashionDRP
DistributionView/RetailManage/MonthSaleTaget.xaml.cs
3,718
C#
using VkNet.Utils; namespace VkNet.Enums.SafetyEnums { /// <summary> /// Фильтр для задания типов сообщений, которые необходимо получить со стены. /// </summary> public sealed class WallFilter : SafetyEnum<WallFilter> { /// <summary> /// Необходимо получить сообщения на стене только от ее владельца. /// </...
30.083333
83
0.711911
[ "MIT" ]
uid17/VK
VkNet/Enums/SafetyEnums/WallFilter.cs
1,340
C#
using System; namespace ForStatement { class ForStatement { static void Main() { for (int i = 0; i < 10; i++) { Console.WriteLine(i); } } } }
14.5
40
0.396552
[ "MIT" ]
Firelexic/Learned
C#/From Web/ZetCode Project/ForStatement/ForStatement/ForStatement.cs
234
C#
// DeflaterHuffman.cs // // Copyright (C) 2001 Mike Krueger // Copyright (C) 2004 John Reilly // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms o...
34.268
110
0.418233
[ "MIT" ]
929496959/PdfSharpCore
PdfSharpCore/SharpZipLib/Zip/Compression/DeflaterHuffman.cs
34,268
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...
34.634615
147
0.711272
[ "MIT" ]
517752548/EXET
Unity/Assets/Model/ILBinding/UnityEngine_Networking_DownloadHandlerFile_Binding.cs
1,801
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.RISKPLUS.Models { public class QueryRtopCompanyFeedbackResponse : TeaModel { [NameInMap("req_msg_id")] [Validation(Required=false)] pub...
24.893617
71
0.609402
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
RISKPLUS/csharp/core/Models/QueryRtopCompanyFeedbackResponse.cs
1,206
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
31.536585
106
0.63109
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/kubestone/dotnet/Kubernetes/Crds/Operators/Kubestone/Perf/V1Alpha1/Inputs/IopingSpecVolumeVolumeSourceAzureFileArgs.cs
1,293
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.16129
85
0.550347
[ "Unlicense" ]
Krailit/Aryuwat_Nurse
AryuwatWebApplication/Entity/MedicalStuff.cs
1,152
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://w...
44.293333
195
0.605057
[ "MIT" ]
Andrean/azure-powershell
src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADGroupCommand.cs
3,250
C#
using System; using NLog; namespace NTrace.Adapters { /// <summary> /// Defines the synchronous NTrace adapter for using NLog /// </summary> public class NLogAdapter : ITracer { /// <summary> /// Gets the Logger for NLog /// </summary> public ILogger Logger { get; } /// <s...
22.794521
88
0.593149
[ "MIT" ]
roedicker/NTrace
src/NTrace.Adapters.NLog/Adapters/NLogAdapter.cs
1,664
C#
/* 曹旭升(sheng.c) E-mail: cao.silhouette@msn.com QQ: 279060597 https://github.com/iccb1013 http://shengxunwei.com */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Jade.Model; using Sheng.Web.Infrastructure; namespace Jade.Core { pub...
22.137255
93
0.558016
[ "MIT" ]
colin08/Jade.Net
Jade.Core/AppBrowseManager.cs
1,169
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.CieLchuvColorSapce; namespace SixLabors.ImageSharp.ColorSpaces.Conversion { /// <content> /// Allows conversion to <see cref="CieLchuv"/>. /// ...
36.878049
118
0.55539
[ "Apache-2.0" ]
Davidsv/ImageSharp
src/ImageSharp/ColorSpaces/Conversion/ColorSpaceConverter.CieLchuv.cs
6,050
C#
namespace Codecov.Url { internal interface IHostOptions { string Url { get; } } }
13.75
36
0.545455
[ "MIT" ]
0xced/codecov-exe
Source/Codecov/Url/IHostOptions.cs
105
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
30.727273
123
0.607101
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ResourceGroupsTaggingAPI/Generated/Internal/AmazonResourceGroupsTaggingAPIMetadata.cs
1,690
C#
using CharacterGen.Combats; using CharacterGen.Domain.Tables; using CharacterGen.Feats; using CharacterGen.Races; using NUnit.Framework; namespace CharacterGen.Tests.Integration.Tables.Feats.Data.Racial.BaseRaces { [TestFixture] public class CentaurFeatDataTests : RacialFeatDataTests { protected o...
32.072289
298
0.573629
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/BaseRaces/CentaurFeatDataTests.cs
2,664
C#
using System; using System.Collections.Generic; using System.Text; namespace MinorShift.Emuera.GameData.Variable { //難読化用属性。enum.ToString()やenum.Parse()を行うなら(Exclude=true)にすること。 [global::System.Reflection.Obfuscation(Exclude=true)] internal enum VariableCode { __NULL__ = 0x00000000, __CAN_FORBID__ = 0x0...
64.340206
155
0.754153
[ "Apache-2.0" ]
PowerOlive/uEmuera
Assets/Scripts/Emuera/GameData/Variable/VariableCode.cs
21,989
C#
namespace Basic.Tests.Statements { using Basic.Runtime; using Basic.Runtime.Statements; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class EndTests : BaseTests { [TestMethod] public void Execute_OfEnd_EndsProgram() { var rte = MakeR...
25.285714
94
0.561582
[ "Unlicense" ]
markshevchenko/basic
Basic.Tests/RunTime/Statements/EndTests.cs
887
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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> //-------------...
31.875977
152
0.732124
[ "Apache-2.0" ]
PravinPK/xamarin-acpgriffon
src/AEPAssuranceAndroidUnitTests/Resources/Resource.designer.cs
175,286
C#
#region Copyright notice and license // Copyright 2019 The gRPC 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...
36.508197
124
0.589807
[ "Apache-2.0" ]
BearerPipelineTest/grpc-dotnet
src/Shared/CommonGrpcProtocolHelpers.cs
4,456
C#
namespace AppJsonEvaluator { using Newtonsoft.Json.Linq; using System; interface ITokenContainer { Boolean IsChanged { get; set; } void Replace(JToken original, JToken replacement); } }
17.307692
58
0.653333
[ "BSD-3-Clause" ]
Black-Beard-Sdk/TransformJsonToJson
Src/AppJsonEvaluator/ITokenContainer.cs
227
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Hyperspace.Pages { public class DevicesModel : PageModel { private readonly ILogger<DevicesModel>...
17.269231
51
0.76392
[ "Apache-2.0" ]
kurthildebrand/hyperspace
border-router/Pages/Devices.cshtml.cs
449
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.Identity; namespace Grammophone.Domos.Environment.Owin { /// <summary> /// ASP.NET Identity implementation for <see cref="IUserContext"/>. /// </summary> public class OwinUser...
17.8125
68
0.684211
[ "MIT" ]
grammophone/Grammophone.Domos.Environment.Owin
OwinUserContext.cs
857
C#
// AdultVerificationAddress public class AdultVerificationAddress { public string addressLine1 { get; set; } public string postalCode { get; set; } }
10.3125
37
0.709091
[ "MIT" ]
smdx24/CPI-Source-Code
Disney.Mix.SDK.Internal.GuestControllerDomain/AdultVerificationAddress.cs
165
C#
using UAlbion.Formats.AssetIds; using UAlbion.Game.Gui.Text; namespace UAlbion.Game.Gui.Controls { class Label : UiElement { public Label(StringId stringId) => AttachChild(new UiTextBuilder(stringId).Center()); } }
21.545455
93
0.708861
[ "MIT" ]
BenjaminRi/ualbion
src/Game/Gui/Controls/Label.cs
239
C#
namespace KorvetDiskImage.Exceptions { public class VirtualBlockDeviceException : Exception { public VirtualBlockDeviceException(string message) : base(message) { } } }
16.166667
78
0.71134
[ "MIT" ]
reclaimed/KdiExplorer
src/KdiExplorer/KorvetDiskImage/Exceptions/VirtualBlockDeviceException.cs
196
C#
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; public class Ambito{ public int AmbitoId{get; set;} public string Descrizione{get; set;} //materia }
25.714286
50
0.766667
[ "MIT" ]
Kapoerista/carichini.alessandro.5i.Corsi
ambito.cs
180
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace TheaterWeb.Models { public partial class OceanDbContext : DbContext { public bool CanConnect { get; private set; } public OceanDbContext() { // }...
27.980392
75
0.528381
[ "MIT" ]
fengyhack/DiggAspNetCore
TheaterWeb/TheaterWeb/Models/OceanDbContext.cs
1,429
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("Tu...
38.297297
84
0.744531
[ "Apache-2.0" ]
MineiToshio/Noobout
src/TuImportas.eShop.BL.BE/Properties/AssemblyInfo.cs
1,420
C#
using System; using System.Linq; using UnityEngine; using RoR2; namespace UmbraRoR { public class PlayerMod : MonoBehaviour { public static int damagePerLvl = 10; public static int CritPerLvl = 1; public static float attackSpeed = 1; public static float armor = 0; public...
33.258621
156
0.560653
[ "MIT" ]
ElijahDD/Umbra-Menu-Source
Player.cs
7,716
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("Se...
39
84
0.75052
[ "Unlicense" ]
bfdill/SentimentAnalysis
SentimentAnalysis.Integration.Tests/Properties/AssemblyInfo.cs
1,446
C#
using Elastic.Xunit.XunitPlumbing; using Nest; namespace Examples.Aggregations.Metrics { public class PercentileRankAggregationPage : ExampleBase { [U(Skip = "Example not implemented")] public void Line26() { // tag::daaa9e0df859d764ca0a4a4ebcfbdb26[] var response0 = new SearchResponse<object>(); // e...
26.08
85
0.458333
[ "Apache-2.0" ]
FrankyBoy/elasticsearch-net
src/Examples/Examples/Aggregations/Metrics/PercentileRankAggregationPage.cs
3,912
C#
/* * Copyright 2010-2013 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 "...
37.804878
241
0.564516
[ "Apache-2.0" ]
zz0733/aws-sdk-net
AWSSDK_DotNet35/Amazon.Glacier/Transfer/Internal/DownloadFileCommand.cs
9,302
C#
using System.Linq; using System.Net; using System.Net.Http; using System.Text; using FhirStarter.STU3.Detonator.DotNetCore3.MediaTypeHeaders; using FhirStarter.STU3.Instigator.DotNet.Validation.Exceptions; using Hl7.Fhir.Model; using Hl7.Fhir.Serialization; using Microsoft.AspNetCore.Http; namespace FhirStarter.STU3....
34.454545
153
0.582586
[ "MIT" ]
verzada/FhirStarter.DotNet
src/STU3/NugetLibraries/FhirStarter.STU3.Instigator.DotNet/Controllers/FhirControllerCommon.cs
3,792
C#
// ------------------------------------------------------------------------- // Copyright © 2021 Province of British Columbia // // 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 // // h...
45.405405
178
0.596726
[ "Apache-2.0" ]
Christopher-Tihor/embc-ess-mod
ess/src/API/EMBC.ESS/Resources/Team/Mappings.cs
3,363
C#
using UnityEngine; using System.Collections.Generic; namespace VRSketch { public static class CycleDetection { public static bool DetectCycle(Graph g, ISegment startSegment, INode startNode, out LinkedList<HalfSegment> cycle, bool reversed = false) { //Cycle cycle = new Cycle(use...
43.149457
205
0.554821
[ "MIT" ]
V-Sekai/CASSIE
Assets/Scripts/Data/Graph/CycleDetection.cs
15,881
C#
using DragonSpark.Compose; using System.Threading.Tasks; namespace DragonSpark.Model.Operations; public class Terminating<TIn, TOut> : IOperation<TIn> { readonly Await<TIn, TOut> _await; public Terminating(ISelecting<TIn, TOut> operation) : this(operation.Await) {} public Terminating(Await<TIn, TOut> await) => ...
23.055556
79
0.751807
[ "MIT" ]
DragonSpark/Framework
DragonSpark/Model/Operations/Terminating.cs
417
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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 restriction, including without limitation // the rights to use, copy, modify, ...
34.560606
79
0.636563
[ "MIT" ]
ChaplinMarchais/DiscUtils
src/ApplePartitionMap/PartitionMapFactory.cs
2,283
C#
using JT808.Protocol.Extensions; using JT808.Protocol.MessageBody; using System; namespace JT808.Protocol.JT808Formatters.MessageBodyFormatters { public class JT808_0x0102Formatter : IJT808Formatter<JT808_0x0102> { public JT808_0x0102 Deserialize(ReadOnlySpan<byte> bytes, out int readSize) { ...
30.111111
89
0.635916
[ "MIT" ]
NealGao/JT808
src/JT808.Protocol/JT808Formatters/MessageBodyFormatters/JT808_0x0102Formatter.cs
815
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace CS203_CALLBACK_API_DEMO { class CustomDataGridViewTextBoxEditingControl : DataGridViewTextBoxEditingControl { public override bool EditingControlWantsInputKey(Keys keyData, bool dataGridViewWantsInp...
29.725
102
0.533221
[ "MIT" ]
cslrfid/CSL-Callback-Unified-SDK-App
CSL RFID Demo Apps/Source/CS Native Demo XP/CustDataGridView/CustomDataGridViewTextBoxEditingControl.cs
1,189
C#
using System; using System.Linq.Expressions; using FluentNHibernate.Utils; using FluentNHibernate.Visitors; namespace FluentNHibernate.MappingModel { [Serializable] public class PropertyMapping : ColumnBasedMappingBase { public PropertyMapping() : this(new AttributeStore()) ...
28.853448
150
0.54646
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/FluentNHibernate/MappingModel/PropertyMapping.cs
3,347
C#
using Cynosura.Core.Services.Models; using Cynosura.Studio.Core.Infrastructure; using Cynosura.Studio.Core.Requests.Enums.Models; using MediatR; namespace Cynosura.Studio.Core.Requests.Enums { public class GetEnums : IRequest<PageModel<EnumModel>> { public int SolutionId { get; set; } public in...
28.947368
59
0.676364
[ "MIT" ]
FroHenK/Cynosura.Studio
Cynosura.Studio.Core/Requests/Enums/GetEnums.cs
550
C#
using System; using System.Collections.Generic; using System.Text; namespace CodeWriters.CSharp.Core { public class CSharpClass { private string _namespace; public CSharpClass(string name) { Name = name?.Trim(); } public List<CSharpUsing> Usings { get; } =...
28.191489
112
0.621887
[ "MIT" ]
MarkIvanDev/CodeWriters
src/CodeWriters.CSharp/Core/CSharpClass.cs
1,327
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.Linq; using System.Threading; using System.Threading.Tasks; using Analyzer.Utilities; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis...
53.845361
165
0.713
[ "Apache-2.0" ]
Atrejoe/roslyn-analyzers
src/Roslyn.Diagnostics.Analyzers/Core/AbstractCreateTestAccessor`1.cs
5,225
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Client; namespace AgentLib { public class MainLib { public static string MyIP = "127.0.0.1"; HubConnection hubConnection = null; ...
29.466102
129
0.526603
[ "MIT" ]
jacking75/Netowrok_Projects
WCF_Server/AppServerManagement/Agent/AgentLib/MainLib.cs
7,734
C#
using Hobby.DomainEvents.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hobby.DomainEvents.Service { public interface IDomainHandler<T> where T : IDomainEvent { void Handle(T @event); } }
19.8
61
0.740741
[ "Artistic-2.0" ]
Deith2/ProjectIntrduction
src/Hobby.DomainEvents/Service/IDomainHandler.cs
299
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; using Commander; using PropertyChanged; using TLRPResourceEditor.Data; using TLRPResourceEditor.Models; using TLRPResourceEditor.Properties; namespace TLRPResourceEditor.ViewModels { [Imple...
40.348361
124
0.493956
[ "MIT" ]
enceler/TLRPResourceEditor
TLRPResourceEditor/ViewModels/StartViewModel.cs
9,847
C#
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace AuditLogView { public static class UIServiceCollectionExtensions { public static void AddLogUI(this IServiceCollection services) { services.ConfigureOptions(ty...
22.875
69
0.73224
[ "MIT" ]
gnsilence/AntdPro-Vue-id4
ABP.WebApi/后端/src/AuditLogView/UIServiceCollectionExtensions.cs
368
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioMute : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnApplicationFocus(bool hasFocus) { if (!hasFocus) ...
15.933333
48
0.569038
[ "Apache-2.0" ]
byungnam/navyfield
Assets/Scripts/Ocean/AudioMute.cs
480
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("Add...
39.135135
84
0.752072
[ "Apache-2.0" ]
Arseniy23Shitkovsky/csharp_training
addressbook-web-tests/Addressbook-test-contact-data-generators/Properties/AssemblyInfo.cs
1,451
C#
using System.Collections.Generic; using FastExpressionCompiler.LightExpression; // System.Linq.Expressions; namespace System.Reflection { /// <summary> /// 属性设置器,针对反射进行性能优化以提供高性能的属性设置,尤其是第一次访问 /// </summary> /// <typeparam name="T">属性类型</typeparam> public class PropertySetter<T> { pu...
37.12
128
0.652478
[ "Apache-2.0" ]
beango-project/sprite-framework
framework/src/Sprite.Core/System/Reflection/PropertySetter.cs
1,936
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace LucyManager.MVC { public class MvcApplication : System.Web.HttpApplication { protected void Application_S...
27.625
70
0.711916
[ "MIT" ]
MarcusVeloso/LucyManager-MVC
Projeto Lucy Manager/LucyManager.MVC/Global.asax.cs
665
C#
using GZ.Tools.UnityUtility; using System; using System.Collections; using System.Collections.Generic; using UnityEditor.Experimental.GraphView; using UnityEngine; using UnityEngine.UIElements; namespace GZ.AnimationGraph.Editor { public abstract class BaseStateNodeUI<T> : NamedStateMachineBaseNodeUI<T>, IStateNo...
37.658416
267
0.623899
[ "Unlicense" ]
GuilhermeZenzen/com.gz.animation-graph
Editor/Nodes/State Machine/Nodes/BaseStateNodeUI.cs
7,609
C#
using System; using System.Collections.Generic; using System.Text; namespace eRestoran.Model { public class Statusi { public int StatusID { get; set; } public string Naziv { get; set; } } }
16.923077
41
0.645455
[ "MIT" ]
azra-imamovic/RS2-eRestoran
eRestoran/eRestoran.Model/Statusi.cs
222
C#
namespace AquaShop.Models.Decorations { public class Ornament : Decoration { private const int INITIAL_COMFORT = 1; private const decimal INITIAL_PRICE = 5; public Ornament() : base(INITIAL_COMFORT, INITIAL_PRICE) { } } }
21.230769
64
0.626812
[ "MIT" ]
Anzzhhela98/CSharp-Advanced
C# OOP/Exam Preparation/C# OOP Exam - 15 Dec 2019/StructureAndBussinesLogic/AquaShop/Models/Decorations/Ornament.cs
278
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
38.735955
150
0.584191
[ "BSD-3-Clause" ]
Krypton-Suite/Standard-Toolk
Source/Krypton Components/Krypton.Ribbon/View Layout/ViewLayoutRibbonScroller.cs
6,898
C#
using System; using System.Collections.Generic; namespace Collate.Implementation { public class SortRequest : ISortRequest { public IEnumerable<ISort> Sorts { get; set; } public SortRequest() { Sorts = Array.Empty<ISort>(); } } }
18.0625
53
0.602076
[ "MIT" ]
bradwestness/collate-dot-net
src/Collate/Implementation/SortRequest.cs
291
C#
/* * Your rights to use code governed by this license http://o-s-a.net/doc/license_simple_engine.pdf * Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf */ using System; using System.Collections.Generic; using System.Globalization; using System.Text; name...
31.019074
120
0.439447
[ "Apache-2.0" ]
gridgentoo/OsEngineMono
project/OsEngine/Entity/Position.cs
35,929
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
36.52381
201
0.413299
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Test/Platform/Tests/CLR/System/IO/MemoryStream/WriteByte.cs
8,437
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...
38.210526
196
0.653811
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/DirectConnect/Generated/Model/Internal/MarshallTransformations/DescribeConnectionLoaResponseUnmarshaller.cs
4,356
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class VidaJugador : MonoBehaviour { public int vidaJugador = 1000; //vida del jugador public int valorCura; //el total de vida que se va a curar el jugador cuando coja una cura Slider mainSlider; //bar...
35.607595
184
0.736225
[ "MIT" ]
kevin4809/ShotterGameSurvival
Assets/Scripts/Personaje/VidaJugador.cs
2,819
C#