content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary>Recovery plan details.</summary> [System.ComponentModel.TypeConverter(typeof(RecoveryPlanTypeConverter))] public partial class RecoveryPlan ...
147.887006
677
0.783122
[ "MIT" ]
AverageDesigner/azure-powershell
src/Migrate/generated/api/Models/Api20210210/RecoveryPlan.PowerShell.cs
26,000
C#
namespace ImpossibleOdds.Xml { using System; using ImpossibleOdds.Serialization; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = true)] public class XmlTypeAttribute : Attribute, ILookupTypeResolveParameter { private Type target = null; private o...
21.596491
118
0.682372
[ "MIT" ]
juniordiscart/ImpossibleOdds-Toolkit
Assets/Impossible Odds/Toolkit/Runtime/Xml/Attributes/XmlTypeAttribute.cs
1,233
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 BuildXL.Utilities.Instrumentation.Common; using BuildXL.Utilities.Tracing; #pragma warning disable 1591 namespace BuildXL.Native.Tracing ...
41.377049
140
0.5937
[ "MIT" ]
blufugen/BuildXL
Public/src/Utilities/Native/Tracing/Log.cs
5,048
C#
using System; using System.Collections.Generic; using System.Text; namespace Shove.Gateways.Weixin.Gongzhong { /// <summary> /// 图片,图文类消息 /// </summary> public class ImageTextMessage : Message { private string _ArticleCount; /// <summary> /// 图文消息个数,限制为10条以内 ...
25.592105
114
0.480206
[ "MIT" ]
EIMSKobe/Shove.NetCore
Shove.NetCore/Gateways/Weixin/Gongzhong/Message/ReplyMessage/ImageTextMessage.cs
2,157
C#
namespace Msg.Core.Transport.Frames.Constants { public static class Performatives { public const string Begin = "Begin"; public const string Attach = "Attach"; public const string Open = "Open"; public const string Flow = "Flow"; public const string Transfer = "Trans...
21.16
56
0.618147
[ "Apache-2.0" ]
jagrem/msg
Core/Msg.Core/Transport/Frames/Constants/Performatives.cs
531
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
44.351648
126
0.579286
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/NetApp/V20190801/Account.cs
8,072
C#
using System; using System.Collections.Generic; namespace Day_13 { class Program { static void Main() { string input = System.IO.File.ReadAllText("../../../input.txt"); Console.WriteLine(Part1(input)); Console.WriteLine(Part2(input)); } stat...
27.356322
76
0.317647
[ "MIT" ]
fourjr/advent-of-code
2020/Day 13/Program.cs
2,382
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simple.Data.Ado { using System.Data; class ConnectionScope : IDisposable { private readonly IDbConnection _connection; public IDbConnection Connection { get ...
24.8
102
0.560036
[ "MIT" ]
SimonH/Simple.Data
Simple.Data.Ado/ConnectionScope.cs
1,118
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("Per...
38.648649
84
0.751748
[ "MIT" ]
Slesa/Godot
src/PersonalPlanung/PersonalPlanung.Persistence.xml/Properties/AssemblyInfo.cs
1,433
C#
// Copyright (c) 2021, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System.Runtime.Serialization; using Moryx.Serialization; namespace Moryx.ControlSystem.VisualInstructions { /// <summary> /// Type of instruction /// </summary> public enum InstructionContentTy...
24.921875
57
0.561755
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Factory
src/Moryx.ControlSystem/VisualInstructions/VisualInstruction.cs
1,595
C#
using System; using cryptography.Services; using NUnit.Framework; namespace cryptography.tests.ServiceTests { public class StringOperationsServiceTests { [Test] [TestCase("abcadaa", 'a', new[] {0,3,5,6})] [TestCase("Test String", 's', new[] {2})] [TestCase("Test String", 't', ne...
29.258065
98
0.507166
[ "MIT" ]
SimAin/Cryptography
cryptography.tests/ServiceTests/StringOperationsServiceTests.cs
907
C#
using MediaManager.Notifications; using MediaPlayer; namespace MediaManager.Platforms.Apple.Notifications { public class NotificationManager : NotificationManagerBase { public NotificationManager() { Enabled = true; } protected MediaManagerImplementation MediaManag...
36.652344
135
0.609826
[ "MIT" ]
BaseflowIT/XamarinMediaManager
MediaManager/Platforms/Apple/Notifications/NotificationManager.cs
9,385
C#
using Lucene.Net.Analysis.Util; using NUnit.Framework; using System.IO; using Reader = System.IO.TextReader; namespace Lucene.Net.Analysis.Miscellaneous { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this wo...
47.614035
195
0.614149
[ "Apache-2.0" ]
BlueCurve-Team/lucenenet
src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestCapitalizationFilterFactory.cs
13,572
C#
/* * Swagger Petstore * * This is a sample Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swa...
32.482014
176
0.546844
[ "Apache-2.0" ]
Cadcorp/swagger-codegen
samples/composed/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Macaw.cs
4,515
C#
using FreeSql.Internal.Model; using System; using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Threading.Tasks; namespace FreeSql.Internal.CommonProvider { abstract class Select6Provider<T1, T2, T3, T4, T5, T6> : Select0Provider<ISelect<T1, T2, T3, T4, T5, T6>, T1>, ISe...
60.245283
289
0.690051
[ "MIT" ]
orm-core-group/FreeSql
FreeSql/Internal/CommonProvider/SelectProvider/Select6Provider.cs
9,581
C#
using FeatureFlags.APIs.Services; namespace FeatureFlags.APIs.Models { public abstract class UserVariation { public VariationOption Variation { get; } public abstract bool SendToExperiment { get; } protected UserVariation(VariationOption variation) { Variation = va...
35.605839
118
0.604551
[ "Apache-2.0" ]
ZhenhangTung/feature-flags-co
FeatureFlagsCo.APIs/FeatureFlags.APIs/Models/UserVariation.cs
4,880
C#
using System; using System.Collections.Generic; using System.Text; namespace TStack.RedisExchange.Tool { public interface ISerializer { SerializerType SerializerType { get; set; } object SerializeObject<T>(T value); T DeserializeObject<T>(object value); object DeserializeObject...
22.857143
58
0.666667
[ "MIT" ]
ferhatcandas/TStack.RedisExchange
src/TStack.RedisExchange/Tool/ISerializer.cs
482
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.CodeDom; using System.Collections.Generic; using System.ComponentModel.Design.Serialization; using Sys...
46.454545
156
0.697652
[ "MIT" ]
15835229565/winforms-1
src/System.Windows.Forms.Design/tests/UnitTests/System/ComponentModel/Design/Serialization/CodeDomSerializerExceptionTests.cs
5,112
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26.Maps { using V26; /// <summary> /// SPM (SegmentMap) - Specimen /// </summa...
41.843137
121
0.577788
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.HL7Schema/Generated/V26/Segments/Maps/SPMMap.cs
2,134
C#
// <auto-generated> // 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 // re...
33.483333
90
0.621205
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Management.Batch/src/Generated/Models/PoolDisableAutoScaleHeaders.cs
2,009
C#
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; using System.Windows.Media.Imaging; namespace DeveImageOptimizerWPF.Converters { [ValueConversion(typeof(string), typeof(ImageSource))] public class StringToImageSourceConverter : IValueConverter { pub...
33.25641
141
0.593678
[ "MIT" ]
devedse/DeveImageOptimizerWPF
DeveImageOptimizerWPF/Converters/StringToImageSourceConverter.cs
1,299
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("CS...
39.675676
84
0.745913
[ "MIT" ]
Crown0815/csla
Source/Csla.Validation.Net4.5/Properties/AssemblyInfo.cs
1,471
C#
using System; using NpcService.Ai.NpcType; namespace NpcService.Ai.NpcCitizen { public class SymbolMakerMarsden : Citizen { } }
14.1
45
0.723404
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
dr3dd/L2Interlude
NpcService/Ai/NpcCitizen/SymbolMakerMarsden.cs
141
C#
using System.Collections.Generic; using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayOfflineMarketShopPublicUnbindResponse. /// </summary> public class AlipayOfflineMarketShopPublicUnbindResponse : AlipayResponse {...
29.6
84
0.628378
[ "MIT" ]
AkonCoder/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOfflineMarketShopPublicUnbindResponse.cs
1,166
C#
using Anno.EventBus; using SamplesEventBus.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamplesEventBus.EventHandlers { public class MailSend : IEventHandler<Notice> { public void Handler(Notice entity) { ...
21.368421
68
0.697044
[ "Apache-2.0" ]
duyanming/Anno.Samples
SamplesEventBus/SamplesEventBus/EventHandlers/MailSend.cs
412
C#
using System; namespace UnityEngine.Rendering.PostProcessing { public enum GradingMode { LowDefinitionRange, HighDefinitionRange, External } public enum Tonemapper { None, // Neutral tonemapper (based off John Hable's & Jim Hejl's work) ...
56.953846
331
0.627199
[ "Apache-2.0" ]
an-garcia/GameKit2D
Assets/2DGamekit/Utilities/PostProcessing/Runtime/Effects/ColorGrading.cs
33,318
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...
38.58046
129
0.638463
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/AuthorizeDBSecurityGroupIngressRequest.cs
6,713
C#
using Backtrace.Unity.Model; using System.Collections.Generic; namespace Backtrace.Unity.Runtime.Native { internal static class NativeClientFactory { internal static INativeClient CreateNativeClient(BacktraceConfiguration configuration, string gameObjectName, IDictionary<string, string> attributes, IC...
34.590909
190
0.7477
[ "MIT" ]
anchan828/backtrace-unity
Runtime/Native/NativeClientFactory.cs
763
C#
using JBP.ConnectionUtilities; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; namespace JBP.NetworkUtilities.Client { public c...
36.420561
149
0.49089
[ "BSD-2-Clause" ]
jamshi/MultiThreading-with-client-server-c-
NetworkUtilities/Client.cs
3,899
C#
using NUnit.Framework; using System; using WSharp.Compiler.Symbols; namespace WSharp.Compiler.Tests.Symbols { public static class TypeSymbolTests { [Test] public static void LookupUnknownTypeSymbol() => Assert.That(TypeSymbol.Lookup(Guid.NewGuid().ToString()), Is.Null); [TestCase(TypeSymbol.BooleanName)] ...
26.413793
79
0.732376
[ "MIT" ]
JasonBock/WSharp
WSharp.Compiler.Tests/Symbols/TypeSymbolTests.cs
768
C#
using System.Data; using System.Data.Common; namespace Zephyr.Data.Providers.Common { internal class ConnectionFactory { public static IDbConnection CreateConnection(string providerName, string connectionString) { var factory = DbProviderFactories.GetFactory(providerName); var connection = factory.Create...
23.111111
92
0.783654
[ "MIT" ]
zhupangithub/WEBERP
Code/Zephyr.Net/Zephyr.Data/Providers/Common/ConnectionFactory.cs
418
C#
#region Copyright (C) 2017-2020 Yaroslav Tatarenko // Copyright (C) 2017-2020 Yaroslav Tatarenko // This product uses MediaInfo library, Copyright (c) 2002-2020 MediaArea.net SARL. // https://mediaarea.net #endregion using System.Diagnostics; using Xunit; namespace MediaInfo.Wrapper.Tests { public class FactInD...
20.56
84
0.698444
[ "BSD-2-Clause" ]
bejhanj/MP-MediaInfo
MediaInfo.Wrapper.Tests/FactInDebugOnlyAttribute.cs
516
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...
40.534653
174
0.658769
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Organizations/Generated/Model/AcceptHandshakeRequest.cs
4,094
C#
using System.Reactive.Linq; using Avalonia; using BeUtl.Framework.Services; using Microsoft.Extensions.DependencyInjection; using Reactive.Bindings; using S = BeUtl.Language.StringResources; namespace BeUtl.ViewModels.Dialogs; public sealed class CreateNewProjectViewModel { public CreateNewProjectViewModel(...
26.858333
99
0.52901
[ "MIT" ]
b-editor/BeUtl
src/BeUtl/ViewModels/Dialogs/CreateNewProjectViewModel.cs
3,225
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("Mi...
39.432432
84
0.751199
[ "MIT" ]
SivilTaram/Recognizers-Text
Microsoft.Recognizers.Text.Number.Tests/Properties/AssemblyInfo.cs
1,462
C#
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { /// <summary> /// Barbados /// </summary> public class BarbadosProvider : IPublicHolidayProvider { private readonly ICatholicProvider ...
42.383333
115
0.627998
[ "MIT" ]
raculus/Nager.Date
Src/Nager.Date/PublicHolidays/BarbadosProvider.cs
2,545
C#
namespace ThemeParkWorldRPC { public struct TpwMessageEventArgs { public string Message { get; } public TpwMessageEventArgs(string message) { Message = message; } } }
17.307692
50
0.582222
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
xezno/ThemeParkWorldRPC
ThemeParkWorldRPC/TpwMessageEventArgs.cs
227
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> //--...
43.84375
187
0.615467
[ "MIT" ]
EminentTechnology/Mailer
src/workers/Mailer.WindowsService/Properties/Resources.Designer.cs
2,808
C#
#region Copyright and License // Copyright 2010..2017 Alexander Reinert // // This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (http://arsofttoolsnet.codeplex.com/) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
32.222222
122
0.698621
[ "Apache-2.0" ]
Nicholi/ARSoft.Tools.Net
ARSoft.Tools.Net/Dns/Resolver/DnsSecResult.cs
1,452
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using Microsoft.Build.Evaluation; namespace Xamarin.MSBuild.Sdk { public sealed class ProjectDependencyNode : IDependencyNode { readonly Lis...
32.703704
103
0.638165
[ "MIT" ]
KirillOsenkov/mirepoix
src/Xamarin.MSBuild.Sdk/ProjectDependencyNode.cs
1,766
C#
using Home.Neeo.Interfaces; using Home.Neeo.Models; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Home.Neeo.Device.Handler { internal class HttpRequestHandler : IRequestHandler { private readonly RequestHandler _requestHandl...
36.875
116
0.506155
[ "MIT" ]
MilanOTy/NeeoApi
NeeoApiLib/Device/Handler/HttpRequestHandler.cs
5,607
C#
using System; using System.Collections.Generic; using RimWorld; using Verse; using HarmonyLib; using System.Reflection; using TerrainMovement; using System.IO; using System.Linq; using Verse.AI; namespace Swimming { public sealed class SwimmingMod : Mod { public const String HarmonyId = "net.mseal.rim...
37.72093
221
0.577021
[ "MIT" ]
MSeal/RimworldSwimming
SwimmingMod/SwimmingPatches.cs
22,710
C#
// <auto-generated /> // Built from: hl7.fhir.r5.core version: 4.6.0 // Option: "NAMESPACE" = "fhirCsR5" using fhirCsR5.Models; namespace fhirCsR5.ValueSets { /// <summary> /// A code that specifies a type of context being specified by a usage context. /// </summary> public static class UsageContextTypeCode...
44.752577
334
0.679337
[ "MIT" ]
FirelyTeam/fhir-codegen
src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/UsageContextType.cs
4,341
C#
using Android.App; using Android.OS; using JobTest.Droid.Services; namespace JobTest.Droid.Views { [Activity()] public class MainView : BaseView { protected override int LayoutResource => Resource.Layout.FirstView; protected override void OnCreate(Bundle bundle) { ...
30.774194
103
0.641509
[ "MIT" ]
thefex/JobScheduler_vs_Service
JobTest.Service/JobTest/JobTest.Droid/Views/MainView.cs
954
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2019 // // 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 r...
46.852941
260
0.765223
[ "MIT" ]
Y-Less/SharpVk
src/SharpVk/Multivendor/DebugReportCallbackDelegate.gen.cs
1,593
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.680556
180
0.60395
[ "MIT" ]
rediberry/Estudio_contable_springfield
Estudio_Contable_Springfield/PruebaWinForms/Properties/Resources.Designer.cs
2,787
C#
namespace TDDInlamning1_MLarsson.GeometricThings { /// <summary> /// Class to handle the rectangle object. /// </summary> public class Rectangle : GeometricThing { public Rectangle(float width, float height) { this.Width = width; this.Height = height; ...
25.178571
88
0.524823
[ "MIT" ]
marcusjobb/NET20D
TDD/Inlämning1/Mikael/TDDInlamning1_MLarsson/GeometricThings/Rectangle.cs
707
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace Kartverket.Geonorge.Download.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey ...
37.526012
175
0.570548
[ "MIT" ]
kartverket/Geonorge.NedlastingAPI
Kartverket.Geonorge.Download/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6,492
C#
/* * Copyright, 2021, LogicMonitor, Inc. * 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.Collections.Generic; using System.Lin...
38.743363
340
0.600731
[ "MPL-2.0" ]
AakashKhopade/lm-data-sdk-dotnet
LogicMonitor.DataSDK/Model/RestInstancePropertiesV1.cs
4,378
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// KoubeiMarketingCampaignIntelligentPromoBatchqueryModel Data Structure. /// </summary> [Serializable] public class KoubeiMarketingCampaignIntelligentPromoBatchqueryModel : AopObject { //...
26.108108
83
0.586957
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/KoubeiMarketingCampaignIntelligentPromoBatchqueryModel.cs
1,048
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.42000 // // Changes to this...
58.296407
255
0.647065
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Specs/ContentRights.feature.cs
19,473
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.Globalization; using TestLibrary; /// <summary> /// UInt64.ToString(System.IFormatProvide...
28.259414
132
0.550933
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/CoreMangLib/cti/system/uint64/uint64tostring2.cs
6,754
C#
using System.Collections.Generic; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Primitives; namespace Arbor.AspNetCore.Host.Hosting { public class ConfigurationWrapper : IConfigurationRoot { private readonly IConfigurationRoot _hostingContextConfiguration; public Config...
37.166667
110
0.738416
[ "MIT" ]
niklaslundberg/Arbor.AspNetCore.Host
src/Arbor.AspNetCore.Host/Hosting/ConfigurationWrapper.cs
1,340
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.673684
146
0.602448
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/AwsEc2NetworkInterfaceDetails.cs
6,208
C#
using System; using FubuMVC.Core.Packaging; using FubuMVC.Spark.SparkModel; namespace FubuMVC.Spark { public interface ITemplateFinderConvention { void Configure(TemplateFinder finder); } public class LambdaTemplateFinderConvention : ITemplateFinderConvention { privat...
31.975
126
0.6724
[ "Apache-2.0" ]
uluhonolulu/fubumvc
src/FubuMVC.Spark/ITemplateFinderConvention.cs
1,281
C#
namespace lab4_lpf { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
45.444444
172
0.617077
[ "MIT" ]
adrianB3/mtp_lab
lab4_lpf/lab4_lpf/Form1.Designer.cs
5,319
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 System.IO; using NuGet.Common; namespace NuGet.Packaging.Signing { public sealed class SigningOptio...
45.311111
139
0.611329
[ "Apache-2.0" ]
BdDsl/NuGet.Client
src/NuGet.Core/NuGet.Packaging/Signing/Authoring/SigningOptions.cs
8,156
C#
// __ _ __ __ ___ __ ___ ___ // | \| |/__\ /' _/ / _//__\| _ \ __| // | | ' | \/ |`._`.| \_| \/ | v / _| // |_|\__|\__/ |___/ \__/\__/|_|_\___| // ----------------------------------- namespace NosCore.Packets.Enumerations { public enum FactionType : byte { Neutral = 0, Angel = 1, ...
22.8
38
0.374269
[ "MIT" ]
Fizo55/NosCore.Packets
src/NosCore.Packets/Enumerations/FactionType.cs
344
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace verfiedShops { public class Program { public s...
25.703704
70
0.645533
[ "MIT" ]
85nnamdi/verifiedShops
verfiedShops/Program.cs
694
C#
#region copyright // ----------------------------------------------------------------------- // <copyright file="ApplicationVersionSpec.cs" company="Bartosz Sypytkowski"> // Copyright (C) 2015-2019 Red Bull Media House GmbH <http://www.redbullmediahouse.com> // Copyright (C) 2019-2019 Bartosz Sypytkowski <b...
37.790698
100
0.585231
[ "Apache-2.0" ]
Horusiath/Eventuate.NET
src/Eventuate.Tests/ApplicationVersionSpec.cs
1,627
C#
using Abp.EntityFrameworkCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.EntityFrameworkCore; using AnJingBolerplateProject.EntityFrameworkCore.Seed; namespace AnJingBolerplateProject.EntityFrameworkCore { [DependsOn( typeof(AnJingBolerplateProjectCoreModule), ...
34.27451
131
0.618421
[ "MIT" ]
396122519/AnJingBolerplateProject
src/AnJingBolerplateProject.EntityFrameworkCore/EntityFrameworkCore/AnJingBolerplateProjectEntityFrameworkModule.cs
1,750
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/mmdeviceapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
42.173077
150
0.681259
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/mmdeviceapi/IActivateAudioInterfaceAsyncOperationTests.cs
2,195
C#
using Application.Interfaces; using Application.Photos; using CloudinaryDotNet; using CloudinaryDotNet.Actions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using System; namespace Infrastructure.Photos { public class PhotoAccessor : IPhotoAccessor { private readonly Cloudinary...
30.237288
113
0.579036
[ "MIT" ]
helderboone/reactivity
infrastructure/Photos/PhotoAccessor.cs
1,786
C#
// MIT License // // Copyright (c) 2016-2018 Wojciech Nagórski // Michael DeMond // // 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 witho...
41.552632
263
0.728309
[ "MIT" ]
SuricateCan/ExtendedXmlSerializer
test/ExtendedXmlSerializer.Tests/ExtensionModel/Xml/CustomXmlExtensionTests.cs
3,161
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v4/enums/user_list_prepopulation_status.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Goo...
37.743363
344
0.704572
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
src/V4/Types/UserListPrepopulationStatus.cs
8,530
C#
namespace Retlang.Channels { /// <summary> /// /// </summary> /// <typeparam name="R"></typeparam> /// <typeparam name="M"></typeparam> public interface IRequestPublisher<R, M> { /// <summary> /// Send request on the channel. /// </summary> /// <p...
24.222222
45
0.495413
[ "BSD-3-Clause" ]
David-Desmaisons/Fiber
src/Retlang/Channels/IRequestPublisher.cs
436
C#
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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, modify, ...
37.112782
112
0.62581
[ "MIT" ]
Aggror/Stride
sources/core/Stride.Core.Yaml.Tests/Serialization/TracingVisitor.cs
4,936
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Translator { abstract public class Assembler { public const string FLAG_HANA_CONCAT = "HANAConcat"; private HashSet<string> flags = new HashSet<string>(); abstract public void Clear(); ...
21.71831
64
0.553178
[ "MIT" ]
B1SA/HanaTranslator-Src
Translator/Assembler.cs
1,544
C#
using System; using System.Collections.Generic; using System.Text; namespace CarManufacturer { public class Tire { private int year; private double pressure; public Tire(int year, double pressure) { this.Year = year; this.Pressure = pressure; } ...
18.935484
46
0.50937
[ "MIT" ]
aalishov/School
School-2021_2022/11_B/M01-OOP/S05-ClassesAndObjects/P04-CarWithEngineAndTires/Tire.cs
589
C#
using System.Collections.Generic; namespace AnalyzeMe.Tests.TestFixtures { public static class RxSubscribeMethodTestFixtures { private const string Source = @"using System; namespace System { public static class ObservableExtensions { public static IDisposable Subscribe<T>(this IObser...
36.563981
140
0.45593
[ "MIT" ]
DrunkyBard/AnalyzeMe
src/AnalyzeMe/AnalyzeMe.Tests/TestFixtures/RxSubscribeMethodTestFixtures.cs
15,432
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Threading; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Prng; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Security { public class Se...
31.981273
140
0.513643
[ "MIT" ]
czlsy009/UnityAppMVCFramework
Framework/Assets/SilenceFramework/Libs/Best HTTP (Pro)/BestHTTP/SecureProtocol/security/SecureRandom.cs
8,539
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LevelManager : MonoBehaviour { [SerializeField] List<GameObject> MaterialObjects = new List<GameObject>(); [SerializeField] GameObject levelTileMap; [SerializeField] public float xCoordLow = 0; [SerializeField]...
27.892857
79
0.68886
[ "MIT" ]
Airtoum/EllumiTheFireSprite
Assets/Level Scripts/LevelManager.cs
781
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Dive.App.Data; using Xunit; namespace Dive.Tests.Integration.Authentication { public class RegisterTest : IClassFixture<TestApplicationFixture> { public HttpClie...
32.128205
95
0.601756
[ "MIT" ]
Robert-Jan/dive
tests/Integration/Authentication/RegisterTest.cs
1,253
C#
namespace MassTransit.Middleware { using System; using System.Diagnostics; using System.Threading.Tasks; using Logging; /// <summary> /// Consumes a message via Consumer, resolved through the consumer factory and notifies the context that the message was consumed. /// </summary> /// <t...
37.383562
146
0.63723
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
src/MassTransit/Middleware/ConsumerMessageFilter.cs
2,729
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
44.642857
126
0.7456
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/Gallio/Gallio/Framework/Assertions/AssertionFailureExplanation.cs
1,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace NativeInterop.Dll { /// <summary> /// ネイティブ側とのやり取りにコールバック関数を使いたい場合。 /// .NET のデリゲートを、ネイティブ側の関数ポインターにマーシャリングしてくれる仕組みがある。 /// </summary> ...
29.502703
90
0.517772
[ "Apache-2.0" ]
ufcpp/UfcppSample
Chapters/Interop/NativeInterop/Dll/CallbackSample.cs
7,260
C#
// Copyright 2018 Google Inc. 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 // // Unless required by applicabl...
34.47191
146
0.643416
[ "Apache-2.0" ]
ArulMozhiVaradan/google-cloud-dotnet
apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Tests/Logging/LabelProviders/HttpLogEntryLabelProviderTest.cs
3,070
C#
using Lyra.Core.API; using Lyra.Core.Blocks; using Lyra.Core.Decentralize; using Lyra.Exchange; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace Lyra.Core.API { public class LyraRestC...
40.842482
178
0.607959
[ "MIT" ]
wizd/WizardDAG
Core/Lyra.Core/API/LyraRestClient.cs
17,115
C#
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace EasyAbp.CacheManagement.HttpApi.Client.ConsoleTestApp { class Program { static async Task Main(string[] args) { await CreateHostBuilder(args).RunConsoleAsync(...
28.863636
77
0.637795
[ "MIT" ]
DosSEdo/CacheManagement
test/EasyAbp.CacheManagement.HttpApi.Client.ConsoleTestApp/Program.cs
637
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.Storage.Models { /// <summary> An error response from the storage resource provider. </summary> internal partial class ErrorResponse { ...
29.931034
94
0.653226
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ErrorResponse.cs
868
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.450/blob/master/LICENSE * */ #endregion using System; using System.ComponentModel; using System.Drawing; using Sys...
29.813433
124
0.54418
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.450
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/Code/Utilities/Utility.cs
3,997
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; #if TMP_PRESENT using TMPro; #endif /// <summary> /// The axis used in WMG_Axis_Chart for X / Y axes, as well as secondary Y axis in Dual Y axis charts. /// </summary> public class WMG_Axis : WMG_GUI_Functions { public WMG_Axis_Graph gr...
35.049673
223
0.704863
[ "MIT" ]
DrFrolicks/DiamondHandTrainer
Assets/Graph_Maker/Scripts/WMG_Axis.cs
53,628
C#
using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace Mit4RobotApp { public class TBSHighScores : UITableViewSource { public event EventHandler<RowSelectedEventArgs> OnRowSelected; private string[] highScoreItems; private string cellIdentifier = "cell"; public TBSHighScores(...
23.349206
87
0.740313
[ "MIT" ]
ZuydUniversity/ProgramADroid
Mit4Robot/Mit4Robot_iOS/Resources/TableviewSources/TBSHighScores.cs
1,471
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> //--...
34.548387
151
0.583567
[ "MIT" ]
Casperento/a3-color-converter
A3ColorConverter/A3ColorConverter/Properties/Settings.Designer.cs
1,073
C#
using UnityEngine; [CreateAssetMenu(fileName = "Vector3NullableVariable", menuName = "Variables/Vector3NullableVariable")] public class Vector3NullableVariable : BaseVariableAsset<Vector3?> { public bool HasValue() { return value.HasValue; } public override bool Equals(Vector3? other) { ...
23.733333
103
0.699438
[ "Apache-2.0" ]
Marguelgtz/explorer
unity-client/Assets/Scripts/MainScripts/DCL/ScriptableObject/Variables/Vector3NullableVariable.cs
356
C#
using System.Diagnostics; using System.Runtime.CompilerServices; namespace Lutra { public class GameLoop { #region Public Properties public bool Active; public bool FixedTimeStep; public double TargetFrameRate { get; private set; } public TimeSpan TargetElapsedTime { g...
25.660256
103
0.531601
[ "MIT" ]
emmyleaf/Lutra
Lutra/src/Systems/GameLoop.cs
4,003
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading; using Regen.Builtins; using Regen.Compiler.Helpers; using Regen.Data...
41.594059
174
0.618067
[ "MIT" ]
Nucs/Regen
src/Regen.Core/Compiler/RegenCompiler.cs
8,404
C#
// <copyright file="IUserProfile.Generated.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> // This file was automatically generated. Don't modify it ...
26.125
112
0.67823
[ "Apache-2.0" ]
cwoolum/okta-sdk-dotnet
src/Okta.Sdk/Generated/IUserProfile.Generated.cs
836
C#
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using RezRouting.Configuration; using RezRouting.Resources; using Xunit; namespace RezRouting.Tests.Configuration { public class ResourceCustomPropertyConfigurationTests { [Fact] public void custom_prope...
32.760563
91
0.548581
[ "MIT" ]
danmalcolm/RezRouting.Net
src/RezRouting.Tests/Configuration/ResourceCustomPropertyConfigurationTests.cs
2,328
C#
using RATools.Data; using RATools.Parser.Internal; using System.Collections.Generic; using System.Linq; namespace RATools.Parser.Functions { internal abstract class ComparisonModificationFunction : TriggerBuilderContext.FunctionDefinition { public ComparisonModificationFunction(string name) ...
39.195402
149
0.631085
[ "MIT" ]
gdeOo/RATools
Parser/Functions/ComparisonModificationFunction.cs
3,412
C#
using Bridge.QUnit; using ClientTestLibrary.Utilities; using System.Linq; namespace ClientTestLibrary.Linq { class TestLinqSetOperators { public static void Test(Assert assert) { // TEST int[] a = { 1, 2 }; int[] b = { 1, 2 }; var result = a.Int...
43.661765
137
0.546986
[ "Apache-2.0" ]
corefan/Bridge
Testing/tests/client/Tests/Linq/TestLinqSetOperators.cs
2,971
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CBTTaskSendTutorialEvent : IBehTreeTask ...
35.969697
136
0.723673
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CBTTaskSendTutorialEvent.cs
1,187
C#
using System; namespace p06RhombusOfStars { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); for (int row = 1; row <= n; row++) { Console.Write(new string(' ', n - row)); for (int i = ...
20.891892
56
0.332471
[ "MIT" ]
vesy53/SoftUni
Programming Basics - C#/Exercises/06.DrawingFiguresWithLoops/p06RhombusOfStars/Program.cs
775
C#
using System; using System.Collections.Generic; using System.Text; namespace EP94.LgSmartThinq.Utils { public enum LogLevel { Fatal, Error, Warning, Information, Debug, Verbose } public class SmartThinqLogger { public static LogHandler OnNewL...
24.076923
102
0.64377
[ "MIT" ]
evaanp/EP94.LgSmartThinq
Utils/SmartThinqLogger.cs
628
C#
using UnityEngine; public class MoveToClickPoint : NavMeshAgentMovement { [SerializeField] private GameObject m_clickedVisualPrefab; private bool m_hasClickedPrefab; private GameObject m_clickedVisualGameObject; private bool m_hasClickedVisualGameObject; [SerializeField] private CodedGameEventList...
28.6125
113
0.659677
[ "MIT" ]
JamesLaFritz/TheGreatFleece
Assets/The Great Fleece/Game/Scripts/Movement/MoveToClickPoint.cs
2,289
C#
using ReserveBlockCore.Data; using ReserveBlockCore.Models; using ReserveBlockCore.Services; namespace ReserveBlockCore.Utilities { public class BlockchainRescanUtility { public static async Task<bool> ValidateBlock(Block block, bool blockDownloads = false) { bool result = false; ...
32.225225
122
0.488957
[ "MIT" ]
ReserveBlockIO/Core-CLI
ReserveBlockCore/Utilities/BlockchainRescanUtility.cs
3,579
C#
using System; using NUnit.Framework; using System.Collections.Generic; using System.Linq; using FluentAssertions; namespace CK.Text.Tests { [TestFixture] public class StringMatcherMatchJSONTests { [Test] public void match_JSON_objects() { { var j = @"{""A...
34.963855
123
0.4204
[ "MIT" ]
Kuinox/CK-Text
Tests/CK.Text.Tests/StringMatcherMatchJSONTests.cs
2,902
C#
// ----------------------------------------------------------------- // <copyright file="GameListenerTests.cs" company="2Dudes"> // Copyright (c) | Jose L. Nunez de Caceres et al. // https://linkedin.com/in/nunezdecaceres // // All Rights Reserved. // // Licensed under the MIT License. See LICENSE in the project root f...
45.011765
254
0.646628
[ "MIT" ]
jlnunez89/fibula-mmo
src/Fibula.Communications.Tests/GameListenerTests.cs
7,652
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Rwp { public partial class ReleaseNotes : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } ...
19.705882
60
0.635821
[ "MIT" ]
rlittletht/RWLLPracticeTool
Rwp/ReleaseNotes.aspx.cs
337
C#
// Copyright 2018 Esri. // // 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 writing, software ...
44.375
228
0.649531
[ "Apache-2.0" ]
ChrisFrenchPDX/arcgis-runtime-samples-dotnet
src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Local Server/LocalServerMapImageLayer/LocalServerMapImageLayer.xaml.cs
4,260
C#