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 SFA.DAS.FindEmploymentSchemes.Contentful.Services.Roots.Base; using Xunit; namespace SFA.DAS.FindEmploymentSchemes.UnitTests.Contentful.Services.Roots.Base { public class ContentRootServiceTests { [Theory] [InlineData("\"", "“")] [InlineData("\"", "”")] [InlineData("\"\""...
31.2
93
0.588462
[ "MIT" ]
SkillsFundingAgency/das-employers-front-door
src/SFA.DAS.FindEmploymentSchemes.UnitTests/Contentful/Services/Roots/Base/ContentRootServiceTests.cs
790
C#
#if !NETSTANDARD13 /* * 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 ...
31.742857
108
0.70297
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/_bcl45+netstandard/IListTemplatesPaginator.cs
1,111
C#
// Copyright (c) MudBlazor using System; // ReSharper disable once CheckNamespace internal static class TimeSpanExtensions { public static string ToIsoString(this TimeSpan self, bool seconds = false, bool ms = false) { if (!seconds) return $"{self.Hours:D2}:{self.Minutes:D2}"; if ...
27.1875
96
0.591954
[ "MIT" ]
BananaRush/MudBlazor
src/MudBlazor/Extensions/TimeSpanExtensions.cs
872
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Utils.ObjectPooling { /// <summary> /// Class that manages generic object pooling. /// A pooler will expand when needed. /// </summary> public class Pooler : MonoBehaviour { private GameObject _pre...
28.766917
83
0.537376
[ "MIT" ]
Matteo-Moriani/HellForOne
project/Hell For One/Assets/Scripts/Utils/ObjectPooling/Pooler.cs
3,828
C#
using BuildLight.Common.Extensions; using BuildLight.Common.Models; namespace BuildLight.Common { public class SettingsService { public static Settings ReadSettings(string text) { return text.ConvertJsonTo<Settings>(); } } }
18.4
56
0.65942
[ "MIT" ]
andy-kohne/BuildLight
BuildLight.Common/SettingsService.cs
278
C#
using System; /* 4.1. Написать метод для формирования массива, целочисленные неотрицательные элементы которого вычисляются по следующему рекуррентному соотношению: ai+1 = ai%2==0 ? ai/2 :(3*ai+1). Процесс вычисления завершается, когда ai+1 станет равным 1. Параметр метода задает значение a0. Количество элементов м...
29.776316
106
0.533363
[ "MIT" ]
hse-programming-CSharp2020-2021/CSharp2020-2021
01 module/5seminar/Seminar1_05/Task04/Program.cs
2,696
C#
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Linq; using System.Windows.Forms; namespace HangMan { public partial class Form1 : Form { const int MAX_WRONG_GUESSES = 6; int incorrectGuesses = 0; // incorrect guess counter in...
39.572139
122
0.469198
[ "MIT" ]
StanTsky/HangMan
HangMan/Form1.cs
7,956
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework; using Azure.ResourceManager.Resources; using Azure.Core.TestFramework; using Azure.ResourceManager.EventHubs.Models; using...
48.486239
186
0.686471
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/ConsumerGroupTests.cs
5,287
C#
#region BSD Licence /* Copyright (c) 2013-2014, Doxense SAS 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 cond...
44.487395
126
0.727049
[ "BSD-3-Clause" ]
BedeGaming/foundationdb-dotnet-client
FoundationDB.Tests/Utils/SliceComparerFacts.cs
5,296
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
31.438202
85
0.590064
[ "Apache-2.0" ]
YuanXiaoLcx/tencentcloud-sdk-dotnet
TencentCloud/Scf/V20180416/Models/ListFunctionsRequest.cs
3,090
C#
using System.Collections.Generic; using IocPerformance.Benchmarks; namespace IocPerformance.Output { public class MultiOutput : IOutput { private readonly IEnumerable<IOutput> outputs; public MultiOutput(params IOutput[] outputs) { this.outputs = outputs; } ...
24.583333
109
0.622034
[ "Apache-2.0" ]
BalintPogatsa/IocPerformance
IocPerformance/Output/MultiOutput.cs
592
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
30.818182
85
0.4941
[ "MIT" ]
sisbas/BikUpload
BikBot/Model/DB/gorunum.cs
678
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Xunit; namespace...
36.743548
198
0.491945
[ "MIT" ]
Zheng-Xu/runtime
src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/RegexGeneratorParserTests.cs
22,781
C#
 using System; using System.Collections.Generic; using System.Globalization; using System.Text; using ADFSTK.ExternalMFA.Resources; using Microsoft.IdentityServer.Web.Authentication.External; namespace ADFSTK.ExternalMFA { internal class ExternalReefedsPresentation : IAdapterPresentationForm { private...
43.428571
160
0.664679
[ "Apache-2.0" ]
canariecaf/adfstoolkit
src/ADFSToolkitExternalMFAAdapter/Adapter/ExternalReefedsPresentation.cs
4,866
C#
// StrawberryShake.CodeGeneration.CSharp.ResultInterfaceGenerator #nullable enable namespace StrawberryShake.CodeGeneration.CSharp.Analyzers.StarWars { [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")] public interface IGetPeople_People_PersonConnection : IGetPeople_People ...
25.692308
80
0.775449
[ "MIT" ]
HonzaBejvl/hotchocolate
src/StrawberryShake/SourceGenerator/test/CodeGeneration.CSharp.Analyzers.Tests/StarWars/Generated/IGetPeople_People_PersonConnection.StarWarsClient.StrawberryShake.cs
336
C#
 using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using Unity.Editor.Tasks; using Unity.Editor.Tasks.Extensions; using Unity.Editor.Tasks.Helpers; using Unity.Editor.Tasks.Logging; using Unity.VersionControl.Gi...
40.002725
229
0.645596
[ "MIT" ]
Cdddo/Git-for-Unity
src/com.unity.git.ui/Tests/Editor/BaseTest_Shared.cs
14,683
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/ctffunc.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syste...
38.09434
145
0.716196
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/ctffunc/ITfFnGetLinguisticAlternatesTests.cs
2,021
C#
[TaskCategoryAttribute] // RVA: 0x151600 Offset: 0x151701 VA: 0x151600 [TaskDescriptionAttribute] // RVA: 0x151600 Offset: 0x151701 VA: 0x151600 public class GetEnableEmission : Action // TypeDefIndex: 11189 { // Fields [TooltipAttribute] // RVA: 0x18CA80 Offset: 0x18CB81 VA: 0x18CA80 public SharedGameObject targetG...
34.482759
73
0.749
[ "MIT" ]
SinsofSloth/RF5-global-metadata
BehaviorDesigner/Runtime/Tasks/Unity/UnityParticleSystem/GetEnableEmission.cs
1,000
C#
using CsvHelper; using Dosh.Core.DoshFile; using Dosh.Core.Logger; using Dosh.Core.Provider.Crawler; using Dosh.Middleware.DB; using System; using System.Globalization; using System.IO; namespace db_crawl { public class DBCrawler : ICrawler { /// <summary> /// Logger /// </summary> ...
25.43662
116
0.482835
[ "MIT" ]
atEaE/dosh
Providers/Crawler/db-crawl/DBCrawler.cs
3,614
C#
// <copyright file="TextureBatchServiceTests.cs" company="KinsonDigital"> // Copyright (c) KinsonDigital. All rights reserved. // </copyright> namespace VelaptorTests.Services { // ReSharper disable UseObjectOrCollectionInitializer using System; using System.Collections.Generic; using System.Collectio...
31.318841
135
0.530002
[ "MIT" ]
KinsonDigital/Velaptor
Testing/VelaptorTests/Services/TextureBatchServiceTests.cs
6,485
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace XamarinFingerPrint.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a dif...
23.333333
91
0.638776
[ "MIT" ]
Tmaturano/XamarinFingerPrint
XamarinFingerPrint.iOS/Main.cs
492
C#
using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Web.Http; //using WebAPI.Models; namespace WebAPI.Controllers { public class TokenController : ApiController { // GET api/Token [HttpGet] public Guid Get() ...
32.754386
138
0.524906
[ "MIT" ]
biscuolai/WebAPI
WebAPI/Controllers/TokenController.cs
1,869
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2020 VMware, Inc. // // Licensed under the Apache License, Version 2....
42.836735
149
0.621963
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
ArdeshirV/rabbitmq-dotnet-client
projects/RabbitMQ.Client/client/framing/ExchangeUnbind.cs
4,198
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
46.28866
161
0.663252
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_04_03/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_03/Immunization/Merged/ImmunizationReason.cs
4,490
C#
using Contoso.Utils; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using System.Text; namespace Contoso.Domain { internal static class Helpers { } }
16.466667
37
0.765182
[ "MIT" ]
BlaiseD/Contoso
.NetCore/ContosoUniversity/CreateDomainConsole/Helpers.cs
249
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace IoTSharp.Migrations { public partial class modyfyflowoperation : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_FlowOperat...
35.918033
80
0.54237
[ "MIT" ]
NanoFabricFX/IoTSharp
IoTSharp.Data.PostgreSQL/Migrations/20211217110202_modyfyflowoperation.cs
6,575
C#
using System; using System.Linq; using NUnit.Framework; using Rhino.Mocks; using StoryTeller.Engine; using StoryTeller.Engine.Constraints; using StoryTeller.Model; namespace StoryTeller.Testing.Engine { [TestFixture] public class FixtureTester { #region Setup/Teardown [SetUp...
25.444853
112
0.566537
[ "Apache-2.0" ]
DarthFubuMVC/storyteller
src/StoryTeller.Testing/Engine/FixtureTester.cs
6,921
C#
// ---------------------------------------------------------------------------------- // Microsoft Developer & Platform Evangelism // // Copyright (c) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, // EITHER EXPRESSED OR IMPLIED, INCLUD...
34.241379
150
0.585599
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/NonLinear-WP-SLApp-Navigation-Service/NonLinearNavigationService/WindowsPhoneNonLinearNavigationServiceSample/CategoryPage.xaml.cs
3,974
C#
using System; using System.Collections.Generic; using System.Text; namespace sbid._M { // 命题逻辑关系(合取/析取/非/蕴含) public enum LogicRelation { CONJ, DISJ, NEG, IMPL } }
14.538462
33
0.640212
[ "MIT" ]
LauZyHou/sbid-ava
sbid/_M/CTL/LogicRelation.cs
217
C#
/* * Copyright (c) 2015, Firely (info@fire.ly) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE */ using Hl7.Fhir.Language; using Hl7.FhirPath.Expressions...
48.675781
194
0.628762
[ "BSD-3-Clause" ]
FirelyTeam/fhir-net-common
src/Hl7.FhirPath.Tests/Tests/FhirPathGrammarTest.cs
12,463
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
41.457627
138
0.586263
[ "Apache-2.0" ]
danvy/techdays15iotlab
src/IoTLab/IoTLab.Device/Program.generated.cs
2,446
C#
namespace MovieMood.Services.Mapping { // ReSharper disable once UnusedTypeParameter public interface IMapTo<T> { } }
16.875
49
0.696296
[ "MIT" ]
Drumev00/MovieMood
MovieMood/Services/MovieMood.Services.Mapping/IMapTo.cs
137
C#
using CadEditor; using System; //css_include shared_settings/BlockUtils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0xa770, 1 , 16*75, 16, 75); } public bool isBigBlockEditorEnabled() { return false; } public bool isBlockEditorEnabled() { return true; } public ...
37.744186
93
0.651263
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/whomp_em/Settings_WhompEm-7-4.cs
1,623
C#
using System.Windows.Input; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using MudBlazor.Utilities; namespace MudBlazor { public partial class MudListItem : MudComponentBase { protected string Classname => new CssBuilder("mud-list-item") .AddClass...
31.433333
97
0.530753
[ "MIT" ]
Codinkat/MudBlazor
src/MudBlazor/Components/List/MudListItem.razor.cs
3,774
C#
namespace Kesco.Lib.Win.Document.Classes { /// <summary> /// Изменение угла поворота /// </summary> internal struct RotateTransition { /// <summary> /// Было /// </summary> internal int From { get; set; } /// <summary> /// Стало /// </summary...
19.233333
41
0.419411
[ "MIT" ]
Kesco-m/Kesco.Lib.Win.Document
Classes/RotateTransition.cs
626
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Management.Automation; using System.Management.Automation.Host; using System.Management.A...
36.201112
241
0.459605
[ "MIT" ]
artdevelopertj/PowerShell
src/System.Management.Automation/engine/hostifaces/History.cs
71,642
C#
/******************************************************************************* * Copyright (C) 2012 eBay Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
35.993976
147
0.599833
[ "Apache-2.0" ]
Korla/asimov-deploy-winagent
src/AsimovDeploy.WinAgent/Framework/Models/Units/DeployUnit.cs
5,975
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
30.613636
101
0.705271
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.RDS/Model/CreateEventSubscriptionResult.cs
1,347
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Mission_Text_Script : MonoBehaviour { string s_1 = "Welcome "; string secret_1 = "This is the story about "; string secret_2 = " a small game development project "; string s_2 = " First of " ; str...
18.355556
79
0.520581
[ "MIT" ]
Atomotos/Smoloons
Assets/Scripts/Mission_Text_Script.cs
1,654
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /* * Common file that contains interface definitions for generic server and client * transport managers. * */ using System.Management.Automation.Tracing; using System.Text; using System.IO; using System.Xml; using System.Collections.Generi...
39.77547
219
0.596845
[ "MIT" ]
wbhsm/PowerShell
src/System.Management.Automation/engine/remoting/fanin/BaseTransportManager.cs
61,294
C#
namespace BizHawk.Client.EmuHawk { partial class QuickNesConfig { /// <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 r...
42.672619
155
0.727856
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Client.EmuHawk/config/NES/QuickNesConfig.Designer.cs
7,171
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace TW.Vault.Lib { public class ASPUtil { public IWebHostEnvironment HostingEnvironment { get; private set; } ...
33.125
152
0.674843
[ "MIT-0" ]
gandalfleal/twvault
app/TW.Vault.Lib/ASPUtil.cs
1,592
C#
using Contracts.Commands.Bets; using GreenPipes; using MassTransit; using Microservice1.Buss; using Microservice1.Consumers.Bets; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInject...
33.577465
121
0.604866
[ "MIT" ]
DiegoTavaresF/MicroserviceComunicationWithMassTransitAndRabbitMQ
Microservice1/Startup.cs
2,386
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using MusicApp.DAL; using MusicApp.Models; namespace MusicApp.Controllers { public class ArtistsController : Controller { private Mu...
28.093023
111
0.521523
[ "MIT" ]
meiordac/MusicApp
MusicApp/Controllers/ArtistsController.cs
3,626
C#
using System; using System.Collections.Generic; using System.Linq; using DeepMatch; using NUnit.Framework; namespace Tests { [TestFixture] public class GenericFixture { private readonly IEnumerable<int> _sequence1To50 = Enumerable.Range(1, 50); private readonly IEnumerable<int> _sequence1To10 = Enumerable.Rang...
25.935223
105
0.626132
[ "MIT" ]
GrafGenerator/DeepMatch
test/GenericFixture.cs
6,408
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace TaskManager.SystemRuntime { /// <summary> /// 任务配置信息,类似app.config中的配置,仅支持字典 /// 正式环境在任务调度平台中配置获取 /// 测试环境需要自己重新创建实例赋值 /// </summary> [Serializable] public cla...
24.875
92
0.66206
[ "Apache-2.0" ]
vongzh/TaskManager
TaskManager/SystemRuntime/TaskAppConfigInfo.cs
968
C#
// -------------------------------------------------------------------------------------------- // <copyright file="ResultSetComposerMock.cs" company="Effort Team"> // Copyright (C) Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and a...
35.173333
97
0.566338
[ "MIT" ]
HydAu/EFeffort
Main/Source/Effort.Test/Internal/Fakes/ResultSetComposerMock.cs
2,640
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Linq; using System.Reactive.Disposables; using System.Text; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia.Controls.Primitives.PopupPositioning; using Avalonia.F...
39.882194
134
0.526551
[ "MIT" ]
Mehigh17/Avalonia
src/Avalonia.X11/X11Window.cs
44,349
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.105263
355
0.650092
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Cognito/Outputs/UserPoolEmailConfiguration.cs
2,176
C#
/* * Copyright 2013 NEHTA * * Licensed under the NEHTA Open Source (Apache) License; you may not use this * file except in compliance with the License. A copy of the License is in the * 'license.txt' file, which should be provided with this work. * * Unless required by applicable law or agreed to in writing, so...
37.113636
139
0.701776
[ "Apache-2.0" ]
AuDigitalHealth/clinical-document-library-dotnet
src/CDA.Generator.Common/Common/Interfaces/PersonOrganisation/IPersonWithOrganisation.cs
1,635
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using System.Threading.Tasks; using Moq; using osu.Game.Online; using osu.Game.Online.Multiplayer; using osu.Game.Online.Rooms; using Xunit; namespace...
42.655738
159
0.690623
[ "MIT" ]
ppy/osu-serer-spectator
osu.Server.Spectator.Tests/Multiplayer/BeatmapAvailabilityTests.cs
2,602
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Primitives; using OrchardCore.Data; using OrchardCore.Environment.Cache; using OrchardCore.Environment.Shell.Scope; using OrchardCore.Modules; using YesSql; ...
32.085714
108
0.596023
[ "BSD-3-Clause" ]
BenPool/OrchardCore
src/OrchardCore.Modules/OrchardCore.Settings/Services/SiteService.cs
3,369
C#
using System; using System.Text; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using System.ComponentModel; using System.Threading; using System.Collections; using PubnubApi; using MockServer; using System.Diagnostics; using System.Threading.Tasks; namespace PubNubMessaging.Tests { [...
45.406926
394
0.520407
[ "MIT" ]
StockDrops/c-sharp
src/UnitTests/PubnubApi.Tests/WhenAClientIsPresented.cs
115,381
C#
// This file contains auto-generated code. namespace System { // Generated from `System.LocalDataStoreSlot` in `System.Threading.Thread, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalDataStoreSlot { // ERR: Stub generator didn't handle member: ~LocalDataStoreS...
64.497354
171
0.684167
[ "MIT" ]
Bhagyanekraje/codeql
csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs
12,190
C#
 namespace Microsoft.PowerTools.MiddleClickScroll { using System.ComponentModel.Composition; using VisualStudio.TelemetryForPPT; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.Utilities; [Export(typeof(IMouseProcessorProvider))] [Name("MiddleClickScroll")] [Order(Be...
32.027778
91
0.707719
[ "MIT" ]
HydAu/VS-PPT
src/MiddleClickScroll/MiddleClickScrollFactory.cs
1,155
C#
using System.Text; using MetX.Standard.IO; namespace MetX.Standard.Data.Factory { public class PowerShellGatherer : GatherProvider { public override int GatherNow(StringBuilder sb, string[] args) { switch (args.Length) { case 1: sb.App...
29.038462
102
0.484768
[ "ISC" ]
wrawlsqw/xlg
MetX/MetX.Standard/Data/Factory/PowerShellGatherer.cs
755
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using NuGe...
37.39726
111
0.510623
[ "Apache-2.0" ]
0xced/NuGet.Client
test/NuGet.Core.Tests/NuGet.Commands.Test/TestUtilityTests.cs
2,730
C#
using System; using Subgurim.Maps.Core.Helpers; namespace Subgurim.Maps.Core.Google.Events { [Serializable] internal sealed class PolylineEvents : StringEnum { /// <summary> /// This event is fired when the DOM click event is fired on the Polyline. /// </summary> public s...
37.849057
95
0.623131
[ "Apache-2.0" ]
subgurim/subgurim-maps-core
Subgurim.Maps.Core/Google/Events/PolylineEvents.cs
2,008
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts { public class AnimationManager : Singleton<AnimationManager> { private string currentAnimation; private string currentAnimator; private Dictionary<string, Animator> animatorLookup =...
30.941176
97
0.640684
[ "MIT" ]
HemanthRj96/Repos-GMTK_Connections
GMTK-Connections/Assets/Scripts/AnimationManager.cs
1,054
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...
54.333333
344
0.65581
[ "ECL-2.0", "Apache-2.0" ]
michael-golden/pulumi-aws
sdk/dotnet/S3/BucketPublicAccessBlock.cs
11,084
C#
using System; using System.IO; namespace qbusSRL.Utility.Helpers.Encoding { /// <summary> /// http://anubis.dkuug.dk/JTC1/SC2/WG2/docs/n1335 /// /// http://www.cl.cam.ac.uk/~mgk25/ucs/ISO-10646-UTF-8.html /// /// http://www.unicode.org/versions/corrigendum1.html /// /// http://www.i...
28.290179
90
0.366104
[ "BSD-3-Clause" ]
seyfiyumlu/vMerge2019
Utility/Helpers/Encoding/Utf8Checker.cs
6,339
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; public struct ValX0 {} public struct ValY0 {} public struct ValX1<T> {} public struct ValY1<T> {} publ...
31.89726
177
0.642903
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/baseservices/exceptions/generics/try-catch06.cs
4,657
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Warning: This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if the // code is regenerated. using Sys...
29.157143
95
0.538217
[ "MIT" ]
DiogenesPolanco/azure-sdk-for-net
src/ResourceManagement/Automation/AutomationManagement/Generated/Models/JobPropertiesBase.cs
4,082
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using RecipeManager.Models; using RecipeManager.Models.Interfaces; namespace RecipeManager.Controllers { public class HomeController : Controller { private readonly IRecipe ...
33.589744
140
0.659542
[ "MIT" ]
c-costello/RecipeManagement
RecipeManager/RecipeManager/Controllers/HomeController.cs
1,312
C#
using System.ComponentModel; using System.Data.Entity; namespace BL.Fashion { public class CategoriasBL { contexto _contexto; public BindingList<Categoria> ListaCategorias { get; set; } public CategoriasBL() { _contexto = new contexto(); ...
24.28125
74
0.555985
[ "MIT" ]
KenetMejiaMartinez/Fashion-Station.
BL.Fashion/CategoriaBL.cs
779
C#
using SnapsLibrary; using System; using System.Collections.Generic; public class Ch14_03_Starfield { public class MovingSprite { public ImageSprite spriteValue; public double xSpeedValue, ySpeedValue; public MovingSprite(ImageSprite sprite, double xSpeed, double ySpeed) { ...
28.556962
113
0.586436
[ "MIT" ]
BeginToCodeSnaps/DemoCode
BeginToCodeWithCSharp/BeginToCodeWithCSharp/Chapters/Chapter 14/Ch14_03_Starfield.cs
2,258
C#
using System; namespace NodeChains { class Program { static void Main(string[] args) { // +----+------+ // | 3 | null + // +----+------+ Node first = new Node {value = 3}; // +----+------+ +-------+------+ ...
29.365385
73
0.220039
[ "MIT" ]
josenildolins/Algorithms-And-Data-Structures-part-1
DataStructures/NodeChains/Program.cs
1,529
C#
using System.Collections.Generic; using NUnit.Framework; using Lumpn.Utils; namespace Lumpn.Mooga.Test { [TestFixture] public sealed class DominationComparerTest { [Test] public void SortsAscending() { var individuals = new List<Individual>(); individuals.Ad...
42.678571
86
0.604463
[ "MIT" ]
lumpn/infinite-zelda
Lumpn.Mooga.Test/DominationComparerTest.cs
3,587
C#
using System; using System.Net; using System.Runtime.Serialization; namespace Syncfusion.Report.Server.Api.Helper.V1.Models { public class Group { /// <summary> /// Name of the group. /// </summary> public string Name { get; set; } /// <summary> /// Description...
21.423077
55
0.56553
[ "MIT" ]
subhasukumaran/enterpriseserver-reportapiclient
Src/API.Helper/V1/Models/Group.cs
559
C#
#region Licence // Distributed under MIT License // =========================================================== // // digiCamControl - DSLR camera remote control open source software // Copyright (C) 2014 Duka Istvan // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwa...
37.791549
144
0.480471
[ "MIT" ]
mathcham/digiCamControl
CameraControl.Devices/BaseMTPCamera.cs
26,832
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Dime.System.Tests { [TestClass] public class EnsureEqualTests { [TestMethod] public void Ensure_Equal_ValuesAreEqual_ShouldNotThrowException() => Ens...
25.85
75
0.694391
[ "MIT" ]
dimenics/dime-system
src/test/Ensure/EnsureEqualTests.cs
519
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...
50.367347
245
0.578876
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Any.TypeConverter.cs
7,258
C#
using OpenTibiaUnity.Core.Components; using OpenTibiaUnity.Core.Components.Base; using UnityEngine; using UnityEngine.UI; namespace OpenTibiaUnity.Modules.Options { [DisallowMultipleComponent] public sealed class LegacyOptionsWindowItem : AbstractComponent { public ButtonWrapper buttonWrapper; ...
24.6
67
0.775068
[ "MIT" ]
DwarvenSoft/OpenTibia-Unity
OpenTibia/Assets/Scripts/Modules/Options/LegacyOptionsWindowItem.cs
371
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; using System.Text; namespace LifeOhLife { /// <summary> /// Uses AVX2 instruction set to handle field cells in chunks of 32 bytes /// The fastest algorithm so far, b...
45.160494
144
0.507654
[ "MIT" ]
lightln2/LifeOhLife
csharp/LifeOhLife/7_AdvancedLifeExtensionsInLineCompressed.cs
7,318
C#
#nullable disable using Carbon.Jose; namespace Carbon.Acme; public sealed class ChangeKeyRequest { public JwsEncodedMessage Message { get; init; } }
14.272727
51
0.757962
[ "MIT" ]
carbon/Acme
src/Carbon.Acme/Actions/ChangeKeyRequest.cs
159
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This file was generated by VSIX Synchronizer // </auto-generated> // ------------------------------------------------------------------------------ namespace SvgViewer { internal sealed partial class Vsix ...
43.263158
161
0.537713
[ "Apache-2.0" ]
madskristensen/SvgViewer
src/source.extension.cs
822
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.741667
197
0.586067
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DBforPostgreSQL/V20171201/GetConfiguration.cs
3,689
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> //--...
51.683377
493
0.635644
[ "MIT" ]
BodyBuildingKang/runtime
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources.Designer.cs
19,590
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Windows; using System.Windows.Controls; using Sys...
38.966561
184
0.55907
[ "MIT" ]
Fenixk/ShinraMeter
PacketViewer.UI/Windows/MainWindow.xaml.cs
24,473
C#
using System; namespace RadianTools.Memory { internal class BufferMemoryCopier : AbstractMemoryCopier { public override string MethodName => $"{typeof(Buffer).FullName}.MemoryCopy"; public override unsafe void Copy(void* source, void* destination, uint destinationStart, uint length) {...
28.866667
109
0.683603
[ "MIT" ]
radian-jp/RadianTools.Memory
src/RadianTools.Memory/BufferMemoryCopier.cs
435
C#
using System; using System.Collections.Generic; using System.Xml.Linq; namespace ApplicationCore.Core.RssCore { public class RssSyndicationCore { public string Title { get; set; } public string Description { get; set; } public string Link { get; set; } public ICollection<IRssIt...
32.696429
103
0.533042
[ "MIT" ]
snicoper/BlogNet
src/ApplicationCore/Core/RssCore/RssSyndicationCore.cs
1,831
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using ComicSans.UI; using ComicSans.Player; using ComicSans.PoolingSystem; using ComicSans.DataContainers; using ComicSans.Boss.ActionSystem; namespace ComicSans.Boss { // The base script for the Bosses. // IMPORTANT: R...
30.775391
225
0.642064
[ "MIT" ]
FellowshipOfTheGame/comic-sans
ComicSans/Assets/Scripts/Boss/BossScript.cs
15,759
C#
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentMo...
37.218085
313
0.554095
[ "MIT" ]
wildbook/LeagueClientApi
Model/LolEsportStreamNotificationsLiveMatch.cs
6,997
C#
//------------------------------------------------------------------------------ // <copyright file="SavedSearchProvider.cs" company="Aras Corporation"> // © 2017-2018 Aras Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ using Syst...
30.986842
123
0.65138
[ "MIT" ]
VitaliiPasichnykAmcbridge/ArasVSMethodPlugin
Aras.VS.MethodPlugin/ItemSearch/SavedSearchProvider.cs
2,358
C#
namespace AFramework { using System.Collections.Generic; /// <summary> /// SimpleObjectPool的二级父物体 /// </summary> /// <typeparam name="T"></typeparam> public abstract class Pool<T> : IPool<T>,ICountObserveAble { #region ICountObserverable /// <summary> /// 获取当前对象池中对象数量...
24.046512
62
0.5
[ "Apache-2.0" ]
webloverand/AFramework
AFramework/Assets/Scripts/AFramework/Runtime/7.Extend/2.Pool/Pool/Pool.cs
1,088
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
38.345679
157
0.586929
[ "BSD-3-Clause" ]
dave-w-au/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonGroupLabelImage.cs
3,109
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace apidata.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { ...
28.475
110
0.598771
[ "Apache-2.0" ]
mohamadlawand087/v43-delegates
apidata/Controllers/WeatherForecastController.cs
1,141
C#
using _7dtd_svmanager_fix_mvvm.Update.Models; using CommonStyleLib.Models; using CommonStyleLib.ViewModels; using Prism.Commands; using Reactive.Bindings; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Text; using System.T...
38.137143
153
0.615523
[ "MIT", "BSD-3-Clause" ]
AonaSuzutsuki/SavannahManager
SavannahManager/Update/ViewModels/UpdFormViewModel.cs
6,676
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. // // Revision history: // // ER, BD - July 2013 - Created this file. // using System.Collections.Generic; using S...
29.649123
119
0.618935
[ "MIT" ]
Botcoin-com/reaqtor
Nuqleon/Core/DataModel/Tests.Nuqleon.DataModel.CompilerServices/Helpers/ExpressionComparator.cs
1,692
C#
namespace Estagiado.Views { partial class FormExcluirContaEst { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
53.005236
186
0.62337
[ "MIT" ]
coivan/Estagiado
Estagiado/Views/FormExcluirContaEst.Designer.cs
10,129
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Filter...
47.808511
188
0.653316
[ "Apache-2.0" ]
xigadee/Microservice
Src/Xigadee.Api.Server/Owin/ClientCertificateAuthorizationFilter.cs
4,496
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Performance.Tests { using System; using System.Collections.Generic; using System.Linq...
35.767442
119
0.542263
[ "MIT" ]
ORuban/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Performance.Tests/Program.cs
1,540
C#
using System.Net; using System.Threading.Tasks; using KdyWeb.BaseInterface.BaseModel; using KdyWeb.Dto.SearchVideo; using KdyWeb.IService.SearchVideo; using Microsoft.AspNetCore.Mvc; namespace KdyWeb.Job.Controllers { /// <summary> /// 影片采集 /// </summary> public class VideoCaptureController : OldBaseA...
29.342857
100
0.677702
[ "Apache-2.0" ]
bohejing/KdyWeb.NetCore
src/KdyWeb.Job/Controllers/VideoCaptureController.cs
1,059
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FlowTomator.Common; namespace FlowTomator.Desktop { public class RenameVariableAction : Action { public VariableInfo VariableInfo { get; private set; } public RenameVaria...
20.666667
75
0.622581
[ "MIT" ]
jbatonnet/FlowTomator
FlowTomator.Desktop/Actions/RenameVariable.cs
622
C#
namespace p03._01.FightingArena { using System; public class StartUp { public static void Main(string[] args) { //Creates arena Arena arena = new Arena("Armeec"); //Creates stats Stat firstGlariatorStat = new Stat(20, 25, 35, 14, 48); ...
36.896552
107
0.62243
[ "MIT" ]
vesy53/SoftUni
C# Advanced/C#Adanced/Exams/Exam16April2019/p03.01.FightingArena/StartUp.cs
2,142
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotation : MonoBehaviour { // Before rendering each frame.. void Update () { // Rotate the game object that this script is attached to by 15 in the X axis, // 30 in the Y axis and 45 in the Z axis, multiplied by delta...
28.25
98
0.721239
[ "MIT" ]
myersans/john_lemon
Assets/Scripts/Rotation.cs
452
C#
using System; namespace Chartreuse.Today.Core.Shared.Tools.Tracking { public static class TrackingManagerHelper { public static void Exception(Exception exception, string message = null, bool isFatal = false) { if (Ioc.HasType<ITrackingManager>()) { ITra...
29.5
102
0.586701
[ "MIT" ]
2DayApp/2day
src/2Day.Core.Shared/Tools/Tracking/TrackingManagerHelper.cs
769
C#
using System; using System.ComponentModel.DataAnnotations; namespace signup_verification.Models.Accounts { public class ForgotPasswordRequest { [Required] [EmailAddress] public string Email { get; set; } } }
18.923077
45
0.682927
[ "MIT" ]
shockzinfinity/signup-verification-test
Models/Accounts/ForgotPasswordRequest.cs
248
C#
#pragma checksum "C:\School\NP\Np_class\SSD\week 05\RazorPagesMovie\RazorPagesMovie\Pages\Movies\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a8c7cb8c8b365cbf9d2845fc41e47874926481fe" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt...
56.983051
298
0.679581
[ "MIT" ]
dodieboy/Np_class
SSD/week 05/RazorPagesMovie/RazorPagesMovie/obj/Debug/netcoreapp2.2/Razor/Pages/Movies/Details.cshtml.g.cs
13,448
C#
using System.Windows.Controls; namespace NuPattern.Authoring.PatternToolkit.Assets.Wizards.Pages { /// <summary> /// A custom wizard page that edits the properties of the current element. /// </summary> partial class ToolkitInfo : Page { /// <summary> /// Initializes a new instance...
26.388889
78
0.6
[ "Apache-2.0" ]
dbremner/nupattern
Src/Authoring/Source/Authoring.PatternToolkit/Assets/Wizards/Pages/ToolkitInfo.xaml.cs
477
C#