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; namespace GreatingbyName { class Program { static void Main(string[] args) { string name = Console.ReadLine(); Console.WriteLine($"Hello, {name}!"); } } }
16.5
49
0.519481
[ "MIT" ]
DumanBG/C-Sharp-SoftUni
JustCSharp/greetingByName/Program.cs
233
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
32.774194
149
0.612205
[ "MIT" ]
JoshuaLamusga/Adventure-Text
AdventureText/Properties/Settings.Designer.cs
1,018
C#
using System; using System.Collections; using System.Collections.Generic; using HexCS.Core; using UnityEngine; namespace HexUN.Math { /// <summary> /// Serializable version of a DVector2 /// </summary> [Serializable] public struct DVector2 { /// <summary> /// The X value of the...
31.418919
112
0.556559
[ "MIT" ]
atomata/VClassroom_Proto_VSolar_ApparatusUPackageDevelopment
Assets/Dependencies/Hex/UN/Runtime/Scripts/Engine/Math/DVector2.cs
2,327
C#
// ========================================================================== // CommandContextTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===================================================...
26.375
78
0.493681
[ "MIT" ]
andrewhoi/squidex
tests/Squidex.Infrastructure.Tests/CQRS/Commands/CommandContextTests.cs
1,268
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace EasyCondominio.Models { public class Condominio { public int CondominioId { get; set; } [DisplayName("Condomínio")] ...
38.666667
89
0.668966
[ "MIT" ]
Mualumene/Condominio
EasyCondominio/Models/Condominio.cs
1,762
C#
using System; using System.CommandLine; using System.CommandLine.Parsing; using System.Linq; namespace rifftool { public static class CommandExtensions { /// <summary> /// Add the options to the <cref see="Command"/> /// </summary> /// <param name="command">Command to add to</pa...
34.314286
121
0.571191
[ "Apache-2.0" ]
adbancroft/riff
rifftool/CommandExtensions.cs
2,402
C#
namespace EfficientDynamoDb.Internal.Reader { internal readonly struct ReadResult<TValue> where TValue : class { public TValue? Value { get; } public uint Crc { get; } public ReadResult(TValue? value, uint crc) { Value = value; Crc = crc; ...
22
68
0.545455
[ "MIT" ]
AllocZero/EfficientDynamoDb
src/EfficientDynamoDb/Internal/Reader/ReadResult.cs
330
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Rest; using Microsoft.DotNet.Maestro.Client.Models; namespace Microsoft.DotNet.Maestro.Clien...
35.825275
128
0.545075
[ "MIT" ]
dagood/arcade-services
src/Maestro/Client/src/Generated/Subscriptions.cs
32,601
C#
/** * Copyright 2018 IBM Corp. 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 applicable law o...
31.525
79
0.676447
[ "Apache-2.0" ]
anlblci/dotnetwatson
src/IBM.WatsonDeveloperCloud.CompareComply.v1/Model/FeedbackDeleted.cs
1,261
C#
using System; using System.IO; namespace WebAssembly{ /// <summary>A WebAssembly elem_segment.</summary> public class ElemSegment{ /// <summary>The table index.</summary> public uint Index; /// <summary>Computes the offset at which to place the elements.</summary> public object Offset; /// <summary>A...
17.642857
76
0.626181
[ "MIT" ]
Bablakeluke/WebAssembly.NET
Source/ElemSegment.cs
741
C#
namespace DoctrineShips.Web.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Web.Configuration; using System.Web.Mvc; using AutoMapper; using DoctrineShips.Entities; using DoctrineShips.Service; using DoctrineShips.Validation; using D...
37.108108
149
0.557295
[ "MIT" ]
bravecollective/doctrine-contracts
DoctrineShips.Web/Controllers/SiteController.cs
8,240
C#
using System; using System.Collections.Generic; using System.Text; using XeonComputers.Models; namespace XeonComputers.Services.Contracts { public interface IUsersService { XeonUser GetUserByUsername(string username); bool CreateCompany(Company company, string username); IEnumerable<...
25.964286
61
0.730399
[ "MIT" ]
EmORz/Simple_Example_Projects
XeonComputers-master/XeonComputers.Services/Contracts/IUsersService.cs
729
C#
 namespace StackExchange.Redis { /// <summary> /// Describes a consumer within a consumer group, retrieved using the XINFO CONSUMERS command. <see cref="IDatabase.StreamConsumerInfo"/> /// </summary> public readonly struct StreamConsumerInfo { internal StreamConsumerInfo(string name, int pe...
32.272727
141
0.613146
[ "Apache-2.0" ]
100star/StackExchange.Redis
src/StackExchange.Redis/StreamConsumerInfo.cs
1,067
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuspirarDoces.Domain.Entities { public class Usuario: Base { public string Email { get; set; } public string Senha { get; set; } } }
20.2
42
0.656766
[ "MIT" ]
GabrielBarbosaBizerra/SuspirarDoces
SuspirarDoces.Domain/Entities/Usuario.cs
305
C#
using System.Collections.Specialized; namespace DataGridAsyncDemo.filtersort { public class FilterDescriptionList : DescriptionList<FilterDescription> { public void OnCollectionReset() { this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Rese...
28.5
112
0.736842
[ "MIT" ]
KodiakBuildingPartners/VirtualizingObservableCollection
DataGridAsyncDemo/filtersort/FilterDescriptionList.cs
342
C#
 using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using Quobject.EngineIoClientDotNet.Modules; using Quobject.EngineIoClientDotNet.Parser; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Quobject.EngineIoClientDotNet_Tests.ParserTests { [TestClass] public class T...
30.748441
109
0.513049
[ "MIT" ]
marcochavezf/EngineIoClientDotNet
Src/EngineIoClientDotNet.Tests.windowsphone8.UnitTestApp/ParserTests/TestsParser.cs
14,802
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 http://mozilla.org/MPL/2.0/. **/ using Microsoft.VisualStudio.TestTools.UnitTesting; using PhpSerializerNET.Test.DataTypes; namespace PhpSeriali...
33.957447
97
0.70802
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
StringEpsilon/PhpSerializerNET
PhpSerializerNET.Test/Deserialize/Options/EnableTypeLookup.cs
1,596
C#
using System; using System.Configuration; using Xunit; using System.Threading.Tasks; namespace Shift.UnitTest { public class JobServerTest { private string connectionString; private string processID; public JobServerTest() { var appSettingsReader...
31.810651
110
0.545573
[ "MIT" ]
hhalim/Shift
Shift.UnitTest/JobServerTest.cs
5,378
C#
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Runtime.CompilerServices; using UnityEngine; // Image 66: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - ...
35.814815
237
0.768356
[ "MIT" ]
TotalJTM/PrimitierModdingFramework
Dumps/PrimitierDumpV1.0.1/SoundManager.cs
969
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using System.Net.Http.Headers; using System....
42.916667
191
0.718123
[ "Apache-2.0" ]
AnthonyYates/AspNet.Security.OAuth.Providers
src/AspNet.Security.OAuth.Vimeo/VimeoAuthenticationHandler.cs
3,092
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 "l...
33.445455
141
0.586935
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/S3/Custom/Model/UploadPartRequest.cs
11,037
C#
using System; using System.Linq.Expressions; namespace AutoOperator { /// <summary> /// </summary> /// <typeparam name="T1">The type of the 1.</typeparam> /// <typeparam name="T2">The type of the 2.</typeparam> /// <seealso cref="AutoOperator.IOperatorExpression"/> public interface IRelationalOperaton<T1, T2> :...
33.913043
128
0.675641
[ "MIT" ]
sdedalus/AutoOperator
src/AutoOperator/IRelationalOperaton.cs
782
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerQuickJump : MonoBehaviour { [SerializeField] float jumpHeight = 5; [SerializeField] GroundChecker _groundChecker; Rigidbody _rigidbody; CommandContainer _commandContainer; void Awake(){ _r...
26.821429
72
0.664447
[ "MIT" ]
Honestflunky8/gp21-game-engine-and-scripting-course
GE & Scripting Course/Assets/Scripts/Player Scripts/PlayerQuickJump.cs
751
C#
using BEDA.CIB.Contracts.Responses; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BEDA.CIB.Contracts.Requests { /// <summary> /// 3.12.5.2定活互转智能通知存款协议查询请求主体 /// </summary> public class V1_ICAGMTTRNRQ : IRequest<V1_ICAGMTTR...
22.259259
58
0.633943
[ "MIT" ]
fdstar/BankEnterpriseDirectAttach
src/BEDA.CIB/Contracts/Requests/3.12/V1_ICAGMTTRNRQ.cs
711
C#
 #region using statements #endregion namespace ImageSorter { #region class MainForm /// <summary> /// This is the designer for this form. /// </summary> partial class MainForm { #region Private Variables private System.ComponentModel.IContainer components = null; ...
55.606838
158
0.65186
[ "MIT" ]
DataJuggler/ImageSorter
MainForm.Designer.cs
13,014
C#
namespace MLSoftware.OTA { [System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=...
26.767857
118
0.526351
[ "MIT" ]
Franklin89/OTA-Library
src/OTA-Library/ViewershipsTypeViewershipDistributorType.cs
1,499
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. #if WIN32 using System; using System.Collections.Specialized; using System.Diagnostics; using System.Drawing; usin...
35.29368
233
0.521909
[ "MIT" ]
togeljoss/toolkit
Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat/Desktop/Win32AppInfo.cs
9,496
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...
39.024194
175
0.617483
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoTSiteWise/Generated/Model/Internal/MarshallTransformations/BatchDisassociateProjectAssetsRequestMarshaller.cs
4,839
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace TextAdventures.Quest { public static class Utility { private const string k_spaceReplacementString = "___SPACE___"; public static string GetParameter(string sc...
37.976936
168
0.52182
[ "MIT" ]
MakingBrowserGames/quest-js
Compiler/Utility.cs
23,054
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Gooios.ActivityService.Migrations { public partial class AddFieldsForTopicImage : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.A...
26.730769
71
0.598561
[ "Apache-2.0" ]
hccoo/gooios
netcoremicroservices/Gooios.ActivityService/Migrations/20180609040552_AddFieldsForTopicImage.cs
697
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Net.NetworkInformation; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class OrderIII : System.Web.UI.Page { public string ma...
41.501992
222
0.525583
[ "MIT" ]
narinder1993/french-ecommerce-asp
french/OrderIII.aspx.cs
10,441
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MotorsportSite.API.Models { public class DriverCalculationInfo { public decimal TotalPoints { get; set; } public decimal TotalPointsOfCurrentSeason { get; set; } public int Highes...
34.185185
63
0.641387
[ "MIT" ]
rustyrust/MotorsportSite
MotorsportSite/MotorsportSite.API/Models/DriverCalculationInfo.cs
925
C#
using System; using xe.bit.property.core.Ads; using xe.bit.property.core.Errors; using xe.bit.property.core.Lookups; using xe.bit.property.core.Validators; using Xunit; namespace xe.bit.property.core.tests.Validators { public class ResidenceAdValidatorTests { [Fact] public void SubTypeMustHaveValueWhenApartment...
31.399194
149
0.730448
[ "MIT" ]
xe-gr/xe.bit.property.dotnetclient
Tests/xe.bit.property.core.tests/Validators/ResidenceAdValidatorTests.cs
7,789
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
38.404255
148
0.535549
[ "Apache-2.0" ]
solaristrading/Lean
Common/Data/Custom/Quandl.cs
5,417
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
31.365079
110
0.570218
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ApiGatewayV2/Generated/Model/CreateStageRequest.cs
7,904
C#
using System; using System.Collections.Generic; using bv.common.Core; using eidss.model.Core; using eidss.model.Enums; namespace eidss.model.Reports.Common { [Serializable] public class DiagnosisModel : IDisposable { [LocalizedDisplayName("DiagnosisName")] public long? Diagnosi...
30.487805
147
0.5768
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.model/Reports/Common/DiagnosisModel.cs
1,252
C#
using DevSpatium.IO.TextReader.Operations; namespace DevSpatium.IO.TextReader.Pattern.Parsing { public interface ICustomOperationParser { bool IsOperationSupported(char qualifyingToken); BaseOperation Parse(IPatternReader reader, OperationType operationType); } }
29.3
80
0.771331
[ "MIT" ]
vbabit/text-reader-wrapper
src/DevSpatium.IO.TextReader/Pattern/Parsing/Operations/Custom/ICustomOperationParser.cs
295
C#
using Should.Fluent; using System; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace SampleFunctionApp.Test { public class Function1TestRunner { FakeTraceWriter fakeTraceWriter = new FakeTraceWriter(); [Fact] async Task HttpTriggerWithoutParams() { ...
37.342857
118
0.65723
[ "MIT" ]
108425/DevOpsdotNet
dotnet/aspnet46/functionApp/Application/SampleFunctionApp.Test/Function1TestRunner.cs
1,307
C#
/************************************************************************** * * * Description: ActressMas multi-agent framework * * Website: https://github.com/florinleon/ActressMas * * Copyright: ...
40.088889
107
0.509424
[ "Apache-2.0" ]
florinleon/ActressMas
ActressMAS v3.0/Source Code and Examples/ActressMas Framework/ActressMas/ContainerServer/ContainerMessage.cs
3,610
C#
/* * Copyright(c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
29.674419
94
0.640282
[ "Apache-2.0", "MIT" ]
SeonahMoon/TizenFX
test/NUITizenGallery/Examples/ImageTest5/ImageTest5.cs
1,276
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Jewelry_Store_e.a.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; namespace Jewelry_Store_e.a.Control...
31.982353
137
0.526945
[ "MIT" ]
ayelet-ron/jewelry_store_e.a
Jewelry_Store_e.a/Controllers/CustomersController.cs
5,439
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.HumanResources { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou...
24.52459
136
0.766711
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.HumanResources/Assign_Establishment_ResponseType.cs
1,496
C#
using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using InstructorIQ.Core.Domain.Models; using InstructorIQ.Core.Multitenancy; using InstructorIQ.WebApplication.Models; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.A...
34.882813
137
0.586114
[ "Apache-2.0" ]
ejsmith/InstructorIQ
service/src/InstructorIQ.WebApplication/Pages/User/Profile.cshtml.cs
4,467
C#
using System; using System.Threading.Tasks; using Akka.Streams.Kafka.Dsl; using Akka.Streams.Kafka.Helpers; using Akka.Streams.Kafka.Messages; using Akka.Streams.Kafka.Settings; using Akka.Streams.Kafka.Stages.Consumers.Abstract; using Akka.Streams.Stage; using Confluent.Kafka; namespace Akka.Streams.Kafka.Stages.Con...
42.384615
154
0.648276
[ "Apache-2.0" ]
Aaronontheweb/Akka.Streams.Kafka
src/Akka.Streams.Kafka/Stages/Consumers/Concrete/CommittableSourceStage.cs
2,757
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReverseDNSGeolocation.Classification { public static class DistanceHelper { public const double NauticalMilesPerDegree = 60; public const d...
35.320388
199
0.568719
[ "MIT" ]
Bhaskers-Blu-Org2/ReverseDNSGeolocation
ReverseDNSGeolocation.Classification/DistanceHelper.cs
3,640
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программным средством. // Версия среды выполнения: 4.0.30319.42000 // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создан пов...
40.861111
175
0.601971
[ "MIT" ]
Yhtiyar/ClassApp
ClassApp/Properties/Resources.Designer.cs
3,473
C#
namespace SmartCon { using System; /// <summary> /// The <c>TextIndent</c> class is responsible for the indentation of text. /// </summary> public class TextIndent { /// <summary> /// The options used for this instance. /// </summary> private SmartConsoleOptions...
31.571429
88
0.529412
[ "MIT" ]
kenareb/SmartCon
SmartCon/TextIndent.cs
3,538
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Collections.Generi...
37.838095
119
0.584193
[ "MIT" ]
Microsoft/OpenAPI.NET.OData
src/Microsoft.OpenApi.OData.Reader/PathItem/OperationPathItemHandler.cs
3,975
C#
using System; using System.Threading.Tasks; namespace CongratulatoryMoneyManagement.Activation { // For more information on application activation see https://github.com/Microsoft/WindowsTemplateStudio/blob/master/docs/activation.md internal abstract class ActivationHandler { public abstract bool ...
26.971429
139
0.662076
[ "MIT" ]
reastykim/CongratulatoryMoneyManagement
CongratulatoryMoneyManagement/Activation/ActivationHandler.cs
946
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Network.Models { public partial class LoadBalancerSku : IUtf8JsonSerializable { void IUtf8J...
28.488889
87
0.546022
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/LoadBalancerSku.Serialization.cs
1,282
C#
// ----------------------------------------------------------------------------------------- // <copyright file="ProjectionAnalyzer.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in com...
42.037736
214
0.569936
[ "Apache-2.0" ]
Hitcents/azure-storage-net
Lib/Common/Table/Queryable/ProjectionAnalyzer.cs
24,510
C#
using Application.Behaviors; using Autofac; using MediatR; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Application.AutofacModules { /// <summary> /// MediatR相关注册模块 /// </summary> public class MediatrModule : Autofac.Module { protect...
29.277778
101
0.635674
[ "Apache-2.0" ]
leonken/LeonFrame
Application/AutofacModules/MediatrModule.cs
1,112
C#
using System; using System.Reflection; using Xunit.Abstractions; namespace LeanTest.Xunit { /// <summary>Xunit does not have a TestContext. The following gives us access to the name of the current test.</summary> /// <remarks>This code is heavily inspired by https://github.com/SimonCropp/XunitContext#current-test.<...
37.774194
121
0.748933
[ "Apache-2.0" ]
RemyHa/Leantest
Source/xUnit/TestContext.cs
1,173
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class DragUIOverride { #if __ANDROID__ || __IOS__ || NET461 || __WASM_...
43.162162
213
0.764976
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml/DragUIOverride.cs
4,791
C#
using System; namespace Fuzky.Core.Utils.Interfaces { public interface IThreadDispatcher { void InvokeIfRequired(Action action); } }
17.111111
45
0.701299
[ "MIT" ]
mateuszgiza/Fuzky
Fuzky.Core/Utils/Interfaces/IThreadDispatcher.cs
156
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UsefullAlgorithms.Graph { [DebuggerDisplay("{Source.Data.ToString()} => {Destination.Data.ToString()}")] public class Edge<T> where T: IEquatable<T> { ...
23.702703
82
0.58951
[ "MIT" ]
Puchaczov/GenericShuntingYard
UsefullAlgorithms/UsefullAlgorithms.Graph/Edge.cs
879
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Assets.Sources.Scripts.UI.Common; using Memoria.Assets; using Memoria.Prime.Text; using UnityEngine; using Object = System.Object; [RequireComponent(typeof(UIPanel))] public class Dialog : MonoBehaviour { public Dialog...
24.550325
198
0.692273
[ "MIT" ]
ArtReeX/memoria
Assembly-CSharp/Global/Dialog/Dialog.cs
60,494
C#
namespace IndependentSocialApp.Services.Data.Tests { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IndependentSocialApp.Data; using IndependentSocialApp.Data.Common.Repositories; using IndependentSocialApp.Data.Models; using IndependentSocialApp.D...
37.865385
87
0.559675
[ "MIT" ]
MihailKarabashev/IndependentSocialMedia
Tests/IndependentSocialApp.Services.Data.Tests/SettingsServiceTests.cs
1,971
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 ...
37.054545
132
0.573847
[ "Apache-2.0" ]
Arch/Npoi.Core
src/Npoi.Core/HSSF/Record/Chart/Chart3DBarShapeRecord.cs
4,078
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; using FluentAss...
37.2073
191
0.508804
[ "Apache-2.0" ]
cjvandyk/NuGet.Client
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/RestoreLoggingTests.cs
79,512
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkcrm_1_0.Models { public class BatchSendOfficialAccountOTOMessageResponseBody : TeaModel { /// <summary> /// 开放API /// </sum...
26.5
88
0.628191
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/crm_1_0/Models/BatchSendOfficialAccountOTOMessageResponseBody.cs
905
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using BuildXL.Cache.ContentStore.Interfaces.Results; using BuildXL.Cache.ContentStore.Interfaces.Tracing; using BuildXL.Cache.ContentStore.Tracing; using BuildXL.Cache.MemoizationStore.Interfaces.Sessions; namespace Buil...
33.882353
117
0.616898
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Cache/MemoizationStore/Library/Tracing/CreateSessionCall.cs
1,728
C#
namespace J2N.IO { public class TestReadOnlyHeapInt32Buffer : TestReadOnlyInt32Buffer { public override void SetUp() { base.SetUp(); buf = Int32Buffer.Allocate(BUFFER_LENGTH); base.loadTestData1(buf); buf = buf.AsReadOnlyBuffer(); base...
21.95
70
0.528474
[ "Apache-2.0" ]
NightOwl888/J2N
tests/J2N.Tests/IO/TestReadOnlyHeapInt32Buffer.cs
441
C#
namespace CoreRpc.Serialization { public interface ISerializerFactory { ISerializer<T> CreateSerializer<T>(); } }
19
45
0.684211
[ "MIT" ]
abogushevsky/CoreRpc
src/CoreRpc/Serialization/ISerializerFactory.cs
133
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Generated with Bot Builder V4 SDK Template for Visual Studio EchoBot v4.6.2 using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Integration...
30.8
106
0.618182
[ "MIT" ]
0723Cu/Microsoft-Teams-Samples
samples/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web/Startup.cs
2,312
C#
using System; namespace Pidgin { /// <summary> /// Represents a (line, col) position in an input stream /// </summary> public readonly struct SourcePos : IEquatable<SourcePos>, IComparable<SourcePos> { /// <summary> /// Gets the line of the position in the input stream. /// ...
35.960396
129
0.539648
[ "MIT" ]
mustik22/Pidgin
Pidgin/SourcePos.cs
3,632
C#
namespace Rabbitual.Fox { public class FoxTaskConsumer : ITaskConsumer { private readonly Hub _hub; public FoxTaskConsumer(Hub hub) { _hub = hub; } public void Start(IAgentWrapper w) { _hub.AddWorker(w); } public void Sto...
16
48
0.491477
[ "MIT" ]
BjartN/Rabbitual
src/Rabbitual/Fox/FoxTaskConsumer.cs
352
C#
/* * Xero Payroll NZ * * This is the Xero Payroll API for orgs in the NZ region. * * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collection...
33.331034
140
0.562177
[ "MIT" ]
AlbertGromek/Xero-NetStandard
Xero.NetStandard.OAuth2/Model/PayrollNz/EmployeePayTemplates.cs
4,833
C#
using System; namespace Master40.SimulationCore.Environment.Abstractions { public interface IOption<T> { T Value { get; } } }
16.444444
58
0.655405
[ "Apache-2.0" ]
LennertBerkhan/ng-erp-4.0
Master40.SimulationCore/Environment/Abstractions/IOption.cs
150
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.Linq; using System.Net.Test.Common; using ...
45.746875
178
0.563392
[ "MIT" ]
CliffordOzewell/corefx
src/System.Net.Http/tests/FunctionalTests/HttpCookieProtocolTests.cs
29,280
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 ...
35.967136
130
0.554366
[ "Apache-2.0" ]
aniket486/avro
lang/csharp/src/apache/main/Protocol/Message.cs
7,661
C#
using System; using h73.Elastic.Core.Search.Interfaces; using Newtonsoft.Json; namespace h73.Elastic.Core.Search.Queries { /// <summary> /// Returns documents that have at least one non-null value in the original field /// </summary> /// <seealso cref="h73.Elastic.Core.Search.Queries.QueryInit" /> ...
27.625
85
0.563801
[ "MIT" ]
henskjold73/h73.Elastic.Core
h73.Elastic.Core/Search/Queries/ExistsQuery.cs
1,107
C#
using System; using System.Diagnostics; using System.IO; public static class Program { public static int Main(string[] args) { if (args.Length != 1) { Console.WriteLine("invalid argument length."); return -1; } string dir = args[0]; string ver = File.ReadAllText(Path.Combine(dir, "VERSION")...
28.759259
78
0.615583
[ "CC0-1.0" ]
ElektroKill/KoiVM
libs/UpdateVersion.cs
1,553
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.Media.Imaging;...
21.068966
38
0.705401
[ "MIT" ]
p2pquake/epsp-peer-cs
WpfClient/Pages/Status.xaml.cs
631
C#
using Sandbox; using System; [Library( "ent_chair2", Title = "Chair 2", Spawnable = true )] public partial class Chair2Entity : Prop, IUse { private TimeSince timeSinceDriverLeft; [Net] public bool Grounded { get; private set; } private struct InputState { public float throttle; public float turning; publ...
18.962264
93
0.6733
[ "MIT" ]
Gman-HLA-sbox-modder/sboxplusplus
code/entities/chair2/Chair2.cs
3,017
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Collections.Specialized; using System.Threading.Tasks; using IdentityServer4.Models; namespace IdentityServer4.Validation { ...
35.142857
110
0.792683
[ "Apache-2.0" ]
ajilantony/identityserver4
src/IdentityServer4/Validation/Interfaces/IIntrospectionRequestValidator.cs
494
C#
// Copyright 2018 Maintainers and Contributors of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.OpenCover { partial class OpenCoverSettingsExtensions { public...
32.333333
123
0.680412
[ "MIT" ]
werwolfby/nuke
source/Nuke.Common/Tools/OpenCover/OpenCoverSettingsExtensions.cs
970
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; [CustomEditor(typeof(Signal))] public class SignalInspector : Editor { private UnityEngine.Object v; private object objectValue; public override void OnInspectorGUI() { DrawDefaultIns...
38.681159
98
0.490446
[ "MIT" ]
paulhayes/Signals
Assets/Signals/Scripts/Editor/SignalInspector.cs
2,671
C#
// // System.Runtime.Remoting.MetadataServices.ServiceType // // Authors: // Martin Willemoes Hansen (mwh@sysrq.dk) // Lluis Sanchez Gual (lluis@ximian.com) // // (C) 2003 Martin Willemoes Hansen // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associa...
27.327869
73
0.720456
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.MetadataServices/ServiceType.cs
1,667
C#
using Microsoft.AspNetCore.Builder; namespace P7.Core.Startup { public abstract class ConfigureRegistrant : IConfigureRegistrant { public abstract void OnConfigure(IApplicationBuilder app); } }
21.5
68
0.753488
[ "Apache-2.0" ]
ghstahl/P7
src/P7.Core/Startup/ConfigureRegistrant.cs
215
C#
using CRM.EntityFrameWorkLib; using CRM.WebApi.Filters; using CRM.WebApi.Infrastructure; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Web.Http; namespace CRM.WebApi.Controllers { //[Authorize] [MylExceptionFilterAttribute] public class SendEmailsController : A...
34.692308
122
0.621951
[ "MIT" ]
tigranv/CRM_Project_C
CRM_Project_C/Source/CRM.WebApi/Controllers/SendEmailsController.cs
1,806
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Nom.Bytecode { public abstract class AInstruction : IInstruction { public AInstruction(OpCode opCode) { OpCode = opCode; } public OpCode OpCode { get; } public v...
40.347826
86
0.543373
[ "BSD-3-Clause", "MIT" ]
fabianmuehlboeck/monnom
sourcecode/Bytecode/Instructions/AInstruction.cs
3,714
C#
using System; using System.Net; using System.Windows; using System.Windows.Input; using System.Collections.Generic; using Windows.Data.Json; using SuperMap.WinRT.Utilities; namespace SuperMap.WinRT.REST { /// <summary> /// <para>${REST_ThemeGraphAxes_Title}</para> /// <para>${REST_ThemeGraphAxes_Descrip...
33.03
115
0.580987
[ "Apache-2.0" ]
SuperMap/iClient-for-Win8
iClient60ForWinRT/SuperMap.WinRT.REST/Theme/ThemeGraphAxes.cs
3,305
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. using Microsoft.Graphics.Canvas; using Microsoft.Graphics.Canvas.Geometry; using Microsoft.Graphics.Canvas.Text; using Microsoft.Graphics.Canvas.UI.Xaml; using...
39.07074
154
0.614188
[ "MIT" ]
Almost-Done/Win2D
samples/ExampleGallery/GeometryOperations.xaml.cs
12,151
C#
namespace Mages.Core.Ast.Expressions { using System; /// <summary> /// Base class for all pre unary expressions. /// </summary> public abstract class PreUnaryExpression : ComputingExpression, IExpression { #region Fields private readonly IExpression _value; private rea...
26.43662
83
0.508524
[ "MIT" ]
FlorianRappl/Mages
src/Mages.Core/Ast/Expressions/PreUnaryExpression.cs
3,756
C#
using System; using System.Collections.Generic; using System.IO; namespace Sundown { public class BBCodeOptions { public BBCodeOptions() { DefaultHeaderSize = 10; HeaderSizes = new Dictionary<int, int>() { { 1, 16 }, { 2, 14 }, { 3, 12 }, }; } public int DefaultHeaderSize { get; set; } ...
19.453608
84
0.627451
[ "Apache-2.0" ]
lslab/YaMdEditor
YaMdEditor/MarkdownParser/SundownNet/BBCode.cs
1,887
C#
#if !OMIT_FOREIGN_KEY using System; using System.Diagnostics; using System.Text; using Bitmask = System.UInt64; namespace Core { public partial class Parse { #if !OMIT_TRIGGER int LocateFkeyIndex(Table parent, FKey fkey, out Index indexOut, out int[] colsOut) { indexOut...
52.056995
215
0.479795
[ "MIT" ]
BclEx/GpuEx
src/System.Data.net/Core+Vdbe/Parse+FKey.cs
40,188
C#
namespace Rehawk.Lifecycle { public interface ILateTickable { void LateTick(); } }
14.714286
34
0.621359
[ "MIT" ]
rehavvk/lifecycle
Runtime/Interfaces/ILateTickable.cs
105
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; namespace JobXML { public partial class JOBFile { [XmlAttributeAttribute("schemaLocation", Namespace = "http://www.w3.org/2001/XMLSchema-instance")] public string xsiSchemaLoc...
27.333333
147
0.635671
[ "MIT" ]
KubaSzostak/JobXML
JobXML.partial.cs
658
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using System.IO; using System.Threading; using System.Timers; using Microsoft.FlightSimulator.SimConnect; using Timer = System.Timers.Timer; namespace WebMap ...
40.844156
775
0.535771
[ "MIT" ]
MoMadenU/msfs2020-skyvector
FSWebService/ServerOnly.cs
3,147
C#
using Microsoft.Xrm.Sdk; using System; using System.Collections.Generic; using Xunit; #if FAKE_XRM_EASY_2015 || FAKE_XRM_EASY_2016 || FAKE_XRM_EASY_365 || FAKE_XRM_EASY_9 using Xunit.Sdk; #endif using System.Linq; using Microsoft.Crm.Sdk.Messages; using Crm; using System.ServiceModel; namespace FakeXrmEasy.Tests.Fa...
32.237082
118
0.506506
[ "MIT" ]
AK-RenegadeX/fake-xrm-easy
FakeXrmEasy.Tests.Shared/FakeContextTests/AddListMembersListRequestTests/Tests.cs
10,608
C#
using Xunit; namespace Soltys.VirtualMachine.Test.Runtime { public class LoadLoaderTests { [Fact] public void LoadLibrary_LoadItself() { var library = LibraryLoader.LoadLibrary("Soltys.VirtualMachine.Test"); Assert.NotNull(library.Functions); } [...
25.038462
82
0.597542
[ "MIT" ]
soltys/Melange
src/VirtualMachine/Soltys.VirtualMachine.Test/Runtime/LoadLoaderTests.cs
651
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using DataAccessLayer.DataAccessModel; using DataAccessLayer.Models; namespace JournalForSchool { public class TheClassesRepository : IRepository<TheClasses> { private readonly DataAccessClasses dataAccess; ...
25.906977
88
0.564632
[ "MIT" ]
tsudd/school-journal
JournalForSchool/Database/TheClassesRepository.cs
2,230
C#
using TDUModdingLibrary.support.constants; namespace TDUModdingLibrary.support.patcher.vars { /// <summary> /// Variable referring to TDU's high-res gauges BNK folder /// </summary> class BnkGaugesHighPathV:PatchVariable { public override string Name { get { ...
30.6
139
0.620915
[ "MIT" ]
5l1v3r1/tdumt
tdumt-lib/support/patcher/vars/BnkGaugesHighPathV.cs
767
C#
using System; using System.Collections.Generic; using UnityEngine; namespace TimeControl { internal class SharedIMGUI { private List<float> throttleRateButtons = new List<float>() { 0, 50, 100 }; public SharedIMGUI() { } bool throttleToggle = false; float thr...
36.333333
176
0.688073
[ "MIT" ]
net-lisias-kspu/TimeControl
TimeControl/IMGUI/SharedIMGUI.cs
2,400
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ScoreManager : MonoBehaviour { public GameEvent onOtherItemChosen; public SnHGameConstants snHGameConstants; public Text CollectTP; public Image otherImage; public Text CollectOther;...
27.72
117
0.670274
[ "MIT" ]
xmliszt/CB2.0
CB2.0/Assets/Scripts/Snatch&Hoard/ScoreManager.cs
1,386
C#
using Microsoft.VisualBasic; using System; /// <summary> /// Description of form/class/etc. /// </summary> public partial class formItemManagement { System.Windows.Forms.Timer timerUpdate = new System.Windows.Forms.Timer(); public formItemManagement() { // The Me.InitializeComponent call is requir...
111.64486
420
0.799514
[ "Apache-2.0" ]
GerardSchornagel/DST
Game/Forms/formItemManagement.cs
23,892
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScoreRule : Rule { private bool scored = false; public ScoreRule(AllRules ruleName, Sprite icon, float durationMod, List<Actions> appliedActions, List<AllRules> mutuallyExclusives, List<RuleObject> ruleR...
24.534884
173
0.629384
[ "MIT" ]
Bobbsify/Blade-Dancer
Assets/Scripts/Rules/Rules/Positives/ScoreRule.cs
1,057
C#
using System; using System.ComponentModel.DataAnnotations; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using QuizGame.Data.Models; namespa...
34.265306
136
0.574151
[ "MIT" ]
ementy/QuizGame
src/Web/QuizGame.Web/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs
5,039
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
47.386356
470
0.644745
[ "MIT" ]
Bhaskers-Blu-Org2/RdlMigration
RdlMigration/Web References/ReportServerApi/Reference.cs
538,311
C#