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
namespace DiscogsDesktop { sealed partial class FormDiscogsDesktop { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
53.770701
150
0.660981
[ "Apache-2.0" ]
wagnerluuv/DiscogsDektop
DiscogsDesktop/DiscogsDesktop/FormDiscogsDesktop.Designer.cs
8,444
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Text.Json; using Azure.Core; namespace Azure.Communication.CallingServer { /// <summary> /// The subscribe to tone event /// </summary> [CodeGenModel("ToneReceivedEvent", Usage = new string[] ...
33.551724
118
0.641316
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ToneReceivedEvent.cs
975
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using EdFi.Ods.Api.Security.Authoriz...
42.366667
168
0.626672
[ "Apache-2.0" ]
bptillman/Ed-Fi-ODS
Application/EdFi.Ods.Api/Security/AuthorizationStrategies/Relationships/Filters/ViewFilterAuthorizationDetails.cs
2,542
C#
namespace Adaptive.Agrona.Concurrent { public class Configuration { /// <summary> /// Spin on no activity before backing off to yielding. /// </summary> public const long IDLE_MAX_SPINS = 10; /// <summary> /// Yield the thread so others can run before backing of...
37.75
118
0.630085
[ "Apache-2.0" ]
MatthiasWeiser/Aeron.NET
src/Adaptive.Agrona/Concurrent/Configuration.cs
1,059
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; namespace Ocelot.OrleansHttpGateway.Requester { public class OrleansConnectionFailedException : Exception { /// <summary> /// Creates a new <see cref="OrleansConnectionFailedException"/> obje...
29.21875
89
0.638503
[ "Apache-2.0" ]
AClumsy/Ocelot.OrleansHttpGateway
src/Ocelot.OrleansHttpGateway/Requester/Exception/OrleansConnectionFailedException.cs
937
C#
#if MSSQL_MICROSOFT using Microsoft.Data.SqlClient; #else using System.Data.SqlClient; #endif using System; namespace HS.DB.Data { public class DBDataMSSQL : DBDataSQL { protected DBDataMSSQL() { } public DBDataMSSQL(SqlCommand Command) : this(Command.ExecuteReader()) { this.Command = Command;...
35.424242
125
0.475192
[ "Apache-2.0" ]
HongSic/HS.DB
Data/DBDataMSSQL.cs
2,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestServer { /// <summary> /// Uses the Pseudo random generator as a source. /// </summary> public class RandomSource { /// <summary> /// Initializes the source with a time dependent seed. /// </summary> publi...
28.518072
161
0.665822
[ "MIT" ]
Movares/OPC-Classic-SDK
development/NET/test_apps/C#/COM TestServer/RandomSource.cs
2,369
C#
using System; namespace svg_command.exception { public class MyException : ApplicationException { public string error; private Exception innerException; public MyException() { } public MyException(string msg) : base(msg) { this.error = msg; } ...
23.52
92
0.564626
[ "MIT" ]
longporo/svg-command
exception/MyException.cs
590
C#
using System; using System.Buffers; using Newtonsoft.Json; namespace ZeroReact.Utils { internal class JsonArrayPool<T> : IArrayPool<T> { public static JsonArrayPool<T> Instance = new JsonArrayPool<T>(); private readonly ArrayPool<T> _inner; public JsonArrayPool() { ...
20.529412
73
0.541547
[ "MIT" ]
DaniilSokolyuk/ZeroReact
src/ZeroReact/Utils/JsonArrayPool.cs
700
C#
using System.IO; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using Xunit; namespace NuDoq { public class XmlNormalizerFixture { [Theory] [InlineData("One tree is in default namespace. Other is in a namespace with a prefix.", @"<Root xmlns='http://www....
48.305994
139
0.382028
[ "MIT" ]
aschuhardt/NuDoq
src/NuDoq.Tests/XmlNormalizerFixture.cs
15,315
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Runtime.Serialization; using Azure.Core; namespace Azure.Identity { /// <summary> /// An exception indicating that interactive authentication is required. /// </summary> [Seriali...
41.296296
128
0.659641
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/identity/Azure.Identity/src/AuthenticationRequiredException.cs
2,232
C#
using System; namespace IqOptionApi.utilities { [AttributeUsage(AttributeTargets.Method)] public class SubscribeForTopicNameAttribute : Attribute { public SubscribeForTopicNameAttribute(string topicName, Type argumentType, bool Callback=false) { this.TopicName = topicName; ...
24.148148
103
0.656442
[ "MIT" ]
AomDEV/IqOption.Net
src/IqOptionApi.NET/Utilities/SubscribeForTopicNameAttribute.cs
652
C#
extern alias Cocona_v1_1_0; using System; using System.Collections.Generic; using System.Text; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Engines; namespace Cocona.Benchmark.Performance { [SimpleJob(RunStrategy.ColdStart, launchCount: 10)] [SimpleJob] [MemoryDiagnoser] public class Comman...
35.962025
179
0.632524
[ "MIT" ]
benjiro/Cocona
perf/Cocona.Benchmark.Performance/CommandProviderBenchmark.cs
2,841
C#
using Audit.Core; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Audit.FileSystem { /// <summary> /// Monitor a folder in the file system generating en aud...
36.215139
217
0.489989
[ "MIT" ]
Collabco/Audit.NET
src/Audit.FileSystem/FileSystemMonitor.cs
9,092
C#
using System.Runtime.Serialization; namespace Elasticsearch.Net { [DataContract] public class ShardFailure { [DataMember(Name = "index")] public string Index { get; set; } [DataMember(Name = "node")] public string Node { get; set; } [DataMember(Name = "reason")] public ErrorCause Reason { get; set; }...
19.25
40
0.658009
[ "Apache-2.0" ]
AnthAbou/elasticsearch-net
src/Elasticsearch.Net/Responses/ServerException/ShardFailure.cs
464
C#
using Foundation; namespace GraphicsTester.Skia { [global::Foundation.Register ("AppDelegate")] partial class AppDelegate { void ReleaseDesignerOutlets () { } } }
15.769231
49
0.614634
[ "MIT" ]
antonfirsov/Microsoft.Maui.Graphics
samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs
207
C#
using System.Threading.Tasks; namespace Hosting { public delegate Task RequestDelegate(HttpContext context); }
19.166667
62
0.8
[ "MIT" ]
AtwindYu/Asp.NetCore2
sources/Hosting/RequestDelegate.cs
115
C#
namespace AuditlogService { public class AuditlogManagerConfig { public string LogPath { get; set; } } }
17.714286
43
0.653226
[ "Apache-2.0" ]
BionStt/pitstop
src/AuditlogService/AuditlogManagerConfig.cs
124
C#
using System; using JetBrains.Annotations; using Vostok.Configuration.Abstractions.Attributes; using Vostok.Configuration.Abstractions.SettingsTree; using Vostok.Configuration.Helpers; namespace Vostok.Configuration.Binders { /// <summary> /// A binder wrapper that treats all models as if they were marked wit...
33.846154
108
0.707955
[ "MIT" ]
levdimov/configuration
Vostok.Configuration/Binders/SecretBinder.cs
882
C#
/* * Copyright Cepheis Ltd 2022 * All rights reserves */ using EA.Gen.Model; using System.Collections.Generic; using System.Linq; namespace EA.Gen.Hub.Data { /// <summary> /// Helper class for copying Glossary /// </summary> internal static class Glossary_Data { /// <summary> /// C...
28.887097
76
0.506979
[ "Apache-2.0" ]
channell/Ea.Gen
EA.Gen.Model.Helper/Glossary.cs
1,791
C#
using System.Runtime.InteropServices; using System.Security.Cryptography; namespace Nexus.Core { #warning Records with IConfiguration: wait for issue https://github.com/dotnet/runtime/issues/43662 to be solved // template: https://grafana.com/docs/grafana/latest/administration/configuration/ internal abstra...
46.207547
191
0.687015
[ "MIT" ]
Nexusforge/nexus
src/Nexus/Core/NexusOptions.cs
4,902
C#
namespace LostTech.Torch { using System; using System.Collections.Generic; using System.Linq; using static TorchSharp.torch; using static TorchSharp.torch.nn; static class TensorTools { public static (Tensor ins, Tensor outs) RandomBatch( this (Tensor ins, Tensor outs) ...
35.25641
90
0.524364
[ "MIT" ]
losttech/Torch.MinGPT
app/TensorTools.cs
1,375
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...
34.333333
148
0.58212
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Inputs/ParquetSinkArgs.cs
2,472
C#
using Sandbox; public class ViewModel : BaseViewModel { protected float SwingInfluence => 0.05f; protected float ReturnSpeed => 5.0f; protected float MaxOffsetLength => 10.0f; protected float BobCycleTime => 7; protected Vector3 BobDirection => new Vector3( 0.0f, 1.0f, 0.5f ); private Vector3 swingOffset; pri...
24.582418
81
0.699151
[ "MIT" ]
AdamSai/sandbox
code/ViewModel.cs
2,239
C#
 namespace SampleWopiHandler { class CheckFileInfoResponse { // This is a subset of all CheckFileInfo properties. // Use optional properties in accordance with the [MS-WOPI] Web Application Open Platform Interface Protocol specification. public string BaseFileName { get; set; } ...
35.189189
131
0.632873
[ "MIT" ]
CedarLogic/Office-Online-Test-Tools-and-Documentation
samples/SampleWopiHandler/SampleWopiHandler/WopiResponse.cs
1,304
C#
/*---------------------------------------------------------------- Copyright (C) 2018 Senparc 文件名:DepartmentResult.cs 文件功能描述:成员接口返回结果 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 修改标识:Senparc - 20180828 修改描述:v0.4.2 添加 GetMemberResult.order 属性 修改标识:...
25.469388
79
0.483173
[ "Apache-2.0" ]
29366365/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MailList/Member/MemberResult.cs
4,442
C#
using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes.Spells; using Kingmaker.Blueprints.Facts; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.EntitySystem.Entities; using Kingmaker.Enums; using Kingmaker.PubSubSystem; using Kingmaker.RuleSystem.Rules; using Kingmaker.UnitLogic; using Kingmaker.UnitLo...
40.8
145
0.642402
[ "MIT" ]
justamblingalong/WrathMods-TabletopTweaks
TabletopTweaks/NewComponents/SpellImmunityToSpellDescriptorAgainstAlignment.cs
4,082
C#
using BTCPayServer.Data; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace BTCPayServer.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20180106095215_DerivationStrategies")] publ...
31.433333
94
0.659597
[ "MIT" ]
Argoneum/btcpayserver
BTCPayServer.Data/Migrations/20180106095215_DerivationStrategies.cs
945
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // #if UNITY_WINRT && !UNITY_EDITOR #define USE_WINRT #endif using UnityEngine; using System.Collections; using System.Collections.Generic; using HUX.Utility; usin...
35.409664
142
0.65749
[ "MIT" ]
AllBecomesGood/Share-UpdateHolograms
ShareAndKeepSynced/Assets/MRDesignLab/HUX/Scripts/Input/InputShellMap.cs
16,855
C#
using System; using System.Linq; using System.Reflection; namespace Unity.Tests.v5.TestSupport { public static class TypeReflectionExtensions { public static ConstructorInfo GetMatchingConstructor(this Type type, Type[] constructorParamTypes) { return type.GetTypeInfo().DeclaredCon...
29.176471
112
0.677419
[ "Apache-2.0" ]
DoctorVanGogh/container
tests/Unity.Tests/TestSupport/TypeReflectionExtensions.cs
498
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.Max; namespace Max2Babylon.FlightSim { static class FlightSimExtensionUtility { public static float GetGizmoParameterFloat(IINode node, string gizmoClass, string...
35.306122
135
0.542197
[ "Apache-2.0" ]
AsoboStudio/FlightSim-glTF-exporter
3ds Max/Max2Babylon/FlightSim/FlightSimExtensionUtility.cs
3,460
C#
#region License //Ntreev Photoshop Document Parser for .Net // //Released under the MIT License. // //Copyright (c) 2015 Ntreev Soft co., Ltd. // //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 Softwa...
35.595238
121
0.725753
[ "MIT" ]
FrankNine/Agugu
Unity/Agugu/Assets/Agugu/Editor/Ntreev.Library.Psd/IChannel.cs
1,497
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice,...
37.40625
117
0.67878
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenAdminTests/UnitTests/UnitTestHelper/MockObjectBuilders/MockVdiWithVbds.cs
2,396
C#
using System; using System.Xml.Serialization; namespace Top.Api.Response { /// <summary> /// FenxiaoDealerRequisitionorderRefuseResponse. /// </summary> public class FenxiaoDealerRequisitionorderRefuseResponse : TopResponse { /// <summary> /// 操作是否成功。true:成功;false:失败。 /// </...
23.111111
74
0.627404
[ "MIT" ]
objectyan/MyTools
OY.Solution/OY.TopSdk/Response/FenxiaoDealerRequisitionorderRefuseResponse.cs
446
C#
using DragonSpark.Runtime.Execution; using System; namespace DragonSpark.Application.Entities; sealed class AmbientLock : Logical<IDisposable?> { public static AmbientLock Default { get; } = new(); AmbientLock() {} }
20.181818
52
0.761261
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application/Entities/AmbientLock.cs
224
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> //--...
36.530303
151
0.550394
[ "MIT" ]
SirHawkinson/SoundSampler
SoundSampler/Properties/Settings.Designer.cs
4,824
C#
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2019 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software")...
31.122905
120
0.518578
[ "MIT" ]
HotcakesCommerce/core
Libraries/Hotcakes.Web/Data/DatabaseStrategy.cs
5,573
C#
using System; using ByteDev.Pagination.Presentation; using ByteDev.Pagination.Presentation.PageOffSet; using NUnit.Framework; namespace ByteDev.Pagination.UnitTests.Presentation { [TestFixture] public class PageNumbersFactoryTests { private IPageOffSetStrategy _offSetZero; private IPageOff...
37.258993
133
0.580807
[ "MIT" ]
ByteDev/ByteDev.Pagination
tests/ByteDev.Pagination.UnitTests/Presentation/PageNumbersFactoryTests.cs
5,181
C#
/// \file CreateRepo /// /// Major <b>CreateRepo.cs</b> /// \details <b>Details</b> /// - This file handles the building of all create/post stored procedure calls /// Executes the stored procedures and handles the return values and error /// message handling of the connected database. /// /// <ul><li>\au...
42.761986
232
0.448364
[ "MIT" ]
gyGil/Entanglo
EntangloWebService/DataAccessLibrary/CreateRepo.cs
24,975
C#
using System; using System.Collections.Generic; using System.Linq; class A2 { static void Main() { var n = int.Parse(Console.ReadLine()); var a = new int[n].Select(_ => Console.ReadLine().Trim().Split().Select(int.Parse).ToArray()).ToArray(); var es = new List<int[]>(); for (int i = 0; i < n; i...
25.878261
107
0.528562
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/AOJCourses/ALDS112/A2.cs
2,998
C#
using Kuromoji.NET.Util; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Kuromoji.NET.Extentions; namespace Kuromoji.NET.Compile { public class ConnectionCostsCompiler : ICompiler, IDisposable { con...
28.113636
82
0.511722
[ "Apache-2.0" ]
diggles/Kuromoji.NET
Kuromoji.NET/Compile/ConnectionCostsCompiler.cs
2,476
C#
namespace TarbikMap.DataSources.OsmOverpass { using System.Text.Json.Serialization; [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA1812", Justification = "Deserialized (input from external API)")] internal class OsmOverpassApiLatLon { [JsonPropertyName("lat")] public doubl...
30.142857
130
0.675355
[ "MIT" ]
milan11/tarbikmap
TarbikMap/DataSources/OsmOverpass/OsmOverpassApiLatLon.cs
422
C#
// Copyright 2006-2010 Portland State University, USFS Northern Research Station, University of Wisconsin-Madison // Authors: Robert Scheller, Brian Miranda, Jimm Domingo namespace Landis.Extension.BiomassFuels { /// <summary> /// A forest type. /// </summary> public interface IFuelType { ...
26.035714
114
0.517147
[ "Apache-2.0" ]
derekmorr/Extension-Dynamic-Biomass-Fuels
src/IFuelType.cs
729
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Research.Science.FetchClimate2 { public class DataRepresentationDictionary { Dictionary<string, double> scaleFactors = new Dictionary<stri...
34.607843
118
0.613598
[ "MIT" ]
Bhaskers-Blu-Org2/FetchClimate
src/Libraries/FetchMath/Utils/DataRepresentationDictionary.cs
1,767
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using Google.Apis.Auth; using Microsoft.IdentityModel.Tokens; namespace PredictionApi.Middleware { public class GoogleTokenValidator : ISecurityTokenValidator { private readonly JwtSecur...
37.224138
184
0.636869
[ "Apache-2.0" ]
grajakum/prediction-app
api/Middleware/GoogleTokenValidator.cs
2,159
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.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace System.Collections.Concurrent.Tests { public cl...
35.226757
162
0.476537
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs
15,535
C#
namespace Chartreuse.Today.Core.Shared.Tools.Text { /// <summary> /// Text item. Simple plain old C# object (POCO) to /// hold a string. /// </summary> public class TextItem { public string Text { get; private set; } public TextItem(string text) { this.Text ...
20.352941
55
0.540462
[ "MIT" ]
2DayApp/2day
src/2Day.Core.Shared/Tools/Text/TextItem.cs
348
C#
#pragma warning disable 1591, 618 // This file contains general utilities to aid in development. // Classes here generally shouldn't be exposed publicly since // they're not particular to any library functionality. // Because the classes here are internal, it's likely this file // might be included in multiple assembli...
38.926829
154
0.561905
[ "Apache-2.0" ]
GeekCatPYG/SimpleRemote
MahApps.Metro/ControlzEx/Microsoft.Windows.Shell/Standard/Utilities.Wpf.cs
15,960
C#
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Threading; using System.Threading.Tasks; using Attractor.Implementation.Common; namespace Attractor.Implementation { internal sealed class MessageProcessor : BackgroundService { private readonly IInbox i...
32.507463
137
0.559229
[ "MIT" ]
gendalf90/Attractor.Net
src/Attractor/Implementation/MessageProcessor.cs
2,180
C#
// <auto-generated /> using System; using ApiResume.Domain.Context; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namesp...
71.478495
443
0.543287
[ "MIT" ]
lucasvieiravicente/ApiResume
Migrations/20210125180007_UpdateKnowledgeSeed.Designer.cs
13,391
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Store ...
32.369231
124
0.535171
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Microsoft.ServiceFabric.Data.Impl/ReplicatedStore/LockManager/LockHashTable.cs
2,104
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...
28.085106
110
0.607576
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/Inputs/InMageAzureV2DiskInputDetailsArgs.cs
1,320
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using NotesClient.ServiceAccess; namespace NotesClient.UI { public ...
28.507246
94
0.579563
[ "MIT" ]
2002-feb24-net/nick-project2-mvc-notes-client
NotesClient/NotesClient.UI/Startup.cs
1,967
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: entrances/entrances.proto // </auto-generated> #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Mruv.Entrances { /// <summary> /// The MruV entrances servi...
72.94094
366
0.729799
[ "MIT" ]
MruV-RP/mruv-pb-csharp
EntrancesGrpc.cs
54,341
C#
using UnityEngine; using System.Collections.Generic; using System; namespace EA4S { public class LL_WordData : ILivingLetterData { public Db.WordData Data; public LivingLetterDataType DataType { get { return LivingLetterDataType.Word; } } public string Id { ...
26.046875
99
0.563287
[ "BSD-2-Clause" ]
Megapop/Norad-Eduapp4syria
Antura/EA4S_Antura_U3D/Assets/_app/_scripts/LivingLetter/Data/LL_WordData.cs
1,669
C#
using System; using System.Collections; using System.ComponentModel; using System.Web; using System.Web.SessionState; namespace guestbook_cs { /// <summary> /// Summary description for Global. /// </summary> public class Global : System.Web.HttpApplication { public Global() { InitializeComponent(); } ...
16.661972
76
0.703297
[ "MIT" ]
noenemy/Book-ASPNET-Bible-2nd-Edition
source/source/cs23/Global.asax.cs
1,183
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Newtonsoft.Json; namespace CloudStack.Net { public class ListInternalLoadBalancerElementsRequest : APIListRequest { public ListInternalLoadBalancerElementsRequest() : base("listInte...
51.734375
243
0.738146
[ "Apache-2.0" ]
mrehman29/cloudstack.net
src/CloudStack.Net/Generated/ListInternalLoadBalancerElements.cs
3,311
C#
namespace Teference.Zoho.Api { public enum ZsCouponDiscountBy { None, Flat, Percentage } }
14.111111
34
0.559055
[ "MIT" ]
teference/zoho-dotnet
source/Zoho.Api/Models/Enums/ZsCouponDiscountBy.cs
129
C#
using System; using FluentValidator; namespace DapperStore.Shared.Entities { public abstract class Entity : Notifiable { public Entity() { Id = Guid.NewGuid(); } public Guid Id { get; private set; } } }
17.333333
45
0.576923
[ "MIT" ]
thiagocruzrj/Dapper-Store
DapperStore.Shared/Entities/Entity.cs
260
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. namespace Microsoft.EntityFrameworkCore.Migrations { /// <summary> /// <para> /// The action that a database may take when handl...
33.069767
126
0.578762
[ "Apache-2.0" ]
0b01/efcore
src/EFCore.Relational/Migrations/ReferentialAction.cs
1,422
C#
// empty script attached to tiger gameobject // used for counting total number of tiger present in the game by script name type. using System.Collections; using System.Collections.Generic; using UnityEngine; public class tigercount : MonoBehaviour { // Use this for initialization void Start () { } ...
20.526316
84
0.694872
[ "Unlicense" ]
alokyadavnp/BaghLearn
codes/tigercount.cs
392
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("VV...
38.405405
84
0.746657
[ "BSD-3-Clause" ]
azeno/dx11-vvvv
Core/VVVV.DX11.Factories/Properties/AssemblyInfo.cs
1,424
C#
using System.Runtime.CompilerServices; #region Using directives using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute valu...
39.738095
386
0.793289
[ "MIT" ]
NielJun/aliyun-oss-unity-sdk
sdk/Properties/AssemblyInfo.cs
1,671
C#
/******************************************************************************** Copyright (C) Binod Nepal, Mix Open Foundation (http://mixof.org). 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 ht...
36.36
93
0.580858
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
gj86/mixerp2
MixERP.Net.FrontEnd/Finance/Index.aspx.cs
911
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Me.DerangedSenators.CopsAndRobbers { /// @authors Nisath Mohamed public class UIControls : MonoBehaviour { [SerializeField] private Canvas menuCanvas; private bool viewMenu; public class Pause...
23.931034
100
0.476945
[ "Apache-2.0" ]
nisathnasar/copsandrobbers-1
CopsAndRobbers/Assets/Scripts/UI/UIControls.cs
2,084
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public enum TokenType { TOKEN_TYPE_NONE = 0, TOKEN_TYPE_OPERATOR = 1, TOKEN_TYPE_NUMBER = 2, TOKEN_TYPE_VARIABLE_INDEX = 3, TOKEN_TYPE_OPENING_PAREN = 4, TOKEN_TYPE_CLOS...
24.434783
77
0.519573
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hkbCompiledExpressionSetToken.cs
2,248
C#
using UnityEngine; using System.Collections; public abstract class InteractionGameObject : InteractionBase { [System.NonSerialized] public E_InteractionObjects InteractionType = E_InteractionObjects.None; public GameObject[] ObjectsToShow; public GameObject[] ObjectsToHide; public ParticleEmitter...
28.255556
97
0.631144
[ "MIT" ]
TastSong/Warrior
Warrior/Assets/Scripts/Objects/InteractionObject.cs
2,543
C#
using System.Resources; using System.Reflection; // 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("Demo")] [assembly: AssemblyDescription("")] [assembly: ...
34
84
0.730223
[ "MIT" ]
69grad/mvvm-nano
demo/Demo/Properties/AssemblyInfo.cs
989
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using AutoMapper.Internal; using Shouldly; using Xunit; namespace AutoMapper.UnitTests.Mappers { public class TypeHelperTests { [Fact] public void CanReturnElementTypeOnCollectionThatImplementsTheSameGenericIn...
24.514286
104
0.652681
[ "MIT" ]
AutoMapper/AutoMapper
src/UnitTests/Mappers/TypeHelperTests.cs
858
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WumpusClicker.Interfaces { /// <summary> /// A monster to defeat /// </summary> public interface IMonster { /// <summary> /// The Monster's name ///...
26
68
0.552448
[ "MIT" ]
LukasRH/SimpleGames
WumpusClicker/Interfaces/IMonster.cs
1,146
C#
namespace Gold_Resolver { partial class iptoskype { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed res...
57.03268
176
0.602624
[ "Apache-2.0" ]
OldModz95-YTB/Gold-Resolver-source
Gold Resolver/iptoskype.Designer.cs
17,454
C#
using NUnit.Framework; using Specification; using Specification.SpecificationTree; namespace SpecificationTests { public class LenientlyEqualsTests { [Test] public void LeafNodesAreEqualIfTheyAreOfTheSameType() { AssertEqual(new PassingSpecification<object>(), new PassingSp...
37.721154
179
0.659954
[ "MIT" ]
HuddleEng/Specification
SpecificationTests/LenientlyEqualsTests.cs
3,925
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.712042
137
0.531886
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThan/Complete/NullableSingle/Single/TestSet_504__param__01__VV.cs
9,442
C#
//---------------------------------------------------------------------------- // <auto-generated> // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // </auto-generated> //----------------------------------------------------------------------------...
46.236842
216
0.643407
[ "MIT" ]
tritao/LLDBSharp
LLDBSharp/i686-pc-windows-msvc/SBTypeSummary.cs
26,355
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
41.458333
80
0.649246
[ "MIT" ]
jsanjuan2016/Stairway
Stairway.Pattern/Stairway.Domain/obj/Debug/netcoreapp3.1/Stairway.Domain.AssemblyInfo.cs
995
C#
using System.ComponentModel.DataAnnotations; namespace Experimentation.Logic.ViewModels { public class FeatureViewModel : BaseFeatureViewModel { [Required(AllowEmptyStrings = false, ErrorMessage = "A feature ID cannot be an empty string and must be a valid meaningful unique ID.")] p...
32.454545
111
0.705882
[ "MIT" ]
iby-dev/Experimentation-API
src/Services/Experimentation/Experimentation.Logic/ViewModels/FeatureViewModel.cs
357
C#
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; namespace BangBang.Data.Models.Mapping { public class CompanyMap : EntityTypeConfiguration<Company> { public CompanyMap() { // Primary Key this.HasKey(t => t.Id); ...
37.702703
78
0.534409
[ "MIT" ]
don59/Ebboy
src/Libraries/Ebboy.Data/Models/Mapping/CompanyMap.cs
2,790
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Yarp.ReverseProxy.Utilities; namespace Yarp.ReverseProxy.Forwarder; /// <summary> //...
42.068182
148
0.656186
[ "MIT" ]
LaudateCorpus1/reverse-proxy
src/ReverseProxy/Forwarder/StreamCopyHttpContent.cs
9,255
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AverageCharacterDelimiter { class Program { static void Main(string[] args) { var arrayOfStrings = Console.ReadLine().Split(' ').ToArray(); var ...
25.709677
73
0.508156
[ "MIT" ]
uagg/SoftwareUniversity
2. Tech Module/Programming Fundamentals/8. Array and list algorithms/Exercise2/AverageCharacterDelimiter/AverageCharacterDelimiter/Program.cs
799
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("Pal...
38.189189
84
0.748054
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.461
Source/Krypton Toolkit Suite Extended/Applications/Palette Editor/Properties/AssemblyInfo.cs
1,416
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
39.730769
145
0.661181
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/MsHTML/DispIHTMLInputButtonElementTests.cs
2,068
C#
using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)] namespace Ocelot.Provider.Consul.AcceptanceTests { using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using Cache; using Configuration.File; using global::...
40.698947
151
0.464308
[ "MIT" ]
ThreeMammals/Ocelot.Provider.Consul
test/Ocelot.Provider.Consul.AcceptanceTests/ConfigurationInConsulTests.cs
19,334
C#
namespace ILLightenComparer.Variables { internal sealed class Arg { public const int This = 0; public const int Context = 0; public const int X = 1; public const int Y = 2; public const int SetX = 3; public const int SetY = 4; public const int Input = 1; ...
24.466667
38
0.574932
[ "MIT" ]
sgaliamov/ILLightenComparer
src/ILLightenComparer/Variables/Arg.cs
369
C#
using System.Threading.Tasks; using TsinghuaNet.XF.iOS.Services; using TsinghuaNet.XF.Services; using Xamarin.Forms; [assembly: Dependency(typeof(BackgroundManager))] namespace TsinghuaNet.XF.iOS.Services { public class BackgroundManager : IBackgroundManager { public Task<bool> RequestAccessAsync() =...
23.947368
73
0.727473
[ "MIT" ]
Berrysoft/TsinghuaNet
TsinghuaNet.XF/TsinghuaNet.XF.iOS/Services/BackgroundManager.cs
457
C#
using System.Collections.Generic; namespace KeyMapSync { public class Table : TableNameInfo { public Table(TableNameInfo nameInfo) { SchemaName = nameInfo.SchemaName; TableName = nameInfo.TableName; } public IEnumerable<string> Columns { get; set; } ...
22.588235
58
0.622396
[ "MIT" ]
mk3008/KeyMapSync
src/KeyMapSync/_database/Table.cs
386
C#
//********************************************************* // // Copyright (c) Microsoft Corporation. All rights reserved. // // // // // // //********************************************************* using System; namespace Bio.IO.SAM { /// <summary> /// This class holds tag persent in the header lines. ...
23.960784
61
0.489362
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
eLMM/CodePlex/MBF/IO/SAM/SAMRecordFieldTag.cs
1,222
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.Collections.Immutable; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis....
48.115942
303
0.697892
[ "Apache-2.0" ]
Atrejoe/roslyn-analyzers
src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/ReviewVisibleEventHandlers.cs
3,320
C#
using System; using System.Windows.Forms; using System.IO; using System.Diagnostics; using System.Text; using System.Drawing; using System.Linq; using System.ComponentModel; namespace Pro_Swapper { public partial class swap : Form { private static Items.Item ThisItem { get; set; } public swap(...
44.088889
351
0.511341
[ "MIT" ]
Antuan005/ProSwapper
src/UI/swap.cs
7,938
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PacketDotNet; namespace MLIDS.UnitTests.lib.ML.Objects { [TestClass] public class PayloadItem { [TestMethod] [ExpectedException(typeof(ArgumentNullException))] public void PayloadItem_NullTest() { ...
24.888889
114
0.689732
[ "MIT" ]
jcapellman/jcIDS
src/MLIDS.UnitTests/lib/ML/Objects/PayloadItem.cs
450
C#
//----------------------------------------------------------------------------- // (c) 2020 Ruzsinszki Gábor // This code is licensed under MIT license (see LICENSE for details) //----------------------------------------------------------------------------- using Moq; using NUnit.Framework; namespace ExpressionEngin...
31.172414
115
0.436947
[ "MIT" ]
webmaster442/ExpressionEngine
ExpressionEngine.Tests/DerivateTests.cs
1,811
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.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.LanguageServices; namespace...
40.842105
161
0.792526
[ "Apache-2.0" ]
GigabyteUB1B1/roslyn
src/Tools/ExternalAccess/LiveShare/LocalForwarders/CSharpRemoteSyntaxFactsService.cs
778
C#
using NHSCovidPassVerifier.Configuration; using NHSCovidPassVerifier.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace NHSCovidPassVerifier.Views { [XamlCompilation(XamlCompilati...
24.478261
74
0.73357
[ "MIT" ]
0x00null/covid-pass-verifier
NHSCovidPassVerifier/Views/ApprovePage.xaml.cs
565
C#
using Lotech.Data.Descriptors; using Lotech.Data.Operations; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Lotech.Data.SqlServers { class SqlServerExpressionVisitor<TEntity> : SqlExpressionVisitor<TEnt...
38.208333
120
0.579935
[ "MIT" ]
cnsicau/Lotech.Data.Core
Lotech.Data/SqlServers/SqlServerExpressionVisitor.cs
4,607
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fil...
29.469697
86
0.534447
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/YAF.Types/Models/Identity/AspNetRoles.cs
3,762
C#
using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using System; using System.Threading; using System.Threading.Tasks; using WingtipToys.Domain.Exceptions; using WingtipToys.Domain.Interfaces; using WingtipToys.Domain.Models; using Xunit; namespace WingtipToys.Data.Tests { public class ProductReposi...
42.583333
180
0.639922
[ "MIT" ]
vaibhav-goyal/wingtip-toys
tests/WingtipToys.Data.Tests/ProductRepositoryTests.cs
3,577
C#
// // Unit tests for DoNotUseLockedRegionOutsideMethodRule // // Authors: // Andres G. Aragoneses <aaragoneses@novell.com> // // Copyright (C) 2008 Andres G. Aragoneses // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Soft...
27.770833
116
0.712678
[ "MIT" ]
JAD-SVK/Gendarme
rules/Gendarme.Rules.Concurrency/Test/DoNotUseLockedRegionOutsideMethodTest.cs
2,666
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; namespace System.Windows { /// <summary> /// Provides loosely-coupled messaging between various colleague objects. All references to objects are stored weakly, to prevent memory leaks. /// 提供松散耦合的消息通知机制,为防止...
37.948087
197
0.532508
[ "Apache-2.0" ]
Egoily/iLawyer
01.Framework/Util.Controls/{Core}/Messenger.cs
14,037
C#
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ButtonClicker")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfi...
36.285714
82
0.746063
[ "Apache-2.0" ]
Reiss-Cashmore/xamarin-basic-sample
ButtonClicker/ButtonClicker/Properties/AssemblyInfo.cs
1,018
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public CharacterController controller; public float speed = 12f; public float gravity = -9.81f; public float jumpHeight = 3f; public Transform groundCheck; public floa...
22.90566
91
0.620264
[ "MIT" ]
NCSUVGDC/PumpkinAction
PumpkinAction/Assets/Scripts/PlayerMovement.cs
1,216
C#
// <copyright file="IdentityProviderCredentialsClient.Generated.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> // This file was automatically genera...
29.428571
112
0.649515
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk/Generated/IdentityProviderCredentialsClient.Generated.cs
1,030
C#