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 2006 - 2010 Intel 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
36.763578
171
0.536891
[ "Apache-2.0" ]
okertanov/Developer-Tools-for-UPnP-Technologies
Tools/DeviceRelay/UPnPRelayDevice.cs
11,507
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using SafeTrend.Data; using SafeTrend.Data.SqlClient; using IAM.GlobalDefs; namespace IAMWebServer._admin._chartdata { public p...
42.441406
427
0.4578
[ "Apache-2.0" ]
helviojunior/safeid
IAMWebServer/IAMWebServer/_admin/chartdata/flow.aspx.cs
21,740
C#
using System; using ExtenFlow.Messages; namespace ExtenFlow.Identity.Roles.Domain.Commands { /// <summary> /// Base Role command class /// </summary> /// <seealso cref="Command"/> public abstract class RoleNameRegistryCommand : Command { /// <summary> /// Initializes a new ins...
40.065217
123
0.577862
[ "Apache-2.0" ]
jpiquot/ExtenFlow
ExtenFlow/src/Core/Identity/ExtenFlow.Identity.Roles.Domain.Abstractions/Commands/RoleNameRegistryCommand.cs
1,845
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.Engine{ ...
29
97
0.732348
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/Engine/TransformBaseConstraint.cs
609
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
35.535
188
0.730829
[ "MIT" ]
MihailRomanov/TechTalks_DSL_in_Net
VsExtensions/NHModelingLanguage/DslPackage/GeneratedCode/CommandSet.cs
14,216
C#
#pragma checksum "I:\XpertLab\BlazorXpertlabBD\BlazorApp\BlazorApp\Server\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "eb0135ab559d26003f650c55efbb4e31272277bd" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.Raz...
70.496711
350
0.76716
[ "MIT" ]
MizaN13/BlazorXpertlabBD
BlazorApp/BlazorApp/Server/obj/Debug/netcoreapp3.1/Razor/Areas/Identity/Pages/Account/Manage/_ManageNav.cshtml.g.cs
21,431
C#
using JetBrains.Annotations; using UnityEditor; using UnityEngine.UIElements; namespace Unity.UI.Builder { class FoldoutWithCheckbox : PersistedFoldout { [UsedImplicitly] public new class UxmlFactory : UxmlFactory<FoldoutWithCheckbox, UxmlTraits> { } public new class UxmlTraits : Persi...
31.656716
113
0.623762
[ "Apache-2.0" ]
kawaitenshi/fools-run
Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Utilities/FoldoutWithCheckbox/FoldoutWithCheckbox.cs
2,121
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System.Collections.Generic; namespace SixLabors.ImageSharp.Formats.Jpeg { /// <summary> /// Contains jpeg constant values defined in the specification. /// </summary> internal static class JpegConst...
35.157025
141
0.506112
[ "Apache-2.0" ]
Davidsv/ImageSharp
src/ImageSharp/Formats/Jpeg/JpegConstants.cs
8,510
C#
namespace Thrift.Net.Compilation.Symbols { /// <summary> /// Represents an unresolved type (i.e. where a type has been referenced, but /// no definition can be found). /// </summary> public interface IUnresolvedType : INamedTypeSymbol { } }
26.8
81
0.656716
[ "MIT" ]
Roarster/Thrift.Net
src/Thrift.Net.Compilation/Symbols/IUnresolvedType.cs
268
C#
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_WindZoneMode : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.WindZoneMode"); addMember(l,0,"Directional"); addMember(l,1,"Spherical"); LuaDLL.lua_pop(l, ...
23.5
55
0.756839
[ "MIT" ]
zhukunqian/unity5-slua
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_WindZoneMode.cs
331
C#
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Runtime.InteropServices; using System.Threading; namespace WebWindows { [StructLayout(LayoutKind.Sequential)] struct NativeRect { public int x, y; public int width, height; } [Struc...
38.450526
229
0.587276
[ "Apache-2.0" ]
Berrysoft/WebWindow
src/WebWindow/WebWindow.cs
18,266
C#
using System.Text.Json.Serialization; namespace HPlusSport.API.Models { public class Product { public Guid Id { get; set; } = Guid.NewGuid(); public string Sku { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public string Description { get; se...
22.384615
63
0.592784
[ "MIT" ]
vishipayyallore/mini-projects-2022
.NET6WebAPIs/hplussport/Source/HPlusSport.API/Models/Product.cs
584
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
34.071429
154
0.735849
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementByteMatchStatementFieldToMatchSingleQueryArgument.cs
954
C#
using System; using System.Collections.Generic; 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; using ILRuntime.C...
43.455696
264
0.699097
[ "MIT" ]
AlunWorker/ET-
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_Object_Binding.cs
3,433
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 may ...
34.473389
117
0.495409
[ "Apache-2.0" ]
sunshinele/npoi
main/SS/Formula/Functions/Offset.cs
12,307
C#
// ----------------------------------------------------------------------- // <copyright file="UserRoleInputDto.cs" company="Hybrid开源团队"> // Copyright (c) 2014-2018 Hybrid. All rights reserved. // </copyright> // <site>https://www.lxking.cn</site> // <last-editor>ArcherTrister</last-editor> // <last-date>201...
29.24
75
0.540356
[ "Apache-2.0" ]
ArcherTrister/ESoftor
samples/web/IdentityServer4/LeXun.Demo.Core/Identity/Dtos/UserRoleInputDto.cs
759
C#
namespace ParticleEditor { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing...
50.049618
165
0.67597
[ "MIT" ]
bholcomb/gameEngine
src/particleEditor/Form1.Designer.cs
13,115
C#
// Copyright (c) Zuzana Dankovcikova. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using BugHunter.Analyzers.CmsApiReplacementRules.Analyzers; using BugHunter.Analyzers.CmsApiReplacementRules.CodeFixes; using BugHunter.An...
34.535714
128
0.651499
[ "MIT" ]
Suzii/thesis-roslyn
test/BugHunter.Analyzers.Test/CmsApiReplacementsTests/HttpResponseRedirectTest.cs
4,837
C#
using System; using System.IO; using System.Data; using ProtCidSettingsLib; using System.Collections.Generic; using DbLib; using AuxFuncLib; using PfamLib.Settings; using InterfaceClusterLib.DomainInterfaces.PfamPeptide; using InterfaceClusterLib.DomainInterfaces.PfamLigand; using InterfaceClusterLib.DomainInterfaces.P...
50.308824
166
0.61112
[ "BSD-3-Clause" ]
DunbrackLab/ProtCID
InterfaceClusterLib/DomainInterfaces/DomainInterfaceBuilder.cs
47,894
C#
using System; using System.Linq.Expressions; using System.Reflection; namespace Ludiq.PeekCore { public class StaticFieldAccessor<TField> : IOptimizedAccessor { public StaticFieldAccessor(FieldInfo fieldInfo) { if (OptimizedReflection.safeMode) { if (fieldInfo == null) { throw new ArgumentNul...
22.414634
203
0.651251
[ "MIT" ]
3-Delta/Unity-UGUI-UI
Assets/3rd/Ludiq/Ludiq.PeekCore/Runtime/Reflection/Optimization/StaticFieldAccessor.cs
3,678
C#
using System.Collections.Generic; using System.Linq; using AccidentalFish.ExpressionParser.Nodes; using AccidentalFish.ExpressionParser.Nodes.Functions; using AccidentalFish.ExpressionParser.Nodes.Operators; using AccidentalFish.ExpressionParser.Nodes.Structural; using AccidentalFish.ExpressionParser.Nodes.Values; na...
51.658824
145
0.620588
[ "MIT" ]
JTOne123/AccidentalFish.ExpressionParser
Source/AccidentalFish.ExpressionParser/Parsers/ParserProvider.cs
4,393
C#
// <copyright file="ProcessCreationEventGenerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> using Microsoft.Azure.IoT.Agent.Core.Configuration; using Microsoft.Azure.IoT.Agent.Core.Utils; using Microsoft.Azure.IoT.Contracts.Events; using Microsoft.Azure.Secu...
46.846939
167
0.681115
[ "MIT" ]
Azure/Azure-IoT-Security-Agent-CS
src/Modules/Security/EventGenerators/Linux/ProcessCreationEventGenerator.cs
4,593
C#
namespace Grayscale.TileToPng.CommandLineModel { /// <summary> /// マージン。 /// </summary> public class Margin : IMargin { /// <summary> /// Initializes a new instance of the <see cref="Margin"/> class. /// </summary> public Margin() { } /// <su...
24.53125
88
0.433121
[ "MIT" ]
muzudho/csharp-tile-to-png
Source/TileToPng/CommandLineModel/Margin.cs
1,652
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.AccessApi.Enums { /// <summary> /// SupportByVersion Access 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Access.AcPrintOrientation"/> </rema...
29.607143
140
0.659831
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Access/Enums/AcPrintOrientation.cs
831
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
51.752577
204
0.656972
[ "MIT" ]
BigBadBleuCheese/corefx
src/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.cs
5,020
C#
using Com.Atomatus.Bootstarter.Model; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Com.Atomatus.Bootstarter.Context { /// <summary> /// <para> /// Allows configuration for an entity type to be factored into a separate class, /// rather than in-l...
43.769231
162
0.630228
[ "Apache-2.0" ]
atomatus/dot-net-boot-starter
Atomatus.Bootstarter/Com.Atomatus.Bootstarter/Context/Configuration/EntityTypeConfigurationBase.cs
2,847
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LottoryUWP.DataModel { public class DrawItem { public string MajorColumnValue { get; set; } public string SecondaryColumnValue { get; set; } public int DrawWeight ...
27.613636
98
0.611523
[ "MIT" ]
Cherubimlee/Lottery
LottoryUWP/LottoryUWP/DataModel/DrawItem.cs
1,217
C#
 using Serilog; namespace Nancy.Serilog.Simple { public class NancySerilogConfiguration { public string[] Blacklist { get; set; } public string InformationTitle { get; set; } public string ErrorTitle { get; set; } public string Version { get; set; } public ILogger L...
19.277778
52
0.616715
[ "MIT" ]
ThiagoBarradas/nancy-serilog
Nancy.Serilog.Simple/NancySerilogConfiguration.cs
349
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace PhoneApiService { public class Program { ...
24.44
76
0.695581
[ "Apache-2.0" ]
staneee/OceIdentity
PhoneApiService/Program.cs
613
C#
using FluentValidation.Results; using System; using System.Collections.Generic; namespace Application.Exceptions { public class ExcepcionDeValidador : Exception { // Creamos una propiedad public List<string> ListaErrores { get; } // constructor vacio y heredamos del constructor base...
34.484848
95
0.663445
[ "MIT" ]
NSysX/NSysC
NSysApiPedidos/src/Core/Application/Exceptions/ExcepcionDeValidador.cs
1,140
C#
using System; using System.Collections.Generic; using System.Linq; class C { static void Main() { var s = Console.ReadLine(); var map = new Map<(char, char), long>(); foreach (var c in s) { for (char c0 = 'a'; c0 <= 'z'; c0++) { map[(c0, c)] += map[(c0, '/')]; } map[(c, '...
16.944444
53
0.518033
[ "MIT" ]
sakapon/Codeforces-Contests
CSharp/Contests2020/CFR621/C.cs
612
C#
using System; namespace MTGAHelper.Lib.OutputLogParser.Models { public interface IMtgaOutputLogPartResult { string Part { get; } string Prefix { get; } DateTime LogDateTime { get; } string SubPart { get; set; } long Timestamp { get; set; } string MatchId { get; ...
29.206107
112
0.639571
[ "MIT" ]
DuncanmaMSFT/MTGAHelper-Windows-Client
MTGAHelper.Lib.OutputLogParser.Models/MtgaOutputLogPartResultBase.cs
3,828
C#
using System; #pragma warning disable 1591 // ReSharper disable UnusedMember.Global // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable IntroduceOptionalParameters.Global // ReSharper disable MemberCanBeProtected.Global // ReSharper disable Incons...
38.552209
119
0.703709
[ "MIT" ]
vii33/PomodoroClock
SourceCode/PomodoroClock/Properties/Annotations.cs
38,400
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
70.272727
716
0.689521
[ "MIT" ]
Agazoth/azure-powershell
src/Websites/Websites.Autorest/generated/api/Models/Api20210201/PublishingCredentialsPoliciesCollection.json.cs
8,383
C#
using Patreon.Api.Core.V2.Builders; using Patreon.Api.Core.V2.Resources; using System.Collections.Generic; using System.Threading.Tasks; namespace Patreon.Api.Core.V2.Endpoints { /// <summary> A patreon client which interacts with webhook endpoints.</summary> /// <typeparam name="TWebhook"> The webhook type t...
54.833333
116
0.687437
[ "MIT" ]
Pheubel/Patreon
src/Patreon.Api.Core/V2/Endpoints/IWebhookClient.cs
1,976
C#
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Models { public class User : KeyBase { [BsonElement("user-code")] public string Code { get; set; } [BsonElement("name")] public string Name { get; set; } } }
19.928571
44
0.609319
[ "Apache-2.0" ]
ruben69695/todolist-aspnetcore3
Models/User.cs
279
C#
using System.Collections.Generic; namespace lp73.designPatterns.Mediator { public class Formulaire { protected IList<Controle> Controles = new List<Controle>(); protected IList<Controle> ControlesCoemprunteur = new List<Controle>(); public PopupMenu MenuCoemprun...
27.103448
65
0.495547
[ "CC0-1.0" ]
proced/Design-patterns
Design-pattern/designPatterns/Mediator/Formulaire.cs
1,572
C#
namespace Crimson.Tweening { public enum AnimationType { Tween, Sequence, } }
13.25
29
0.566038
[ "MIT" ]
aszecsei/Crimson
Crimson/Tweening/AnimationType.cs
108
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Mundipagg.Models.Request { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class CreateOrderItemRequest { public int Amount { get; set; } public string Category { get; set; } public str...
23.695652
70
0.653211
[ "MIT" ]
AmandaMaiaPessanha/mundipagg-dotnet
Mundipagg/Models/Request/CreateOrderItemRequest.cs
545
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Con...
37.567568
84
0.747482
[ "MIT" ]
bigdnf/DependencyFinder
Test/Nasted/ConsoleFull/ConsoleFull/Properties/AssemblyInfo.cs
1,393
C#
#region License // Copyright (c) 2010-2016, Mark Final // 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, this // ...
39.984375
119
0.684642
[ "BSD-3-Clause" ]
ChrigiGee/BuildAMation
packages/Installer/bam/Scripts/DiskImageSettings/CommandLine/IDiskImageSettings.cs
2,559
C#
namespace GeuzePortal { using System.Reflection; /// <summary>The globals.</summary> public class Globals { /// <summary>The website title.</summary> public const string WebsiteTitle = "World of Raul"; /// <summary>The version.</summary> public static readonly string V...
28.071429
104
0.641221
[ "MIT" ]
andregeuze/andregeuze.github.io
threejs-game/GeuzePortal/Globals.cs
395
C#
using Stump.DofusProtocol.Enums; using Stump.Server.WorldServer.Database.World; using Stump.Server.WorldServer.Game.Actors.Fight; using Stump.Server.WorldServer.Game.Effects.Instances; using Stump.Server.WorldServer.Game.Fights.Buffs.Customs; using Spell = Stump.Server.WorldServer.Game.Spells.Spell; using Stump.Server...
35.853659
130
0.67483
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.Server.WorldServer/game/effects/handlers/Spells/Buffs/Resistances.cs
1,470
C#
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! namespace Oculus.Platform { using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Oculus.Platform.Models; public abstract class Message<T> : Message { public delegate void Cal...
44.051304
111
0.706745
[ "BSD-3-Clause" ]
AustinScottDavis/3D-VR-Tetris
Assets/OculusPlatform/Scripts/Message.cs
50,659
C#
using System; using System.Windows.Controls; using System.Windows; namespace Microsoft.Windows.Controls { /// <summary> /// Base class for controls that represents controls that can spin. /// </summary> public abstract class Spinner : Control { #region Properties /// <summary> ...
39.078947
295
0.630303
[ "MIT" ]
weihuajiang/ConfigurationComplete
WPFToolkit.Extended/ButtonSpinner/Implementation/Spinner.cs
2,972
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RenderContext.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Implements <see cref="IRenderContext" /> for <see cref="Canvas"...
35.619753
152
0.512997
[ "MIT" ]
GeertvanHorrik/oxyplot
Source/OxyPlot.Windows/RenderContext.cs
28,854
C#
// Copyright (c) KhooverSoft. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; namespace Khooversoft.Toolbox.Security { public class HmacConfiguration : IHmacConfiguration ...
29.294118
111
0.600402
[ "MIT" ]
khoover768/Toolbox
Src/Dev/Khooversoft.Toolbox/Security/HMAC/HmacConfiguration.cs
998
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("12...
38.72973
84
0.75157
[ "MIT" ]
IoCHowTo/IoCTasks
120_UnityContainerDisposalHang/Properties/AssemblyInfo.cs
1,436
C#
using BusLane.Exceptions; using Microsoft.Extensions.Logging; using STAN.Client; using System; using System.Threading; using System.Threading.Tasks; namespace BusLane.Transport.NatsStreaming.Publishing { /// <summary> /// An <see cref="IMessagePublisher"/> that publishes messages to a RabbitMQ broker. ///...
39.506173
116
0.614375
[ "Apache-2.0" ]
teian/BusLane
src/BusLane.Transport.NatsStreaming/Publishing/NatsStreamingMessagePublisher.cs
3,202
C#
// =================================================================== // 项目说明,功能实体类,用CodeSmith自动生成。 // =================================================================== // 文件名: Advertisement.cs // 修改时间:2017/12/26 17:33:25 // 修改人: lixiong // =================================================================== usin...
20.852381
72
0.586664
[ "Apache-2.0" ]
lixiong24/IPS2.1
JXIPS/JX.Core/Entity/AdvertisementEntity.cs
4,685
C#
// ---------------------------------------------------------------------- // <copyright file="OAuth2.cs" company="nGenesis, LLC"> // Copyright (c) 2012, nGenesis, LLC. // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v...
41.872449
142
0.617765
[ "EPL-1.0" ]
dapug/FSAPI.Net
FSAPI.Net/Identity/OAuth2.cs
8,209
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager; using Az...
73.497917
328
0.703393
[ "MIT" ]
nitsi/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Extensions/ResourceGroupExtensionClient.cs
35,279
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...
44.888372
134
0.582012
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20170901/RouteTable.cs
9,651
C#
using Newtonsoft.Json; namespace Zilon.Core.Schemes { /// <inheritdoc cref="ILocationScheme" /> /// <summary> /// Схема узла на глобальной карте. /// </summary> public sealed class LocationScheme : SchemeBase, ILocationScheme { /// <summary> /// Характеристики секторов по уровн...
30.368421
73
0.627383
[ "MIT" ]
kreghek/Zilon_Roguelike
Zilon.Core/Zilon.Core/Schemes/LocationScheme.cs
666
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> A copy activity Teradata source. </summary> public partial class Teradat...
60.808511
408
0.683345
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/TeradataSource.cs
2,858
C#
//using System.IO; //using System.Numerics; //using static GameEstate.EstateDebug; //namespace GameEstate.Cry.Formats.Models //{ // /// <summary> // /// BONETOWORLD contains the world space location/rotation of a bone. // /// </summary> // public struct BONETOWORLD // { // public floa...
35.87931
117
0.483421
[ "MIT" ]
bclnet/GameEstate
src/Estates/Cry/GameEstate.Cry/Formats/Unused/BONETOWORLD.cs
2,083
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; namespace DaleranGames.UI { public class FocusPanel : MonoBehaviour, IPointerDownHandler { private RectTransform panel; void Awake() { panel = GetComponent<RectTransform>(); } public...
18.652174
64
0.620047
[ "MIT" ]
Daleran-Games/adelaides-ph
Assets/DalLib/UI/Scripts/FocusPanel.cs
431
C#
namespace ClassLib101 { public class Class020 { public static string Property => "ClassLib101"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib101/Class020.cs
120
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
36.466667
145
0.634369
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Graphics/FillMode.cs
1,094
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Ordering.Application.Contracts.infrastructure; using Ordering.Application.Contracts.Persistence; using Ordering.Application.Models; using Ordering.Infrastructure.Mail; using Ordering.Inf...
38.6
130
0.761658
[ "MIT" ]
agungtri/AspnetMicroservices
src/Services/Ordering/Ordering.Infrastructure/InfrastructureServiceRegistration.cs
1,160
C#
using kevincastejon.unity; using UnityEngine; using Event = kevincastejon.Event; namespace EventManagerExample { public class Example : MonoBehaviour { public EventDispatcher Dispatcher; private bool Dispatched = false; // Start is called before the first frame update void Star...
23.03125
75
0.550882
[ "MIT" ]
kevincastejon/cs-event-manager-for-unity
Assets/EventManagerForUnity/Scripts/Example.cs
739
C#
var greeter = new HelloWorldApp.Common.Greeter(); Console.WriteLine(greeter.Greet());
29.666667
51
0.752809
[ "MIT" ]
azurevoodoo/NDCOslo2021
src/HelloWorldApp.Tool/Program.cs
91
C#
#if !(UNITY_WSA_10_0 && NETFX_CORE) using RootSystem = System; using System.Linq; using System.Collections.Generic; namespace Windows.Kinect { // // Windows.Kinect.Appearance // public enum Appearance : int { WearingGlasses =0, } } #endif
17.529412
52
0.600671
[ "Apache-2.0" ]
0toN/FruitNinja-with-Kinect
Assets/Standard Assets/Windows/Kinect/Appearance.cs
298
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("Xm...
38.621622
84
0.750875
[ "MIT" ]
JYang17/SampleCode
Samples/XmlTextWriter_Demo2/XmlTextWriter_Demo2/Properties/AssemblyInfo.cs
1,432
C#
// // Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace nanoFramework.Tools.MetadataProcessor.Te...
34.4375
233
0.574281
[ "MIT" ]
Eclo/metadata-processor
MetadataProcessor.Tests/Core/Tables/nanoAssemblyReferenceTableTests.cs
3,859
C#
// Copyright (c) ServiceStack, Inc. All Rights Reserved. // License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt using System.IO; using ServiceStack.Text; namespace ServiceStack.ProtoBuf { public static class ProtoBufExtensions { public static byte[] ToProtoBuf<T>(th...
28.733333
80
0.539443
[ "Apache-2.0" ]
BruceCowan-AI/ServiceStack
src/ServiceStack.ProtoBuf/ProtoBufExtensions.cs
835
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// MemberResource /// </summary> using Newtonsoft.Json; using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Clients; using Twilio.Converters; using Twilio.Exception...
45.871429
163
0.530092
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberResource.cs
25,688
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("Te...
37.972973
84
0.745196
[ "MIT" ]
FatihSahin/test-flask
TestFlask.Models/Properties/AssemblyInfo.cs
1,408
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Moq; using TwitterStats.API.Controllers; using TwitterStats.API.DTO; using TwitterStats.API.Models; using TwitterStats.API.Repository; using Xunit; namespace TwitterStats.UnitTest { /* * In the interest of ti...
32.953488
111
0.609033
[ "MIT" ]
deinman/TwitterStreamDemo
TwitterStats.UnitTest/InfoApiTest.cs
2,834
C#
using Newtonsoft.Json; using System.Net; using System.Net.Http; using System.Text; namespace Library.Business { public class ActionResponse<T> where T : class, new() { public HttpResponseMessage CreateResponse(BResult<T> result) { var response = new HttpResponseMessage()...
32.209302
122
0.575451
[ "MIT" ]
bschreder/Calculator
Library/Business/ActionResponse.cs
1,387
C#
using AdaptiveRoads.Manager; using AdaptiveRoads.Patches.Lane; using ICities; using KianCommons; using System.Diagnostics; namespace AdaptiveRoads.LifeCycle { public class ThreadingExtensions : ThreadingExtensionBase { public override void OnAfterSimulationTick() { base.OnBeforeSimulationTick()...
31.390244
102
0.620824
[ "MIT" ]
kianzarrin/AdaptiveNetworks
AdaptiveRoads/LifeCycle/ThreadingExtensions.cs
1,287
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.iOS.DOM { /// <summary> /// Marks last undoable state. /// </summary> [Command(ProtocolName.DOM.MarkUndoableState)] [SupportedBy("iOS")] public class MarkUndoableStateCommand { ...
20.3125
52
0.763077
[ "MIT" ]
vadik007/ChromeDevTools
source/ChromeDevTools/Protocol/iOS/DOM/MarkUndoableStateCommand.cs
325
C#
using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; using Vostok.Applications.AspNetCore.Builders; using Vostok.Applications.AspNetCore.Diagnostics; using Vostok.Applications.AspNetCore.Tests.Extensions; using Vostok.Clusterclient.Core.Model; using Vostok.Hosting.Abstractions; using Vostok.Log...
37.41573
154
0.685886
[ "MIT" ]
vostok/hosting.aspnetcore
Vostok.Applications.AspNetCore.Tests/Tests/DiagnosticApiMiddlewareTests.cs
3,332
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace starsky.foundation.database.Migrations { public partial class importdatabase : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Im...
33.030303
76
0.531193
[ "MIT" ]
qdraw/starsky
starsky/starsky.foundation.database/Migrations/20180419182654_importdatabase.cs
1,092
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/d2d1effects.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
32.285714
145
0.732301
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d2d1effects/D2D1_TILE_PROP.cs
454
C#
using System; namespace lab_02_class { class Program { static void Main() { var dog1 = new Dog(); //This is an instance of a class dog1.Age = 10; dog1.Height = 50; dog1.Name = "Bob"; //Console.WriteLine("Hello World!"); ...
23.028571
118
0.485112
[ "MIT" ]
SamRibes/2019-09-c-sharp-labs
labs/lab_02_class/Program.cs
808
C#
using System; namespace Mem.Core.Moderator { public class WorldHandler : IWorldHandler { private readonly IWorldKeeper worldKeeper; private readonly IAreaLoader areaLoader; private readonly IMudLogger log; private bool isInitialResetPerformed; public WorldHandler(IWor...
29.418605
99
0.588933
[ "Unlicense" ]
jurishev/memento
server/Mem.Core.Moderator/WorldHandler.cs
1,267
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.DotNet.Interactive.Commands; using Microsoft.DotNet.Interactive.Events; namespace Microsoft.DotNet.Interactive.Co...
33.413793
101
0.675955
[ "MIT" ]
AngleQian/interactive
src/Microsoft.DotNet.Interactive/Connection/CommandOrEvent.cs
971
C#
namespace EA.Weee.Email.Tests.Unit.EventHandlers.OrganisationUserRequest { using EA.Weee.Domain.Events; using EA.Weee.Domain.Organisation; using EA.Weee.Email.EventHandlers; using FakeItEasy; using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; ...
37.633333
157
0.706377
[ "Unlicense" ]
DEFRA/prsd-weee
src/EA.Weee.Email.Tests.Unit/EventHandlers/OrganisationUserRequest/OrganisationUserRequestCompletedEventHandlerTests.cs
2,260
C#
using System; using Xunit; using Sample.MergeKSortedLs; namespace Sample.Tests{ public class UnitTest_MergeKSortedLs{ [Theory] [InlineData(0,0)] public void checkResult(int n,int expected){ Assert.Equal(expected,mergeKSortedLs.naive(n)); } } }
21.214286
59
0.649832
[ "MIT" ]
zcemycl/algoTest
cs/sample/Sample.Tests/MergeKSortedLs/testMergeKSortedLs.cs
297
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SparkBallGame { public class DoubleMultiplayer : PowerUp { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update(...
16.666667
56
0.591429
[ "MIT" ]
MohamedAtres-Dev/SparkMan
Assets/Scripts/Collectables/PowerUpTypes/DoubleMultiplayer.cs
350
C#
using Microsoft.Bot.Builder; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ai.pdm.bot.models { public class AIPDMContext : TurnContextWrapper { /// <summary> /// AlarmBot recognized Intents for the incoming activity /// </sum...
24.818182
111
0.659341
[ "MIT" ]
Nepomuceno/ai-pdm
ai.pdm.bot/models/AIPDMContext.cs
548
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Edgee.Api.VutbuCore.DataLayer { public class User { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UserId { get; set; } ...
28.206897
61
0.629584
[ "MIT" ]
edgeetech/Edgee-Currency-Api
Edgee.Api.VutbuCore/DataLayer/User.cs
820
C#
// <copyright file="WarpInfo.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.DataModel.Configuration { /// <summary> /// Defines a warp list entry. /// </summary> /// <remarks> ///...
29.47619
119
0.560582
[ "MIT" ]
sven-n/OpenMU
src/DataModel/Configuration/WarpInfo.cs
1,240
C#
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Yu5h1Tools.WPFExtension { public static class MouseEventUtility { public static Point previouseDragPoint; /// <summary> /// /// </summary> /// <typeparam name="T"><...
33.033333
95
0.4778
[ "MIT" ]
Yu5h1/WPFExtension
Yu5h1Tools.WPFExtension/MouseEventUtility.cs
1,984
C#
using System; namespace NuGet.Frameworks { /// <summary> /// Internal cache key used to store framework compatibility. /// </summary> internal class CompatibilityCacheKey : IEquatable<CompatibilityCacheKey> { public NuGetFramework Target { get; } public NuGetFramework Candidate { g...
26.086957
86
0.541667
[ "Apache-2.0" ]
StephenCleary/NuGet.Client
src/NuGet.Core/NuGet.Frameworks/CompatibilityCacheKey.cs
1,802
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Search.Documents.Indexes; namespace Azure.Search.Documents.Perf.Infrastructure { /// <summary> /// Address. /// </summary> public sealed class Address { /// <summary> /// St...
28.181818
85
0.569355
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/search/Azure.Search.Documents/perf/Azure.Search.Documents.Perf/Infrastructure/Address.cs
1,242
C#
using Bot.BotLists.Interfaces.Services; using Bot.BotLists.Services; using Bot.Discord; using Bot.Discord.Configurations; using Bot.Discord.Handlers; using Bot.Discord.Handlers.CommandHandlers; using Bot.Discord.Services; using Bot.Discord.Timers; using Bot.Interfaces; using Bot.Interfaces.Discord; using Bot.Interface...
42.217391
123
0.705458
[ "MIT" ]
Baaaliiint/Music-commands
Bot/Unity.cs
3,886
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
38.128205
197
0.64694
[ "Apache-2.0" ]
stevesloka/pulumi-docker
sdk/dotnet/Outputs/ServiceTaskSpec.cs
2,974
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using leaderboardAPI.Models; namespace leaderboardAPI.Migrations { [DbContext(typeof(PlayerCon...
28.878049
75
0.598818
[ "MIT" ]
Aimene-BAHRI/Hacktober-2019
APIs/TodoAPI/TodoAPI/Migrations/20190626110327_adding avatarId for player.Designer.cs
1,186
C#
using System; namespace EventBus { public class Class1 { } }
8.333333
23
0.6
[ "MIT" ]
rodrigoarias12/BlockchainMessageEvent
BuildingBlocks/EventBus/Class1.cs
77
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if false || false || false || false || false || false || false #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public enum ...
41.684211
92
0.762626
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/SnapPointsType.cs
792
C#
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Blade.Util { /// <summary> /// 任务队列 /// </summary> public class TaskQueue { #region 构造函数 /// <summary> /// 默认队列 /// 注:默认间隔时间1ms /// </summary>...
23.898876
91
0.432534
[ "MIT" ]
lypcore/Blade.Admin
src/Blade.Util/ClassLibrary/TaskQeury.cs
2,233
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated May 1, 2019. Replaces all prior versions. * * Copyright (c) 2013-2019, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivat...
41.515464
288
0.705488
[ "MIT" ]
duckbossa/unity-mecanim-spine
spine-mecanim/Assets/Spine Examples/Scripts/Sample Components/SkeletonAnimationFixedTimestep.cs
4,027
C#
using System; using System.Collections.Generic; using System.Text; namespace Sero.Mapper.Tests { internal class DestModel { public int IdSrc { get; set; } public string NameSrc { get; set; } public string DescriptionSrc { get; set; } public DestModel() { } public DestM...
22.181818
65
0.579918
[ "MIT" ]
Agnael/Sero.Mapper
Sero.Mapper.UnitTests/TestInfrastructure/Models/DestModel.cs
490
C#
namespace OctoTorrent.Client.Messages.Standard { using System.Text; public class RequestMessage : PeerMessage { private const int MessageLength = 13; internal const int MaxSize = 65536 + 64; internal const int MinSize = 4096; internal const byte MessageId = 6; #reg...
27.760417
102
0.562852
[ "BSD-3-Clause" ]
bietiekay/sonos-podcast-service
Libraries/OctoTorrent/OctoTorrent/Client/Messages/StandardMessages/RequestMessage.cs
2,665
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.Text; using Roslyn.Utilities; namesp...
40.698113
161
0.658785
[ "Apache-2.0" ]
0x53A/roslyn
src/Workspaces/Core/Portable/SymbolId/SymbolKey.TypeParameterSymbolKey.cs
2,159
C#
using Expressway.Contracts.Repository; using Expressway.Database.Context; using Expressway.Infrastructure.GenericRepository; using Expressway.Model.Domain; using Expressway.Utility.Enums; using System; using System.Collections.Generic; using System.Text; namespace Expressway.Repository.Core { public class UserRep...
26.714286
81
0.768271
[ "MIT" ]
gambheera/expressway
Expressway.Repository/Core/UserRepository.cs
563
C#
using System.Linq; using Autofac; using JoinRpg.Common.EmailSending.Impl; using JoinRpg.Dal.Impl; using JoinRpg.Services.Email; using JoinRpg.Services.Export; using JoinRpg.Services.Impl; using JoinRpg.Services.Interfaces; using JoinRpg.Services.Interfaces.Email; using JoinRpg.Services.Interfaces.Notification; namespa...
38.725
127
0.692705
[ "MIT" ]
andy-krivtsov/joinrpg-net
src/JoinRpg.DI/JoinrpgMainModule.cs
1,549
C#
using System.Web; using System.Web.Mvc; namespace ASPNET.Plugin.Master { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
20.923077
80
0.661765
[ "MIT" ]
Oobert/ASP.NET-MVC-Plugins
ASPNET.Plugin.Master/App_Start/FilterConfig.cs
274
C#