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
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.Sharing { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>Properties of th...
43.99187
143
0.55803
[ "MIT" ]
AlirezaMaddah/dropbox-sdk-dotnet
dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/SharedFolderMetadataBase.cs
10,822
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayOpenMiniDataSummaryQueryResponse. /// </summary> public class AlipayOpenMiniDataSummaryQueryResponse : AlipayResponse { /// <summary> /// 页面访问次数 /// </summary> ...
25.557895
72
0.515239
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayOpenMiniDataSummaryQueryResponse.cs
2,592
C#
using System; using System.Collections.Generic; using System.Text; namespace Sophia.Recommending.RecommendationStraregies.ChrevRecommendationStrategy { public class ChrevMetaCandidateInfo : IMetaCandidateInfo { public int GlobalTotalReviews { get; set; } public int GlobalTotalCommits { get; s...
27.615385
82
0.688022
[ "MIT" ]
CESEL/Sofia
src/Sofia.Recommending/RecommendationStraregies/ChrevRecommendationStrategy/ChrevMetaCandidateInfo.cs
720
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...
37.330097
139
0.63485
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/UnauthenticatedExceptionUnmarshaller.cs
3,845
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = glob...
40.628458
296
0.714661
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/Schema/Predict/Params/ImageSegmentation.g.cs
10,279
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> //---...
42.208333
80
0.649556
[ "MIT" ]
kenguil/Bot4.6
14.nlp-with-dispatch/obj/Debug/netcoreapp3.1/NLP-With-Dispatch-Bot.AssemblyInfo.cs
1,013
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Microsoft.MixedReality.OpenXR { public abstract class Disposable : IDisposable { protected bool disposedValue { get; private set; } protected virtual void DisposeManagedResources() { ...
27.72549
100
0.557992
[ "MIT" ]
YitingLiu97/Lifeline2022
MSBuild/PackagesCopy/com.microsoft.mixedreality.openxr/Runtime/Utilities/Disposable.cs
1,414
C#
using System; using System.ComponentModel; namespace Common.Enums { [Serializable] public enum DayOfTheWeek : int { /// <summary> /// Monday /// </summary> [Description("Monday")] Monday = 0, /// <summary> /// Tuesday /// </summary> ...
19.196078
34
0.434116
[ "MIT" ]
salda8/Quant-Finance-Mngmt-System
CommonStandard/Enums/DayOfTheWeek.cs
981
C#
using System; #if !NETSTANDARD16 using System.Configuration; #endif namespace RomanticWeb.Configuration { /// <summary>Configuration element to set base Uri for.</summary> #if NETSTANDARD16 public class BaseUriElement { private Uri _default; /// <summary>Gets or sets the defaul...
27.444444
70
0.6083
[ "BSD-3-Clause" ]
alien-mcl/RomanticWeb
RomanticWeb/Configuration/BaseUriElement.cs
990
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. // Modified for Intuit's Oauth2 implementation using Intuit.Ipp.OAuth2PlatformClient; using Newtonsoft.Json.Linq; using System; using System.C...
35.815451
169
0.571959
[ "Apache-2.0" ]
ANSIOS-X9SAN-iOS-XR/QuickBooks-V3-DotNET-SDK
IPPDotNetDevKitCSV3/Code/Intuit.Ipp.OAuth2PlatformClient/Client/DiscoveryResponse.cs
8,347
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System.Linq; // ReSharper disable InconsistentNaming // ReSharper disable MemberHidesStaticFromOuterClass namespace SixLabors.ImageSharp.Tests { /// <summary> /// Class that contains all the relative test image paths in the ...
62.244932
221
0.660669
[ "Apache-2.0" ]
carbon/ImageSharp
tests/ImageSharp.Tests/TestImages.cs
36,849
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
64.881356
362
0.774033
[ "Apache-2.0" ]
dorki/aws-sdk-net
sdk/src/Services/Signer/Properties/AssemblyInfo.cs
3,828
C#
using Contoso.GameNetCore.Builder; using Contoso.GameNetCore.Hosting; using Contoso.GameNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace Http2SampleApp { public class Startup { public void ConfigureServices(IServiceCollection services) { } ...
24.04
96
0.603993
[ "Apache-2.0" ]
bclnet/GameNetCore
src/Servers/Kestrel/samples/Proto2SampleApp/Startup.cs
601
C#
using System; using System.Threading.Tasks; using Xunit; namespace ActualBudget.Api.FunctionalTests { public class ActualClientWithBudgetFacts : IClassFixture<ActualClientWithBudgetFacts.ActualClientFixture> { private readonly ActualClientFixture _fixture; public IActualClient Client => _fixtu...
26.772727
109
0.587436
[ "MIT" ]
Silvenga/actualbudget-net
tests/ActualBudget.Api.FunctionalTests/ActualClientWithBudgetFacts.cs
1,178
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using Dolittle.Runtime.Projections.Store.State; using ContractsProjectionCurrentState = Dolittle.Runtime.Projections...
46.5
130
0.670062
[ "MIT" ]
dolittle/Runtime
Source/Events.Processing/Projections/ProjectionCurrentStateExtensions.cs
1,767
C#
using System.Reflection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.ApiExplorer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using WebApplication1.Api; using WebApplication1.Api.Infrastructure.Extensions; using We...
29.270833
120
0.674733
[ "Apache-2.0" ]
dgzornoza/net-api-raiden
WebApplication1/Tests/WebApplication1.IntegrationTest/TestStartup.cs
1,407
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18408 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerat...
24.535873
195
0.67747
[ "MIT" ]
softgears/CityPlace
CityPlace.Domain/DAL/CityPlace.designer.cs
110,119
C#
//********************************************************************* //xCAD //Copyright(C) 2021 Xarial Pty Limited //Product URL: https://www.xcad.net //License: https://xcad.xarial.com/license/ //********************************************************************* using System; using System.Collections.Generic; ...
26.024096
104
0.496296
[ "MIT" ]
EddyAlleman/xcad
src/SolidWorks/Services/LazyNewDocumentGeometryBuilderDocumentProvider.cs
2,162
C#
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
53.801887
175
0.672804
[ "Apache-2.0" ]
jelster/cqrs-journey-code
source/Infrastructure/Azure/Infrastructure.Azure.IntegrationTests/MessagingSettingsExtensions.cs
5,706
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace NullDffsGrabber { class Program { static void Main(string[] args) { Console.WriteLine("Enter dffs path:"); string FileDffsPath = Console.ReadLine().Replace("\...
35.177419
118
0.527281
[ "Unlicense" ]
UnrealKaraulov/NullDffsGrabber
NullDffsGrabber/Program.cs
2,277
C#
namespace Forum.Services.Contracts { public interface ICategoryService { TModel ByName<TModel>(string name); TModel Create<TModel>(string name); } }
15.8
37
0.746835
[ "MIT" ]
HouseBreaker/ForumConsoleApp
Forum.Services/Contracts/ICategoryService.cs
160
C#
using System; using System.Collections.Generic; using System.Windows.Forms; namespace TestSvgControl { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Enab...
22.238095
65
0.595289
[ "BSD-3-Clause" ]
yavor87/sharpvectors
Main/Samples/GdiTestSvgControl/Program.cs
469
C#
using CU.Application.Data.Common.Interfaces; using CU.Application.Shared.DataRequests.SchoolItems.Queries; using CU.Application.Shared.Models.SchoolDtos; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System.Linq; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; name...
44.409091
165
0.626203
[ "MIT" ]
bgoodearl/ContosoU_dn6_MVCB_Clean
tests/CU.ApplicationIntegrationTests/ApplicationTests/GetCoursesTests.cs
4,887
C#
using System; namespace Alex.Utils { public static class MathUtils { public static float ToRadians(float deg) { return (float)(Math.PI* deg / 180F); return (float)(deg * (Math.PI / 180F)); } public static float RadianToDegree(float angle) { return (float)(angle * (180.0f / Math.PI)); } } }
16.736842
49
0.644654
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
TruDan/Alex
src/Alex/Utils/MathUtils.cs
320
C#
using Newtonsoft.Json; namespace CompaniesHouse.Response.Document { public class DocumentMetadataContentLength { [JsonProperty("content_length")] public int ContentLength { get; set; } } }
21.8
46
0.697248
[ "MIT" ]
SreejithNair/CompaniesHouse.NET
src/CompaniesHouse/Response/Document/DocumentMetadataContentLength.cs
220
C#
using System; namespace SixtenLabs.SpawnOfVulkan { public struct Rect2D { internal Offset2D Offset; internal Extent2D Extent; } }
15.9
34
0.660377
[ "Unlicense" ]
SixtenLabs/SpawnOfVulkan
src/SixtenLabs.SpawnOfVulkan/Structs/Rect2D.cs
161
C#
/* Box2DNet Copyright (c) 2009 Ihar Kalasouski http://code.google.com/p/box2dx Box2D original C++ version Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arisin...
24.53516
117
0.653242
[ "Apache-2.0" ]
NocturnalWisp/Tynted-Engine
TyntedEngine/Physics/Dynamics/Body.cs
26,868
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma warning disable 1634, 1691 #pragma warning disable 56523 using Dbg = System.Management.Automation; using System.IO; using System.Management.Automation.Internal; using System.Management.Automation.Security; using System.Runtime.InteropS...
41.485362
171
0.517791
[ "MIT" ]
3pe2/PowerShell
src/System.Management.Automation/security/Authenticode.cs
26,924
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> //-----------------------------------------...
28.703704
84
0.487742
[ "Apache-2.0" ]
shibathethinker/ChimeraCRM
OnLine/OnLine/Pages/Popups/Sale/AllLead_Specification_Show_Feat.aspx.designer.cs
777
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.ComponentModel.Composition; namespace Dagent.RemoteAgent { [Export(typeof(IBusDispacher))] public class BusDispacher : IB...
26.75
112
0.675234
[ "MIT" ]
dagent2/dagent
DagentExtensions/RemoteAgent/BusDispach.cs
430
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class BrokenGemInfo { public GemModel gemModel; public List<GemModel> gemModels; public void Clear() { gemModel = null; gemModels.Clear(); } } public class BlockedGemInfo { public GemModel gemModel; public List...
28.415193
127
0.726151
[ "MIT" ]
gemfile/Match3
Assets/Scripts/Controller/GameController.cs
27,309
C#
using GovUk.Education.SearchAndCompare.Domain.Client; using GovUk.Education.SearchAndCompare.UI.Services; using Microsoft.ApplicationInsights; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GovUk.Education.SearchAndCompare.UI.C...
29.490566
111
0.637236
[ "MIT" ]
DFE-Digital/search-and-compare-language-prototype
src/Controllers/DynamicController.cs
1,563
C#
using System; namespace Models { [Serializable] public class KCHF555 : IModel { public int KCHF555Id { get; set; } public int ModuleTreeId { get; set; } //基本尺寸 public decimal Length { get; set; } public decimal Deepth { get; set; } public decimal ExRightDis ...
34.489796
47
0.561538
[ "MIT" ]
felixzhu1989/Compass
Models/Hood/KCHF555.cs
1,710
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mmeapi.h(991,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct midihdr_tag { [MarshalAs(UnmanagedType.LPStr)] public string lpDa...
28.956522
83
0.644144
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/midihdr_tag.cs
668
C#
//! \file ImageGRC.cs //! \date 2019 Mar 09 //! \brief Sudio // // Copyright (C) 2019 by morkt // // 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, incl...
36.229299
106
0.553973
[ "MIT" ]
Sagilio/GARbro
ArcFormats/StudioJikkenshitsu/ImageGRC.cs
5,688
C#
// Copyright 2016 Michael Mairegger // // 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 agre...
44.306667
131
0.661751
[ "Apache-2.0" ]
johnmbaughman/Mairegger.Printing
src/Mairegger.Printing/Definition/ExcludeFromPageAttribute.cs
3,323
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
31.692308
82
0.745752
[ "Apache-2.0" ]
opensearch-project/opensearch-net
src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationCollectMode.cs
1,648
C#
using System; namespace P15_ThreeEqualNumbers { class ThreeEqualNumbers { static void Main(string[] args) { double num1 = double.Parse(Console.ReadLine()); double num2 = double.Parse(Console.ReadLine()); double num3 = double.Parse(Console.ReadLine()); ...
22.291667
59
0.474766
[ "MIT" ]
stStoyanov93/SoftUni-Programming-Basics
PS03_SimpleConditionalStatements/P15_ThreeEqualNumbers/ThreeEqualNumbers.cs
537
C#
namespace Nager.Country.CountryInfo { /// <summary> /// Barbados /// </summary> public class BarbadosInfo : ICountryInfo { public string CommonName => "Barbados"; public string OfficialName => "Barbados"; public Translation[] Translations => new [] { new T...
45.973684
62
0.60933
[ "MIT" ]
MrGrabazu/Nager.Country
src/Nager.Country/CountryInfo/BarbadosInfo.cs
3,653
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class LoadConfiguration { public static ApiConfig ApiConfig; /// <summary> /// Load API config from json file /// </summary> [Runti...
24.97619
93
0.71306
[ "MIT" ]
vithu92/hackzurich2020_viroda
Assets/Resources/Scripts/LoadConfiguration.cs
1,051
C#
/* * MightyLittleGeodesy * RT90, SWEREF99 and WGS84 coordinate transformation library * * Read my blog @ http://blog.sallarp.com * * * Copyright (C) 2009 Björn Sållarp * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the...
37.051136
120
0.56295
[ "MIT" ]
unger/SwedishCoordinates
SwedishCoordinates/Positions/SWEREF99Position.cs
6,525
C#
// *** WARNING: this file was generated by pulumigen. *** // *** 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.Kubernetes.Certific...
51.155556
302
0.675355
[ "Apache-2.0" ]
AaronFriel/pulumi-kubernetes
sdk/dotnet/Certificates/V1Beta1/CertificateSigningRequest.cs
6,906
C#
namespace MyClinicalCourse.ClinicalCourse { using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Data; /// <summary> /// 看護経過表の軸目盛り コントロールです。 /// このコントロールを利用者が直接...
43.686131
169
0.654971
[ "MIT" ]
mizuku/MyClinicalCourse
MyClinicalCourse/ClinicalCourse/AxisTick.cs
6,779
C#
using Newtonsoft.Json; namespace Nest { [JsonObject] public class EmailActionResult { [JsonProperty("reason")] public string Reason { get; set; } [JsonProperty("account")] public string Account { get; set; } [JsonProperty("message")] public EmailResult Message { get; set; } } }
16.611111
42
0.685619
[ "Apache-2.0" ]
BedeGaming/elasticsearch-net
src/Nest/XPack/Watcher/Execution/Email/EmailActionResult.cs
301
C#
using FluentAssertions; using NToolbox.Extensions.Strings; using Xunit; namespace NToolbox.Tests.Extensions.Strings { public class IsNotNullOrWhiteSpaceTests { [Theory] [InlineData(null)] [InlineData("")] [InlineData(" ")] [InlineData("abc")] public void IsNot...
21.689655
67
0.586645
[ "MIT" ]
lmorelato/n-toolbox
tests/NToolbox.Tests/Extensions/Strings/IsNotNullOrWhiteSpaceTests.cs
631
C#
using System; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.Crmf; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Operators; namespace Org.BouncyCastle.Crmf { public class ProofOfPossessionSigningKeyBuilder { private CertRequest _certRequest; ...
31.775281
123
0.586987
[ "MIT" ]
SeppPenner/bc-csharp
crypto/src/crmf/ProofOfPossessionSigningKeyBuilder.cs
2,830
C#
// ----------------------------------------------------------------------- // <copyright file="ProjectLineParser.cs" company="Brad Marshall"> // Copyright © 2019 Brad Marshall. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using System; usin...
33.827586
115
0.468502
[ "MIT" ]
sped-mobi/repogen
tools/CodeGenerator/SolutionFile/ProjectLineParser.cs
4,908
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace SpreadsheetLight { /// <summary> /// The type of data fields to be imported, whether by delimiters/separators or in fixed width. /// </summary> public enum SLTextImportDataFieldTypeValues...
40.994302
195
0.579331
[ "MIT" ]
bjornharrtell/SpreadsheetLight
misc/SLTextImportOptions.cs
14,391
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
44.590551
230
0.639414
[ "MIT" ]
bganapa/azure-powershell
src/Storage/custom/Dataplane.v2/Table/Cmdlet/SetAzureStorageTableStoredAccessPolicy.cs
5,539
C#
using System; using System.Collections.ObjectModel; using System.Windows.Input; using InSituVisualization.Annotations; using InSituVisualization.Filter; namespace InSituVisualization.ViewModels { public class FilterWindowControlViewModel : ViewModelBase { private readonly IFilterController _filterCont...
36.177419
168
0.659831
[ "Apache-2.0" ]
sealuzh/visual-studio-perfviz
InSituVisualization/ViewModels/FilterWindowControlViewModel.cs
2,245
C#
namespace AngleSharp.Dom.Svg { using AngleSharp.Html; using System; /// <summary> /// Represents the circle element of the SVG DOM. /// </summary> sealed class SvgCircleElement : SvgElement, ISvgCircleElement { public SvgCircleElement(Document owner, String prefix = null) ...
22.941176
69
0.615385
[ "MIT" ]
ArmyMedalMei/AngleSharp
src/AngleSharp/Dom/Svg/SvgCircleElement.cs
392
C#
using System; namespace Orleans.Runtime { [Serializable] internal class PreferLocalPlacement : PlacementStrategy { internal static PreferLocalPlacement Singleton { get; } = new PreferLocalPlacement(); private PreferLocalPlacement() { } public override bool Equals(o...
21.416667
93
0.599222
[ "MIT" ]
Invertironline/orleans
src/Orleans/Placement/PreferLocalPlacement.cs
514
C#
using System; using System.Collections.Generic; using System.Reflection; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace WalletWasabi.Gui.Rpc { ///<summary> /// Represents the collection of metadata needed to execute the remote procedure. ///</summary> public class JsonRpcMethodMetadata { // The na...
27.192308
101
0.731259
[ "MIT" ]
lontivero/Wasabito
WalletWasabi.Gui/Rpc/JsonRpcMethodMetadata.cs
707
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; usin...
53.697059
234
0.653996
[ "MIT" ]
Manny27nyc/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteVirtualNetworkConnectionCollection.cs
18,257
C#
using Abp.Dependency; namespace YiHan.Cms { public class AppFolders : IAppFolders, ISingletonDependency { public string TempFileDownloadFolder { get; set; } public string SampleProfileImagesFolder { get; set; } public string WebLogsFolder { get; set; } } }
22.769231
63
0.679054
[ "MIT" ]
Letheloney/YiHanCms
src/YiHan.Cms.Core/AppFolders.cs
298
C#
using ComputeSharp; namespace adrilight.Shaders { /// <summary> /// Fully procedural 3D animated volume with three evaluations per step (for shading). /// Ported from <see href="https://www.shadertoy.com/view/3l23Rh"/>. /// <para>Created by nimitz (twitter: @stormoid).</para> /// <para>License Cr...
36.802326
160
0.487678
[ "MIT" ]
Kaitoukid93/Ambinity
adrilight/Shaders/ProteanClouds.cs
6,332
C#
using System.Reactive.Subjects; using akarnokd.reactive_extensions; using NUnit.Framework; using Shouldly; using Xpand.Extensions.Reactive.Transform; using Xpand.Extensions.Reactive.Utility; using Xpand.TestsLib.Common; using Xpand.TestsLib.Common.Attributes; namespace Xpand.XAF.Modules.Reactive.Tests{ [NonParal...
27.685714
74
0.627451
[ "Apache-2.0" ]
aois-dev/Reactive.XAF
src/Tests/Reactive/CommonExtensionsTests.cs
971
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XTool { public static class ListProvider { public static IEnumerable<Display> GetCountLimits() { List<Display> list = new List<Display>() { ...
26.724138
59
0.523871
[ "MIT" ]
eXtensoft/xtool
XTool/code/ListProvider.cs
777
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio1 { class ApelidoNome { private string nome, apelido; public ApelidoNome(string N, string A) { nome = N; apelido = A; }...
17.315789
46
0.601824
[ "MIT" ]
EduardaSRBastos/CSharp.NET-Console-2017
Ficha15/Exercicio1/ApelidoNome.cs
331
C#
using DuinoCoin.Net.Converters; using DuinoCoin.Net.Models; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Json; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace DuinoCoin.Net { public class ServerApi { ...
35.791209
127
0.59871
[ "MIT" ]
Augmensis/DuinoCoin.Net
DuinoCoin.Net/ServerApi.cs
3,259
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu( fileName = "New Conversation", menuName = "Dialogue/Conversation")] public class Conversation : ScriptableObject { public List<Sentence> sentences; } [System.Serializable] public struct Sentence{ public string char...
15.903226
85
0.778905
[ "MIT" ]
DrikoArgon/Into-The-Wild
Assets/Scripts/UI/Dialogue/Conversation.cs
495
C#
namespace IFramework.EventStore { public interface IEventSerializer { /// <summary> /// Serialize the key or value of a <see cref="T:Confluent.Kafka.Message`2" /> /// instance. /// </summary> /// <param name="data">The value to serialize.</param> /// <ret...
28.857143
90
0.566832
[ "MIT" ]
IvanZheng/IFramework
Src/iFramework/EventStore/IEventSerializer.cs
406
C#
using System; using ArenaLS.Model; using SkiaSharp; namespace ArenaLS.UI.Views.Combat.Renderers { class HUDRenderer { CharacterStyleInfo StyleInfo; TilesetLoader StatusIconLoader; public HUDRenderer (CharacterStyleInfo styleInfo) { StyleInfo = styleInfo; StatusIconLoader = new TilesetLoader ("data/tf...
43.64
214
0.729911
[ "MIT" ]
chamons/ArenaLS
src/ArenaLS.UI/Views/Combat/Renderers/HUDRenderer.cs
3,275
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SageFrame.Web.Utilities; namespace AspxCommerce.Core { public class AspxInvoiceMgntProvider { public AspxInvoiceMgntProvider() { } public static List<InvoiceDetailsInfo> GetInvoiceDetai...
40.339623
167
0.618803
[ "MIT" ]
AspxCommerce/AspxCommerce2.7
AspxCommerce.Core/AspxServices/Provider/AspxInvoiceMgntProvider.cs
2,140
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Xml; using System.Xml.XPath; // Disable warning for missing XML comments #pragma warning disable CS1591 namespace LoxSmoke.DocXml { ...
44.932727
126
0.587019
[ "MIT" ]
egil/DocXml
src/DocXml/DocXmlReader.cs
24,715
C#
using System.Net.NetworkInformation; namespace Thinktecture.Net.NetworkInformation { /// <summary> /// Provides information about network interfaces that support Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6). /// </summary> // ReSharper disable once InconsistentNaming public inter...
38.09589
167
0.711974
[ "BSD-3-Clause" ]
PawelGerr/Thinktecture.Abstractions
src/Thinktecture.Net.NetworkInformation.Abstractions/Net/NetworkInformation/IIPInterfaceProperties.cs
2,781
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembl...
38.972222
85
0.739843
[ "Unlicense" ]
Praetox/NordicMafia
AutoNM_C#/AutoNM/Properties/AssemblyInfo.cs
1,405
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RadioLog.Common { public class BooleanAveragingBuffer { private bool[] mBuffer; private int mBufferPointer; public BooleanAveragingBuffer(int length) { mBuffer = new bo...
24.875
77
0.49566
[ "MIT" ]
JoeGilkey/RadioLog
RadioLog/RadioLog.Common/BooleanAveragingBuffer.cs
2,191
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.ExcelApi { /// <summary> /// DispatchInterface SheetViews /// SupportByVersion Excel, 12,14,15...
32.56962
181
0.678197
[ "MIT" ]
igoreksiz/NetOffice
Source/Excel/DispatchInterfaces/SheetViews.cs
2,575
C#
namespace Shop { partial class CustomersForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
53.198606
168
0.616387
[ "MIT" ]
constantimi/Object-Oriented-Programming
csharp/2020-04-20-csharp-files-binary/Shop/CustomersForm.Designer.cs
15,270
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...
31.862069
109
0.701299
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/BigQuery/Outputs/JobQueryDestinationEncryptionConfiguration.cs
924
C#
using Academy.Core.Contracts; using Academy.Ninject; using Ninject; namespace Academy { public class Startup { public static void Main(string[] args) { var kernel = new StandardKernel(new AcademyModule()); var engine = kernel.Get<IEngine>(); engine.Start(); ...
19.882353
65
0.585799
[ "MIT" ]
SvetozarMateev/Exercises
Academy/Academy/Startup.cs
340
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...
31.636364
134
0.772989
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/RuleGroupRuleStatementNotStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchAllQueryArguments.cs
696
C#
using System; using System.ComponentModel.DataAnnotations; namespace IntroEFCore { public class Todo { public Guid Id { get; set; } public string Description { get; set; } [Required] public bool IsCompleted { get; set; } } }
18.066667
46
0.619926
[ "Apache-2.0" ]
ioanabirsan/Introduction-to-.Net
labs/IntroEFCore-ver2/IntroEFCore/IntroEFCore/Todo.cs
273
C#
namespace DragonSpark.Application.Runtime; public interface IOrderAware { public uint? Order { get; set; } }
18.5
43
0.765766
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application/Runtime/IOrderAware.cs
113
C#
using System.Collections.Generic; using CompanySearch.Models; using CompanySearch.Services; using CompanySearch.ViewModels; using Xamarin.Forms; using CompanySearch.Instrumentation; using CompanySearch.Instrumentation.Metrics; using Microsoft.Azure.Mobile.Analytics; namespace CompanySearch.Pages { public partial cla...
27.615385
124
0.742804
[ "MIT" ]
gshackles/xamarin-monitoring-sample
CompanySearch/CompanySearch/Pages/SearchPage.xaml.cs
1,079
C#
using System.Web.Mvc; namespace ASF.UI.WbSite.Areas.Carts { public class CartsAreaRegistration : AreaRegistration { public override string AreaName { get { return "Carts"; } } public override void RegisterArea(AreaRegistra...
23.666667
75
0.5
[ "MIT" ]
MagninM/MCGA2017
Presentation/ASF.UI.WbSite/Areas/Carts/CartsAreaRegistration.cs
570
C#
// ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ************************************************************* namespace GraphQL.AspNet.Defaults { using ...
52.150327
188
0.614739
[ "MIT" ]
NET1211/aspnet-archive-tools
src/graphql-aspnet/Defaults/DefaultGraphQueryPlanGenerator{TSchema}.cs
7,981
C#
using System; using System.Data; using System.Collections.Generic; using System.Text; using Pro.Utils; using Pro.Dal; using Platinium.Entidade; using Negocio; namespace Platinium.Negocio { public class ManterTipoTransferencia : IManter { #region Variáveis e Propriedades private TipoTrans...
31.699029
106
0.593262
[ "MIT" ]
CesarRabelo/eGovernos.Corporativo
src/Negocio/Controladoras/ManterTipoTransferencia.cs
3,269
C#
using UnityEngine; using System.Collections; public class LevelManager : MonoBehaviour { public string LevelName; public int beaten = 0; public int unlocked = 0; public int BestScore = 999; public int NumberOfPlays = 0; public int ParScore; // Use this for initialization void Start () { //retrieves level ...
27.27027
85
0.7111
[ "MIT" ]
edd34/Awale
Unity_Game_Awale/Assets/Scripts/LevelManager.cs
2,018
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2021 @Olivier Lefebvre using System.Threading; using System.Threading.Tasks; namespace Aguacongas.IdentityServer.Abstractions { public interface IProviderClient { Task ProviderAddedAsync(string scheme, CancellationToken cancellationToken =...
34
101
0.752322
[ "Apache-2.0" ]
Aguafrommars/TheIdServer
src/IdentityServer/Aguacongas.IdentityServer/Abstractions/IProviderClient.cs
648
C#
namespace Fluxera.Enumeration.JsonNet.UnitTests { using System; using FluentAssertions; using Fluxera.Enumeration.UnitTests.Enums; using Newtonsoft.Json; using NUnit.Framework; [TestFixture] public class EnumerationNameConverterTests { public class TestClass { [JsonConverter(typeof(EnumerationNameConver...
20.917808
76
0.695481
[ "MIT" ]
fluxera/Fluxera.Enumeration
tests/Fluxera.Common.Enumeration.JsonNet.UnitTests/EnumerationNameConverterTests.cs
1,527
C#
using System.Reflection; using Hellang.Middleware.ProblemDetails; using Microsoft.OpenApi.Models; using Rocket.Surgery.LaunchPad.AspNetCore; using Rocket.Surgery.LaunchPad.AspNetCore.AppMetrics; using Serilog; using Swashbuckle.AspNetCore.SwaggerGen; namespace Sample.Restful; public class Startup { public Startup...
29.959459
121
0.593144
[ "MIT" ]
RocketSurgeonsGuild/SpaceShuttle
sample/Sample.Restful/Startup.cs
2,217
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/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; ...
38.056604
145
0.715915
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewportTests.cs
2,019
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using NADD.Models; namespace NADD.Controllers { public class DisciplinasController : Controller { ...
31.925
139
0.532498
[ "Apache-2.0" ]
caiodomingues/Projeto-NADD
NADD/NADD/Controllers/DisciplinasController.cs
5,110
C#
using System; using System.Collections.Generic; using System.Linq; namespace _01.Ranking { class Program { static void Main(string[] args) { var townNameTimePassengersCount = new Dictionary<string, Dictionary<int, long>>(); while (true) { st...
36.539474
128
0.441124
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/02. Technology Fundamentals - C#/11. Dictionaries, Lambda and LINQ/More Exercises/01.Ranking/01.cs
2,779
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using Android.Content; using Android.Util; using Android.Views; using Android.Widget; namespace MonoDroid.TimesSquare { public class MonthView : LinearLayout { private TextView _title; private ...
35.354839
107
0.560903
[ "Apache-2.0" ]
aaronhe42/MonoDroid.TimesSquare
MonoDroid.TimesSquare/MonthView.cs
4,384
C#
using System; using System.Collections.Generic; using UnityEngine.Rendering; namespace UnityEngine.Experimental.Rendering.RenderGraphModule { /// <summary> /// The mode that determines the size of a Texture. /// </summary> #region Resource Descriptors public enum TextureSizeMode { ...
44.030726
247
0.573907
[ "MIT" ]
MusouCrow/CustomShaderGraph
Packages/com.unity.render-pipelines.core@7.1.8/Runtime/RenderGraph/RenderGraphResourceRegistry.cs
31,526
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; using mrHelper.Common.Constants; using mrHelper.Common.Interfaces; using mrHelper.Common.Tools; namespace mrHelper.App.Helpers { public struct ParsedNewMergeRequestUrl { publi...
34.846154
121
0.628894
[ "MIT" ]
denis-adamchuk/mrHelper
src/App/src/Helpers/Url/NewMergeRequestUrlParser.cs
4,079
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { /// <summar...
42.01087
143
0.740492
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/XPack/Ilm/Actions/AllocateAction.cs
3,865
C#
using System; using ashley.Utils; namespace ashley.Core { public class ComponentOperationHandler { private IBooleanInformer _delayedInformer; private Pool<ComponentOperation> _operationPool = new Pool<ComponentOperation>(() => new ComponentOperation()); private Bag<ComponentOperation> ...
29
119
0.510745
[ "Apache-2.0" ]
dresswithpockets/ashley
ashley/Core/ComponentOperationHandler.cs
2,003
C#
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; namespace DurandalAuth.Domain.Models.Mapping { public class otMap : EntityTypeConfiguration<ot> { public otMap() { // Primary Key this.HasKey(t => t.ot_id); // P...
34.402985
79
0.529718
[ "MIT" ]
benitazz/AlcmSolutions
DurandalAuth.Domain/Models/Mapping/otMap.cs
2,305
C#
using System.Collections.Generic; namespace Kata.CustomTypes.MenuFactory { public abstract class MenuBase { // 1. backing store for the list of items private List<MenuItemBase> items = new List<MenuItemBase>(); // 2. readonly property to access the backing store public...
27.458333
81
0.622155
[ "MIT" ]
contino/dotnet-training-course
Kata/CustomTypes/AdHoc/MenuFactory/MenuBase.cs
661
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// KoubeiMarketingCampaignMemberRelationCreateModel Data Structure. /// </summary> public class KoubeiMarketingCampaignMemberRelationCreateModel : AlipayObject { /// <summary> /// 会员开通时...
24.792079
80
0.497604
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/KoubeiMarketingCampaignMemberRelationCreateModel.cs
2,616
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace WebAppExample.Migrations { public partial class Intial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Categories", columns: ...
39.886364
89
0.482621
[ "MIT" ]
Deftextra/WebAppExample
Migrations/20201117223637_Intial.cs
3,512
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BasicallyMe.RobinhoodNet { public class MarginBalance : Balance { internal MarginBalance(Newtonsoft.Json.Linq.JToken json) { this.CreatedAt = (DateTime)json["created_at"]; this.Upd...
27.777778
84
0.752
[ "MIT" ]
MeetHassan/Stocks4All
RobinhoodNet/MarginBalance.cs
752
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.Models.Chats { public class Chat { [Key] public string Id { get; s...
25.571429
68
0.674581
[ "MIT" ]
behluluysal/fibu-app-demo
WebAPICore/Core/Models/Chats/Chat.cs
718
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...
43.607143
547
0.630631
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataFactory/Inputs/SalesforceSinkArgs.cs
3,663
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
38.210856
112
0.550019
[ "MIT" ]
belav/Newtonsoft.Json
Src/Newtonsoft.Json/Utilities/DynamicReflectionDelegateFactory.cs
18,305
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // NullableDecimalAverageAggregationOperator.cs // // =-=-=-=-=-=-=-=-=-=-=...
42.819444
140
0.498378
[ "MIT" ]
690486439/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Inlined/NullableDecimalAverageAggregationOperator.cs
6,166
C#