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; namespace Tiandao.Plugins { /// <summary> /// 封装了有关插件特定的信息。 /// </summary> #if !CORE_CLR public class PluginContext : MarshalByRefObject #else public class PluginContext #endif { #region 私有字段 private PluginTree _pluginTree; private PluginSetup _settings; ...
21.273171
153
0.681724
[ "MIT" ]
jonfee/Tiandao.Plugins
src/Tiandao.Plugins/PluginContext.cs
5,039
C#
#pragma checksum "C:\Users\Trung\Downloads\email-attachments-aspnet-core-master\EmailApp\MailTH\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "99464617055fdb505bb0bb7fd91f9b14f7b0d030" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompil...
51.666667
236
0.756129
[ "MIT" ]
alexhanhnguyenms/mail_netcore3
EmailApp/MailTH/obj/Debug/netcoreapp3.1/Razor/Views/Home/Index.cshtml.g.cs
3,100
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("03...
38.027027
84
0.746979
[ "MIT" ]
Vladeff/TelerikAcademy
C#2 Homework/Strings and Text Processing/03CorrectBrackets/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.Collections.Generic; namespace Downloader { public class MultiPartDownloadBuilder : IDownloadBuilder { private readonly int numberOfParts; private readonly IDownloadBuilder downloadBuilder; private readonly IWebRequestBuilder requestBuilder; privat...
35.673469
173
0.66762
[ "MIT" ]
suntabu/UnityDownloader
Assets/Downloader/MultiPartDownloadBuilder.cs
1,750
C#
/* Copyright 2019 Vivien Baguio. * Subject to the MIT License License. * See https://mit-license.org/ */ using UnityEngine; using UnityEngine.UI; using TMPro; /// <summary> /// Compound view for the buttons in a dialog /// </summary> public class DialogButton : MonoBehaviour { public Button m_button; publ...
19.388889
45
0.716332
[ "MIT" ]
hollowspecter/trackracerAR
Assets/__Scripts/View/ModalDialog/DialogButton.cs
351
C#
using UnityEngine; using UnityEditor; using AKSaigyouji.Modules.MapGeneration; using AKSaigyouji.Maps; public sealed class PreviewWindow : EditorWindow { Texture texture; void OnGUI() { GUI.DrawTexture(new Rect(Vector2.zero, position.size), texture); } public void UpdateWindow(MapGenComp...
21.8
72
0.694954
[ "MIT" ]
AK-Saigyouji/Procedural-Cave-Generator
Project/Scripts/Modules - MapGeneration/Editor/Map Gen Window/Windows/PreviewWindow.cs
438
C#
using Signum.Entities.Authorization; using Signum.Utilities; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq.Expressions; using Signum.Entities.Dynamic; using Signum.Entities.Scheduler; using Signum.Entities.Processes; namespace Signum.Entities.Workflow { ...
36.885167
150
0.660656
[ "MIT" ]
ControlExpert/extensions
Signum.Entities.Extensions/Workflow/CaseActivity.cs
7,709
C#
// Copyright 2013-2016 Serilog Contributors // // 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...
38.606061
133
0.702512
[ "MIT" ]
AlexNik235/RxBim
src/RxBim.Logs/Settings/Configuration/Assemblies/ConfigurationAssemblySource.cs
1,276
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanguageProcessor { public abstract class QueryFactory { public abstract IQuery GetQueryType(string query); } }
18.571429
58
0.75
[ "Apache-2.0" ]
paraspatidar/Merchant-Guide-To-Galaxy-CSharp
Merchant_Of_Galaxy/LanguageProcessor/QueryFactory.cs
262
C#
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Chapter06.Activities.Activity01 { public static class Demo { public static void Run() { var db = new TruckDispatchDbContext(); SeedData(d...
31.530303
121
0.524748
[ "MIT" ]
PacktWorkshops/The-C-Sharp-Workshop
Chapter06/Activities/Activity01/Demo.cs
2,083
C#
using Zinnia.Rule; using Zinnia.Tracking.Collision; namespace Test.Zinnia.Tracking.Collision { using NUnit.Framework; using System.Collections; using Test.Zinnia.Utility.Mock; using UnityEngine; using UnityEngine.TestTools; using Assert = UnityEngine.Assertions.Assert; public class Collis...
49.480353
149
0.717724
[ "MIT" ]
ExtendRealityLtd/VRTK.Unity.Core
Tests/Editor/Tracking/Collision/CollisionTrackerTest.cs
61,704
C#
// dnlib: See LICENSE.txt for more info using System; using System.Collections.Generic; namespace dnlib.DotNet { enum ClrAssembly { Mscorlib, SystemNumericsVectors, SystemObjectModel, SystemRuntime, SystemRuntimeInteropServicesWindowsRuntime, SystemRuntimeWindo...
55.635294
257
0.635617
[ "MIT" ]
Owen0225/ConfuserEx-Plus
dnlib/src/DotNet/WinMDHelpers.cs
28,376
C#
namespace HmxLabs.SmtpUnit.Test { public static class SmtpServerResponses { public const string Welcome = "220 Test Simple Mail Transfer Service Ready\r\n"; public const string Ok = "250 OK\r\n"; public const string StartMailInput = "354 Start mail input; end with <CRLF>.<CRLF>\r\n"; ...
41.722222
99
0.669774
[ "MIT" ]
hmxlabs/smtpunit
SMTPUnit.Tests/SmtpServerResponses.cs
753
C#
using EasyModular.Utils; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; namespace EasyModular.Auth { /// <summary> /// 权限验证 /// </...
37.893939
165
0.603359
[ "MIT" ]
doordie1991/EasyModular
src/EasyModular.Auth/Attributes/PermissionValidateAttribute.cs
2,621
C#
using DSM.API.Plugins.Base; using DSM.API.Utilities; using Relua.AST; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace DSM.API.Plugins { [PluginEntryFile("description.lua")] public class Livery : Plugin { public string Name { get; set; } // detecting which modul...
23.580645
175
0.746922
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
nootshell/DSM
DSM.API/Plugins/Livery.cs
731
C#
using BusinessAccessLayer; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace OnlineTestApplication.Controllers { public class StudentController : ApiControlle...
27.233333
124
0.660955
[ "MIT" ]
vilasholkar/OnlineTest
OnlineTestAPI/OnlineTestApplication/Controllers/StudentController.cs
819
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V27.Segment; using NHapi.Model.V27.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V27.Group { ///<summary> ///Represents the RRE_O12_RESPONSE Group. A Group is an ordered collect...
28.421053
154
0.685979
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V27/Group/RRE_O12_RESPONSE.cs
3,780
C#
namespace CoCSharp.Data { /// <summary> /// Defines data from achievements.csv. /// </summary> public class AchievementData : CoCData { /// <summary> /// Initializes a new instance of the <see cref="AchievementData"/> class. /// </summary> public AchievementData() ...
30.96875
82
0.554995
[ "MIT" ]
Ricardo253/Clash-of-Galaxy
CoCSharp/Data/AchievementData.cs
993
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.VariableInHexadecimalFormat { class Program { static void Main(string[] args) { int someInt = 254; string someHex = someInt.ToString("X"); ...
21.894737
78
0.629808
[ "MIT" ]
KrasimirStoyanov/Telerik-Academy
Homeworks/C# 1/Primitive-Data-Types-and-Variables-Homework2/01.DeclareVariable/03.VariableInHexadecimalFormat/Program.cs
418
C#
namespace Myra.Extended.Samples.Widgets { class Program { static void Main(string[] args) { using (var game = new WidgetsGame()) game.Run(); } } }
13.666667
40
0.634146
[ "MIT" ]
rds1983/Myra.Extended
samples/Myra.Extended.Samples.Widgets/Program.cs
166
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.WebSockets; using Newtonsoft.Json; namespace Pong.PongHandler { /// <summary> /// Represents a player and ...
34.886792
133
0.563818
[ "MIT" ]
git-thinh/WebSocketPong
Pong/PongHandler/PongPlayer.cs
3,700
C#
using Mirror; using PropHunt.Utils; using UnityEngine; namespace PropHunt.Character { public class CharacterAnimator : NetworkBehaviour { /// <summary> /// Dead zone to consider movement as stopped /// </summary> public float movementDeadZone = 0.01f; /// <summary> ...
33.361446
138
0.5948
[ "MIT" ]
nicholas-maltbie/PropHunt-Mirror
Assets/Scripts/Character/CharacterAnimator.cs
2,771
C#
// 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 regenerated. namespace Mi...
89.349593
458
0.718653
[ "MIT" ]
Agazoth/azure-powershell
src/Purview/Purviewdata.Autorest/generated/api/Models/Api20211001Preview/ScanProperties.json.cs
10,868
C#
using System.Collections.Generic; using System.Threading.Tasks; using CodexBank.Services.Models.BankAccount; namespace CodexBank.Services.Contracts { public interface IBankAccountService { Task<IEnumerable<T>> GetAllAccountsByUserIdAsync<T>(string userId) where T : BankAccountBaseServiceMo...
31.321429
93
0.709236
[ "MIT" ]
Dimulski/CodexBank
src/Services/CodexBank/CodexBank.Services/Contracts/IBankAccountService.cs
879
C#
// // (C) Copyright 2003-2011 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty ...
41.82971
133
0.538675
[ "BSD-3-Clause" ]
AMEE/rev
samples/Revit 2012 SDK/Samples/CreateDimensions/CS/Command.cs
11,545
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Runtime.InteropServices; using System.Threading; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.UI.Core; usi...
38.176157
160
0.595153
[ "MIT" ]
07101994/microsoft-ui-xaml
test/TestAppUtils/IdleSynchronizer.cs
21,457
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.592593
177
0.608696
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsFisherInvRequestBuilder.cs
2,300
C#
using System.Collections.Generic; using System.Threading.Tasks; using Deployer.Core; namespace Deployer.Tests { public class TestPrompt { public Task<Option> PickOptions(string markdown, IEnumerable<Option> options) { return Task.FromResult((Option)null); } } }
22.214286
85
0.672026
[ "MIT" ]
0-Xanthium/WOA-Deployer
Source/Deployer.Tests/TestPrompt.cs
313
C#
using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.Caching; using System.Collections.ObjectModel; namespace Core.Web.CacheManage { /// <summary> /// 网站缓存管理类 /// </summary> public class WebCache : ICache { private static readonly object loc...
30.425587
167
0.437055
[ "MIT" ]
lvgithub/DotNetUtilities
Core.Web/CacheManage/WebCache.cs
12,453
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/vssym32.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
36
145
0.679167
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/vssym32/VALIGN.cs
722
C#
#if !ONPREMISES using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; namespace SharePointPnP.PowerShell.Commands.Graph { [Cmdlet(VerbsCommon.Remove, "PnPSiteClassifi...
49.5
272
0.62963
[ "MIT" ]
MrTantum/PnP-PowerShell
Commands/Graph/RemoveSiteClassification.cs
3,863
C#
using System.Threading.Tasks; namespace MCPackEditor.App.Data.Assets { public class LangFile : BaseJsonAsset { public static async Task<LangFile> Load( string path ) => await LoadFromJsonFile<LangFile>( path ); } }
27.625
101
0.755656
[ "MIT" ]
FallenAvatar/mc-pack-editor
App/Data/Assets/LangFile.cs
223
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. /****************************************************************************** * This file is auto-generated from ...
42.898305
187
0.592827
[ "MIT" ]
ThorstenReichert/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/AddReturningHighNarrowLower.Vector64.Int16.cs
22,779
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Athena.Core.Exceptions; using Athena.Core.Models; using Athena.Data.Repositories; using AutoFixture.Xunit2; using Xunit; namespace Athena.Data.Tests.Repositories { public class InstitutionRepositoryTests : DataTest { ...
32.583893
109
0.599794
[ "MIT" ]
athena-scheduler/athena
test/Integration/Athena.Data.Tests/Repositories/InstitutionRepositoryTests.cs
4,857
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("Te...
37.594595
84
0.744069
[ "BSD-3-Clause" ]
DynamoDS/RevitTestFramework
src/TestSetup/Properties/AssemblyInfo.cs
1,394
C#
namespace maestropanel.plesklib.Models { using System.Xml.Serialization; [XmlRoot("packet")] public class DatabaseUserGetPacket { public DatabaseUserGetPacket() { this.database = new DatabaseUserGetDatabaseNode(); } [XmlElement("database")] public D...
23.822222
65
0.610075
[ "Apache-2.0" ]
c1982/plesklib
src/plesklib/Models/DatabaseUserGet.cs
1,074
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BuildingController : MonoBehaviour { [SerializeField] private GameObject buildingPoint; [SerializeField] private List<GameObject> defenses; public bool BuildingState { get { ...
26.780702
91
0.589256
[ "MIT" ]
Cundalf/Stalhvik
Assets/Scripts/Player/BuildingController.cs
3,053
C#
using System; using System.Linq; using System.Threading.Tasks; using OrchardCore.Setup.Events; using OrchardCore.Users.Services; using SeedCore.Data; using SeedModules.Account.Domain; namespace SeedModules.Account.Users { public class SetupEventHandler : ISetupEventHandler { private readonly IUserServi...
27.092593
101
0.556391
[ "MIT" ]
fyl080801/SeedCore
SeedCore.Modules/SeedModules.Account/Users/SetupEventHandler.cs
1,463
C#
/* * Honeybee Model Schema * * Documentation for Honeybee model schema * * Contact: info@ladybug.tools * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; us...
33.145946
192
0.565884
[ "MIT" ]
MingboPeng/honeybee-schema-dotnet
src/HoneybeeSchema/Model/Autosize.cs
6,132
C#
using DAL; using Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BLL { public class UnitOfWork { public OgrenciContext db; public EgitimRepository egitimRep; public BaseRepository<Ogrenci> ogrenciRep;...
21
57
0.64381
[ "MIT" ]
Gestotudor/MVC_Ntier_Arch
BLL/UnitOfWork.cs
527
C#
using Android.App; using Android.Content; namespace App.Platform.Android.Server.Receivers { [BroadcastReceiver] [IntentFilter(new[] {Intent.ActionMyPackageReplaced})] public sealed class MyPackageReplacedReceiver : BroadcastReceiver { public override void OnReceive(Context context, Intent inte...
26.666667
70
0.7025
[ "MIT" ]
mangaloyalty/mangaloyalty-app
app/App.Platform.Android/Server/Receivers/MyPackageReplacedReceiver.cs
402
C#
using System; using System.Xml.Serialization; using SevenDigital.Api.Schema.Artists; using SevenDigital.Api.Schema.Attributes; using SevenDigital.Api.Schema.Packages; using SevenDigital.Api.Schema.ParameterDefinitions.Get; namespace SevenDigital.Api.Schema.Releases { [Serializable] [XmlRoot("release")] ...
24.448718
93
0.659675
[ "MIT" ]
7digital/SevenDigital.Api.Schema
src/Schema/Releases/Release.cs
1,909
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
72.723214
238
0.719255
[ "MIT" ]
robertmclaws/corefx
src/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs
24,435
C#
/* * Camunda BPM REST API * * OpenApi Spec for Camunda BPM REST API. * * The version of the OpenAPI document: 7.13.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using Syst...
33.944882
140
0.597309
[ "Apache-2.0" ]
yanavasileva/camunda-bpm-examples
openapi-python-client/src/Org.OpenAPITools/Model/ParseExceptionDtoAllOf.cs
4,311
C#
using Avalonia.Controls; using Tauron.Application.CommonUI; using Tauron.Application.CommonUI.UI; namespace Tauron.Application.Avalonia.UI { public sealed class WindowControlLogic : ControlLogicBase<Window> { public WindowControlLogic(Window userControl, IViewModel model) : base(userControl, model) ...
32.190476
98
0.684911
[ "MIT" ]
Tauron1990/Project-Manager-Akka
Src/Shared/Tauron.Application.Avalonia/UI/WindowControlLogic.cs
678
C#
using Apim.DevOps.Toolkit.ApimEntities.Product; using Apim.DevOps.Toolkit.Core.DeploymentDefinitions.Entities; using AutoMapper; namespace Apim.DevOps.Toolkit.Core.Mapping { public static class ProductMapper { internal static void Map(IMapperConfigurationExpression cfg) { cfg.CreateMap<ProductDeploymentDefin...
36.294118
131
0.776337
[ "MIT" ]
andrewdmoreno/dotnet-apim
src/apimtemplate/Core/Mapping/ProductMapper.cs
619
C#
using Rtmp.Net; using System; using System.Drawing; using System.Threading.Tasks; namespace GeForce { public static partial class Program { static RtmpClient botClient; static IntPtr botHandle; static async Task<RtmpClient> BotClientAsync() { try ...
35.775862
115
0.400964
[ "MIT" ]
libcs/geforce.bot.net
geforcebot/BotClient.cs
2,075
C#
using System.IO; namespace Abp.IO { /// <summary> /// A helper class for File operations. /// </summary> public static class FileHelper { /// <summary> /// Checks and deletes given file if it does exists. /// </summary> /// <param name="filePath">Path of the file</p...
22.565217
60
0.514451
[ "MIT" ]
12321/aspnetboilerplate
src/Abp/IO/FileHelper.cs
521
C#
/* * The official C# API client for alpaca brokerage * Sourced from: https://github.com/alpacahq/alpaca-trade-api-csharp/commit/161b114b4b40d852a14a903bd6e69d26fe637922 */ using System; using System.Runtime.Serialization; using Newtonsoft.Json; namespace QuantConnect.Brokerages.Alpaca.Markets { internal sealed...
36.350877
116
0.665058
[ "Apache-2.0" ]
Johannesduvenage/Lean
Brokerages/Alpaca/Markets/Messages/JsonAccount.cs
2,074
C#
using System.Web; using System.Web.Mvc; namespace Vidly.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.714286
80
0.648855
[ "MIT" ]
s-janjic/Vidly
Vidly.Web/App_Start/FilterConfig.cs
264
C#
using log4net; using System; using System.Net; using System.Net.Http; using System.Reflection; using System.Web.Http.Filters; namespace VehicleManagementSystemApi.Infrastructure { public class GenericExceptionFilterAttribute : ExceptionFilterAttribute, IExceptionFilter { private static readonly ILog l...
35.733333
159
0.693097
[ "MIT" ]
iAvinashVarma/VehicleManagementService
Service/VehicleManagementSystemApi/Infrastructure/GenericExceptionFilterAttribute.cs
1,074
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace ClosedXML.Excel { public partial class XLWorkbook { #region Nested type: SaveContext internal sealed class SaveContext { #region Private fields [De...
34.475904
114
0.510746
[ "MIT" ]
monoblaine/ClosedXML
ClosedXML/Excel/XLWorkbook_Save.NestedTypes.cs
5,558
C#
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class KeyboardEventSystem : MonoBehaviour { Array allKeyCodes; private static List<Transform> allTransforms = new List<Transform>(); private static List<GameObject> rootGameObjects = new List<Game...
26.010101
77
0.599223
[ "MIT" ]
salem-harvard/Musical-Learning
Assets/Scripts/Saving/KeyboardEventSystem.cs
2,577
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.Filters.Extensions; using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Swashbuckle.AspNetCore.Filters { public class AppendAut...
38.316667
154
0.655067
[ "MIT" ]
BigYellowHammer/Swashbuckle.AspNetCore.Filters
src/Swashbuckle.AspNetCore.Filters/AppendAuthorizeToSummary/AppendAuthorizeToSummaryOperationFilterT.cs
2,299
C#
// <copyright file="CreateSellerRequest.cs" company="APIMatic"> // Copyright (c) APIMatic. All rights reserved. // </copyright> namespace PagarmeApiSDK.Standard.Models { using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; usi...
39.433333
152
0.537109
[ "MIT" ]
pagarme/pagarme-net-standard-sdk
PagarmeApiSDK.Standard/Models/CreateSellerRequest.cs
5,915
C#
using Kentico.PageBuilder.Web.Mvc; using Kentico.Forms.Web.Mvc; namespace $rootnamespace$ { public class $safeitemname$ : ISectionProperties { // Defines a property and sets its default value // Assigns the default Kentico text input component, which allows users to enter // a string v...
35.066667
88
0.688213
[ "MIT" ]
ondrabus/kentico-vs-extensions
Kentico.MVC.SectionItemTemplate/SampleSectionProperties.cs
528
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementNotStatementStatementOrStatementStatementSizeConstraintStatementTextTransformation), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementNotStatementStatemen...
41.465116
292
0.693214
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2RuleGroupRuleStatementNotStatementStatementOrStatementStatementSizeConstraintStatementTextTransformation.cs
1,783
C#
namespace DotNetAppSqlDb.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddTwinsTodo5 : DbMigration { public override void Up() { AddColumn("dbo.KidsTodoes", "UserID", c => c.Int()); CreateIndex("dbo.KidsTodoes", "UserID"...
28.956522
77
0.554054
[ "MIT" ]
philanderson888/kids-holiday-tasks
DotNetAppSqlDb/Migrations/201907121925448_AddTwinsTodo5.cs
666
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("Cha...
46.552632
384
0.794234
[ "MIT" ]
oubenal/ChainObj
ChainObj/Properties/AssemblyInfo.cs
1,772
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Net; // HttpWebRequest using System.Runtime.Serialization; // DataContract, DataMember using System.Runtime.Serialization.Json; // DataContractJsonSerializ...
38.573705
141
0.588411
[ "MIT" ]
Infragistics/wpf-samples
Applications/IGExtensions/IGExtensions.Common.Maps/Imagery/BingMapsConnector.cs
9,682
C#
using XamarinForms.Incidents.Demo.Services; using Xamarin.Forms; namespace XamarinForms.Incidents.Demo.Models { public class IncidentsEditDetailVM:BaseViewModel { IIncidentService service; Incident model; public const string ModelPropertyName = "Model"; public Incident Model {...
29.367347
106
0.609451
[ "CC0-1.0" ]
cecilphillip/xamarin-forms-demos
XamarinForms.Incidents.Demo/Models/IncidentsEditDetailVM.cs
1,439
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
29.688312
76
0.629046
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Yunding/Apis/DescribeRdsInstancesRequest.cs
2,708
C#
using System.Threading; using System.Threading.Tasks; using MediatR; using SeparateModels.Domain; using SeparateModels.ReadModels; namespace SeparateModels.EventHandlers { public class PolicyTerminatedProjectionsHandler : INotificationHandler<PolicyTerminated> { private readonly PolicyInfoDtoProjection...
39.896552
153
0.760588
[ "Apache-2.0" ]
sharmasourabh/ddd
cqrs/SeparateModels/EventHandlers/PolicyTerminatedProjectionsHandler.cs
1,157
C#
using Anomalous.GuiFramework; using Engine; using Engine.ObjectManagement; using Engine.Saving; using Engine.Threads; using Medical; using Medical.Controller; using Medical.Controller.AnomalousMvc; using Medical.GUI; using MyGUIPlugin; using System; using System.Collections.Generic; using System.IO; using...
43.389125
367
0.476923
[ "MIT" ]
AnomalousMedical/Medical
Lecture/Controller/SlideshowEditController.cs
51,071
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2018. * * Leap Motion proprietary and confidential. * * * ...
33.157895
115
0.618254
[ "MIT" ]
LHuss/capstone
Virtual Modeller/Assets/ThirdParty/LeapMotion/Modules/GraphicRenderer/Scripts/Utility/Editor/VariantEnabler.cs
3,780
C#
namespace ClassLib104 { public class Class067 { public static string Property => "ClassLib104"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib104/Class067.cs
120
C#
namespace OneSky.CSharp.Json { using System.Collections.Generic; internal class PlatformProjectGroup : IPlatformProjectGroup { private readonly CSharp.IPlatformProjectGroup projectGroup; public PlatformProjectGroup(CSharp.IPlatformProjectGroup projectGroup) { this.proj...
41.022727
132
0.68144
[ "MIT" ]
QuadRatNewBy/OneSky-CSharp
OneSky.CSharp/OneSky.CSharp/Json/PlatformProjectGroup.cs
1,807
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. namespace Microsoft.Data.Entity.FunctionalTests { public abstract class OneToOneQueryFixtureBase { protected virtual vo...
39.891892
260
0.589431
[ "Apache-2.0" ]
craiggwilson/EntityFramework
test/EntityFramework.Core.FunctionalTests/OneToOneQueryFixtureBase.cs
2,952
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
38.157895
143
0.63908
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/CognitoSync/Generated/Model/Internal/MarshallTransformations/RegisterDeviceRequestMarshaller.cs
4,350
C#
using System; using System.Diagnostics; #pragma warning disable 1591 // ReSharper disable UnusedMember.Global // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable IntroduceOptionalParameters.Global // ReSharper disable MemberCanBeProtected.Global /...
37.576509
100
0.713229
[ "Apache-2.0" ]
BrianMcGough/IUMediaHelperApps
Packager/Properties/Annotations.cs
34,873
C#
namespace WebAPIPeliculas.DTOS { public class RefaccionariaDTO { public int Id { get; set; } public string Nombre { get; set; } public double Latitud { get; set; } public double Longitud { get; set; } } }
22.727273
44
0.588
[ "MIT" ]
NSysX/CursoEF6
WebAPIPeliculas/WebAPIPeliculas/DTOS/RefaccionariaDTO.cs
252
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using bugcLibrary.libraries; namespace bugcLibrary { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [S...
22.625
65
0.627993
[ "MIT" ]
EleaFederio/BiometricAttendance
bugcLibrary/Program.cs
545
C#
#region copyright // ----------------------------------------------------------------------- // <copyright file="TypeEx.cs" company="Akka.NET Team"> // Copyright (C) 2015-2016 AsynkronIT <https://github.com/AsynkronIT> // Copyright (C) 2016-2016 Akka.NET Team <https://github.com/akkadotnet> // </copyright> ...
41.136161
139
0.553421
[ "Apache-2.0" ]
sean-gilliam/Hyperion
src/Hyperion/Extensions/TypeEx.cs
18,429
C#
namespace JackTheVideoRipper { partial class FrameSettings { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
47.078788
108
0.589341
[ "Unlicense" ]
dantheman213/JackTheVideoRipper
JackTheVideoRipper/views/FrameSettings.Designer.cs
7,770
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Models.DB; namespace API.Controllers.DB { [Route("api/[controller]")] [ApiController] public class Een...
27.225806
103
0.513033
[ "Apache-2.0" ]
LightosLimited/RailML
v2.4/API/Controllers/DB/EengineController.cs
3,376
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.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; usin...
32.956897
122
0.508697
[ "MIT" ]
a7madAly/corefx
src/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableStack`1.cs
15,292
C#
//----------------------------------------------------------------------- // <copyright file="Extensions.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //----...
31.910891
135
0.52901
[ "Apache-2.0" ]
Chinchilla-Software-Com/akka.net
src/core/Akka/Util/Internal/Extensions.cs
3,225
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ public enum FontFraction { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA_...
32.15
99
0.698289
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml/FontFraction.cs
643
C#
using Cofoundry.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SitemapExample { public class ProductPageDisplayModelMapper : ICustomEntityDisplayModelMapper<ProductDataModel, ProductPageDisplayModel> { public Task<ProductPageDisplayMo...
30.285714
123
0.667453
[ "MIT" ]
cofoundry-cms/Cofoundry.Plugins.SiteMap
src/SitemapExample/Cofoundry/CustomEntities/Product/ProductPageDisplayModelMapper.cs
850
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.MachineLearning.Models { /// <summary> Reference to an asset via its path in a job output. </summary> internal partial class PartialOutputPath...
32.96
95
0.675971
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/PartialOutputPathAssetReference.cs
824
C#
// Lucene version compatibility level 4.8.1 using J2N.Collections.Generic.Extensions; using Lucene.Net.Analysis.Util; using Lucene.Net.Support; using Lucene.Net.Util; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using JCG = J2N.Collections.Generic; ...
40.694444
166
0.507964
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Analysis.Common/Analysis/Synonym/SlowSynonymMap.cs
8,577
C#
using System; using JetBrains.Annotations; namespace Framework.Core { public class CallProxy<T> { private readonly Func<T> func; public CallProxy([NotNull] Func<T> baseInstance) { this.func = baseInstance ?? throw new ArgumentNullException(nameof(baseInstance)...
20.368421
95
0.591731
[ "MIT" ]
Luxoft/BSSFramework
src/Framework.Core.AnonymousTypeBuilder/CallProxy.cs
371
C#
// Import dosimetry datagrid elements from protocol. using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using ...
37.374677
166
0.513343
[ "MIT" ]
brjdenis/Dosimetry
Dosimetry/ImportFromProtocol.xaml.cs
14,466
C#
// <copyright file="InterfaceExtensions.cs" company="RedHead"> // Copyright (c) RedHead. All rights reserved. // </copyright> namespace LibRibbonPlus; /// <summary> /// Provides extension methods for interfaces. /// </summary> public static class InterfaceExtensions { /// <summary> /// Converts an <see cref=...
39.45
121
0.704689
[ "CC0-1.0" ]
Chris2918/VibRibbonPlusAlphaPublic
LibRibbonPlus/LibRibbonPlus.Core/Source/Extensions/InterfaceExtensions.cs
791
C#
using System; using System.Threading.Tasks; namespace Bloggy.Data.Seeding { public interface ISeeder { Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider); } }
19.181818
89
0.744076
[ "MIT" ]
georgidelchev/Bloggy
Data/Bloggy.Data/Seeding/ISeeder.cs
213
C#
using UnityEditor; namespace NaughtyAttributes.Editor { public class RequiredPropertyValidator : PropertyValidatorBase { public override void ValidateProperty(SerializedProperty property) { RequiredAttribute requiredAttribute = PropertyUtility.GetAttribute<RequiredAttribute...
39
135
0.588141
[ "MIT" ]
Mu-L/NaughtyAttributes
Assets/NaughtyAttributes/Scripts/Editor/PropertyValidators/RequiredPropertyValidator.cs
1,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LocantaApp.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection...
32.727273
143
0.581111
[ "MIT" ]
harunergul/LocantaApp
LocantaApp/Startup.cs
3,600
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Origina...
31.157534
154
0.61552
[ "MIT" ]
Aelthien/daggerfall-unity
Assets/Scripts/Game/Serialization/PrintScreenManager.cs
4,551
C#
/* Copyright (c) 2006 - 2008 The Open Toolkit library. 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, pub...
35.076625
130
0.491124
[ "MIT" ]
ASPePeX/opentk
src/OpenTK.Mathematics/Matrix/Matrix3d.cs
36,164
C#
using Application; using Infrastructure; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Mic...
28.84375
106
0.627302
[ "MIT" ]
mlatchmansingh/DDDWithMediatr
src/API/Startup.cs
1,846
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Windows.Forms; using AutoVscJava.Classes; using AutoVscJava.Properties; namespace AutoVscJava {...
31.02
84
0.485654
[ "Apache-2.0" ]
SDchao/AutoVscJava
AutoVscJava/Form_EnvCheck.cs
6,394
C#
#if NETSTANDARD2_1 using System; using System.IO; using System.Threading; using System.Threading.Tasks; #nullable enable namespace Refit.Buffers { internal sealed partial class PooledBufferWriter { private sealed partial class PooledMemoryStream : Stream { /// <inheritdoc/> ...
27.621622
120
0.526908
[ "MIT" ]
joelweiss/refit
Refit/Buffers/PooledBufferWriter.Stream.NETStandard21.cs
2,046
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.Reflection; using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.AspNetCore.Mv...
37.927273
111
0.556727
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs
6,258
C#
using QBicSamples.SiteSpecific; using WebsiteTemplate.Data; using WebsiteTemplate.Backend.Services; using WebsiteTemplate.Menus.BaseItems; namespace QBicSamples.Samples.UserSpecificData.Patients { public class AddPatient : ModifyPatient { public AddPatient(DataService dataService, UserContext userCont...
26.210526
114
0.706827
[ "MIT" ]
quintonn/QBicSamples
QBicSamples/Samples/UserSpecificData/Patients/AddPatient.cs
500
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UnderTheCursorTranslatorLibrary { class WordTranslation : IComparable<WordTranslation>, IComparable { public WordTranslation(string word, string translation, string transcription) { Word = word; Translation = t...
14.769231
79
0.688802
[ "Apache-2.0" ]
KvanTTT/Draft-Projects
UnderTheCursorTranslator/UnderTheCursorTranslatorLibrary/WordTranslation.cs
770
C#
// ------------------------------------------------------------------------------ // Copyright (c) 2015 Microsoft 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 witho...
41.38009
151
0.612575
[ "MIT" ]
jbatonnet/SmartSync
SmartSync.OneDrive/OneDriveSdk/Authentication/AuthenticationProvider.cs
9,147
C#
namespace ReactNativeCmdEase { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
56.791667
162
0.60136
[ "MIT" ]
sashithacj/ReactNativeCmdEase
ReactNativeCmdEase/ReactNativeCmdEase/Form1.Designer.cs
66,789
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Media; namespace Material.Styles.Assists { public static class ToggleSwitchAssist { public static AvaloniaProperty<IBrush> SwitchTrackOnBackgroundProperty = AvaloniaProperty.RegisterAttached<ToggleSwitch, IBrush>( "SwitchTrackOnBackground...
43.655172
138
0.744866
[ "MIT" ]
Al-Dyachkov/Material.Avalonia
Material.Styles/Assists/ToggleSwitchAssist.cs
1,268
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WaypointController : MonoBehaviour { public List<Transform> waypoints = new List<Transform>(); private Transform targetWaypoint; private int targetWaypointIndex = 0; private float minDistance = 0.1f; //If the ...
32.29375
211
0.638862
[ "Apache-2.0" ]
MasterKiller1239/MyCV
Assets/Scenes/WaypointController.cs
5,169
C#
using System.Collections.Generic; using Payabbhi; using Xunit; namespace UnitTesting.Payabbhi.Tests { public class TestRefund { const string ACCESSID = "access_id"; const string SECRETKEY = "secret_key"; const string REFUNDID = "dummy_refund_id"; const string PAYMENTID = "dummy_paym...
46.051724
113
0.625234
[ "MIT" ]
payabbhi/payabbhi-dotnet
test/TestRefund.cs
2,671
C#