content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using LinqToDB.Configuration; using LinqToDB.Data; using LinqToDB.DataProvider; #if NETCORE using System.Data.Common; #endif names...
35.589226
166
0.666982
[ "MIT" ]
aTiKhan/linq2db.LINQPad
Source/ProviderHelper.cs
10,572
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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...
41.319588
171
0.68987
[ "MIT" ]
BclEx/BclEx-Abstract
src/ServiceBuses/Contoso.Abstract.GenericBus/Abstract/GenericBus/ServiceLocatorBuilder.cs
4,010
C#
namespace AngleSharp.Dom.Collections { using AngleSharp.Css; using AngleSharp.Dom.Css; using AngleSharp.Extensions; using AngleSharp.Parser.Css; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; /// <summary> /// R...
22.077465
80
0.487719
[ "MIT" ]
ArmyMedalMei/AngleSharp
src/AngleSharp/Dom/Collections/MediaList.cs
3,137
C#
using System.Reflection; 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("Microsoft.Recognizers.Text.NumberWithUni...
37.526316
84
0.748948
[ "MIT" ]
SivilTaram/Recognizers-Text
Microsoft.Recognizers.Text.NumberWithUnit/Properties/AssemblyInfo.cs
1,429
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...
31.051724
116
0.669628
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ChimeSDKIdentity/Generated/Model/DescribeAppInstanceResponse.cs
1,801
C#
using System; using System.IO; using System.Xml; using System.Text; using System.ComponentModel; using System.Data.SqlClient; using System.Collections.Generic; using System.Security.Cryptography; using System.Xml.Serialization; using MySql.Data.MySqlClient; //=========================================================...
26.226415
117
0.53741
[ "MIT" ]
MorrisonRed/DemoCode
WithOutEntity.mvc/APP/DAL/Globalization/City.cs
1,392
C#
public interface IWriter { void WriteLine(string output); void Append(string text); void PrintResult(); }
13.875
31
0.738739
[ "MIT" ]
SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals
2018.03.19-OOPAdvanced/2018.04.16-ExamPrep/Last Army/Interfaces/IWriter.cs
113
C#
/* * The MIT License(MIT) * Copyright(c) 2016 * * 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, merg...
38.730769
145
0.57572
[ "MIT" ]
tseech/XmlTimeUniqueifier
XmlTimeUniqueifier/Processing/DbUniqueifier.cs
4,030
C#
namespace BC7.Business.Implementation.Files.Commands.UploadFile { public class UploadFileViewModel { public string PathToFile { get; set; } } }
23.714286
64
0.692771
[ "MIT" ]
XardasLord/BitClub7
BC7.Business.Implementation/Files/Commands/UploadFile/UploadFileViewModel.cs
168
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class gameHitRepresentationResult : CVariable { [Ordinal(0)] [RED("sult")] public gameQueryResult Sult { get; set; } [Ordinal(1)] [RED("tityID")] public en...
28
114
0.705882
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/gameHitRepresentationResult.cs
460
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.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.C...
30.913386
118
0.597555
[ "Apache-2.0" ]
06b/AspNetCore
src/Components/Server/src/Circuits/ArrayBuilderMemoryStream.cs
3,926
C#
using System; using System.Linq; using System.Collections.Generic; using UnityEngine; namespace VoiceChat { [RequireComponent(typeof(AudioSource))] public class VoiceChatPlayer : MonoBehaviour { public event Action PlayerStarted; float lastTime = 0; double played = 0; ...
29.18239
132
0.472198
[ "MIT", "Unlicense" ]
alkamegames/unityassets
VoiceChat/Assets/VoiceChat/Scripts/VoiceChatPlayer.cs
4,640
C#
using System.Threading.Tasks; using Android.Content; using Xamarians.FacebookLogin.Platforms; using Xamarians.FacebookLogin.Droid.Platforms; using Xamarin.Forms; using Xamarians.FacebookLogin.Droid.DS; using System; [assembly: Dependency(typeof(FacebookLogin))] namespace Xamarians.FacebookLogin.Droid.DS { public c...
37.322581
98
0.651253
[ "MIT" ]
Xamarians/Xamarians.FacebookLogin
Xamarians.FacebookLogin/Xamarians.FacebookLogin.Droid/DS/FacebookLogin.cs
2,314
C#
// Copyright (c) 2014 Takashi Yoshizawa using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using Excel = Microsoft.Office.Interop.Excel; namespace SeleniumExcelAddIn.TestCommands { public class VerifySelectedIdCommand : ITestCommand { public Te...
21.207792
87
0.512554
[ "Apache-2.0" ]
daluu/seleniumexceladdin
SeleniumExcelAddIn/TestCommands/VerifySelectedIdCommand.cs
1,633
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SPNewsData.Data.Context; namespace SPNewsData.Data.Migrations { [DbContext(typeof(SPNewsDataContext))] partial class S...
32.847682
79
0.452419
[ "MIT" ]
Marcus-V-Freitas/CrawlerBrazilGovData
Contexts/SPNewsData/SPNewsData.Data/Migrations/SPNewsDataContextModelSnapshot.cs
4,962
C#
/* * Licensed to SharpSoftware under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * SharpSoftware licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not us...
31.190722
110
0.502231
[ "Apache-2.0" ]
AlexanderTaeschner/routing
test/Itinero.Test/Data/Shortcuts/ShortcutsDbTests.cs
6,053
C#
using CallCenter.Core.Dtos; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace CallCenterManagementSystem.Dtos { public class SoldDeviceDto { public int Id { get; set; } [Required] [StringLength(5...
21.222222
61
0.620419
[ "MIT" ]
nikola-sekulic/CallCenterManagement
CallCenter/Core/Dtos/SoldDeviceDto.cs
766
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.ReverseProxy.Abstractions; using Microsoft.ReverseProxy.Middleware; using Microsoft.ReverseProxy.Service; namespace Microsoft.Asp...
41.545455
138
0.663384
[ "MIT" ]
JasonCoombs/reverse-proxy
src/ReverseProxy/Configuration/ReverseProxyIEndpointRouteBuilderExtensions.cs
2,742
C#
using System.Data; using YJC.Toolkit.Sys; namespace YJC.Toolkit.Data { [InstancePlugIn] //[ModelCreator(Author = "YJC", CreateDate = "2017-04-15", Description = "以DataSet的方式创建界面展示所需的数据Model接口")] internal class DataSetModelCreator// : BaseDataSetModelCreator { #region IModelCreator 成员 ...
28.921053
110
0.630573
[ "BSD-3-Clause" ]
madiantech/tkcore
CoreWeb/YJC.Toolkit.Razor.Web/Data/_DataSet/DataSetModelCreator.cs
1,143
C#
namespace GitHub.Logging { public abstract class LogAdapterBase { public abstract void Info(string context, string message); public abstract void Debug(string context, string message); public abstract void Trace(string context, string message); public abstract void Warning(str...
28.4
69
0.706573
[ "MIT" ]
Acidburn0zzz/Unity
src/GitHub.Logging/LogAdapterBase.cs
426
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. // ISCIIEncoding // // Ported from windows c_iscii. If you find bugs here, there are likely similar // bugs in th...
56.091051
188
0.411151
[ "MIT" ]
Larhwally/corefx
src/System.Text.Encoding.CodePages/src/System/Text/ISCIIEncoding.cs
144,154
C#
// <auto-generated /> using System; using AddressesAPI.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metada...
41.021226
119
0.454551
[ "MIT" ]
LBHackney-IT/addresses-api
AddressesAPI/Infrastructure/Migrations/20201012154016_AddIndexesToTables.Designer.cs
17,395
C#
using System; using System.Collections.Generic; using System.Text.Json.Serialization; public class ConsolidatedWeather { [JsonPropertyName("id")] public object Id { get; set; } [JsonPropertyName("weather_state_name")] public string WeatherStateName { get; set; } [...
29.389831
76
0.579585
[ "MIT" ]
TopSwagCode/AspNetCore.OpenTelemetry
src/MuseumAPI/WeatherForecast.cs
3,468
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using Microsoft.Maui.Controls.StyleSheets; namespace Microsoft.Maui.Controls { [Flags] public enum InitializationFlags : long { DisableCss = 1 << 0 } // Previewer uses reflection to bind to...
37.180556
173
0.725065
[ "MIT" ]
trampster/maui
src/Controls/src/Core/Registrar.cs
16,062
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace GraphGen { public class GraphVisEdge { private readonly GraphVisNode _node1; private readonly Grap...
24.451613
91
0.613456
[ "MIT" ]
AndyGerlicher/MSBuildGraphVisualizer
src/GraphGen/GraphVisEdge.cs
760
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
32.868726
113
0.540233
[ "Apache-2.0" ]
TomLiu-GitHub/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/CommonApiTest.cs
8,987
C#
// Copyright (c) 2021 SceneGate // 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, merge, publish, distr...
41.7
91
0.711631
[ "MIT" ]
pleonex/LayTea
src/LayTea/Texts/PoTableReplacerParams.cs
1,668
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,...
40.353982
179
0.638377
[ "Apache-2.0" ]
307209239/apollo-net
Apollo/Newtonsoft.Json/Serialization/DynamicValueProvider.cs
4,562
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
17.006211
63
0.604456
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeDBInstanceByTagsResponse.cs
2,738
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class BerserkerStatus : StatusM { public override void Init(int SceneID,int ResalseSceneID,int SkillID,SkillStatusInfo Info) { m_OverData = StatusOverAction.CD; m_AddRole = AddRule.Replace; m_type = StatusType.Berserker; ...
23.347826
99
0.597765
[ "MIT" ]
741645596/batgame
Assets/Scripts/LifeM/LifeProperty/Status/SkillStatus/BerserkerStatus.cs
2,208
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cosmos.Sys.Network { // http://en.wikipedia.org/wiki/User_Datagram_Protocol public class UDPPacket : IP4Packet { protected new int mHeaderBegin; public UDPPacket(uint aSrcIP, UInt16 aSrcPort, uint ...
35.530612
102
0.496841
[ "BSD-3-Clause" ]
AcaiBerii/Cosmos
source/Archive/Cosmos.Sys/Network/ChadTCPIP/UDPPacket.cs
3,484
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.IO; using System.Text.Encodings.Web; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Htm...
42.64279
131
0.599748
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.TagHelpers/test/CacheTagHelperTest.cs
45,244
C#
using FreeSql.DataAnnotations; using System; using Xunit; namespace FreeSql.Tests.SqlServer { public class SqlServerAdoTest { [Fact] public void Pool() { var t1 = g.sqlserver.Ado.MasterPool.StatisticsFullily; } [Fact] public void SlavePools() { var t2 = g.sqlserver.Ado.SlavePools.Count; } [Fact]...
18.607143
89
0.642994
[ "MIT" ]
564602391/FreeSql
FreeSql.Tests/SqlServer/SqlServerAdo/SqlServerAdoTest.cs
1,042
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Runtime.InteropServices; using System.Text; using System.Runtime.CompilerServices; using System.Security; #if __IO...
41.536727
159
0.668832
[ "MIT" ]
procfxgen/NetPacker
Examples/Intro01/Graphics/OpenGL.cs
57,115
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Beatmaps; using osu.Game.Overlays.Dialog; using osu.Game.Scoring; using System; using System.Linq; using System.T...
34.818182
156
0.546345
[ "MIT" ]
5ln/osu
osu.Game/Screens/Select/BeatmapClearScoresDialog.cs
1,491
C#
using System; using System.Threading.Tasks; using UGF.Application.Runtime; using UGF.Module.Controllers.Runtime; using UGF.RuntimeTools.Runtime.Contexts; namespace UGF.Models.Runtime { public abstract class ModelControllerAsyncDescribed<TDescription> : ControllerDescribed<TDescription>, IModelControllerAsync wher...
35.192308
179
0.728962
[ "MIT" ]
unity-game-framework/ugf-models
Packages/UGF.Models/Runtime/ModelControllerAsyncDescribed.cs
917
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("FluentFTP")] [assembly: AssemblyDes...
35.575758
82
0.773424
[ "MIT" ]
dorisoy/FluentFTP
FluentFTP/Properties/AssemblyInfo.cs
1,174
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...
47.277778
173
0.681887
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/WorkMail/Generated/Model/Internal/MarshallTransformations/UpdateResourceResponseUnmarshaller.cs
5,957
C#
using System; using System.Runtime.Serialization; namespace Eaf.Domain.Uow { [Serializable] public class EafDbConcurrencyException : EafException { /// <summary> /// Creates a new <see cref="EafDbConcurrencyException"/> object. /// </summary> public EafDbConcurrencyExceptio...
30.372093
103
0.591118
[ "MIT" ]
afonsoft/EAF
src/Eaf/Domain/Uow/EafDbConcurrencyException.cs
1,308
C#
namespace MS.GTA.BOTService.Common.Models { using System.Collections.Generic; using System.Runtime.Serialization; /// <summary> /// This represents the summary of Job Application schedule /// </summary> [DataContract] public class UpcomingInterviews { [DataMember(Name = "Extern...
32.956522
97
0.682058
[ "Unlicense" ]
kanishk13/MS_Teams_BOT
Microsoft_teams_bot/MS_BOT_Service_.Common/Models/UpcomingInterviews.cs
760
C#
// ServerSidePasswordValidatonAction using ClubPenguin; using ClubPenguin.Mix; using ClubPenguin.UI; using DevonLocalization.Core; using Disney.Kelowna.Common; using Disney.LaunchPadFramework; using Disney.Mix.SDK; using Disney.MobileNetwork; using System.Collections; using System.Diagnostics; public class ServerSideP...
28.804878
156
0.75247
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.UI/ServerSidePasswordValidatonAction.cs
3,543
C#
using System; using System.IO; using Abp.Reflection.Extensions; namespace HealthCare { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Gets current version of the application. /// It's also shown in t...
26.035714
103
0.581619
[ "MIT" ]
pickituup/HealthCare_collaboration
aspnet-core/src/HealthCare.Core/AppVersionHelper.cs
731
C#
using System; using System.Collections.Generic; using System.Linq; namespace _01.Masterchef { class Program { static void Main(string[] args) { Dictionary<int, string> dish = new Dictionary<int, string>() { { 150, "Dipping sauce" }, { 250...
31.014085
140
0.452316
[ "MIT" ]
anidz/Software-University---C-Advanced---January-2022-Solutions
Advanced_Exam/AdvancedExam_26June2021/01.Masterchef/Program.cs
2,204
C#
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. // This code is generated by tool. DO NOT EDIT. using System.Text.Json.Serialization; namespace AccelByte.Sdk.Api.Platform.Model { p...
29.625
64
0.723629
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
AccelByte.Sdk/Api/Platform/Model/ItemReturnRequest.cs
474
C#
namespace Noise.UI.Views { /// <summary> /// Interaction logic for LibraryConfigurationDialog.xaml /// </summary> public partial class LibraryConfigurationDialog { public LibraryConfigurationDialog() { InitializeComponent(); } } }
22.181818
58
0.733607
[ "MIT" ]
bswanson58/NoiseMusicSystem
Noise.UI/Views/LibraryConfigurationDialog.xaml.cs
246
C#
/******************************************************************************** * ConcurrentLinkedList.cs * * * * Author: Denes Solti ...
32
114
0.435062
[ "MIT" ]
Sholtee/primitives
TEST/ConcurrentLinkedList.cs
4,514
C#
using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; namespace EFCore.Sharding { /// <summary> /// 构建者 /// </summary> public interface IShardingBuilder { /// <summary> /// 设置实体的程序集路径 /// </summary> /// <param name="entityAssemblyPaths">程序集路径</param> ...
37.021505
203
0.574935
[ "Apache-2.0" ]
lable/EFCore.Sharding
src/EFCore.Sharding/DependencyInjection/IShardingBuilder.cs
7,734
C#
using System; using System.Data; using System.Linq; using System.Linq.Dynamic; using System.Linq.Dynamic.Core; using System.Linq.Expressions; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Abp.UI; using Abp.AutoMapper; using Abp.Authorization; using Abp.Linq...
24.223529
88
0.642059
[ "MIT" ]
yannis123/YMApp
src/ymapp-aspnet-core/src/YMApp.Application/ECommerce/ProductFields/IProductFieldApplicationService.cs
2,175
C#
using System; using System.Runtime.InteropServices; namespace WIC { [ComImport] [Guid(IID.IWICPalette)] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IWICPalette { void InitializePredefined( [In] WICBitmapPaletteType ePaletteType, [In] bool ...
26.465116
119
0.621265
[ "MIT" ]
Jimbobicus/WIC
WIC/Interfaces/IWICPalette.cs
1,140
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 System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.Debugger.Interop; using MICore; using System.Diagnostics; using System.G...
34.631579
202
0.655585
[ "MIT" ]
benmcmorran/MIEngine
src/MIDebugEngine/AD7.Impl/AD7Events.cs
21,056
C#
using System; namespace Octokit.Reactive { public class ObservableGitHubClient : IObservableGitHubClient { readonly IGitHubClient _gitHubClient; public ObservableGitHubClient(ProductHeaderValue productInformation) : this(new GitHubClient(productInformation)) { } ...
46.219512
127
0.693931
[ "MIT" ]
ROBISKMAGICIAN/Desainer.net
Octokit.Reactive/ObservableGitHubClient.cs
3,792
C#
using Microsoft.Extensions.Caching.Memory; using WebApi.Services; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); builder.Services.AddMemoryCache(); // -- without cached repository //builder.Services.AddScoped<IWeatherRepository, WeatherReposito...
27.304348
88
0.769108
[ "MIT" ]
a-pedroso/DecoratedCachedRepositoryPattern
WebApi/Program.cs
1,256
C#
using Microsoft.AspNetCore.Hosting; using NLog; using NLog.Web; using LogLevel = NLog.LogLevel; namespace GR.Logger.Extensions { public static class LoggerExtension { public static IWebHostBuilder RegisterGearLoggingProviders(this IWebHostBuilder builder) { builder.ConfigureServices...
36.040816
96
0.555493
[ "MIT" ]
indrivo/GEAR
src/GR.Extensions/GR.Logger.Extension/GR.Logger/Extensions/LoggerExtension.cs
1,766
C#
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:BaseButton.cs 文件功能描述:所有菜单按钮基类 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ namespace Senparc.Wei...
21.454545
67
0.446328
[ "Apache-2.0" ]
007008aabb/WeiXinMPSDK
src/Senparc.Weixin.QY/Senparc.Weixin.QY/Entities/Menu/BaseButton.cs
852
C#
using System.Collections.Generic; using System.Linq; using Myproject.Roles.Dto; using Myproject.Users.Dto; namespace Myproject.Web.Models.Users { public class EditUserModalViewModel { public UserDto User { get; set; } public IReadOnlyList<RoleDto> Roles { get; set; } public bool User...
23.578947
77
0.640625
[ "MIT" ]
ahmetkursatesim/ASPNETProject
src/Myproject.Web/Models/Users/EditUserModalViewModel.cs
450
C#
namespace Sudoku.CodeGenerating.Generators; /// <summary> /// Provides a generator that generates the deconstruction methods that are extension methods. /// </summary> [Generator] public sealed partial class ExtensionDeconstructMethodGenerator : ISourceGenerator { /// <inheritdoc/> public void Execute(GeneratorExec...
38.330097
155
0.743161
[ "MIT" ]
SunnieShine/Sudoku
src/Sudoku.CodeGenerating/Generators/ExtensionDeconstructMethodGenerator.cs
3,950
C#
using System.Collections.Generic; using DCL.Components; using DCL.Models; using UnityEngine; namespace DCL.Controllers { public interface IParcelScene { Transform GetSceneTransform(); Dictionary<string, IDCLEntity> entities { get; } Dictionary<string, ISharedComponent> disposableCompon...
37.5
81
0.705714
[ "Apache-2.0" ]
decentraland/com.decentraland.unity-renderer-test
unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/Interfaces/IParcelScene.cs
1,052
C#
using System.Collections.ObjectModel; using System.Collections.Specialized; namespace Xce.TrackingItem.Fody.TestModel { public class ReferenceCollectionModel { private readonly TrackingManager trackingManager; public ReferenceCollectionModel() { trackingManager = TrackingM...
33.36
120
0.721223
[ "MIT" ]
xclemence/undo-redo-manager
src/Fody.Test/Xce.TrackingItem.Fody.TestModel/ReferenceCollectionModel.cs
1,670
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.221622
145
0.613006
[ "MIT" ]
Andrean/azure-powershell
src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs
7,999
C#
using FilterLists.Data.Entities; using FilterLists.Data.Entities.Junctions; using FilterLists.Data.EntityTypeConfigurations; using FilterLists.Data.EntityTypeConfigurations.Junctions; using Microsoft.EntityFrameworkCore; namespace FilterLists.Data { public class FilterListsDbContext : DbContext { publ...
48.935484
89
0.703691
[ "MIT" ]
EnergizedProtection/FilterLists
src/FilterLists.Data/FilterListsDbContext.cs
3,036
C#
//----------------------------------------------------------------------- // <copyright file="SwaggerToTypeScriptClientGenerator.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, ...
52.311765
173
0.645676
[ "MIT" ]
OsvaldoJ/NSwag
src/NSwag.CodeGeneration.TypeScript/SwaggerToTypeScriptClientGenerator.cs
8,895
C#
using Net.FreeORM.Framework.Base; using System; using Net.FreeORM.Test_Odbc.Source.DL; namespace Net.FreeORM.Test_Odbc.Source.BO { public class MatchedPatientOrder : BaseBO { private string _OBJID; public string OBJID { set { _OBJID = value; OnPropertyChanged("OBJID"); } get { return _OBJID; } } pri...
17.75
87
0.665857
[ "Apache-2.0" ]
mustafasacli/Net.FreeORM.TestRepo
Net.FreeORM.Test/Net.FreeORM.Test/Net.FreeORM.Test_Odbc/Source/BO/MatchedPatientOrder.cs
2,059
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...
29.952941
92
0.591123
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/Outputs/ApplicationGatewayPrivateLinkIpConfigurationResponse.cs
2,546
C#
using System.Collections.Generic; namespace Yorozu.GoogleDriveHelper.AppsScript { public static class AppsScriptUtil { /// <summary> /// シート名とRowのJsonに変換 /// </summary> internal static string ConvertPostJson(string sheetName, IList<string> rows, int skipRow = 0) { ...
30.027027
101
0.444644
[ "MIT" ]
yayorozu/UnityGoogleDriveHelper
Script/AppsScript/AppsScriptUtil.cs
1,129
C#
namespace GoCardlessApi.Subscriptions { public static class IntervalUnit { public static readonly string Weekly = "weekly"; public static readonly string Monthly = "monthly"; public static readonly string Yearly = "yearly"; } }
29.333333
58
0.681818
[ "MIT" ]
john-hartley/GoCardless.Api
src/GoCardless.Api/Subscriptions/IntervalUnit.cs
266
C#
namespace AdventOfCode.Solutions.Year2020; /// <summary> /// Day 13: Shuttle Search /// https://adventofcode.com/2020/day/13 /// </summary> [Description("Shuttle Search")] public class Day13 { public static string Part1(string[] input, params object[]? _) => Solution1(input).ToString(); public static string Part2(...
24.403226
95
0.613351
[ "MIT" ]
smabuk/AdventOfCode
Solutions/2020/Day13.cs
1,515
C#
using Moq; using NBitcoin; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using WalletWasabi.Tor.Http; using WalletWasabi.WebClients.Wasabi; using Xunit; namespace WalletWasabi....
41.854701
187
0.739024
[ "MIT" ]
BTCparadigm/WalletWasabi
WalletWasabi.Tests/UnitTests/Clients/WasabiClientTests.cs
4,897
C#
using System; namespace AppJsonEvaluator { [Flags] public enum TextMarkerTypes { /// <summary> /// Use no marker /// </summary> None = 0x0000, /// <summary> /// Use squiggly underline marker /// </summary> SquigglyUnderline = 0x001, /// <summary> /// Normal underline. /// </summary> Norm...
20.318182
62
0.624161
[ "MIT" ]
Black-Beard-Sdk/jslt
src/Black.Beard.JsltEvaluator/AvalonEdit/TextMarkerTypes.cs
896
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("8. ...
37.837838
84
0.746429
[ "MIT" ]
boggroZZdev/SoftUniHomeWork
TechModule/ProgrammingFundamentals/10. Files-and-Exceptions-Exercises/8. AverageGrades/Properties/AssemblyInfo.cs
1,403
C#
using System; namespace DotNetGqlClient { public class GqlFieldNameAttribute : Attribute { public string Name { get; } public GqlFieldNameAttribute(string name) { this.Name = name; } } }
17.428571
50
0.590164
[ "MIT" ]
KODIKAS-NL/DotNetGraphQLQueryGen
src/DotNetGqlClientBase/GqlFieldNameAttribute.cs
244
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; //using System.Threading.Tasks; public class RepeatLevelGameOne : MonoBehaviour { private int numberLevels = 1; private int currentLeve...
32.047354
94
0.504216
[ "MIT" ]
angelvardin/english-learning-software
Assets/Scripts/AnswerManegments/NextLevel/RepeatLevelGameOne.cs
11,507
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
44.59375
181
0.59986
[ "MIT" ]
wwdenis/vbconverter
UI/Properties/Resources.Designer.cs
2,856
C#
// // ErrorExpression.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2011 Xamarin Inc. // // 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 res...
27.690141
88
0.72177
[ "MIT" ]
AlexAlbala/Alter-Native
NRefactory/ICSharpCode.NRefactory.Cpp/Ast/Expressions/ErrorExpression.cs
1,967
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnManager : MonoBehaviour { public Spawner[] Spawners; public List<SpawnEntity> SpawnEntities = new List<SpawnEntity>(); public List<SpawnEntity> processedSpawnEntity = new List<SpawnEntity>(); private floa...
23.052632
76
0.555556
[ "MIT" ]
Labae-CK/CK_2-2-Game_Engine_Programming
Assets/Game/Scripts/Spawner/SpawnManager.cs
1,316
C#
using System; using System.Collections.Generic; namespace StrawberryShake.VisualStudio.Language { /// <summary> /// A GraphQL Input Object defines a set of input fields; the input fields are either /// scalars, enums, or other input objects. This allows arguments to accept arbitrarily /// complex stru...
30.673077
91
0.582132
[ "MIT" ]
Asshiah/hotchocolate
src/StrawberryShake/VisualStudioWin/src/StrawberryShake.VisualStudio.Language/AST/InputValueDefinitionNode.cs
3,192
C#
using System.Net; using FluentAssertions; using IpData.Exceptions; using Xunit; namespace IpData.Tests.Exceptions { public class UnauthorizedExceptionTests { [Fact] public void UnauthorizedException_WhenCreate_ShouldReturnStatusCode() { // Act var sut = new Unau...
26.019608
111
0.600603
[ "MIT" ]
alexkhil/IpData
test/Unit/IpData.Tests/Exceptions/UnauthorizedExceptionTests.cs
1,329
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; namespace Hids.DurableFunctionSupport { /// <summary> /// Makes requests to the Function Host for Durable Function status /// </summary> public class DurableFunctionClient { ...
37.770115
110
0.606208
[ "MIT" ]
hi-digital-solutions/Durable_Function_Support
DurableFunctionSupport/DurableFunctionClient.cs
3,286
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 System.Collections; using Microsoft.Build.Framework; using Shouldly; using Xunit; #nullable disable namespace Microsoft.Build.UnitTests { //...
43.968085
163
0.643358
[ "MIT" ]
AlexanderSemenyak/msbuild
src/Framework.UnitTests/ProjectStartedEventArgs_Tests.cs
4,135
C#
 using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; #pragma warning disable 1591 namespace Frends.Community.Pgp { #region PgpClearTextSignature public class PgpClearTextSignatureInput { /// <summary> /// Path to file being signed. /// </summar...
27.674938
104
0.55707
[ "MIT" ]
CommunityHiQ/Frends.Community.PGP
Frends.Community.Pgp/Frends.Community.Pgp/Definitions.cs
11,155
C#
using System; using System.Diagnostics; using NUnit.Framework; using XeroApi.Integration; namespace XeroApi.Tests { public class PauseTimeTests { [Test] public void it_can_pause_time() { Stopwatch stopwatch = Stopwatch.StartNew(); PauseTime pauseTime = new Pau...
24.37037
140
0.644377
[ "MIT" ]
MatthewSteeples/XeroAPI.Net
source/XeroApi.Tests/PauseTimeTests.cs
660
C#
using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using Torque3D.Engine; using Torque3D.Util; namespace Torque3D { public unsafe class GameBaseData : SimDataBlock { public GameBaseData(bool pRegister = false) : base(pRegister) { } public GameBaseData...
22.021277
136
0.642995
[ "MIT" ]
lukaspj/T3D-CSharp-Tools
BaseLibrary/Torque3D/Engine/GameBaseData.cs
2,070
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayOpenMiniInnerappPluginuseconfigCancelModel Data Structure. /// </summary> [Serializable] public class AlipayOpenMiniInnerappPluginuseconfigCancelModel : AopObject { /// <summary> ...
24.906977
78
0.51634
[ "Apache-2.0" ]
alipay/alipay-sdk-net
AlipaySDKNet.Standard/Domain/AlipayOpenMiniInnerappPluginuseconfigCancelModel.cs
1,103
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("EM...
37.027027
84
0.743066
[ "MIT" ]
ircluzar/BizhawkLegacy-Vanguard
EMU7800/Properties/AssemblyInfo.cs
1,372
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("Sim...
40.27027
86
0.75906
[ "MIT" ]
bcatt09/DVHAnalysis
src/SimplePdfReport.Reporting/Properties/AssemblyInfo.cs
1,493
C#
using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text; using Xunit; using Serilog.Formatting.Json; using Serilog.Sinks.CustomFile.Tests.Support; using Serilog.Tests.Support; #pragma warning disable 618 namespace Serilog.Sinks.CustomFile.Tests { public class FileSinkTes...
34.918149
174
0.520689
[ "Apache-2.0" ]
OronDF343/serilog-sinks-file
test/Serilog.Sinks.CustomFile.Tests/FileSinkTests.cs
9,814
C#
#region Copyright /* -------------------------------------------------------------------------------- This source file is part of Xenocide by Project Xenocide Team For the latest info on Xenocide, see http://www.projectxenocide.com/ This work is licensed under the Creative Commons Attribution-NonCommercia...
33.693182
126
0.592074
[ "MIT" ]
astyanax/Project-Xenocide
xna/branches/Unreviewed_Patches_branch/Xenocide/Source/UI/Dialogs/AircraftOrdersDialog.cs
5,930
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
38.821782
157
0.602142
[ "BSD-3-Clause" ]
Smurf-IV/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteDataGridViewAll.cs
3,924
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using Microsoft.AspNetCore.Components; namespace BootstrapBlazor.Compone...
29.316667
111
0.54747
[ "Apache-2.0" ]
5118234/BootstrapBlazor
src/BootstrapBlazor/Components/Spinner/SpinnerBase.cs
1,833
C#
using System.Reactive.Concurrency; using ReactiveUI.Validation.Helpers; namespace ReactiveUI.Validation.Tests.Models { /// <summary> /// Mocked ViewModel for INotifyDataErrorInfo testing. /// </summary> public class IndeiTestViewModel : ReactiveValidationObject<IndeiTestViewModel> { private...
26.170732
85
0.5685
[ "MIT" ]
dorisoy/ReactiveUI.Validation
src/ReactiveUI.Validation.Tests/Models/IndeiTestViewModel.cs
1,073
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace OpenShift.DotNet.Service.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Mi...
40.1
381
0.638404
[ "MIT" ]
gbraad/OpenShift.Vsix
OpenShift.DotNet.Service.Netfx/OpenShift API (with Kubernetes)/Models/Iok8sapicorev1ResourceQuota.cs
3,611
C#
using System.Collections.Generic; using Lens.Resolver; using NUnit.Framework; namespace Lens.Test.Features { /// <summary> /// These tests contain descriptions of known problems which are not yet fixed. /// Corresponding Github issues are also mentioned. /// </summary> [Ignore("To be fixed later")]...
23.433333
83
0.58037
[ "MIT" ]
impworks/lens
Lens.Test/Features/KnownIssues.cs
703
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Fuzzy_Health : MonoBehaviour { private const string labelText = "{0} TRUE"; public AnimationCurve Healthy; public AnimationCurve Hurt; public AnimationCurve Critical; public InputFiel...
25.055556
67
0.645233
[ "MIT" ]
CaosMen/FUZZYLOGIC
Assets/Script/Fuzzy_Health/Fuzzy_Health.cs
1,355
C#
// Released under the MIT License. // // Copyright (c) 2018 Ntreev Soft co., Ltd. // Copyright (c) 2020 Jeesu Choi // // 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, i...
35.8
121
0.682123
[ "MIT" ]
s2quake/JSSoft.Crema
server/JSSoft.Crema.WindowsServiceHost/Settings.cs
1,792
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 ...
45.724138
148
0.696078
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/clouddms/v1/google-cloud-clouddms-v1-csharp/Google.Cloud.CloudDms.V1.StandaloneSnippets/DataMigrationServiceClient.DeleteMigrationJobResourceNamesAsyncSnippet.g.cs
2,652
C#
using Antlr4.Runtime; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Vectorize.Domain.Parser; namespace Vectorize.Interpreter { public class Interpreter { public Result Run(FileInfo file) { using (var stream = file.OpenRead()) ...
31.175676
172
0.53186
[ "MIT" ]
vectorize-dsl/antlr
Vectorize.Interpreter/Interpreter.cs
2,309
C#
using DemoApi; namespace InheritedWebApplicationFactoryTests { public class DummyServiceTest : IDummyService { public string DoSomething() => nameof(DummyServiceTest); } }
19.4
64
0.726804
[ "Unlicense" ]
satano/IntegrationTestsContentRoot
InheritedWebApplicationFactoryTests/DummyServiceTest.cs
196
C#
using System; using System.Collections.Generic; using System.Text; namespace BrokenFaxMobile.Models { public class GroupData { public int Id { get; set; } public string Name { get; set; } } }
17.076923
40
0.648649
[ "MIT" ]
milenazmajchek/BrokenFaxMobile
BrokenFaxMobile/BrokenFaxMobile/Models/GroupData.cs
224
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. // </auto-generated> namespace Microsoft.Azure.Management.Compute.Fluent.Mod...
32.787234
100
0.644387
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/Compute/Generated/Models/VirtualMachineScaleSetVMReimageParameters.cs
1,541
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
49.46875
93
0.773215
[ "MIT" ]
TetradogOther/SharpDevelop
src/AddIns/Misc/PackageManagement/Cmdlets/Test/Configuration/AssemblyInfo.cs
1,585
C#
namespace csmatio.common { /// <summary> /// MAT-file data types /// </summary> /// <author>David Zier (david.zier@gmail.com)</author> public class MatDataTypes { /// <summary>Unknown data type</summary> public const int miUNKNOWN = 0; /// <summary>8-bit, signed</summary> public const int miIN...
30.676829
63
0.600875
[ "BSD-2-Clause" ]
damageboy/csmatio
src/common/MatDataTypes.cs
5,031
C#