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
// *** 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...
27.885714
81
0.617828
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearningServices/V20210301Preview/Inputs/AssignedUserArgs.cs
980
C#
using UnityEngine; using System.Collections.Generic; using System.Linq; using UnityEditor; namespace AmazingAssets { namespace WireframeShader { public class WireframeTextureTransparencyDrawer : WireframeMaterialPropertyDrawer { public WireframeTextureTranspa...
37.214286
157
0.555662
[ "MIT" ]
tpnet/CrazyCar
CrazyCar/Assets/Plugins/Amazing Assets/Wireframe Shader/Editor/Material Property Drawers/WireframeTextureTransparencyDrawer.cs
2,086
C#
// <copyright file="Hypergeometric.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2010 Math.NET // // Permission is hereby granted, free of charge,...
35.099502
223
0.557123
[ "MIT" ]
Plankankul/Framework-w-WebApp
Original/System.Math.Extensions/Distributions/Discrete/Hypergeometric.cs
14,112
C#
using System.Collections.Generic; using Content.Server.Toilet; using Content.Shared.Construction; using Content.Shared.Examine; using JetBrains.Annotations; using Robust.Shared.GameObjects; using Robust.Shared.Localization; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Server.Construction.Con...
29.727273
102
0.658257
[ "MIT" ]
AJCM-git/space-station-14
Content.Server/Construction/Conditions/ToiletLidClosed.cs
1,308
C#
using System; using System.IO; namespace PlantUml.Net.Tools { internal class ProcessResult : IProcessResult { public byte[] Output { get; set; } public byte[] Error { get; set; } public int ExitCode { get; set; } } }
19.214286
50
0.576208
[ "MIT" ]
Chinese-Xu/PlantUml.Net
src/Tools/ProcessResult.cs
271
C#
/** * Copyright 2018 IBM Corp. 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 applicable law o...
43.109375
119
0.670895
[ "Apache-2.0" ]
anlblci/dotnetwatson
src/IBM.WatsonDeveloperCloud.Assistant.v1/Model/MessageRequest.cs
2,759
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class MenuBarItemFlyout : global::Windows.UI.Xaml.Controls.Menu...
37.857143
100
0.766038
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/MenuBarItemFlyout.cs
530
C#
using System; namespace AtgDev.Voicemeeter.Types { public class VoicemeeterVersion : IComparable<VoicemeeterVersion>, IEquatable<VoicemeeterVersion> { public int v1 = 0; public int v2 = 0; public int v3 = 0; public int v4 = 0; public VoicemeeterVersion(int ver1, int ve...
29.360759
101
0.459151
[ "MIT" ]
A-tG/voicemeeter-remote-api-extended
voicemeeter remote api extended/Types/VoicemeeterVersion.cs
4,641
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Sierra.Platform { internal static class PerfCounters { [DebuggerDisplay("{DebuggerDisplay,nq}")] private class PerfCounterLogEntry { private string DebuggerDisplay => $"[{...
34.451613
114
0.463082
[ "MIT" ]
vivekhnz/sierra
src/Editor/Platform/PerfCounters.cs
7,478
C#
using Microsoft.AspNetCore.Mvc; namespace Modular.Infrastructure.Api; public class ProducesDefaultContentTypeAttribute : ProducesAttribute { public ProducesDefaultContentTypeAttribute(Type type) : base(type) { } public ProducesDefaultContentTypeAttribute(params string[] additionalContentTypes) ...
25.8
86
0.764858
[ "MIT" ]
GregoireWulliamoz/modular-framework
src/Modular.Infrastructure/Api/ProducesDefaultContentTypeAttribute.cs
389
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.OWC10Api { ///<summary> /// Dis...
30.033816
185
0.66101
[ "MIT" ]
NetOffice/NetOffice
Source/OWC10/DispatchInterfaces/Worksheets.cs
12,434
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.IO; using System.Linq; using System.Reflection; using Xunit; namespace Microsoft.AspNet.FileProviders.Embedded.Tests { p...
41.525862
112
0.64563
[ "Apache-2.0" ]
mj1856/FileSystem
test/Microsoft.AspNet.FileProviders.Embedded.Tests/EmbeddedFileProviderTests.cs
4,817
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
57.642733
253
0.567741
[ "Apache-2.0" ]
arithmetic1728/google-api-dotnet-client
Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.cs
198,291
C#
using System; using System.Windows; using System.Windows.Controls; namespace Components.Utility { public class RadialPanel : Panel { // Measure each children and give as much room as they want protected override Size MeasureOverride(Size availableSize) { ...
49.8
184
0.601963
[ "Apache-2.0" ]
ChrisHagan/metl2011
MeTLMeeting/SandRibbon/Components/Utility/RadialPanel.cs
2,243
C#
using System; 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: Ass...
41.533333
188
0.757624
[ "MIT" ]
jlaanstra/Windows.UI.Interactivity
Windows.UI.Interactivity/Properties/AssemblyInfo.cs
1,249
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using System; u...
32.604106
117
0.46744
[ "MIT" ]
eagobert/CSharp-VetHarborProject
VETHarbor/VETHarbor/Migrations/20180424114358_UpdateOrgModel.Designer.cs
11,120
C#
using System.Runtime.InteropServices; using System.Text; namespace Shared { public class PasswordCredential : Credential { private readonly CredentialHandle handle; public PasswordCredential(string username, string password, string domain) { handle = SafeMakeCreds(username...
29.413462
122
0.590389
[ "MIT" ]
SteveSyfuhs/DelegatedAuthentication
src/Shared/PasswordCredential.cs
3,061
C#
using System; using System.Diagnostics.Contracts; using System.IO; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Shiny.Net { public class ProgressStreamContent : HttpContent { readonly Stream content; readonly int bufferSize; readonly Action<int> pac...
28.074468
113
0.541114
[ "MIT" ]
AlexAba/shiny
src/Shiny.Core/Net/ProgressStreamContent.cs
2,641
C#
using System; using System.Collections.Generic; using System.Linq; namespace PublicHoliday { /// <summary> /// New Zealand Public Holidays: https://www.govt.nz/browse/work/public-holidays-and-work-2/public-holidays-and-anniversary-dates/ /// </summary> public class NewZealandPublicHoliday : PublicHoli...
36.132143
134
0.491351
[ "MIT" ]
Hrothval/Holiday
src/PublicHoliday/NewZealandPublicHoliday.cs
10,119
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("So...
41.513514
132
0.757813
[ "MIT" ]
CorterraSolutions/SolutionDependencyChecker
XRMSolutionDependencyChecker/Properties/AssemblyInfo.cs
1,539
C#
// The MIT License (MIT) // // Copyright (c) 2015-2018 Rasmus Mikkelsen // Copyright (c) 2015-2018 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software...
40.845638
130
0.637857
[ "MIT" ]
brunao05/EventFlow
Source/EventFlow.RabbitMQ/Integrations/RabbitMqPublisher.cs
6,086
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlazorComponent { public partial class BDatePickerTableEvents<TDatePickerTable> where TDatePickerTable : IDatePickerTable { } }
19.214286
107
0.788104
[ "MIT" ]
BlazorComponent/BlazorComponent
src/Component/BlazorComponent/Components/DatePicker/DatePickerTable/DatePickerTable/Button/Events/BDatePickerTableEvents.razor.cs
271
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace Pacman.GameLogic { [Serializable()] public class Pacman : Entity, ICloneable { public const int StartX = 111, StartY = 18...
29.035714
144
0.547883
[ "MIT" ]
AndrewRimsha/PacMan-CSharp
PacmanCSharp/PacmanGameLogic/Pacman.cs
5,691
C#
#region License // Copyright (c) 2020 Jake Fowler // // 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, m...
45.169492
133
0.629456
[ "MIT" ]
cmdty/storage
tests/Cmdty.Storage.Test/Lsmc/BasisFunctionsBuilderTest.cs
5,332
C#
using FluentValidation; using Adnc.Usr.Application.Dtos; namespace Adnc.Usr.Application.DtoValidators { public class RoleCreationDtoValidator : AbstractValidator<RoleCreationDto> { public RoleCreationDtoValidator() { RuleFor(x => x.Name).NotEmpty().Length(2, 32); RuleFo...
25.266667
78
0.646438
[ "MIT" ]
Orlys/Adnc
src/ServerApi/Portal/Adnc.Usr/Adnc.Usr.Application/Services/Role/DtoValidators/RoleCreationDtoValidator.cs
381
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过下列特性集 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ImageCup2014")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assem...
26.472222
56
0.726128
[ "Apache-2.0" ]
YongboZhu/ImageCup2014
Properties/AssemblyInfo.cs
1,284
C#
using System; namespace aim.FullSerializer.Internal { public struct fsVersionedType { /// <summary> /// The direct ancestors that this type can import. /// </summary> public fsVersionedType[] Ancestors; /// <summary> /// The identifying string that is unique among ...
31.612245
147
0.58102
[ "MIT" ]
Dawnfall/Coik-the-piggybank
LD-44/Assets/Scripts/ExternalScripts/FullSerializer/Internal/fsVersionedType.cs
1,551
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("13....
38.324324
84
0.749647
[ "MIT" ]
dimitarminchev/ITCareer
02. Programming/2019/2019.02.16/13. RemoveNegativeNumbers/Properties/AssemblyInfo.cs
1,421
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Query; using hrmApp.Core.PagedList; using hrmApp.Core.Constants; namespace hrmApp.Core.Repositories { public interface IReposi...
39.857143
92
0.696535
[ "MIT" ]
gasparekferenc/hrmApp.N-Layer.MVC
scr/hrmApp/hrmApp.Core/Repositories/IRepository.cs
1,676
C#
using System; namespace stdlibXtf.Common { /// <summary> /// Interface that provide the base properties of all the packages. /// </summary> public interface IPacket { #region Properties /// <summary> /// Gets the number that identify the correct start of the packet. ...
26.636364
93
0.557167
[ "MIT" ]
jaksg82/stdlibXtf
Common/IPacket.cs
1,174
C#
using EnvDTE; using EnvDTE80; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using DumpStackToCSharpCode.StackFrameAnalyzer; using DumpStackToCSharpCode.Window; using System; using System.ComponentModel.Design; using DumpStackToCSharpCode.Options; using Task = System.Threading.Tasks.Ta...
42.254355
157
0.605673
[ "MIT" ]
jdavid82/DumpStackToCSharpCode
DumpStackToCSharpCode/DumpStackToCSharpCode/Command/DumpStackToCSharpCodeCommand.cs
12,129
C#
using System.Collections.Generic; using UnityEditor.ShaderGraph.Drawing.Controls; using UnityEngine; using UnityEditor.Graphing; namespace UnityEditor.ShaderGraph { [Title("Input", "Texture", "Texture 2D Asset")] class Texture2DAssetNode : AbstractMaterialNode, IPropertyFromNode { public ...
31.786667
114
0.577181
[ "Apache-2.0" ]
DPRuin/LearnShader
LearnShader/Library/PackageCache/com.unity.shadergraph@6.9.2/Editor/Data/Nodes/Input/Texture/Texture2DAssetNode.cs
2,384
C#
namespace Aplikacja { partial class OknoTabelaPrzeliczeniowa { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
56.157791
164
0.629461
[ "MIT" ]
mmorawa/Software-Estimation-App
Aplikacja/OknoTabelaPrzeliczeniowa.Designer.cs
85,623
C#
// TwoFactorBinomial.cpp // // This class represents a trinomial tree model of the asset price. // This model assumes that the asset price can reach tree values. // When x = lnS, than the tree values can be calculated via: // lnS = x + dx, lnS = x, lnS = x - dx. Thus S can become larger, smaller or // stay same w...
24.347458
117
0.565263
[ "MIT" ]
jdm7dv/financial
windows/CsForFinancialMarkets/CsForFinancialMarkets/UtilityClassLibrary/Datasim/LatticeMethods/OneFactorBinomial/TwoFactorBinomial.cs
5,746
C#
using System; using System.Collections.Generic; using System.Globalization; 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 S...
27.686275
79
0.640935
[ "Apache-2.0" ]
DrSteam1111/programmering-2
CSharp/DrillWpfObjectRunner-master/DrillWpfObject/MainWindow.xaml.cs
1,414
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("ConsoleApplication1")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("...
30.945946
58
0.724891
[ "MIT" ]
suzumura-ss/cSharp-console-detect-usb-event-example
ConsoleApplication1/Properties/AssemblyInfo.cs
1,670
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v3.0.10.102 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //-------------------------------------------...
29.454545
116
0.704047
[ "MIT" ]
Thorbenl/Aarhus-Web-Dev-Coorp
WebDevCorp/App_Data/Models/Master.generated.cs
2,916
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BG_Audio : MonoBehaviour { private static BG_Audio instance = null; /// <summary> /// gets the background audio instance /// </summary> public static BG_Audio Instance { get { return instance;...
23.78125
98
0.609724
[ "MIT" ]
karinakozarova/Arduino-Dancer
src/DesktopApp/ArduinoDancer/Assets/Scripts/BG_Audio.cs
763
C#
using System; using System.Collections.Generic; using System.Data; using System.Globalization; namespace SilveR.ViewModels { public class Sheets { public List<Sheet> sheets { get; } = new List<Sheet>(); } public class Sheet { public List<Row> Rows { get; } = new List<Row>(); ...
29.563536
114
0.405345
[ "MIT" ]
robalexclark/SilveR
SilveR/ViewModels/Sheets.cs
5,353
C#
//----------------------------------------------------------------------- // <copyright> // // Copyright (c) TU Chemnitz, Prof. Technische Thermodynamik // Written by Noah Pflugradt. // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condition...
42.474886
194
0.558363
[ "MIT" ]
kyleniemeyer/LoadProfileGenerator
Database/Tables/ModularHouseholds/HouseholdTrait.cs
83,724
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace DSWebUI.Models { public class OrderItemVM { public OrderItemVM() { } public string Breed { get; set; } [Display(Name = "Order Id")] ...
27.827586
65
0.597274
[ "MIT" ]
210503-Reston-NET/Fanner-Alex-P1
DogStore/DSWebUI/Models/OrderItemVM.cs
809
C#
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright 짤 2011-2013 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Extended progress bar that has backwards compatibility logic and ...
27.702532
111
0.685629
[ "MIT" ]
showstop98/gtb-client
Assets/ThirdParty/NGUI/Scripts/Interaction/UISlider.cs
4,379
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
30.419355
112
0.599859
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/SecretsManager/Generated/Model/DescribeSecretRequest.cs
2,829
C#
namespace LeetCode.Naive.Problems; /// <summary> /// Problem: https://leetcode.com/problems/detect-pattern-of-length-m-repeated-k-or-more-times/ /// Submission: https://leetcode.com/submissions/detail/390029009/ /// </summary> internal class P1566 { public class Solution { public bool ContainsP...
22.690476
99
0.519412
[ "MIT" ]
viacheslave/algo
leetcode/c#/Problems/P1566.cs
953
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.75
184
0.615357
[ "Apache-2.0" ]
jdmclatcher/file-explorer-helper
FileExplorerHelper/FileExplorerHelper/Properties/Resources.Designer.cs
2,802
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> //---...
44.92
121
0.676759
[ "MIT" ]
08162021-dotnet-uta/BlakeDrostRepo1
projects/project_1/StoreWebApplication/StoreAppDBContext/obj/Debug/net5.0/StoreAppDBContext.AssemblyInfo.cs
1,123
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using BetterMe.Models; namespace BetterMe.Controllers { public class UsersController : ApiController { // GET api/<controller> public IEnumerable<string> Get() ...
22.677966
110
0.524664
[ "Apache-2.0" ]
rupi452021/BetterMeF
BetterMe/Controllers/UsersController.cs
1,373
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Chutzpah.Extensions; using Chutzpah.FrameworkDefinitions; using Chutzpah.Models; using Chutzpah.Wrappers; namespace Chutzpah { public class ReferencePathSettings { public Ref...
44.756219
200
0.617386
[ "Apache-2.0" ]
puneethp/chutzpah
Chutzpah/ReferenceProcessor.cs
17,994
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....
41.116162
125
0.646604
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/MbUnit/MbUnit40/Framework/XmlDataObjectCartesianAttribute.cs
8,143
C#
/* * Copyright (c) 2020 * All rights reserved. * * 文件名称:TextNode.cs * 摘 要: * * 当前版本:1.0 * 作 者:oscar * 创建日期:2020/9/21 10:28:39 */ using LitJson; using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace ThunderEditor { internal class TextNo...
28.222222
215
0.543963
[ "MIT" ]
zhengOscar/Json2UGUI
Assets/Editor/Thunder/Node/TextNode.cs
1,568
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace EZNEW.DataValidation.Configuration { /// <summary> /// Property validation rule /// </summary> public class PropertyRule { /// <summary> /// Gets or sets the property name /// </summary> [JsonPropert...
24.083333
54
0.574394
[ "MIT" ]
Jafic/EZNEW
EZNEW/DataValidation/Configuration/PropertyRule.cs
580
C#
#if !NET45PLUS // Copyright (c) Microsoft. 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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using Validation;...
41.812903
247
0.521987
[ "MIT" ]
mihailik/dotnet-collections
System.Collections.Immutable/src/System/Collections/Immutable/ImmutableDictionary`2+Builder.cs
32,405
C#
using Microsoft; using System; using System.Windows.Media; namespace DGP.Genshin.DataModel.Helper { public static class StarHelper { private const string star1Url = @"https://genshin.honeyhunterworld.com/img/back/item/1star.png"; private const string star2Url = @"https://genshin.honeyhunterwor...
33.6875
104
0.55334
[ "MIT" ]
CzHUV/Snap.Genshin
DGP.Genshin/DataModel/Helper/StarHelper.cs
2,158
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.Asp...
40.482456
129
0.627736
[ "Apache-2.0" ]
belav/aspnetcore
src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs
4,615
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 Xunit; using System; namespace Microsoft.Data.SqlClient.ManualTesting.Tests { public class AADConnection...
47.867435
204
0.625286
[ "MIT" ]
Youssef1313/SqlClient
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectivityTests/AADConnectionTest.cs
16,612
C#
namespace SharpCms.Core.DataObjects { public enum PageState { Live, Preview, Editor } }
14.555556
36
0.519084
[ "MIT" ]
JuergenGutsch/sharpcms
SharpCms/SharpCms.Core/DataObjects/PageState.cs
131
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host; using Microsoft.Azure.WebJobs.Host.Triggers; using Mic...
41.892857
164
0.678886
[ "MIT" ]
swtrse/azure-functions-rabbitmq-extension
src/Trigger/RabbitMQTriggerAttributeBindingProvider.cs
3,521
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Composition { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class CompositionShape : global::Windows.UI.Composition.CompositionO...
39.925926
170
0.762059
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Composition/CompositionShape.cs
4,312
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. #if XENKO_GRAPHICS_API_VULKAN using System; using System.Collections.Concurrent; using System.Collect...
40.783964
255
0.61659
[ "MIT" ]
aunpyz0/FocusEngine
sources/engine/Xenko.Graphics/Vulkan/SwapChainGraphicsPresenter.Vulkan.cs
18,312
C#
using Obilet.Web.Models.ObiletApiModels.Response.GetBusLocation; using Obilet.Web.Models.User; using System; namespace Obilet.Web.Models.Trip { public class TripModel { public GetBusLocationResponseModel BusLocations { get; set; } public long OriginId { get; set; } public lon...
24.3
69
0.668724
[ "MIT" ]
ardansisman/BasicJourneyQueryObiletAPI
Obilet.Web/Models/Trip/TripModel.cs
488
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.ComponentModel.Tests { public class InitializationEventAttributeTests { [Theory] [InlineData(null)] [InlineData("")] ...
26.857143
72
0.656028
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/InitializationEventAttributeTests.cs
564
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> // ---------------------------------------...
43.596154
226
0.712395
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Partials/RepoCommitsSubscriptionFilterPartialBuilder.generated.cs
2,267
C#
namespace LDtkUnity.Editor { internal interface ILDtkPostParseProcess<T> { T Postprocess(T value); } }
17.571429
47
0.658537
[ "MIT" ]
MadSquirrel/LDtkToUnity
Assets/LDtkUnity/Editor/ParsedField/Process/ILDtkPostParseProcess.cs
125
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; namespace Azure.Iot.Hub.Service.Models { /// <summary> The state information for a device or module. This is im...
89.854369
522
0.673042
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/iot/Azure.Iot.Hub.Service/src/Generated/Models/TwinData.cs
9,255
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
41.449799
164
0.60653
[ "BSD-3-Clause" ]
aTiKhan/NLog
src/NLog/Config/MethodFactory.cs
10,321
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.1
128
0.589398
[ "MIT" ]
jaspreetkaur28/CSharpLabsTraining
lab_43_Entity/CustomerDemographic.cs
1,113
C#
using System; using System.Text.Json.Serialization; using Buildersoft.Andy.X.Extensions.DI; using Buildersoft.Andy.X.Logic; using Buildersoft.Andy.X.Middleware; using Buildersoft.Andy.X.Router.Hubs.Dashboard; using Buildersoft.Andy.X.Router.Hubs.DataStorage; using Buildersoft.Andy.X.Router.Hubs.Readers; using Microsoft...
33.78626
137
0.588116
[ "Apache-2.0" ]
buildersoftdev/andyx
src/Buildersoft.Andy.X/Startup.cs
4,426
C#
using System; using System.Collections.Generic; using System.Text; namespace AbstractFactory { public class ConcretePassagemOnibusInterestadual : PassagemOnibusInterestadual { public ConcretePassagemOnibusInterestadual(string origem, string destino, DateTime dataHoraPartida) : base(origem...
29.45
145
0.687606
[ "MIT" ]
CledsonEC/design-pattern-gof
gof/AbstractFactory/ConcretePassagemOnibusInterestadual.cs
592
C#
using System; namespace WebApiTest { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.117647
70
0.568182
[ "MIT" ]
Tson1/WebApiDevSamples
WebApiTest/WeatherForecast.cs
308
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Bogus; namespace RoboBogus { /// <summary> /// A class used to invoke generation requests of type <typeparamref name="TType"/>. /// </summary> /// <typeparam name="TType">The type of instance to generate.<...
36.407767
115
0.520356
[ "MIT" ]
SimonCropp/RoboBogus
src/RoboBogus/AutoFaker[T].cs
11,250
C#
using System; using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster.Tools.PublishSubscribe; namespace Akka.CQRS.Subscriptions.DistributedPubSub { /// <summary> /// <see cref="ITradeEventSubscriptionManager"/> that uses the <see cref="DistributedPubSub.Mediator"/> under the hood...
38.291667
135
0.698585
[ "Apache-2.0" ]
Aaronontheweb/akkadotnet-cluster-workshop
src/Akka.CQRS.Subscriptions/DistributedPubSub/DistributedPubSubTradeEventSubscriptionManager.cs
1,840
C#
using CExtensions.EFModelGenerator.Formatters; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CExtensions.EFModelGenerator.Model { public class Table { internal Table() ...
26.64375
106
0.49871
[ "MIT" ]
CedricDumont/CExtensions-EFModelGenerator
src/CExtensions.EFModelGenerator/Model/Table.cs
4,265
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SuperConfig; using YamlDotNet.Serialization; namespace YouiToolkit { internal class Config { /// <summary> /// 全局单例 /// </summary> public static Config Inst...
21.166667
72
0.570079
[ "Unlicense" ]
MaQaQu/Tool
YouiToolkit/Models/Config/Config.cs
663
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.740741
151
0.584343
[ "Apache-2.0" ]
ninetyfivejae/ImagineCup2018
ImagineCupProject/ToastNotifications/Properties/Settings.Designer.cs
1,075
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAINpcStylePitchforkParams : ...
33.434783
138
0.758127
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAINpcStylePitchforkParams.cs
769
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...
30.106122
105
0.581074
[ "MIT" ]
Lusitanian/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/IAutomationClient.cs
7,376
C#
namespace Atata.Tests { using _ = ShadowHostPage; [FindById("shadow-container-1", As = FindAs.ShadowHost, TargetAnyType = true)] public class ShadowHostPage : Page<_> { public ControlList<Text<_>, _> Paragraphs { get; private set; } [FindByIndex(1)] [ControlDefinition("p")] ...
25.466667
82
0.623037
[ "Apache-2.0" ]
Xen0byte/atata
test/Atata.Tests/Components/ShadowHostPage.cs
384
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
23.545455
100
0.528529
[ "Apache-2.0" ]
feigebabata/LuaShow
Assets/XLua/Gen/TutorialCalcWrap.cs
2,333
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace NotePad { /// <summary> /// App.xaml에 대한 상호 작용 논리 /// </summary> public partial class App : Application { } }
17.333333
42
0.689103
[ "MIT" ]
ParkJeongSu/WPF-NotePad
App.xaml.cs
332
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// VoucherLiteInfo Data Structure. /// </summary> [Serializable] public class VoucherLiteInfo : AopObject { /// <summary> /// 发券时间,格式为:yyyy-MM-dd HH:mm:ss /// </summary> [XmlE...
23.162162
52
0.518086
[ "MIT" ]
BJDIIL/DiiL
Sdk/AlipaySdk/Domain/VoucherLiteInfo.cs
925
C#
namespace DotNet.Testcontainers.Clients { using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; using Docker.DotNet.Models; using DotNet.Testcontainers.Containers.Configurations; using DotNet.Testcontainers.Cont...
31.131034
121
0.715995
[ "MIT" ]
jdelucaa/dotnet-testcontainers
src/DotNet.Testcontainers/Clients/TestcontainersClient.cs
4,514
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; //This is used when you want to attach a CollisionSounds to a child collider of a rigidbody. //It won't receive any collision callbacks, so this is the way to get different CollisionEffects variants among the colliders. namespace Precisio...
27.495495
126
0.522608
[ "MIT" ]
Steffenvy/MicroSplat-Footstep-Sounds
Runtime/Collision/CollisionEffectsParent.cs
3,054
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.125
153
0.584615
[ "MIT" ]
ScriptBox21/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/AuditLogRoot.cs
2,730
C#
using System; using System.Collections.Generic; using System.Text; namespace MonopolyPreUnity.Components.SystemRequest.PlayerInput.Property { class BuyProperty : IEntityComponent { public int BuyerId { get; set; } public int PropertyId { get; set; } public BuyProperty(int buyerId, int...
22.578947
72
0.641026
[ "MIT" ]
BardiTheWeird/MonopolyPreUnity
MonopolyPreUnity/Components/SystemRequest/PlayerInput/Property/BuyProperty.cs
431
C#
using Core.DataAccess.EntityFramework; using DataAccess.Abstract; using Entities.Concrete; namespace DataAccess.Concrete.EntityFramework { public class EfBrandDal : EfEntityRepositoryBase<Brand, RentACarContext>, IBrandDal { } }
24.2
87
0.793388
[ "MIT" ]
avnikasikci/RentACarPortal
DataAccess/Concrete/EntityFramework/EfBrandDal.cs
244
C#
using AVFoundation; using Xamarin.Forms; using Todo; [assembly: Dependency(typeof(TextToSpeech_iOS))] namespace Todo { public class TextToSpeech_iOS : ITextToSpeech { float volume = 0.5f; float pitch = 1.0f; /// <summary> /// Speak example from: /// http://blog.xamarin.com/make-your-ios-7-app-speak/ //...
22.028571
58
0.687419
[ "Apache-2.0" ]
4qu3l3c4r4/xamarin-forms-samples
Todo/Todo.iOS/TextToSpeech_iOS.cs
771
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.IO; using BenchmarkDotNet.Attributes; using Microsoft.ML; using Microsoft.ML.Benchmarks; using Microso...
37.137931
150
0.67688
[ "MIT" ]
gvashishtha/machinelearning
test/Microsoft.ML.Benchmarks/TextPredictionEngineCreation.cs
2,156
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class BTTaskManageFXInstanceDef : I...
36.971429
137
0.721793
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/BTTaskManageFXInstanceDef.cs
1,294
C#
using System.Diagnostics; using Avalonia.Lottie.Model.Content; namespace Avalonia.Lottie.Parser { internal static class ContentModelParser { internal static IContentModel Parse(JsonReader reader, LottieComposition composition) { string type = null; reader.BeginObject()...
37.391304
108
0.447674
[ "Apache-2.0" ]
AvaloniaUI/Avalonia.Lottie
Avalonia.Lottie/Parser/ContentModelParser.cs
3,442
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.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.R...
41.907753
894
0.714953
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
74,053
C#
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required ...
33.756098
122
0.70737
[ "SHL-0.51" ]
JoonghyunCho/Tizen.CircularUI
src/Tizen.Wearable.CircularUI.Forms.Renderer/ReObservableCollection.cs
1,386
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.258065
151
0.580038
[ "MIT" ]
tacores/music-backup
mbackup/Properties/Settings.Designer.cs
1,064
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SharesightImporter.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }
15.857143
51
0.621622
[ "MIT" ]
0Lucifer0/SharesiesToSharesight
test/SharesightImporter.Tests/UnitTest1.cs
222
C#
#pragma warning disable 1591 using Braintree.Exceptions; using System.Threading.Tasks; using System; using System.Xml; using System.Collections.Generic; namespace Braintree { class DisputeAddEvidenceRequest : Request { public string Comments { get; set; } public string DocumentId { get; set; ...
39.600583
177
0.594493
[ "MIT" ]
MSIH/braintree_dotnet
src/Braintree/DisputeGateway.cs
13,583
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ManaMaskScript : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
14.529412
45
0.704453
[ "MIT" ]
budmonde/6.073_p2
Assets/Scripts/ManaMask.cs
249
C#
#region using System; using DeadlyWeapons2.DFunctions; using Rage; using Rage.Native; #endregion namespace DeadlyWeapons2.Modules { internal class PlayerShot { private GameFiber _playerShotFiber; private Ped Player => Game.LocalPlayer.Character; internal void StartEvent() { ...
37.3
124
0.329491
[ "Apache-2.0" ]
Variapolis/SuperPlugins
DeadlyWeapons2/Modules/PlayerShot.cs
3,730
C#
//----------------------------------------------------------------------- // <copyright file="ShellHelper.cs" company="Google"> // // 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 Lic...
38.282051
98
0.561063
[ "Apache-2.0" ]
Akazz-L/food-analyzer-AR
Assets/GoogleARCore/SDK/Scripts/Utility/ShellHelper.cs
4,479
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace dk.nita.saml20.Logging { /// <summary> /// Defines the behaviour of an audit logger that logs an audit trail /// </summary> public interface IAuditLogger { /// <summary> /// Logs the rec...
36.851852
152
0.627136
[ "Apache-2.0" ]
nz-govt-moe-skysigal/nz.govt.moe.idp.saml.client.asp.net
_Extra/dk.nita.saml20/Logging/IAuditLogger.cs
997
C#
using Ship; using SubPhases; using System; using System.Collections; using System.Collections.Generic; using Tokens; using UnityEngine; using Abilities; using ActionsList; using BoardTools; using RuleSets; namespace Ship { namespace SheathipedeShuttle { public class FennRau : SheathipedeShuttle, ISeco...
30.207143
152
0.604635
[ "MIT" ]
rpraska/FlyCasual
Assets/Scripts/Model/Ships/Sheathipede-class Shuttle/FennRau.cs
4,231
C#
using System; using System.Text; using System.Linq; using System.Management; using System.Collections.Generic; namespace PetaqImplant { public class LateralMovementWMI : LateralMovement { public LateralMovementWMI() { } public override bool Execute() { //...
36.116788
124
0.50384
[ "MIT" ]
MichaelKoczwara/petaqc2
petaqimplant/LateralMovementWMI.cs
4,950
C#