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
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Xunit; namespace System.IO.Compression { public class Def...
46.933333
149
0.63332
[ "MIT" ]
MattGal/runtime
src/libraries/System.IO.Compression/tests/CompressionStreamUnitTests.Deflate.cs
4,928
C#
// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System.Collections; using UnityEngine; namespace Mediapipe.Unity.HairSegmentation { public class HairSegmentationSolution : Ima...
30.390244
96
0.73756
[ "MIT" ]
Kim-JeongUng/MediaPipeUnityPlugin
Assets/Mediapipe/Samples/Scenes/Hair Segmentation/HairSegmentationSolution.cs
1,246
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;...
28.178218
141
0.631061
[ "MIT" ]
meJevin/ResxSync
Source/ResxSync/ResxSync.UI/Controls/SelectableWorkspaceControl.xaml.cs
2,848
C#
using System; using MediatR; namespace Episememe.Application.Features.VerifyBrowseToken { public class VerifyBrowseTokenQuery : IRequest<bool> { public string TokenValue { get; } private VerifyBrowseTokenQuery(string token) => TokenValue = token; public static VerifyBrows...
25.818182
86
0.649648
[ "BSD-3-Clause" ]
marax27/Episememe
server/Episememe.Application/Features/VerifyBrowseToken/VerifyBrowseTokenQuery.cs
570
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Text; using System.Windows.Forms; using System.Windows.Media; using SyNet.MessageTypes; using SyNet.Protocol; using UserControl = System.Windows.Controls.UserControl; using System.Globalization; using System.T...
33.722787
157
0.53045
[ "Apache-2.0" ]
mkurdziel/BitHome-Hub-CSharp-V1
SyNet Controller/XamlPanels/DeviceUpdater.xaml.cs
23,237
C#
using System; using System.IO; namespace Sharer.FunctionCall { public enum SharerType : byte { @void, @bool, @byte, @short, @int, @uint, @long, @ulong, int64, uint64, @float, @double } public static class ...
36.358779
187
0.440479
[ "MIT" ]
devdotnetorg/Sharer-NETStandard
Sharer-NETStandard/FunctionCall/SharerType.cs
4,765
C#
//----------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All Rights Reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Windows.Forms; namespace Z3AxiomPr...
26.315217
99
0.586534
[ "MIT" ]
Jiacheng/vcc
vcc/Tools/Z3Visualizer/Z3Visualizer/LoadingProgressForm.cs
2,423
C#
using System.Runtime.InteropServices; using Sharpen; namespace android.graphics { /// <summary> /// A subclass of shader that returns the coposition of two other shaders, combined by /// an /// <see cref="Xfermode">Xfermode</see> /// subclass. /// </summary> [Sharpen.Sharpened] public class ComposeShader : and...
43.985612
113
0.759732
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/android/graphics/ComposeShader.cs
6,114
C#
using System; using System.Collections.Generic; using System.Numerics.Tensors; using System.Text; using NnCase.IR; using NnCase.IR.Operators; namespace NnCase.Importer { /// <summary> /// TFLite importer convolution ops lowering. /// </summary> public partial class TFLiteImporter { private...
28.222222
122
0.660105
[ "Apache-2.0" ]
dotnetGame/nncase
src/NnCase.Importer/TFLite/Reshape.cs
764
C#
/* Copyright 2010-present MongoDB 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 applicable law or agreed to in wr...
36.91453
148
0.648067
[ "Apache-2.0" ]
ksadoff/mongo-csharp-driver
tests/MongoDB.Driver.Tests/Specifications/crud/CrudOperationTestBase.cs
4,321
C#
using OpenCNCPilot.GCode; using OpenCNCPilot.GCode.GCodeCommands; using OpenCNCPilot.Util; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.IO.Ports; using System.Text; using System.Text.RegularExpressions; using System.Thread...
22.946122
169
0.62062
[ "MIT" ]
zsmisek/OpenCNCPilot
OpenCNCPilot/Communication/Machine.cs
28,111
C#
using System.Collections; using Improbable.Gdk.Core; using UnityEditor; using UnityEngine; namespace Fps.Editor { public class MapBuilderVisualisationWindow : EditorWindow { private const int WarnTilesThreshold = 2500; private int layerCount = 4; private string seed = "SpatialOS GDK fo...
36.104839
115
0.569131
[ "MIT" ]
Dechichi01/gdk-for-unity-fps-starter-project
workers/unity/Assets/Fps/Scripts/Editor/MapBuilderVisualisationWindow.cs
4,477
C#
namespace WinUX.Xaml.VisualStateTriggers.MaxWindowWidthTrigger { using Windows.UI.Core; using Windows.UI.Xaml; /// <summary> /// Defines a visual state trigger that checks whether a condition is met within a specified max window width. /// </summary> /// <remarks> /// This is useful where ...
33.333333
132
0.630714
[ "MIT" ]
lindexi/WinUX-UWP-Toolkit
WinUX.UWP.Xaml/VisualStateTriggers/MaxWindowWidthTrigger/MaxWindowWidthTrigger.cs
1,402
C#
// Generated class v2.14.0.0, can be modified namespace NHtmlUnit.Javascript.Host.Geo { public partial class Position { } }
13.272727
46
0.643836
[ "Apache-2.0" ]
HtmlUnit/NHtmlUnit
app/NHtmlUnit/NonGenerated/Javascript/Host/Geo/Position.cs
146
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Linq; using System.Linq.Expressions; using Microsoft.Data.Entity.AzureTableStorage.Adapters; using Microsoft...
41.625
187
0.632017
[ "Apache-2.0" ]
matteo-mosca-easydom/EntityFramework
test/EntityFramework.AzureTableStorage.Tests/Query/QueryCachingTests.cs
4,329
C#
using PlayersAndMonsters.Repositories.Contracts; namespace PlayersAndMonsters.Models.Players.PlayerModels { public class Beginner : Player { private const int INITIAL_HEALTH_POINTS = 50; public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, userna...
26.714286
72
0.703209
[ "MIT" ]
danstoyanov/CSharp-Advanced-Tasks
02 - [CSharp OOP]/[CSharp OOP - Exams]/06 - [C# OOP Basics Exam Retake - 19 April 2019]/PlayersAndMonsters/Models/Players/PlayerModels/Beginner.cs
376
C#
using SC2APIProtocol; using SC2Sharp.Agents; using SC2Sharp.Builds.BuildLists; using SC2Sharp.Managers; using SC2Sharp.Micro; using SC2Sharp.StrategyAnalysis; using SC2Sharp.Tasks; namespace SC2Sharp.Builds.Protoss { public class TwoBaseRoboPvT : Build { private TimingAttackTask attackTask = new Timin...
40.503311
174
0.518476
[ "MIT" ]
SimonPrins/TyrSc2
Tyr/Builds/Protoss/TwoBaseRoboPvT.cs
12,234
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HTLLBB.Services { public interface IEmailSender { Task SendEmailAsync(string email, string subject, string message); } }
20.153846
75
0.706107
[ "MIT" ]
BestFriendForever/HTLLBB
src/Services/IEmailSender.cs
264
C#
//----------------------------------------------------------------------- // <copyright company="Sherlock"> // Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. // </copyright> //----------------------------------------------------------------------- using System; namespace Sherloc...
26.815385
107
0.44062
[ "Apache-2.0" ]
pvandervelde/Sherlock
src/shared.dataaccess/TestStepParameter.Public.cs
1,745
C#
//------------------------------------------------------------------------- // Copyright © 2020 Province of British Columbia // // 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://w...
52.843137
125
0.672727
[ "Apache-2.0" ]
bradhead/Keycloak-AuthZClient-DotNetCore
sdk/src/Authorization/Constants/ServiceUrlConstants.cs
2,696
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 Newtonsoft.Json.Linq; #nullable enable namespace Microsoft.VisualStudio.LanguageServer.ContainedLanguage.MessageInterception { /// <summary...
30.76
111
0.695709
[ "Apache-2.0" ]
Chatina73/AspNetCore-Tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServer.ContainedLanguage/MessageInterception/InterceptionResult.cs
771
C#
using System.Collections.Generic; namespace Parser { internal static class Tokenizer { private static readonly HashSet<char> WHITESPACE = new HashSet<char>() { ' ', '\r', '\n', '\t' }; private static Dictionary<char, bool> IDENTIFIER_CHARS_CACHE = new Dictionary<char, bool>(); ...
37.017167
129
0.32858
[ "MIT" ]
blakeohare/crayon
Compiler/Parser/Tokenizer.cs
8,627
C#
using System.CodeDom.Compiler; using System.Threading; using System.Threading.Tasks; //------------------------------------------------------------------------------ // This code was auto-generated by ApiGenerator 2.0.121.412. // // Changes to this file may cause incorrect behavior and will be lost if // the code is ...
38.344828
140
0.58723
[ "MIT" ]
atc-net/atc-rest-api-generator-cli
sample/src/Demo.Api.Generated/Contracts/Users/Interfaces/IUpdateMyTestGenderHandler.cs
1,114
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.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
46.446137
274
0.677022
[ "Apache-2.0" ]
mmihaly/roslyn
src/Workspaces/Core/Portable/Workspace/Solution/ProjectState.cs
42,686
C#
//----------------------------------------------------------------------------- // FILE: NamespaceDoc.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except ...
32.361111
80
0.685837
[ "Apache-2.0" ]
codelastnight/neonKUBE
Lib/Neon.Common/Service/NamespaceDoc.cs
1,167
C#
using System; using System.Drawing; using System.Windows.Forms; namespace Designer.Source.Controls { public partial class DynamicPanel : UserControl { #region Attributes private int _InitX; private bool _IsCaptured; #endregion public DynamicPanel() { ...
22.875
76
0.468384
[ "Apache-2.0" ]
TheCharmingCthulhu/CSharp
Projects/Windows Forms/Designer/Designer/Source/Controls/DynamicPanel.cs
1,283
C#
using System.Collections.Generic; using Orchard.Tags.Models; namespace Orchard.Tags.ViewModels { public class TagsAdminIndexViewModel { public IList<TagEntry> Tags { get; set; } public TagAdminIndexBulkAction BulkAction { get; set; } } public class TagEntry { public TagR...
24.2
64
0.619835
[ "BSD-3-Clause" ]
Christerinho/chrisdesign
Modules/Orchard.Tags/ViewModels/TagsAdminIndexViewModel.cs
486
C#
//----------------------------------------------------------------------- // <copyright file="ActorRefIgnoreSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyrigh...
31.142857
105
0.535249
[ "Apache-2.0" ]
baronfel/akka.net
src/core/Akka.Tests/Actor/ActorRefIgnoreSpec.cs
4,144
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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using Sy...
37.137363
130
0.552597
[ "MIT" ]
vitaliitylyk/dotnet-framework-docker
tests/Microsoft.DotNet.Framework.Docker.Tests/ImageTestHelper.cs
6,761
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> //----------------------------------------...
34.023256
90
0.525632
[ "MIT" ]
EmilMitev/Telerik-Academy
ASP.NET Web Forms/13. User Controls/Demo/Error-Handler-Control/Site.Master.designer.cs
1,465
C#
using Engine.GIS.GLayer.GRasterLayer; using Engine.GIS.GOperation.Arithmetic; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace Host.UI.SettingForm { public partial class KappaOaForm : Form { public KappaOaForm() { ...
30.184783
94
0.516385
[ "MIT" ]
KIWI-ST/kiwi.server
Host.UI/Forms/Tools/KappaForm.cs
2,805
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.Email.DataProvider { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class EmailMailboxDownloadAttachmentRequestEve...
41.033333
187
0.787977
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.Email.DataProvider/EmailMailboxDownloadAttachmentRequestEventArgs.cs
1,231
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.Runtime.InteropServices; using System.Collections.Generic; using System.Collections; using Xunit; using ActiveDirectoryComInterop; namespace System.DirectoryServices.Te...
37.222222
94
0.478358
[ "MIT" ]
belav/runtime
src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryServicesTests.Windows.cs
2,680
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Threading.Tasks; using IdentityAPI.Entities; using Manga.Application.Boundaries; using Manga.Application.Repositories; using Manga.Application.UseCases; using Manga.Domain; using Manga.Infrastructure.E...
48.678161
176
0.666942
[ "Apache-2.0" ]
Prachi-Parekh/Clean-Architecture-Manga
source/Manga.WebApi/StartupDevelopment.cs
8,470
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace FinderOuter.Views { public class MissingBase16View : UserControl { public MissingBase16View() { this.InitializeComponent(); } private void InitializeComponent() { Ava...
18.3
48
0.60929
[ "MIT" ]
1Biggirl/FinderOuter
Src/FinderOuter/Views/MissingBase16View.xaml.cs
368
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace ProtoBuf.Reflection { internal static class TokenExtensions { public static bool Is(this Peekable<Token> tokens, TokenType type, string ...
39.083861
184
0.418445
[ "Apache-2.0" ]
2bam-at-tlon/protobuf-net
src/protobuf-net.Reflection/TokenExtensions.cs
24,703
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.Shell; using System.ComponentModel; using System.Runtime.InteropServices; namespace Devvcat.SSMS.Options { [Guid("5F238789-E306-48AE-93D6-44FCC2EAAC80")] internal cl...
28.837838
88
0.686973
[ "MIT" ]
devvcat/ssms-executor
SSMSExecutor/Options/GeneralOptionsPage.cs
1,069
C#
using WebPlatform.Core.Composition; using WebPlatform.Core.Validation; namespace WebPlatform.Core.Logging { /// <summary> /// Provides logging services. /// </summary> public class LoggingModule : Module { /// <summary> /// Initializes a new instance of the <see cref="LoggingModule"/> ...
29.714286
101
0.628205
[ "MIT" ]
urahnung/webplatform
src/Core/Logging/LoggingModule.cs
626
C#
namespace BenMAP { partial class ManageIncidenceDataSets { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void...
47.73747
163
0.737376
[ "Apache-2.0" ]
BenMAPCE/BenMAP-CE
BenMAP/ManageSetup/ManageIncidenceDataSets.Designer.cs
20,002
C#
// MIT License // // Copyright(c) 2017 Luciano (Xeeynamo) Ciccariello // // 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 righ...
33.006536
82
0.518416
[ "MIT" ]
Rubberduckycooly/RSDK
RSDK2/Animation.Frame.cs
5,052
C#
/* * nlpapiv2 * * The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text. * * OpenAPI spec version: v1 * * Generated by: https://github.com/swagger-api/swagger-code...
42.02027
242
0.609905
[ "Apache-2.0" ]
Cloudmersive/Cloudmersive.APIClient.NETCore.NLP
client/src/Cloudmersive.APIClient.NETCore.NLP/Model/SimilarityAnalysisResponse.cs
6,219
C#
using System.Web; using System.Web.Mvc; namespace ExpressFormsExample { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
20.846154
80
0.667897
[ "MIT" ]
DanielLangdon/ExpressForms
ExpressForms/ExpressFormsExample/App_Start/FilterConfig.cs
273
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
33.914894
133
0.478043
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Language/Def/Intellisense/IParameter.cs
1,596
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpIRC.API { public class Permissions { public static bool RequirePermission(Permission permission) { return false; } public enum Permission { ACCESS_CONFIGURATION_FILE, ACCESS...
22.888889
85
0.660194
[ "Apache-2.0" ]
kibmcz/SharpIRC
SharpIRC/SharpIRC/API/Permissions.cs
414
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; using Azure.Core.Pipeline; using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; namespace Azure.Security.KeyVault.Certificates...
54.827742
283
0.655402
[ "MIT" ]
MAtifSaeed/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs
84,985
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.909091
170
0.794271
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementOrStatementStatementRegexPatternSetReferenceStatementFieldToMatchMethod.cs
768
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; using Internal.TypeSystem; using Debug = System.Diagnostics.Debug; namespace ILCompiler.Dependency...
45.102564
223
0.660034
[ "MIT" ]
DjArt/corert
src/ILCompiler.RyuJit/src/Compiler/DependencyAnalysis/RyuJitNodeFactory.cs
3,520
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...
36.572727
164
0.619687
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/HlsOutputSettingsUnmarshaller.cs
4,023
C#
// // CAEnums.cs: definitions used for CoreAnimation // // Authors: // Geoff Norton // Miguel de Icaza // // Copyright 2009-2010, Novell, Inc. // Copyright 2014 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (th...
28.566667
73
0.700117
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
src/CoreAnimation/CAEnums.cs
2,571
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> //--...
38.708333
181
0.604234
[ "MIT" ]
Danieljrsilva/exerc_csharp
down_c#/DS/laboratorioETEC/Properties/Resources.Designer.cs
2,789
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...
42.909722
137
0.587312
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Web/V20180201/WebAppMetadata.cs
6,179
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace ToDoList.Web { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
22.730769
64
0.568528
[ "MIT" ]
FlyLive/-Sclub2016Homework
Sclub2016Homework/ToDoList.Web/Program.cs
593
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
54.311765
292
0.684176
[ "MIT" ]
vidai-msft/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayNatRule.cs
9,233
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.Globalization; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Routing.Constraints { /// <summary> /...
29.75
111
0.569328
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Http/Routing/src/Constraints/LongRouteConstraint.cs
1,428
C#
namespace LoggingKata { /// <summary> /// Parses a POI file to locate all the Taco Bells /// </summary> public class TacoParser { readonly ILog logger = new TacoLogger(); public ITrackable Parse(string line) { logger.LogInfo("Begin parsing"); ...
32.5
120
0.531319
[ "MIT" ]
megamagicmonkey/TacoParser
LoggingKata/TacoParser.cs
1,822
C#
using Improbable.Gdk.Subscriptions; using MDG.Common.Interfaces; using MDG.Common.MonoBehaviours; using MDG.Common.MonoBehaviours.Synchronizers; using MdgSchema.Common; using System.Collections; using UnityEngine; using SpawnSchema = MdgSchema.Common.Spawn; using StatSchema = MdgSchema.Common.Stats; namespace MDG.Def...
39.72381
158
0.650923
[ "MIT" ]
ChristianBasiga/MDG
workers/unity/Assets/MDG/Scripts/Defender/Monobehaviours/DefenderSynchronizer.cs
4,173
C#
using System; namespace System.Reactive.Concurrency { public interface ISchedulerPeriodic { IDisposable SchedulePeriodic<TState> (TState state, TimeSpan period, Func<TState,TState> action); } }
19.181818
100
0.748815
[ "MIT" ]
paulcbetts/mono-reactive
System.Reactive.Interfaces/System.Reactive.Concurrency/ISchedulerPeriodic.cs
211
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEditor.VFX; using UnityEngine; using UnityEngine.VFX; using UnityObject = UnityEngine.Object; namespace UnityEditor.VFX { static class VFXReflectionHelper { public static T[] CollectStaticReadOnlyExpression<T>(T...
40.247756
170
0.549157
[ "MIT" ]
JesusGarciaValadez/RenderStreamingHDRP
RenderStreamingHDRP/Library/PackageCache/com.unity.visualeffectgraph@8.2.0/Editor/Expressions/VFXExpressionAbstract.cs
22,418
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System; namespace Wenzil.Console { /// <summary> /// The interactive front-end of the console. /// </summary> [DisallowMultipleComponent] [RequireComponent(typeof(ConsoleController))] public class ConsoleUI : MonoBe...
27.636872
113
0.524762
[ "MIT" ]
InconsolableCellist/daggerfall-unity-1
Assets/Game/Addons/UnityConsole/Console/Scripts/ConsoleUI.cs
4,947
C#
/* License: http://www.apache.org/licenses/LICENSE-2.0 */ using System; using System.Collections.Generic; using System.Dynamic; using System.Globalization; using System.Linq; using DotNetBrightener.LinQToSqlBuilder.Adapter; namespace DotNetBrightener.LinQToSqlBuilder.Builder { /// <summary> /// Provides meth...
34.849315
134
0.556997
[ "MIT" ]
DotNetBrightener/LinQ-To-Sql-Builder
LinQToSqlBuilder/Builder/SqlQueryBuilder.cs
5,090
C#
using System.Security.Claims; namespace GraphQL.Authorization { public interface IProvideClaimsPrincipal { ClaimsPrincipal User { get; } } }
18
44
0.703704
[ "MIT" ]
dnndevelopernc/authorization
src/GraphQL.Authorization/IProvideClaimsPrincipal.cs
164
C#
using System; using System.IO; using System.Management.Automation; namespace Axinom.LiveStreamValidation { [Cmdlet(VerbsDiagnostic.Test, "LiveStream")] public class TestLiveStream : PSCmdlet { [Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = tr...
32.897059
127
0.59097
[ "MIT" ]
Axinom/LiveStreamValidation
LiveStreamValidation.PowerShell/TestLiveStream.cs
2,239
C#
using System.Configuration; using System.Web.Mvc; using Twilio.Auth; using Faker; namespace VideoQuickstart.Controllers { public class TokenController : Controller { // GET: /token public ActionResult Index() { // Load Twilio configuration from Web.config var ac...
32.25641
92
0.614467
[ "MIT" ]
KNovotny/TwilioVideoCaptureCSharp
VideoQuickstart/Controllers/TokenController.cs
1,260
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using screen_fleet_admin.Models; namespace screen_fleet_admin.Repositories { public interface ITVRepository { /*! \brief Get all the tv data from the Mongo context * @return an async ta...
40.807018
110
0.598452
[ "MIT" ]
zed31/screen_fleet_admin
screen_fleet_admin/Repositories/ITVRepository.cs
2,328
C#
using System; using System.Collections.Generic; using System.Text; namespace StorageMaster.Entities.Products { public class HradDrive : Product { private const double DEFAULT_WEIGHT = 1; public HradDrive(double price) : base(price, DEFAULT_WEIGHT) { } } }
19.6875
48
0.64127
[ "MIT" ]
bodyquest/SoftwareUniversity-Bulgaria
C# OOP 2019/EXAM_PREP/C# OOP RE Exam 2018 26 April (StorageMaster)/StorageMaster/Entities/Products/HradDrive.cs
317
C#
using Engine.Utilities.Mathematics; using System; using Color = Microsoft.Xna.Framework.Color; // ReSharper disable PossibleLossOfFraction namespace Engine.Utilities.Extensions { public static class ColorExtensions { public static Color FadeOut(this Color color) { color....
34.313084
82
0.42612
[ "MIT" ]
fcheadle/HomicideDetective.Old
Engine/Utilities/Extensions/ColorExtensions.cs
7,345
C#
using System; using System.IO; using System.Text; using NUnit.Framework; namespace MadMilkman.Ini.Tests { [TestFixture] public class IniFileReadTests { [Test] public void ReadDefaultTest() { string iniFileContent = ";Section's trailing comment." + Environment.NewLine + ...
53.310127
124
0.552238
[ "MIT" ]
DrewNaylor/MadMilkman.Ini
MadMilkman.Ini.Tests/IniFileReadTests.cs
16,972
C#
using System; namespace Chaos.NaCl.Internal.Ed25519Ref10 { internal static partial class ScalarOperations { /* Input: s[0]+256*s[1]+...+256^63*s[63] = s Output: s[0]+256*s[1]+...+256^31*s[31] = s mod l where l = 2^252 + 27742317777372353535851937790883648...
38.501901
84
0.376852
[ "MIT" ]
AndreiLuis/MySqlConnector
src/MySqlConnector.Authentication.Ed25519/Chaos.NaCl/Internal/Ed25519Ref10/sc_reduce.cs
10,128
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("02...
39.054054
84
0.742561
[ "MIT" ]
Horwits/Telerik-Academy-2016-2017
C#/C#-Part-One/06. Loops/02. Numbers Not Divisible by 3 and 7/Properties/AssemblyInfo.cs
1,448
C#
using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.Collections.Specialized; namespace ObjectObfuscator.Tests.Handlers { public class CollectionTestCases { public object[...
38.104167
92
0.629306
[ "Apache-2.0" ]
maciur/ObjectObfuscator
ObjectObfuscator.Tests/Handlers/CollectionTestCases.cs
1,831
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Melee { public class B_Melee : MonoBehaviour { private bool team = false; // Indicador que é o time A private float CoolDownDash = 3; private float velocidade = 3; ...
30.384615
121
0.559177
[ "MIT" ]
ProblemaTheu/IPJ-Hexagun
Assets/Script/Classes/ScriptTime2/B_Melee.cs
3,163
C#
#region Using directives using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Management.Automation; using System.Management.Automation.SecurityAccountsManager; using System.Management.Automation.SecurityAccountsManager.Extensions; #endregion namespace Microsoft.PowerSh...
30.855491
100
0.493256
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/Commands/GetLocalUserCommand.cs
5,338
C#
// <copyright file="ChannelSourceComponent.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // </copyright> using Microsoft.Psi; using Microsoft.Psi.Components; using System; using System.Collections.Generic; using System.Linq; using ...
33.87931
132
0.681425
[ "MIT" ]
AI4Bharat/INCLUDE-MS-Teams-Integration
src/AI4Bharat.ISLBot.Services/psi/ChannelSourceComponent.cs
1,967
C#
using UnityEditor; using UnityEngine; using System.IO; public class TextureCreatorWindow : EditorWindow { string filename = "myProceduralTexture"; float perlinXScale; float perlinYScale; int perlinOctaves; float perlinPersistance; float perlinHeightScale; int perlinOffsetX; int perlin...
41.439024
100
0.488228
[ "Apache-2.0" ]
PastIsPower/Unity3DTerrainSeek
Assets/Editor/TextureCreatorWindow.cs
6,798
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.Management.DataFactory { using System; using System.Collections.Generic; using System.Linq; in...
57.851852
319
0.654609
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs
3,124
C#
#region License //-------------------------------------------------- // <License> // <Copyright> 2018 © Top Nguyen </Copyright> // <Url> http://topnguyen.net/ </Url> // <Author> Top </Author> // <Project> Elect </Project> // <File> // <Name> WithoutVirtualContractResolver.cs </Name> // ...
30.217391
114
0.560432
[ "MIT" ]
nminhduc/Elect
src/Elect.Core/JsonContractResolver/WithoutVirtualContractResolver.cs
1,393
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core.Pipeline; using Azure.Management.KeyVault.Models; namespace Azure.Management.KeyVau...
47.886076
195
0.668253
[ "MIT" ]
LeighS/azure-sdk-for-net
sdk/keyvault/Azure.Management.KeyVault/src/Generated/PrivateLinkResourcesClient.cs
3,783
C#
using GzyConcept.Core.Base; using System; using System.Collections.Generic; namespace GzyConcept.Core.Entities { [Serializable] public class Product : BaseEntity { public string Name { get; set; } public string Image { get; set; } public string Explanation { get; set; } p...
21.72
61
0.640884
[ "MIT" ]
kartalm/GzyConcept
GzyConcept.Core/Entities/Product.cs
543
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/msxml.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
35.557692
145
0.621958
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/msxml/IXMLElementTests.cs
1,851
C#
using AllReady.Areas.Admin.Models; using MediatR; namespace AllReady.Areas.Admin.Features.Skills { public class SkillEditCommandAsync : IAsyncRequest<int> { public SkillEditModel Skill { get; set; } } }
22.4
59
0.71875
[ "MIT" ]
HydAu/AllReadyCopyJune10_2016
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Skills/SkillEditCommandAsync.cs
226
C#
namespace TeamBuilder.Models.Helpers { public class Constants { /* User */ public const int UsernameMinLength = 3; public const int UsernameMaxLength = 25; public const int UserFirstNameMaxLength = 25; public const int UserLastNameMaxLength = 25; public const int...
42.090909
127
0.683225
[ "MIT" ]
RAstardzhiev/SoftUni-C-
Databases Advanced - Entity Framework Core/Workshop/TeamBuilder.Models/Helpers/Constants.cs
1,391
C#
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using Diagnostics.DataProviders.DataProviderConfigurations; using Diagnostics.DataProviders.Interfaces; usin...
37.773973
160
0.570444
[ "MIT" ]
dejo-msft/Azure-AppServices-Diagnostics
src/Diagnostics.DataProviders/DataProviders/AppInsightsDataProvider.cs
5,517
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using SnippetsApp.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Identity.Client; using Microsoft.Identity.Web; using Microsoft.Graph; using System; using System.Collections.Gene...
35.349495
106
0.480512
[ "MIT" ]
isabella232/aspnet-snippets-sample
SnippetsApp/Controllers/CalendarController.cs
17,498
C#
using System.Xml.Serialization; using Wps.Client.Utils; namespace Wps.Client.Models.Ows { /// <summary> /// General metadata for a specific server. /// </summary> [XmlRoot("ServiceIdentification", Namespace = ModelNamespaces.Ows)] public class ServiceIdentification : DescriptiveObject { ...
42.128205
290
0.665247
[ "Apache-2.0" ]
52North/wps.net
src/Wps/Wps.Client/Models/Ows/ServiceIdentification.cs
1,645
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.420886
1,358
0.577155
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V3109/Generated/UKCT_MT130101UK03PertinentInformation6.cs
12,773
C#
#region File Description //----------------------------------------------------------------------------- // BloomComponent.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregio...
37.584906
111
0.583584
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/BloomSample_4_0/BloomPostprocess/BloomComponent.cs
11,952
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using SadConsole.Input; using Server; using Server.Data; using Server.Logic; using C = System.Console; namespace Client { public static partial class Consoles { ...
37.676157
118
0.520166
[ "MIT" ]
jalbert-dev/mystower
Client/Consoles/Gameplay.cs
10,587
C#
// Copyright (c) 2012, Event Store LLP // 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 condit...
38.986486
118
0.67591
[ "BSD-3-Clause" ]
ianbattersby/EventStore
src/EventStore/EventStore.Projections.Core.Tests/ClientAPI/when_handling_deleted/with_from_all_foreach_projection/when_running_and_no_indexing.cs
2,887
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Mailjet.Client; using Mailjet.Client.Resources; using Mailjet.Client.TransactionalEmails; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace Mailjet.Tests.Integration { [TestClass] pu...
35.644444
105
0.597049
[ "MIT" ]
Samy-Farnaud/mailjet-apiv3-dotnet
Mailjet.Tests/Integration/SendTransactionalEmailIntegrationTests.cs
4,814
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...
35.513514
96
0.693303
[ "Apache-2.0" ]
Gyeongin/incubator-reef
lang/cs/Org.Apache.REEF.Client/API/Exceptions/JavaNotFoundException.cs
1,280
C#
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using LastSeen.Core.Infrastructure.Deserialization; using LastSeen.Core.POs; namespace LastSeen.Core.Sevices.Implementations { public class LastSeenService : ILastSeenService { private const string DataFile = "LastSeen.data"; p...
22.898876
78
0.698724
[ "MIT" ]
spanishprisoner/lastseen
src/LastSeen.Core/Sevices/Implementations/LastSeenService.cs
2,040
C#
using System.Collections.Generic; using System.Linq; using System; namespace TravelWithUsService.DBContext.Repositories { public class OfertaParaReserva { public string Descripcion { get; private set; } public int OfertaID { get; private set; } public int HotelID { get; private set; } ...
30.119403
164
0.630823
[ "MIT" ]
Equipo12-SBDII/TravelWithUs
TravelWithUsService/TravelWithUsContextLib/Repositories/AuxiliarClasses/ReservaIndividualOpciones.cs
2,018
C#
using Albatross.Expression; using Albatross.Expression.Tokens; using DnDGen.RollGen.Expressions; using Moq; using NUnit.Framework; using System; using System.Collections.Generic; namespace DnDGen.RollGen.Tests.Unit.Expressions { [TestFixture] public class AlbatrossExpressionEvaluatorTests { privat...
33.517241
182
0.613683
[ "MIT" ]
DnDGen/RollGen
DnDGen.RollGen.Tests.Unit/Expressions/AlbatrossExpressionEvaluatorTests.cs
3,890
C#
using System; using System.Collections.Generic; using System.Text; namespace UnitCost.Dto.Catalalogs { public class UserDto { public int Id { get; set; } public string Firstname { get; set; } public string Lastname { get; set; } public string Email { get; set; } public ...
23.823529
48
0.614815
[ "MIT" ]
soyCardiel/UniCostApiNetCore
UnitCost.Api/UnitCost.Dto/Catalalogs/UserDto.cs
407
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; using System.IO; using System.IO.Compression; using System.Reflection; using Microsoft.ML.Internal.Uti...
33.189655
142
0.493506
[ "MIT" ]
AhmedsafwatEwida/machinelearning
src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs
9,625
C#
using Abp.AutoMapper; using TestApp.Todo_list; namespace TestApp.Todolist { [AutoMapTo(typeof(TodoList))] public class GetTodoListInput { public int Id { get; set; } } }
17.727273
35
0.666667
[ "MIT" ]
hasan-ak1996/boilerplate
aspnet-core/src/TestApp.Application/Todolist/Dto/GetTodoListInput.cs
197
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 SR = Bb.Sdk.Resources.Strings; using System; using System.CodeDom; using System.CodeDom.Compiler; using System...
33.68614
141
0.460525
[ "BSD-3-Clause" ]
Black-Beard-Sdk/Decompile
src/Black.Beard.Sdk.Decompiler/Microsoft/CSharp/CSharpCodeGenerator.cs
83,609
C#
using System; using System.Collections; using DCL.Controllers; using DCL.Helpers; using DCL.Models; using DCL.SettingsCommon; using UnityEngine; using AudioSettings = DCL.SettingsCommon.AudioSettings; namespace DCL.Components { public class DCLAudioStream : BaseComponent, IOutOfSceneBoundariesHandler { ...
34.950311
222
0.600675
[ "Apache-2.0" ]
dcl-glb/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/Components/Audio/DCLAudioStream.cs
5,627
C#
///=================================================================================================== /// /// Source https://github.com/PeterWaher/IoTGateway/tree/master/Security/Waher.Security.EllipticCurves /// Owner https://github.com/PeterWaher /// ///==============================================================...
24.638448
102
0.630709
[ "MIT" ]
Sakul/libranet
Blockcoli.Libra.Net/Crypto/Hashes.cs
13,970
C#
/* _BEGIN_TEMPLATE_ { "id": "UNG_022e", "name": [ "幻象", "Mirage" ], "text": [ "1/1。", "1/1." ], "cardClass": "PRIEST", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "UNGORO", "collectible": null, "dbfId": 42497 } _END_TEMPLATE_ */ namespace HREngine.Bots { clas...
13.407407
36
0.527624
[ "MIT" ]
chi-rei-den/Silverfish
cards/UNGORO/UNG/Sim_UNG_022e.cs
368
C#