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.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("Ro...
38.675676
84
0.748428
[ "MIT" ]
adrianbontea/RoboBank.Merchant
src/RoboBank.Merchant.Application/Properties/AssemblyInfo.cs
1,434
C#
using System; using Abp.Application.Services.Dto; using Abp.AutoMapper; namespace blogger.Authors.Dtos { [AutoMapFrom(typeof(Author))] public class AuthorListDto : EntityDto<long> { public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; ...
28.266667
48
0.648585
[ "MIT" ]
Drex3l/aspboilerplate
aspnet-core/src/blogger.Application/Authors/Dtos/AuthorListDto.cs
424
C#
using Microsoft.Maui.Graphics; namespace Microsoft.Maui.Controls.Shapes { public class LineGeometry : Geometry { public LineGeometry() { } public LineGeometry(Point startPoint, Point endPoint) { StartPoint = startPoint; EndPoint = endPoint; } public static readonly BindableProperty StartPointP...
24.404762
97
0.727805
[ "MIT" ]
3DSX/maui
src/Controls/src/Core/Shapes/LineGeometry.cs
1,025
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
27.338028
79
0.493045
[ "BSD-3-Clause" ]
0xCM/z0
src/rules/src/settings/models/SettingT.cs
1,941
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Opponent : Character { [Tooltip("The amount of money the player needs to earn to defeat this opponent.")] public int amountToDefeat; }
24.5
86
0.738776
[ "MIT" ]
therealjohn/DiceGame
Assets/Scripts/Opponent.cs
247
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace BookBeing.Data.Migrations { public partial class BugWithEntitiesFixed : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuilder) ...
19.166667
71
0.678261
[ "MIT" ]
ViktoriyaVelikova/Book-Project
BookBeing/BookBeing/Data/Migrations/20210812003436_BugWithEntitiesFixed.cs
347
C#
//****************************************************************************************************** // InitializationException.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements....
39.38806
106
0.581281
[ "MIT" ]
GridProtectionAlliance/gsf
Source/Libraries/GSF.Core/InitializationException.cs
2,642
C#
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
33.746479
139
0.690317
[ "Apache-2.0" ]
rs-swc/Koralium
netcore/src/Koralium.SqlToExpression/Visitors/Select/SelectAggregationVisitor.cs
2,398
C#
using DFC.Digital.Data.Model; namespace DFC.Digital.Web.Sitefinity.CourseModule { public class CourseListingViewModel { public Course Course { get; set; } public string LocationLabel { get; set; } public string ProviderLabel { get; set; } public string AdvancedLoanProviderLa...
23.352941
61
0.65995
[ "MIT" ]
Muthuramana/dfc-digital
DFC.Digital/DFC.Digital.Web.Sitefinity.CourseModule/Mvc/Models/CourseListingViewModel.cs
399
C#
using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; us...
42.34955
123
0.596707
[ "MIT" ]
Scripta-Qumranica-Electronica/SQE_API
sqe-api-server/Services/UserService.cs
23,504
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Notifications { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public enum TileFlyoutTemplateType { #if...
24.176471
49
0.725061
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Notifications/TileFlyoutTemplateType.cs
411
C#
namespace BrewHelper.Authentication { public class HttpActionContext { } }
14.5
36
0.701149
[ "Apache-2.0" ]
TheMerski/BrewHelper
BrewHelper/BrewHelper/Authentication/HttpActionContext.cs
89
C#
// Deployment Framework for BizTalk // Copyright (C) 2008-14 Thomas F. Abraham, 2004-08 Scott Colestock // This source file is subject to the Microsoft Public License (Ms-PL). // See http://www.opensource.org/licenses/ms-pl.html. // All other rights reserved. using System; using System.Collections.Generic; using Syst...
26.142857
84
0.620219
[ "MIT" ]
BTDF/BTDF
src/btdf/Tools/UacElevate/Program.cs
734
C#
namespace advisor.Model { public enum Direction { North = 1, Northeast = 2, Southeast = 3, South = 4, Southwest = 5, Northwest = 6 } }
15.916667
27
0.481675
[ "MIT" ]
gelzis/atlantis-economy-adivsor
server/Model/Direction.cs
191
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17626 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.548387
152
0.568058
[ "Apache-2.0" ]
DynamoDS/designscript-archive
Core/GraphToDSCompiler/Properties/Settings.Designer.cs
1,104
C#
using System; using System.Collections.Generic; namespace OrganizationRegister.Application.User { public interface IUserService { Guid AddUser(Guid roleId, Guid organizationId, string emailAddress, string password, string lastName, string firstName, string phoneNumber); void SetUser(Guid id, G...
41.555556
157
0.744652
[ "MIT" ]
City-of-Helsinki/organisaatiorekisteri
Source/OrganizationRegister.Application/User/IUserService.cs
750
C#
using System; using SolAR.Api.Pipeline; using SolAR.Api.Sink; using SolAR.Api.Source; using SolAR.Core; using SolAR.Datastructure; using SolAR.Pipeline; using UnityEngine; using XPCF.Api; namespace SolAR.Expert { public class SolARPluginPipelineManagerExpert : ISolARPluginPipelineManager { ...
33.284672
117
0.558991
[ "Apache-2.0" ]
SolarFramework/SolARUnityPlugin
Assets/SolAR/Scripts/Expert/SolARPluginPipelineManagerExpert.cs
4,562
C#
using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Media; using Cirilla.MVVM.ViewModels; namespace Cirilla.Avalonia.Views { public class GmdEditView : UserControl { private DataGrid dataGrid => this.FindControl<DataGrid>("dataGrid"); private SolidColorBrush invalidMessageBrush...
29.973684
86
0.60755
[ "MIT" ]
Fusion86/Cirilla
src/Cirilla.Avalonia/Views/GmdEditView.axaml.cs
1,141
C#
using Microsoft.Extensions.DependencyInjection; namespace bright.Gitlab { public static class GitlabExtensions { public static void AddGitlab(this IServiceCollection services) { services.AddSingleton<GitlabInstanceGate>(); } } }
23.083333
70
0.685921
[ "Apache-2.0" ]
kucheruk/bright
Gitlab/GitlabExtensions.cs
277
C#
using System; using System.Diagnostics.CodeAnalysis; namespace BooruDotNet { internal static class Error { internal static void If<T>([DoesNotReturnIf(true)] bool condition, params object?[]? ctorArgs) where T : Exception { if (condition) { throw (T)Acti...
26.590909
126
0.588034
[ "MIT" ]
n-ski/BooruDotNet
src/BooruDotNet/Error.cs
587
C#
/* * Wirk * * <p>API for api.wirk.io</p> * * OpenAPI spec version: 1.0.0 * Contact: contact@wirk.io * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
42.092537
410
0.537338
[ "Apache-2.0" ]
Wirk-io/Wirk-csharp
src/Io.Wirk.Api.Wirk/Model/AppProjectReaderServiceModel.cs
14,101
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using Chinook.Domain.DbInfo; using Chinook.Domain.Repositories; using Chinook.Domain.Entities; using Dapper; using Dapper.Contrib.Extensions; namespace Chinook.DataDapper.Repositories { public class ...
24.69697
105
0.476483
[ "MIT" ]
cwoodruff/ChinookASPNETCore3APINTierDapper
ChinookASPNETCore3APINTierDapper/Chinook.DataDapper/Repositories/ArtistRepository.cs
2,447
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.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.Language; using Microsoft.CodeAnalysis.Text; using Xunit; namespace ...
50
148
0.663925
[ "Apache-2.0" ]
devlead/aspnetcore-tooling
src/Razor/test/Microsoft.CodeAnalysis.Razor.Workspaces.Test/ProjectSystem/GeneratedDocumentContainerTest.cs
5,352
C#
// <copyright file="ServiceBusQueue.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace SocialPlus.Server.Messaging { using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; using Microsoft.ServiceBus; ...
36.602469
141
0.581962
[ "MIT" ]
Bhaskers-Blu-Org2/EmbeddedSocial-Service
code/Server/Messaging/ServiceBusQueue.cs
14,826
C#
// // Copyright (c) Microsoft and contributors. 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 requi...
30.218391
79
0.600609
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ResourceManagement/StreamAnalytics/StreamAnalyticsManagement/Generated/Models/OutputProperties.cs
2,629
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...
37.664216
148
0.589315
[ "Apache-2.0" ]
amazon-archives/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_Android/Amazon.AutoScaling/Model/CreateAutoScalingGroupRequest.cs
15,367
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. #nullable enable using System.Buffers; using System.Runtime.InteropServices; using System.Text; using static Inter...
30.75
115
0.584204
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Primitives/tests/TestUtilities/Metafiles/RecordTypes/EMREXTSELECTCLIPRGN.cs
1,724
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...
33.392857
129
0.726203
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerService/V20190801/Outputs/ContainerServiceSshConfigurationResponse.cs
935
C#
using System; using System.Text; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using Abp.AspNetCore; using Abp.AspNetCore.Configuration; using Abp.AspNetCore.SignalR; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.Configuration; ...
36.085714
151
0.704671
[ "MIT" ]
lyzr2507/myEventCloud
aspnet-core/src/myEventCloud.Web.Core/myEventCloudWebCoreModule.cs
2,528
C#
using ElmanANN.ObjectOrientedElman; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElmanANN { class Program { static void Main(string[] args) { ObjectOrientedElmanNetwork.NetworkInstance.initialize(3, 3,...
29.269231
85
0.595269
[ "MIT" ]
kubiesh/HDDetector
Detector/ElmanANN/Program.cs
763
C#
using Microsoft.eShopWeb.ApplicationCore.Entities; using System.Collections.Generic; namespace Microsoft.eShopWeb.ViewModels { public class CatalogItemViewModel { public int Id { get; set; } public string Name { get; set; } public string PictureUri { get; set; } public decimal...
23.266667
51
0.664756
[ "MIT" ]
Venkat5160/eShopOnWeb-master
src/Web/ViewModels/CatalogItemViewModel.cs
351
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Diagnostics; using System.Reflection; using Microsoft.Practices.EnterpriseLibrary.Common.Configura...
32.935484
134
0.686582
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/EnterpriseLibrary/Logging/Src/Logging/Configuration/Unity/TraceListenerConstructorArgumentMatchingPolicyCreator.cs
2,090
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.16129
153
0.592882
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ISiteRemoveCollectionPage.cs
1,152
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...
26.694444
81
0.619147
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/RecoveryServices/V20180110/Inputs/AzureFabricCreationInputArgs.cs
961
C#
/*---------------------------------------------------------------- Copyright (C) 2016 Senparc 文件名:RequestMessageImage.cs 文件功能描述:接收普通图片消息 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ namespace Ni...
24.62963
78
0.505263
[ "MIT" ]
P79N6A/abp-ant-design-pro-vue
Niue.WeChat/EnterpriseAccounts/Entities/Request/RequestMessageImage.cs
743
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: AssemblyTi...
39.486486
85
0.731691
[ "MIT" ]
ZJ69719496/DotNet_WinForm_NodeEditor
WinNodeEditerTest/Properties/AssemblyInfo.cs
1,464
C#
using System; using System.ComponentModel.DataAnnotations; using Quantumart.QP8.Resources; namespace Quantumart.QP8.BLL.ListItems { public class StatusHistoryListItem { public int Id { get; set; } public string StatusTypeName { get; set; } public string SystemStatusTypeName { get; set...
26.068966
115
0.630952
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP
bll/ListItems/StatusHistoryListItem.cs
756
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class coinSpawner : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.578947
52
0.625
[ "MIT" ]
jlandron/Coin-Brigade
Assets/Scripts/coinSpawner.cs
298
C#
using System.Runtime.Serialization; namespace EncompassRest.Loans.Enums { public enum RefinancePurpose { CashOutDebtConsolidation = 0, CashOutHomeImprovement = 1, CashOutLimited = 2, CashOutOther = 3, CashOutOriginalLender = 4, ChangeInRateTerm = 5, NoCas...
26.736842
45
0.65748
[ "MIT" ]
gashach/EncompassRest
src/EncompassRest/Loans/Enums/RefinancePurpose.cs
508
C#
using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace TSOClient.Network.Encryption { /// <summary> /// Class for generating hashes. /// From: http://www.dijksterhuis.org/creating-salted-hash-values-in-c/ /// </summary> class SaltedHash ...
40.5
119
0.601887
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Blayer98/FreeSO
TSOClient/tso.client/Network/Encryption/SaltedHash.cs
7,211
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gen...
41.035088
158
0.602822
[ "MIT" ]
654306663/UnityLockstep
Engine/Core.State/Generated/Game/Components/GameAssetComponent.cs
2,339
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace ShellSampleApp.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding...
35.939394
98
0.681282
[ "MIT" ]
runceel/Xamarin.Forms-Shell-Android-BackButtonBehavior
src/ShellSampleApp/ShellSampleApp/ShellSampleApp.iOS/AppDelegate.cs
1,188
C#
{{#tables}} namespace Persistence.Models { public class {{entity_name}} { {{#colunas}} public {{data_type}} {{attribute_name}} { get; set; }{{/colunas}} } } ---<EOF: {"nameFile": "{{entity_name}}.cs"}>--- {{/tables}}
23.7
69
0.561181
[ "MIT" ]
jairzjunior/vscode-automagic-code
sample/templates/CSharp.Model.ClassPerFile.mustache.cs
237
C#
// // IPortableTaskSupport.cs // // Author: // Martin Baulig <mabaul@microsoft.com> // // Copyright (c) 2017 Xamarin Inc. (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
35.204082
80
0.76
[ "MIT" ]
xamarin/web-tests
Xamarin.AsyncTests/Xamarin.AsyncTests.Portable/IPortableTaskSupport.cs
1,727
C#
using DevAssessment.Resources; using Prism.Commands; using Prism.Logging; using Prism.Navigation; using System.Collections.Generic; using System.Collections.ObjectModel; using Xamarin.Essentials.Interfaces; using Category = DevAssessment.Models.Category; namespace DevAssessment.ViewModels { public class NewsReade...
40.586957
141
0.678093
[ "MIT" ]
zohaibhanif/DevAssessment
src/DevAssessment/ViewModels/NewsReaderPageViewModel.cs
1,869
C#
using Pyro.Common.PyroHealthFhirResource.CodeSystems; namespace Pyro.Common.PyroHealthFhirResource { public class CodeSystem : ICodeSystem { private readonly IPyroFhirServer IPyroFhirServer; private readonly IPyroTask IPyroTask; private readonly IPyroHealth IPyroHealth; public CodeSystem(IPyroFhi...
31.217391
100
0.771588
[ "BSD-3-Clause" ]
angusmillar/Pyro
Pyro.Common/PyroHealthFhirResource/CodeSystem.cs
720
C#
using System; using System.Text; using System.Drawing; using System.Drawing.Imaging; using System.Diagnostics; using System.Collections.Generic; using System.Linq; namespace ImageMetaDataParser { /// <summary> /// Zusammenfassung für ExifInfo. /// </summary> public class ExifInfo { protected ExifData[] I...
27.545652
159
0.569963
[ "Apache-2.0" ]
drjofu/ImageMetaDataParser
ExifInfo.cs
12,673
C#
using System; using System.Collections.Generic; using System.Text; namespace CrystalClear.UserInterface { public interface IEditorObject { public void ModifierUI() { EditorGUI.Text("No custom Modifier UI has been made for this object."); } } }
17.2
74
0.744186
[ "MIT" ]
CrystalClearEngine/CrystalClear
UserInterface/IEditorObject.cs
260
C#
using System.Resources; 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. [asse...
41.564103
167
0.762492
[ "MIT" ]
gauravmadarkal/NetworkConnections
NetworkConnections.Windows/Properties/AssemblyInfo.cs
1,624
C#
using System; using System.Collections.Generic; using Robust.Shared.GameObjects; using Robust.Shared.Serialization; using Robust.Shared.ViewVariables; namespace Content.Shared.GameObjects.Components.VendingMachines { public class SharedVendingMachineComponent : Component { public override string Name ...
27.708861
95
0.599817
[ "MIT" ]
assasinwar9/space-station-14
Content.Shared/GameObjects/Components/VendingMachines/SharedVendingMachineComponent.cs
2,191
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace SGI.DataBase.Models { public partial class SGI_Disparo { public long ID { get; set; } [Column(TypeName = "datetime")] pu...
29.1
52
0.621993
[ "Apache-2.0" ]
afonsoft/SGI
SGI.DataBase/Models/SGI_Disparo.cs
584
C#
//------------------------------------------------------------------------------------- // <auto-generated> // This code was generated by the following tool: // https://github.com/bottlenoselabs/c2cs (v2.3.0.0) // // Changes to this file may cause incorrect behavior and will be lost if // the code i...
39.033117
277
0.599318
[ "MIT" ]
lithiumtoast/imgui-cs
src/cs/production/imgui/imgui.cs
469,100
C#
//@#$&+ // //The MIT X11 License // //Copyright (c) 2010 - 2016 Icucom Corporation // //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 limitatio...
36.59596
99
0.68838
[ "MIT" ]
Platform-Agile-Software/PAF-Community
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreContractsStandard/TypeHandling/MethodHelpers/MethodCharacteristics.cs
3,625
C#
// Copyright (c) Microsoft Corporation. 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.Globalization; using System.Reflection; using Microsoft.TestPlatform.TestUtilities; using Mi...
37.875
162
0.723715
[ "MIT" ]
Wivra/vstest
test/Microsoft.TestPlatform.AcceptanceTests/Extension/NetFrameworkRunner.cs
2,123
C#
using Hk.Core.Util.Logs; namespace Hk.Core.Logs.Aspects { /// <summary> /// 调试日志 /// </summary> public class DebugInterceptorAttribute : LogInterceptorAttributeBase { /// <summary> /// 是否启用 /// </summary> protected override bool Enabled(ILog log) { ...
20.192308
72
0.500952
[ "MIT" ]
a275979650/NetCoreFramewoker
Hk.Core.Framework/Hk.Core.Logs/Aspects/DebugInterceptorAttribute.cs
549
C#
using Datagrammer; using Datagrammer.MessagePack; using Microsoft.Extensions.Options; using System; using System.Net; using System.Threading.Tasks; namespace Connection.Udp.NatFucking { class NatFuckingMessageHandler : MessagePackHandler<NatFuckingResponseDto> { private readonly IObserver<MyIPData> my...
29.930233
113
0.640249
[ "MIT" ]
gendalf90/WhenGunsSpeak
Connection/Connection/Udp/NatFucking/NatFuckingMessageHandler.cs
1,289
C#
using System.Collections.Generic; namespace Xamarin.Forms.Platform.UWP { internal static class ViewExtensions { public static IEnumerable<Page> GetParentPages(this Page target) { var result = new List<Page>(); var parent = target.Parent as Page; while (!Application.IsApplicationOrNull(parent)) { ...
20.45
66
0.704156
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Platform.UAP/ViewExtensions.cs
411
C#
// Copyright © 2020 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Platformus.Core.Backend.ViewModels; using Platformus.Core.Backend.ViewModels.Shared; namespace Platformus.ECommerce.Backend.ViewModels.OrderS...
32.846154
111
0.779859
[ "Apache-2.0" ]
aleks-ivanov/Platformus
src/Platformus.ECommerce.Backend/Areas/Backend/ViewModels/OrderStates/Index/IndexViewModel.cs
430
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("Us...
37.648649
84
0.744436
[ "MIT" ]
stefanliydov/SoftUniLab
DictionariesExtended/UserLogins/Properties/AssemblyInfo.cs
1,396
C#
using System; using System.Threading.Tasks; namespace ElectricityMap.DotNet.Client.Http { public interface IElectricityMapHttpFacade { Task<T> GetAsync<T>(Uri url); } }
17.363636
46
0.706806
[ "MIT" ]
kristofferandreasen/tomorrow-electricity-api-dotnet-client
src/ElectricityMap.DotNet.Client/Http/IElectricityMapHttpFacade.cs
193
C#
using Gma.System.MouseKeyHook; using System; using System.IO; namespace AutoShot { class Hooks { private IKeyboardMouseEvents GlobalHook; public delegate void LogType(string line); public LogType Log; public Hooks() { this.Log = x => { }; } ...
26.816327
92
0.554033
[ "Apache-2.0" ]
lf-/AutoShot
AutoShot/Hooks.cs
1,316
C#
using UnityEngine; using UnityEngine.UI; using System.Linq; using DG.Tweening; using System.Collections.Generic; using System.Threading.Tasks; /// <summary> /// Contains the logic for managing game CGs /// </summary> [ExecuteInEditMode] public class CgHandler : MonoBehaviour { #region Properties /// <summary>...
27.853261
109
0.569561
[ "MIT" ]
fsnowdin/VN-Project
Assets/Scripts/GameComponents/CgHandler.cs
5,127
C#
// ------------------------------------------------------------------------------ //The MIT License(MIT) //Copyright(c) 2015 Office Developer //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...
44.275
113
0.67476
[ "MIT" ]
IvanTheBearable/PnP-Tools
Solutions/Tenant Information Portal/src/TIP.DashBoard/Models/Tenant.cs
1,773
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("Tr...
37.972973
84
0.746619
[ "MIT" ]
RobinBruckmann/TroubleAtTheMill
TroubleAtTheMill/Properties/AssemblyInfo.cs
1,408
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace LibHelper { public partial class Form2 : Form { S...
32.194805
153
0.504236
[ "MIT" ]
AlokaLakruwan/LibraryManagementSystem-CSharp
LibHelper/LibHelper/Form2.cs
2,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; public class Program { public static void Main(string[] args) { var arrayOfNumbers = Console.ReadLine().Split(' ').ToArray(); var baseNumber = int.Parse(arrayOfNumbers[0]); var decimalNumber = Bi...
22.846154
69
0.612795
[ "MIT" ]
Uendy/Tech-Module
L09 Strings/L09 Exercise/Q01 Base-10 to Base-N/Program.cs
893
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; using System; /// <summary> /// Se utiliza para guardar la fecha del juego /// </summary> public class Fecha { public int segundo; public int minuto; public int hora; public int dia; public int año; public Fecha(int segundo,...
24.373016
156
0.496581
[ "MIT" ]
Heber94/Settler
Assets/Scripts/Fecha.cs
3,089
C#
using System; using Xunit; namespace LanguageExt.Tests.Parsing { public class parseGuidTests : AbstractParseTTests<Guid> { protected override Option<Guid> ParseT(string value) => Prelude.parseGuid(value); [Fact] public void ParseGuid_ValidStringFixedGuid_SomeOfSameFixedGuid() ...
26.333333
89
0.677215
[ "MIT" ]
1iveowl/language-ext
LanguageExt.Tests/Parsing/parseGuidTests.cs
476
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// ZhimaCustomerContractAcceptCreateResponse. /// </summary> public class ZhimaCustomerContractAcceptCreateResponse : AlipayResponse { /// <summary> /// 合约号 /// </summary> ...
24.352941
75
0.637681
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/ZhimaCustomerContractAcceptCreateResponse.cs
422
C#
/******************************************************************************* * Copyright 2012-2019 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...
48.437956
395
0.614656
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/Neptune/Basic/New-NPTDBInstance-Cmdlet.cs
46,452
C#
/* * Coda API * * # Introduction The Coda API is a RESTful API that lets you programmatically interact with Coda docs: * List and search Coda docs * Create new docs and copy existing ones * Share and publish docs * Discover pages, tables, formulas, and controls * Read, insert, upsert, update, and delete rows...
85.378995
11,013
0.660552
[ "MIT" ]
coda-hq/api-csharp-lib
src/IO.Swagger/Model/AllOfDocSourceDoc.cs
18,699
C#
using HslCommunication.BasicFramework; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CommonLibrary { /// <summary> /// 系统的关于类 /// </summary> public partia...
25.613861
93
0.538462
[ "MIT" ]
491134648/ClientServerProject
CommonLibrary/BasicSupport/FormAbout.cs
2,793
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Roslynator.CSharp.CodeFixes; using Roslynator.Testing.CSharp; using Xunit; namespace Roslyn...
20.753247
172
0.573008
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/Tests/Analyzers.Tests/RCS1018RemoveAccessibilityModifiersTests.cs
4,796
C#
namespace EA.Iws.Domain.ImportMovement { using System; using Core.Shared; using Prsd.Core.Domain; public class ImportMovementReceipt : Entity { public Guid MovementId { get; private set; } public DateTime Date { get; private set; } public decimal Quantity { get; private s...
23.933333
95
0.60585
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Iws.Domain/ImportMovement/ImportMovementReceipt.cs
720
C#
using System; using System.Collections.Generic; using System.Linq; using Xunit; using Xunit.Abstractions; namespace FundaAPIClient.Tests { public class CrawlerFundaRestAPITests { public CrawlerFundaRestAPITests(ITestOutputHelper output) { LoggerSetup.SetupLoggerForTest(output, nam...
36.106667
119
0.61743
[ "MIT" ]
raulcorreia7/Funda_Challenge
FundaAPIClient.Tests/src/CrawlerFundaRestAPI.test.cs
2,708
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 namespace Dnn.PersonaBar.Pages.Components { /// <summary> /// Provides an abstraction over the current c...
38.05
87
0.679369
[ "MIT" ]
Andy9999/Dnn.Platform
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Pages/ICloneModuleExecutionContext.cs
763
C#
using StructureMap; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atropos.Server.Factory { /// <summary> /// IoC container wrapper. Can create child container <see cref="Child"/> and resolve instances <see cref="Create{T}"/> /// </summ...
18.303571
120
0.684878
[ "MIT" ]
oleksabor/atropos
src/server/Factory/Instance.cs
1,027
C#
namespace Sombra.Messaging { public interface IEvent : IMessage { } }
13.666667
38
0.646341
[ "MIT" ]
JelleKerkstra/Sombra
Sombra.Messaging/IEvent.cs
84
C#
using System; using System.IO; using System.Threading.Tasks; using FluentAssertions; using SilentHunter.Testing.FluentAssertions; using Xunit; namespace SilentHunter.FileFormats.Dat.Chunks { public class AuthorInfoChunkTests { [Fact] public void Should_not_support_id() { ulong id = unchecked((ulong)DateTim...
22.527559
203
0.656763
[ "Apache-2.0" ]
skwasjer/SilentHunter
test/SilentHunter.FileFormats.Tests/Dat/Chunks/AuthorInfoChunkTests.cs
2,863
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace Oqtane.Models { public class Site : IAuditable, IDeletable { public int SiteId { get; set; } public int TenantId { get; set; } public string Name { get; set; } public int? LogoFileId { get; set; } ...
35.205882
56
0.617377
[ "MIT" ]
KayYowanu/KingdomDev
Oqtane.Shared/Models/Site.cs
1,197
C#
using SwfLib.Data; namespace SwfLib.Shapes.LineStyles { public struct LineStyleRGB { public ushort Width; public SwfRGB Color; } }
14.25
37
0.608187
[ "MIT" ]
SavchukSergey/SwfLib
SwfLib/Shapes/LineStyles/LineStyleRGB.cs
173
C#
namespace DGP.Genshin.DataModels.Materials { public class Material : Primitive { public string? City { get; set; } } }
17.5
43
0.628571
[ "MIT" ]
bo6682/Snap.Genshin
DGP.Genshin/DataModels/Materials/Material.cs
142
C#
using UnityEngine; using UnityEngine.UI; namespace SweatyChair.UI { /// <summary> /// Layout element for Labels so that our parent fits to the size of our label with a specified min and max to limit size. /// Solves issue where using traditional layout elements to achieve a similar effect would not work, as it wou...
32.222672
143
0.696947
[ "MIT" ]
Sweaty-Chair/SC-Essentials
Assets/SweatyChair/Essentials/UI/BetterUI/LabelLayout.cs
7,961
C#
using System.Threading; using Ardalis.GuardClauses; using LanguageExt; using Microsoft.Azure.Cosmos; using PayrollProcessor.Core.Domain.Features.Departments; using PayrollProcessor.Core.Domain.Intrastructure.Operations.Commands; using static LanguageExt.Prelude; namespace PayrollProcessor.Data.Persistence.Features.Dep...
39.135135
123
0.67058
[ "MIT" ]
KyleMcMaster/payroll-processor
api/PayrollProcessor.Data.Persistence/Features/Departments/DepartmentPayrollUpdateCommandHandler.cs
1,448
C#
namespace TravelShare.Web.Infrastructure.Mapping { using AutoMapper; public interface IHaveCustomMappings { void CreateMappings(IMapperConfiguration configuration); } }
19.5
64
0.738462
[ "MIT" ]
antoanLengerdjiev/TravelShareMvc
Web/TravelShare.Web.Infrastructure/Mapping/IHaveCustomMappings.cs
197
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIController : MonoBehaviour { private void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); } } public void Refresh() { GameData.worldGenerator.refre...
18.038462
64
0.747335
[ "MIT" ]
J05HM0N5TER/complex-game-systems
Assets/Scripts/UIController.cs
940
C#
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security; using TechMech.Models; namespace TechMech { public class EmailServi...
39.622642
152
0.655
[ "MIT" ]
kiran8143/TechMech
TechMech/App_Start/IdentityConfig.cs
4,202
C#
namespace Fic.XTB.MarketingCustomChannelManager.Proxy { public class LocaleProxy { public string Lcid; public string DisplayName; public LocaleProxy(string lcid, string displayName) { Lcid = lcid; DisplayName = displayName; } public over...
20.15
59
0.568238
[ "MIT" ]
DynamicsNinja/MarketingCustomChannelManager
MarketingCustomChannelManager/Proxy/LocaleProxy.cs
405
C#
using Aim.ClusterNode; using Akka.Cluster.Utility; namespace TalkServer { public class ClusterNodeContext : ClusterNodeContextBase { [ClusterActor("User")] public DistributedActorTableRef<string> UserTable; public DistributedActorTableContainerRef<string> UserTableContainer; ...
24.85
76
0.712274
[ "MIT" ]
SaladLab/Chatty
src/TalkServer/ClusterNodeContext.cs
499
C#
namespace SMOWMS.DTOs.Enum { public enum EuserInfo { 修改昵称 = 0, 修改地址 = 1, 修改电话 = 2, 修改邮箱 = 3, 修改密码 = 4, 修改生日 = 5, 修改性别 = 6, 修改头像 = 7, 修改所属区域=8 } }
14.4375
27
0.385281
[ "MIT" ]
comsmobiler/SmoWMS
Source/SMOWMS.DTOs/Enum/EuserInfo.cs
309
C#
using System.Collections.Generic; using UnityEngine; public class MapTile : MonoBehaviour { private List<GameTile> tiles; private void Awake() { tiles = new List<GameTile>(); } public void AddNewTileToTheList(GameTile tile) { tiles.Add(tile); } public bool HasPhysica...
23.595745
88
0.546438
[ "MIT" ]
MarcoElz/Unity-GridRoguelike
Assets/Scripts/MapTile.cs
1,111
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ezviz.net.exceptions { public class EzvizNetException : Exception { public EzvizNetException(string message) : base(message) { } public EzvizNetExcept...
18.636364
89
0.663415
[ "MIT" ]
duanemck/ezviz.net
ezviz.net/exceptions/EzvizNetException.cs
412
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.Text.Json; using System.Text.Json.Serialization; using Microsoft.AspNetCore.Mvc.Core; usin...
35.830986
131
0.594733
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Mvc/Mvc.Core/src/Infrastructure/ValidationProblemDetailsJsonConverter.cs
2,544
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; namespace Sidekick.Mediator.Internal { internal class LoggingMediator : MediatR.Mediator { private readon...
36.066667
185
0.648799
[ "MIT" ]
5c0r/Sidekick
src/Sidekick.Mediator/Internal/LoggingMediator.cs
1,623
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace k8s.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// HorizontalPodAutoscalerBehavio...
39.337838
187
0.632429
[ "MIT" ]
pdeligia/nekara-artifact
TSVD/kubernetes-client/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerBehavior.cs
2,911
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.317597
107
0.56427
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Translate/Generated/Model/TerminologyProperties.cs
7,064
C#
using System; using System.Threading.Tasks; using Chromium.Remote; using Neutronium.Core; using Neutronium.Core.WebBrowserEngine.Window; using System.Collections.Concurrent; using Chromium; namespace Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding { public class ChromiumFxDispatcher : IDispatcher { ...
29.226744
104
0.525761
[ "MIT" ]
AhireSwati/TrendingCSharp
WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/EngineBinding/ChromiumFXDispatcher.cs
5,029
C#
using System; using System.Data; using System.Reflection; using General.Configuration; namespace General { /// <summary> /// A singleton implementation to encapsulate necessary elements for the Common Library. /// </summary> public sealed class Manager { #region Singleton Implementation ...
33.26087
147
0.5939
[ "MIT" ]
Thrita/Common
Src/General/Manager.cs
2,297
C#
using System; using System.Collections.Generic; using System.Text; using UtyRx.InternalUtil; namespace UtyRx { public sealed class Subject<T> : ISubject<T>, IDisposable, IOptimizedObservable<T> { object observerLock = new object(); bool isStopped; bool isDisposed; Exception la...
27.532544
124
0.417365
[ "Apache-2.0" ]
reinterpretcat/csharp-libs
utyrx/UtyRx/Subjects/Subject.cs
4,655
C#
using System; namespace P02.NestedLoops { internal class Program { private static int[] combinations; static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); combinations = new int[n]; GenerateCombinations(0); } pr...
22.454545
66
0.48448
[ "MIT" ]
Iceto04/SoftUni
Algorithms Fundamentals/02. Combinatorial Problems/RecursionAndCombinatorialProblems/P02.NestedLoops/Program.cs
743
C#