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; using System.Collections.Generic; namespace Problem2.Vapor_Store { class VaporStore { static void Main(string[] args) { Dictionary<string, decimal> gamesByPrice = new Dictionary<string, decimal>(); FillDictionary(gamesByPrice); decimal moneyA...
28.985507
127
0.4845
[ "MIT" ]
Supbads/Softuni-Education
07 ProgrammingFundamentals 05.17/03. CSharp-Basics-More-Exercises/Problem2. Vapor Store/VaporStore.cs
2,002
C#
//----------------------------------------------------------------------- // <copyright file="BlobDataRepository.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation 2011. All rights reserved. // </copyright> //----------------------------------------------------------------------- using Sy...
34.887661
144
0.543391
[ "MIT" ]
wizard01/Emerald-server-web-server
WWTMVC5/Repositories/BlobDataRepository.cs
18,946
C#
// Copyright 2016-2019, Pulumi Corporation using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Google.Protobuf; using Pulumirpc; namespace Pulumi { public partial class Deployment { void IDeploymentInternal.RegisterResourceOutputs(Resource resource, Output<IDictio...
42.954545
132
0.664021
[ "Apache-2.0" ]
6a6f6a6f/pulumi
sdk/dotnet/Pulumi/Deployment/Deployment_RegisterResourceOutputs.cs
1,892
C#
using System.Collections; using System.Collections.Generic; using TUF.Core; using UnityEngine; namespace TUF.Combat.Danmaku { [System.Serializable] public struct DanmakuConfig { public Transform startPoint; public Vector3 position; public Vector3 rotation; public Range3 spe...
26.21875
77
0.574493
[ "MIT" ]
christides11/touhou-unlimited-fantasies
Assets/_Project/Scripts/Combat/Danmaku/DanmakuConfig.cs
841
C#
using System; using System.Threading; using System.Threading.Tasks; namespace Foundatio.AsyncEx { /// <summary> /// Provides extension methods for the <see cref="Task"/> and <see cref="Task{T}"/> types. /// </summary> public static class TaskExtensions { /// <summary> /// Asynchrono...
43.4
120
0.653802
[ "Apache-2.0" ]
Leon99/Foundatio
src/Foundatio/Nito.AsyncEx.Tasks/TaskExtensions.cs
1,736
C#
 using System; using System.Collections.Generic; using Terraria; using Terraria.ID; using Terraria.GameContent.Creative; using Terraria.ModLoader; namespace GoldensMisc.Items.Weapons { public class DiamondStaff : ModItem { public override bool IsLoadingEnabled (Mod mod) { return ModContent.GetInstance<Server...
22.648148
81
0.703189
[ "MIT" ]
Pop000100/Miscellania
Items/Weapons/DiamondStaff.cs
1,225
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Runtime.Serialization; using System.Text.RegularExpressions; using Newtonsoft.Json; namespace SourceExpander { public class ExpandConfig { public ExpandConfig() : this( ...
40.94382
165
0.608397
[ "MIT" ]
naminodarie/SourceExpander
Source/SourceExpander.Generator/ExpandConfig.cs
3,646
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.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetC...
42.866242
119
0.510253
[ "Apache-2.0" ]
06b/AspNetCore
src/Middleware/Localization/test/UnitTests/AcceptLanguageHeaderRequestCultureProviderTest.cs
6,730
C#
namespace NEventSocket.Tests.Sockets { using System; using System.Net.Sockets; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NEventSocket; using NEventSocket.Logging; using NEventSocket.Tests.Fakes; using NEventSocket.Tests.TestSupport; using Xunit; ...
30.2607
119
0.506622
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Josbleuet/NEventSocket
NEventSocket.Tests/Sockets/OutboundListenerTests.cs
7,779
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WebApi.Entities; using WebApi.Models; using WebApi.Services; namespace WebApi.Controllers { //[Authorize] [ApiController] [Route("[controller]")] public class LoginController : ControllerBase { pri...
30.018182
90
0.571169
[ "MIT" ]
sganis/dotnet-jwt
dotnet-jwt-login/Controllers/LoginController.cs
1,653
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Concurrent; using System.Collections.Generic; using Microsoft.Data.SqlClient; using System.Diagnostics; using System.Linq; ...
33.410112
108
0.492265
[ "MIT" ]
Bhaskers-Blu-Org2/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/Profiler/ProfilerSessionMonitor.cs
11,894
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 STRESS using System; using System.Reactive.Disposables; using System.Reflection; using System.Threading; name...
30.298701
146
0.484355
[ "MIT" ]
00mjk/reactive
Rx.NET/Source/tests/Tests.System.Reactive/Stress/Core/Disposables/SingleAssignment.cs
2,335
C#
//----------------------------------------------------------------------------- // Filename: Program.cs // // Description: An example program of how to use the SIPSorcery core library to // place a SIP call and then place it on and off hold as well as demonstrate how // a blind transfer can be initiated. // //...
47.728435
198
0.497423
[ "BSD-3-Clause" ]
Yitzchok/sipsorcery
examples/SIPExamples/CallHoldAndTransfer/Program.cs
14,941
C#
// Generated by Haxe 4.1.3 #pragma warning disable 109, 114, 219, 429, 168, 162 namespace haxe.ds { public class BalancedTree<K, V> : global::haxe.lang.HxObject, global::haxe.ds.BalancedTree, global::haxe.IMap<K, V> { public BalancedTree(global::haxe.lang.EmptyObject empty) { } public BalancedTree() { ...
28.613383
414
0.592504
[ "MIT" ]
NNNIC/haxe-test
test_1/m7_msbuild/TestApp/TestDll/src/src/haxe/ds/BalancedTree.cs
15,394
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 * "Licen...
36.566038
107
0.574303
[ "Apache-2.0" ]
Anomalous-Software/Lucene.NET
src/contrib/Analyzers/Th/ThaiWordFilter.cs
3,876
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.75
46
0.70936
[ "MIT" ]
DynamoDS/DeveloperWorkshop
2018/Developer/CBW227911 - Control Dynamo from the Web/Exercises/HelloDynamo/8-Hello-UI/HelloDynamo/Stats/StatsWindow.xaml.cs
611
C#
#if NETFX_CORE && !WinRT #define WinRT #endif namespace Caliburn.Micro { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; /// <summary> /// Generic extension methods used by the framework. /// </summary> pub...
38.697183
176
0.628207
[ "Apache-2.0" ]
alexmg/IocPerformance
IocPerformance/Caliburn.Micro/ExtensionMethods.cs
5,497
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2021 @Olivier Lefebvre using System; using MongoDB.Driver; using MongoDB.Driver.Linq; namespace Aguacongas.IdentityServer.KeysRotation.MongoDb { public class MongoCollectionWrapper<TKey> where TKey : IXmlKey { public IMongoCollection<TKey> ...
30.821429
105
0.691773
[ "Apache-2.0" ]
Aguafrommars/TheIdServer
src/IdentityServer/Aguacongas.IdentityServer.KeysRotation/MongoDb/MongoDatabaseWrapper.cs
865
C#
using Neo.SmartContract.Framework; using Neo.SmartContract.Framework.Services.Neo; using Neo.SmartContract.Framework.Services.System; using System; using System.Numerics; using System.ComponentModel; namespace SC1prosumer { public class Prosumer : SmartContract { // token is the energy, 1 token = 1 kw...
37.890625
196
0.521856
[ "MIT" ]
jinhu94/NeoEvePlus
SC1prosumer/SC1prosumer/Prosumer.cs
4,852
C#
using Autofac; using Microsoft.eShopOnContainers.BuildingBlocks.EventBus; using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions; using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Polly; using P...
36.797468
125
0.549249
[ "MIT" ]
07101994/eShopOnContainers
src/BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.cs
8,723
C#
using System; using System.Collections.Generic; using System.Linq; using SemVer; namespace Tests.Framework { public class SkipVersionAttribute : Attribute { public IList<Range> Ranges { get; } public SkipVersionAttribute(string skipVersionRangesSeparatedByComma, string reason) { this.Ranges = skipVersionRa...
20.35
86
0.739558
[ "Apache-2.0" ]
BedeGaming/elasticsearch-net
src/Tests/Framework/XUnitPlumbing/SkipVersionAttribute.cs
407
C#
using System; using System.IO; namespace Dm { public class DmBLobStream : Stream { private DmBlob m_BLob; private bool m_CanRead = true; private bool m_CanSeek = true; private bool m_CanTimeOut = true; private bool m_CanWrite = true; private bool m_Closed; private long m_CurPos = 1L; private i...
15.884817
79
0.623599
[ "MIT" ]
dmdbms/DmProvider
src/DmProvider/Dm/DmBLobStream.cs
3,034
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Injectify")] namespace Injectify.Abstractions { /// <summary> /// Annotates class for injecting members. /// </summary> internal interface IInjectable { /// <summary> /// Bootstrap class members marked using Inj...
35.818182
148
0.675127
[ "MIT" ]
vladhrapov/injectify
packages/Injectify.Abstractions/Injectify.Abstractions/IInjectable.cs
790
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReliefLib { public class ReliefConsistent : Relief { protected override int GetProcessedIndex(Random r, int i) { return i; } } }
16.421053
59
0.75641
[ "MIT" ]
jakubsenk/ReliefTool
Relief/ReliefConsistent.cs
314
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. ////////////////////////////////////////////////////////////////////// // This file contains parts of the testing harness. // You should not modify anything in this file. // The tasks themselves can be found in Tasks.qs fi...
33.604651
88
0.561938
[ "MIT" ]
0AdityaD/QuantumKatas
CHSHGame/TestSuiteRunner.cs
1,447
C#
using System; using System.Management.Automation; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base.PipeBinds; using File = System.IO.File; namespace SharePointPnP.PowerShell.Commands.Site { [Cmdlet(VerbsLifecycle.Install, "PnPSolu...
42.045455
249
0.687568
[ "MIT" ]
Ashikpaul/PnP-PowerShell
Commands/Site/InstallSolution.cs
1,852
C#
using System.Security.Claims; using System; namespace Notes.Extensions { public static class ClaimsPrincipalExtensions { /// <summary> /// Extract username from principal. /// </summary> /// <param name="principal">The principal.</param> /// <returns>The username.</returns> public static string GetUserNa...
25.852941
66
0.704209
[ "MIT" ]
virtualdreams/notes-core
src/Notes/Extensions/ClaimsPrincipalExtensions.cs
879
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; [RequireComponent(typeof(UIDocument))] public class MenuLogic : MonoBehaviour { UIDocument _menuDocument; VisualElement _root; public GameOfLife gameOfLife; public GameOfLifeEditor gameOfLifeEdi...
28
83
0.613818
[ "MIT" ]
Peter226/GPUGameOfLife
Assets/Scripts/MenuLogic.cs
2,996
C#
using System; using System.Collections.Generic; using System.Diagnostics; using Common.Logging; namespace Rhino.Queues.Monitoring { public class InboundPerfomanceCounters : IInboundPerfomanceCounters { private readonly string instanceName; public const string CATEGORY = "Rhino-Queues Inbound";...
36.967213
223
0.622616
[ "BSD-3-Clause" ]
hibernating-rhinos/rhino-queues
Rhino.Queues/Monitoring/InboundPerfomanceCounters.cs
2,257
C#
using System.Collections; using System.Collections.Generic; using TerrainComposer2; using UnityEngine; using UnityEngine.Networking; [ExecuteInEditMode] public class RandomizeNode : MonoBehaviour { [Header("SEED")] public int addSeed = 0; [Header("RANDOM POSITION")] public bool useTerrainAreaBounds ...
28.060976
99
0.66319
[ "MIT" ]
MelDv/DistributedShooter
Assets/TerrainComposer2/Scripts/Runtime/RandomizeNode.cs
2,303
C#
#region Copyright /* * Copyright (C) 2018 Larry Lopez * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, mo...
38.411765
124
0.649923
[ "MIT" ]
namralkeeg/kettle.net
src/Kettle/Collections/Trees/Common/IBinaryTree.cs
3,267
C#
// PreprocessorControlLine.cs // Script#/Core/Compiler // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; namespace ScriptSharp.Parser { // #error/#warning internal sealed class PreprocessorControlLine : PreprocessorLine { private string _mess...
22.259259
90
0.617304
[ "Apache-2.0" ]
AmanArnold/dsharp
src/Core/Compiler/Parser/PreprocessorControlLine.cs
601
C#
using System; namespace MigrationTools.Enrichers { public class PauseAfterEachItemOptions : ProcessorEnricherOptions { public override Type ToConfigure => typeof(PauseAfterEachItem); public override void SetDefaults() { Enabled = true; } } }
21.428571
71
0.653333
[ "MIT" ]
ACoderLife/azure-devops-migration-tools
src/MigrationTools/ProcessorEnrichers/PauseAfterEachItemOptions.cs
302
C#
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// The connection type for Commit. /// </summary> public class CommitConnection : Queryabl...
30.222222
112
0.6125
[ "MIT" ]
0xced/octokit.graphql.net
Octokit.GraphQL/Model/CommitConnection.cs
1,360
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 NuGet.Test.Utility; using Xunit; namespace NuGet.Protocol.Plugins.Tests { public class EmbeddedSignatureVerifierTests { [Platform...
33.285714
111
0.706438
[ "Apache-2.0" ]
BdDsl/NuGet.Client
test/NuGet.Core.Tests/NuGet.Protocol.Tests/Plugins/EmbeddedSignatureVerifierTests.cs
1,165
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace StuffPacker.Persistence.Migrations { public partial class addProductGroup : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Produ...
31.3125
71
0.532934
[ "MIT" ]
StuffPacker/StuffPacker
src/Site/StuffPacker.Persistence/Migrations/20200115170738_addProductGroup.cs
1,004
C#
using Loogn.OrmLite; namespace HttpQuartz.Server.dao.Models { /// <summary> /// /// </summary> public partial class SystemRole { [OrmLiteField(IsPrimaryKey = true, InsertIgnore = true)] public long Id { get; set; } /// <summary> /// 角色名称 /// </summary> ...
17.47619
64
0.531335
[ "MIT" ]
loogn/httpquartz
src/HttpQuartz.Server/dao/Models/SystemRole.cs
375
C#
namespace MattermostBot.ArtifactoryClient { public class WhereRepository : IWhereRepository { private readonly SearchQueryBuilder _query; public WhereRepository(SearchQueryBuilder query) { _query = query; } public ISearchQueryBuilder Equal(string value) ...
23.5
73
0.523154
[ "MIT" ]
ponomNikita/MattermostBot
src/MattermostBot.ArtifactoryClient/WhereRepository.cs
799
C#
using System; using System.Collections.Immutable; using Rocket.Libraries.TaskRunner.Schedules; using Rocket.Libraries.TaskRunner.TaskDefinitions; namespace Rocket.Libraries.TaskRunner.Runner { public interface IDueTasksFilter<TIdentifier> : IDisposable { ImmutableList<ITaskDefinition<TIdentifier>> Get...
37.833333
181
0.817181
[ "MIT" ]
rocket-libs/Rocket.Libraries.TaskRunner
Rocket.Libraries.TaskRunner/Runner/IDueTasksFilter.cs
456
C#
using AutoMapper; using Microsoft.EntityFrameworkCore; using FashionNova.WebAPI.Database; using FashionNova.WebAPI.Services; using System; using System.Collections.Generic; using System.Linq; namespace FashionNova.WebAPI.Service { public class RecommenderService : IRecommender { protected readonly Fas...
37.938967
162
0.469373
[ "MIT" ]
nukicbelma/FashionNova
FashionNova/FashionNova/Services/RecommenderService.cs
8,083
C#
using FreeCourse.Services.Order.Domain.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FreeCourse.Services.Order.Domain.OrderAggregate { public class Address : ValueObject { public string Province { get; private set; }...
26.75
100
0.614019
[ "MIT" ]
ardansisman/MicroserviceWorkshop
Services/Order/FreeCourse.Services.Order.Domain/OrderAggregate/Address.cs
1,072
C#
using PipServices3.Commons.Config; using PipServices3.Commons.Refer; using System.Collections.Generic; using System.Threading.Tasks; namespace PipServices3.Components.Auth { /// <summary> /// Credential store that keeps credentials in memory. /// /// ### Configuration parameters ### /// /// ...
35.691667
112
0.569227
[ "MIT" ]
pip-services-dotnet/pip-services-components-dotnet
src/Auth/MemoryCredentialStore.cs
4,285
C#
using System.Reflection; 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("AWSSDK.S3Outposts")] [assembly: AssemblyDe...
47.625
260
0.752625
[ "Apache-2.0" ]
bgrainger/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/S3Outposts/Properties/AssemblyInfo.cs
1,524
C#
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software withou...
44.551724
138
0.68305
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/WCFDataService/Client/System/Data/Services/Client/OpenObjectAttribute.cs
2,584
C#
 namespace iPhoneTools { public static class MbdbEntryConverter { public static ManifestEntry ConvertToManifestEntry(this MbdbEntry item, ManifestEntryType includeType, bool isEncrypted) { ManifestEntry result = default; var entryType = CommonHelpers.GetManifestEntryTyp...
29.181818
128
0.508827
[ "MIT" ]
jim-dale/iPhoneTools
src/iPhoneTools/Services/MbdbEntryConverter.cs
965
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace BrowserVersions.Data.Migrations { public partial class Add_SeedData : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "Browsers", ...
33.078947
71
0.470432
[ "MIT" ]
curtisy1/BrowserVersions
BrowserVersions.Data/Migrations/20210607204936_Add_SeedData.cs
3,773
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...
39.361111
453
0.681016
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Batch/V20200901/Outputs/CloudServiceConfigurationResponse.cs
1,417
C#
using System; using Scribe.Interpreter.BluePrints; using Scribe.Interpreter.BluePrints.Attributes; using Scribe.Interpreter.BluePrints.Interfaces; namespace Scribe.Interpreter.Core.Type.U { [Keyword(Words = new []{"u08"})] public class U08 : ValueType<ushort> { private ushort _value; publi...
29.411765
99
0.565
[ "MIT" ]
thelazurite-cell/ScribeLang
src/ScribeLang.Interpreter/Scribe.Interpreter.Core/Type/U/U08.cs
1,000
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.Resources; using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to ...
40.235294
77
0.785088
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Diagnostics.Process/tests/Properties/AssemblyInfo.cs
684
C#
using ImageWizard.Core.ImageFilters.Base; using ImageWizard.Core.ImageFilters.Base.Attributes; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; name...
25.444444
96
0.727802
[ "MIT" ]
usercode/ImageWizard
src/ImageWizard.SvgNet/Filters/Base/SvgFilterAction.cs
689
C#
#region --- License --- /* Copyright (c) 2006, 2007 Stefanos Apostolopoulos * See license.txt for license info */ #endregion using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace Bind { [Serializable] ...
46.85
160
0.610653
[ "BSD-3-Clause" ]
daerogami/opentk
src/Generator.Bind/Settings.cs
10,307
C#
/** * This file is part of the Drift Unreal Engine Integration. * * Copyright (C) 2016-2017 Directive Games Limited. All Rights Reserved. * * Licensed under the MIT License (the "License"); * * You may not use this file except in compliance with the License. * You may obtain a copy of the license in the LICENSE file fo...
25.090909
77
0.616848
[ "MIT" ]
directivegames/DriftUE4Base
ErrorReporter/ErrorReporter.Build.cs
1,104
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hkaRagdollInstance : hkReferencedObject { public override uint Signature { get => 1414067300; } public List<hkpRigidBody> m_rigidBodies; public List<hkpConstraintI...
36.057143
81
0.661648
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hkaRagdollInstance.cs
1,262
C#
namespace Model.Domain.MachineData.Press { public class PressMachineData : MachineDataBase { public PaperData PaperConsumption { get; set; } } }
20.75
55
0.692771
[ "MIT" ]
killnine/MapperSample
src/Model/Domain/MachineData/Press/PressMachineData.cs
168
C#
/** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/fee/blob/master/LICENSE.txt * @brief デプス。コンフィグ。 */ /** Fee.Depth */ namespace Fee.Depth { /** Config */ public class Config { /** ログ。 */ public static bool LOG_ENABLE = false; /** ログエラー。 */ public st...
16.347826
89
0.666223
[ "MIT" ]
bluebackblue/fee
Script/Depth/Config.cs
856
C#
using Krona.Cryptography.ECC; using Krona.IO.Caching; using Krona.IO.Data.LevelDB; using Krona.IO.Wrappers; using Krona.Ledger; using System; using System.Reflection; namespace Krona.Persistence.LevelDB { public class LevelDBStore : Store, IDisposable { private readonly DB db; public LevelDBS...
36.25
202
0.624544
[ "MIT" ]
krona-project/krona
krona-core/Persistence/LevelDB/LevelDBStore.cs
4,932
C#
using System; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; //namespace UnityStandardAssets.Characters.ThirdPerson //{ [RequireComponent(typeof(ThirdPersonCharacterOwn))] public class ThirdPersonUserControlOwn : MonoBehaviour { private ThirdPersonCharacterOwn m_Character; // A reference to the T...
34.394737
153
0.629686
[ "MIT" ]
Miceroy/GGJ2019
GGJ2019/Assets/Scripts/ThirdPerson/ThirdPersonUserControlOwn.cs
2,614
C#
//@#$&+ // //The MIT X11 License // //Copyright (c) 2010 - 2019 Icucom Corporation // //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitatio...
35.361111
153
0.646504
[ "MIT" ]
Platform-Agile-Software/PAF-Community
OptionalLibraries/PAF.MVC/Animation/AnimationHelpersAndExtensions.cs
3,821
C#
using GitLabApiClient.Internal.Utilities; using Newtonsoft.Json; namespace GitLabApiClient.Models.Webhooks.Requests { /// <summary> /// Used to create a webhook in a project. /// </summary> public sealed class CreateWebhookRequest { [JsonProperty("url")] public string Url { get; se...
28.157895
59
0.616199
[ "MIT" ]
dimasrespect/GitLabApiClient
src/GitLabApiClient/Models/Webhooks/Requests/CreateWebhookRequest.cs
1,607
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("RxS...
37.783784
84
0.747496
[ "MIT" ]
StanislavKhalash/learning-rx
RxSandbox/RxSandbox.Tests/Properties/AssemblyInfo.cs
1,401
C#
using System.Collections.Generic; namespace BuffettCodeCommon.Config { public static class DefaultUnitConfig { public static HashSet<string> MillionYenProperties = new HashSet<string> { "accounts_payable", "accounts_receivable", "accrual", "additional_capi...
35.195804
82
0.561494
[ "Apache-2.0" ]
BuffettCode/buffett-code-api-clinet-excel
BuffettCodeCommon/Config/DefaultUnitConfig.cs
5,033
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
22.259259
54
0.717138
[ "MIT" ]
degarashi0913/FAManagementStudio
FAManagementStudio/Views/BasePathSettingsView.xaml.cs
621
C#
using Gov.Lclb.Cllb.Interfaces; using Hangfire; using Hangfire.Console; using Hangfire.MemoryStorage; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microso...
37.155642
171
0.577128
[ "Apache-2.0" ]
ElizabethWolfe/jag-lcrb-carla-public
one-stop-service/Startup.cs
9,551
C#
namespace Perfolizer.Tool { internal static class KnowStrings { public const string ApplicationAlias = "perfolizer"; } }
20
60
0.685714
[ "MIT" ]
AndreyAkinshin/perfolizer
src/Perfolizer/Perfolizer.Tool/KnowStrings.cs
140
C#
using System; using Xamarin.Forms; using Industrious.ToDo.Forms.Pages; using Industrious.ToDo.Forms.Views; using Industrious.ToDo.ViewModels; namespace Industrious.ToDo.Forms { /// <summary> /// View builders for phone-sized devices (iPhone, Galaxy). Uses a separate page and /// push navigation for the editor w...
21.976471
86
0.698608
[ "MIT" ]
industriousone/industrious-todo
Industrious.ToDo.Forms/PhonePresentation.cs
1,870
C#
// Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. using System.Numerics; using Vortice.Mathematics; namespace Vortice; public readonly record struct VertexPositionColor(Vector3 Position, Color4 Color);
29.8
97
0.802013
[ "MIT" ]
gerhard17/Vortice.Windows
src/samples/Vortice.SampleFramework/VertexPositionColor.cs
299
C#
using System; using System.Collections.Generic; using Niue.Alipay.Response; namespace Niue.Alipay.Request { /// <summary> /// AOP API: alipay.open.public.contact.follow.batchquery /// </summary> public class AlipayOpenPublicContactFollowBatchqueryRequest : IAopRequest<AlipayOpenPublicContactFollowBatch...
23.737864
126
0.617996
[ "MIT" ]
P79N6A/abp-ant-design-pro-vue
Niue.Alipay/Request/AlipayOpenPublicContactFollowBatchqueryRequest.cs
2,445
C#
using System; namespace CodeContractNullability.Test { [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)] internal sealed class GitHubIssueAttribute : Attribute { // ReSharper disable once MemberCanBePrivate.Global // ReSharper disable once UnusedAutoPropert...
25.777778
86
0.665948
[ "Apache-2.0" ]
bkoelman/ResharperCodeContractNullability
src/CodeContractNullability/CodeContractNullability.Test/GitHubIssueAttribute.cs
466
C#
using System; using System.Threading; using Microsoft.Extensions.Logging; using Xunit.Abstractions; namespace AsyncSchedulerTest.TestUtils { public class XUnitLogger<T> : ILogger<T>, IDisposable { private readonly ITestOutputHelper _output; public XUnitLogger(ITestOutputHelper output) ...
25.742857
145
0.618202
[ "MIT" ]
Brunni/DotNetAsyncScheduler
AsyncSchedulerTest/TestUtils/XUnitLogger.cs
903
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.ComponentModel.Composition; using System.IO; using System.Threading; using System.Threadin...
39.546763
158
0.67837
[ "Apache-2.0" ]
terrajobst/aspnetcore-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/RazorLanguageServerClient.cs
5,499
C#
/* * Copyright 2003 jRPM Team * * 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 ...
27.470588
93
0.492934
[ "ECL-2.0", "Apache-2.0" ]
bastie/NetSpider
archive/codeplex/JavApi jrpm/com/jguild/jrpm/io/datatype/INT8.cs
4,670
C#
// Copyright (c) 2012-2020 VLINGO LABS. All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL // was not distributed with this file, You can obtain // one at https://mozilla.org/MPL/2.0/. using System; using System.IO; using System.Text...
26.348837
111
0.568402
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Luteceo/vlingo-all
vlingo-net-http/src/Vlingo.Http.Tests/Converter.cs
1,135
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Numerics; using System.Reflection; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using SixLabors.ImageSharp.Processing.Processors.Transforms; using SixLabors.ImageSharp.Tests.Tes...
40.38403
137
0.576217
[ "Apache-2.0" ]
CoenraadS/ImageSharp
tests/ImageSharp.Tests/Processing/Processors/Transforms/AffineTransformTests.cs
10,621
C#
using JK.GuildWars2Api.V2; using System.Collections.Generic; namespace GuildWars2Tome.Models { public class Stash { public Stash(GuildStash stash, GuildUpgrade upgrade) { this.Items = new List<StashItem>(); this.Coins = stash.Coins; this.Icon = upgrade...
27.708333
60
0.577444
[ "MIT" ]
jeremyknight-me/guildwars2tome
src/GuildWars2Tome/Models/Stash.cs
667
C#
using Prism.Events; namespace AntilopeGP.Shared.Events { public class AnalyticsEvent : PubSubEvent<AnalyticsReport> { } }
14
59
0.777778
[ "MIT" ]
Banou26/tcl-live-realtime-utils
decompiled/AntilopeGP.Shared.Events/AnalyticsEvent.cs
126
C#
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace eOnlineCarShop.ViewModels { public class UserEditVM { public int Id { get; set; } [Required] ...
25.1875
56
0.630273
[ "MIT" ]
Haris-Basic/RSI-2020
Webapp/eOnlineCarShop/ViewModels/UserEditVM.cs
808
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> //----------------------------------------...
30.5
84
0.47541
[ "Unlicense" ]
tlayson/MySC
MyUSC/Account/Login.aspx.designer.cs
1,405
C#
namespace MK6.GameKeeper.AddIns.HostView { public interface GameKeeperAddIn { void Start(); void Stop(); AddInStatus Status { get; } } }
17.4
41
0.591954
[ "MIT" ]
market6/MK6.GameKeeper
MK6.GameKeeper.AddIns.HostView/GameKeeperAddIn.cs
176
C#
// Copyright (c) 1995-2009 held by the author(s). 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 list of c...
37.101609
355
0.533674
[ "BSD-2-Clause" ]
mastertnt/open-dis-csharp
Libs/CsharpDis6/Dis1998/Generated/AggregateStatePdu.cs
43,817
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace hitmanstat.us.Migrations { public partial class RemoveStadiaFistCounter : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "H1st", ...
27.04
71
0.566568
[ "MIT" ]
hardware/hitmanstat.us.v2
hitmanstat.us/Migrations/20200902123036_RemoveStadiaFistCounter.cs
678
C#
using System.Text; using AwesomeMPlayer.Api.Data; using AwesomeMPlayer.Api.Models; using AwesomeMPlayer.Api.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Ex...
38.888889
111
0.588214
[ "MIT" ]
suxrobGM/AwesomeMPlayer
src/AwesomeMPlayer.Api/Startup.cs
2,802
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.928571
161
0.637398
[ "MIT" ]
gurry/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/WindowsMalwareInformation.cs
3,075
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Dist.Dme.Model.DTO { /// <summary> /// 模型版本新增简单DTO /// </summary> public class ModelVersionSimpleAddDTO { /// <summary> /// 模型id /// </summary> ...
21.16
45
0.561437
[ "Apache-2.0" ]
zhongshuiyuan/dme
src/Dist.Product.Dme/Dist.Dme.Model/DTO/ModelVersionSimpleAddDTO.cs
559
C#
using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.IO.Pipelines; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Text; namespace ClientSample { public class SocketSender { private readonly Socket _socket; pr...
28.970297
121
0.583732
[ "Apache-2.0" ]
FraserKillip/SignalR
samples/ClientSample/Tcp/SocketSender.cs
2,928
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...
30.487805
154
0.616
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20161201/Inputs/ApplicationGatewaySkuArgs.cs
1,250
C#
using DSharpPlus.Entities; using System; namespace sisbase.Attributes { /// <summary> /// Atribute that sets the emoji for the command group /// </summary> public class EmojiAttribute : Attribute { /// <summary> /// The emoji that will be used by the command group /// </summary> public DiscordEmoji Emoji;...
32.911765
105
0.689008
[ "MIT" ]
RORIdev/sisbase
Attributes/EmojiAttribute.cs
1,119
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("Api...
37.833333
84
0.748899
[ "MIT" ]
QuinntyneBrown/api-registry
ApiRegistry.Web/Properties/AssemblyInfo.cs
1,363
C#
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using Swashbuckle.AspNetCore.SwaggerGen; using HETSAPI.Models; using HETSAPI.Services; using HETSAPI.Authorization; namespace HETSAPI.Controllers { /// <summary> /// Equipment Type Controller /// </summary> [ResponseCache(Location = Resp...
31.436364
92
0.631579
[ "Apache-2.0" ]
rstens/hets
Server/src/HETSAPI/Controllers/EquipmentTypeController.cs
1,729
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.ResultSet { public class ColumnNameIdentifier : IColumnIdentifier, IEquatable<ColumnNameIdentifier> { public string Name { get; private set; } ...
26.153846
91
0.612745
[ "Apache-2.0" ]
TheAutomatingMrLynch/NBi
NBi.Core/ResultSet/ColumnNameIdentifier.cs
1,022
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using System.Collections; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1 { /** * Mutable class for building ASN.1 constructed objects such as SETs or SEQUENCEs. */ public class Asn1Enc...
28.061224
104
0.520182
[ "MIT" ]
Bregermann/TargetCrack
Target Crack/Assets/Best HTTP/Source/SecureProtocol/asn1/Asn1EncodableVector.cs
5,500
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Unicode; namespace GenUnicodeProp { internal static class Program { ...
47.343478
155
0.597116
[ "MIT" ]
2m0nd/runtime
src/coreclr/src/System.Private.CoreLib/Tools/GenUnicodeProp/Program.cs
10,889
C#
using Constants; using Wasm; namespace Domain { public class UrlHelper { public static string GetImagePath() => DeployedState.IsDeployed ? HttpConstant.Api_Image_Path_Deployed : HttpConstant.Api_Image_Path; } }
19.5
141
0.735043
[ "MIT" ]
pragmatic-applications/Blazor_ToDo
_XXX/Wasm/Domain/UrlHelper.cs
236
C#
using Amazon; using Amazon.Elasticsearch; using Amazon.Elasticsearch.Model; using Amazon.Runtime; namespace CloudOps.Elasticsearch { public class DescribePackagesOperation : Operation { public override string Name => "DescribePackages"; public override string Description => "Describes all pack...
35.211538
175
0.576188
[ "MIT" ]
austindimmer/AWSRetriever
CloudOps/Generated/Elasticsearch/DescribePackagesOperation.cs
1,831
C#
using System; namespace dotless.Core.Utils { using System.Collections.Generic; using Exceptions; using Parser.Infrastructure; using Parser.Infrastructure.Nodes; using dotless.Core.Parser; public static class Guard { public static void Expect(string expected, string actual, object @...
33.783505
166
0.596887
[ "MIT" ]
Kooboo/Kooboo
Kooboo.Lib/Less/Utils/Guard.cs
3,277
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.IO; using System.Linq; using System.Text; using System.Xml.Linq; using FileList = System.Collect...
36.943243
363
0.536177
[ "Apache-2.0" ]
KashishArora/Roslyn
src/Workspaces/CoreTest/SolutionGeneration.cs
13,671
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// AlipayInsSceneProductAgreementCancelModel Data Structure. /// </summary> public class AlipayInsSceneProductAgreementCancelModel : AlipayObject { /// <summary> /// 签订协议商户支付宝用户ID ...
25.551724
73
0.581646
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/AlipayInsSceneProductAgreementCancelModel.cs
779
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/wincodecsdk.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
37.326923
145
0.639361
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/wincodecsdk/IWICPersistStreamTests.cs
1,943
C#
using CleanArchitectureTemplate.Domain.Common; namespace CleanArchitectureTemplate.Domain.Entities { public class Product : AuditableBaseEntity { public string Name { get; set; } public string Barcode { get; set; } public string Description { get; set; } ...
22.875
51
0.617486
[ "MIT" ]
GheorgheVolosenco/CleanArchitectureSolutionTemplate
src/Domain/Entities/Product.cs
368
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.151899
112
0.645672
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/Model/DisassociateCustomerGatewayRequest.cs
2,461
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...
32.788321
103
0.614871
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/VoiceConnectorGroup.cs
4,492
C#