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
//*************************************************** //* This file was generated by JSharp //*************************************************** namespace java.util.concurrent { public partial class ForkJoinPool : AbstractExecutorService { public partial interface ForkJoinWorkerThreadFactory { ...
65.618182
153
0.688556
[ "MIT" ]
SharpKit/Cs2Java
Runtime/rt/java/util/concurrent/ForkJoinPool.cs
3,609
C#
using System.Collections.Generic; namespace LiteGui.Graphics { internal static class LGuiGraphics { private static LGuiCommandExecutor CommandExecutor_ = null; private static LGuiCommandList CombineCommandList_ = null; private static LGuiCommandList[] CommandList_ = null; priva...
39.318471
119
0.648469
[ "MIT" ]
UnSkyToo/LiteGui
LiteGui/Graphics/LGuiGraphics.cs
6,175
C#
using System; using System.Collections.Generic; namespace MapGenerator.UnityPort { public class ValidationError { public ValidationErrorType Error { get; set; } public Stack<string> CallStack { get; set; } = new Stack<string>(); public string Property { get; set; } public strin...
32.724138
97
0.614331
[ "MIT" ]
TukanHan/2D-Map-Generator
MapGenerator/Assets/Scripts (Map Generator)/Unity Port/Data Model Validation/ValidationError.cs
951
C#
/* The MIT License(MIT) ===================== Copyright(c) 2008, Cagatay Dogan Permission is hereby granted, free of charge, to any person obtaining a cop of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the righ...
29.874598
112
0.486062
[ "MIT" ]
ocdogan/Sweet.BRE
Sweet.BRE/BRE/Statements/IfThenStm.cs
9,293
C#
namespace DBScriptGeneratorUI { partial class DBScriptGeneratorForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
50.441088
174
0.59643
[ "MIT" ]
NachiMK/app
dotnet/DBScriptGenerator/DBScriptGeneratorUI/DBScriptGeneratorForm.Designer.cs
16,698
C#
using OfficeOpenXml; using OfficeOpenXml.Export.HtmlExport; using OfficeOpenXml.Style; using OfficeOpenXml.Table; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; namespace EPPlus.WebSampleMvc.NetCore.Models.HtmlExport { ...
40.392857
135
0.615827
[ "MIT" ]
EPPlusSoftware/EPPlus.WebSamples
EPPlus.WebSampleMvc.NetCore/Models/HtmlExport/ExportTable3Model.cs
2,264
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SetCards.Cards { public static class CardListExtensions { //カードを文字列表記 public static string DeckView(this List<Card> Deck) { string str = ""; foreach (Card c in Deck) ...
20.527778
77
0.477673
[ "MIT" ]
average34/SetSpeed
Assets/Scripts/SetCards/CardListExtensions.cs
759
C#
/*namespace Nacos.Tests { using System; using System.Threading.Tasks; using Xunit; public class InstanceTest : TestBase { [Fact] public async Task RegisterInstance_Should_Succeed() { var request = new RegisterInstanceRequest { Service...
31.195876
105
0.518672
[ "Apache-2.0" ]
SwingZhang/nacos-sdk-csharp
tests/Nacos.Tests/InstanceTest.cs
6,090
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; using System; namespace Microsoft.MixedReality.Toolkit { /// <summary> /// Attribute that defines the properties of a Mixed Reality Toolkit data provider. /// </summary> ...
36.6875
118
0.662692
[ "MIT" ]
ZealotWang-sudo/Project_Brahe
Asset Patch/com.microsoft.mixedreality.toolkit.foundation@2.5.1/Core/Attributes/MixedRealityDataProviderAttribute.cs
1,176
C#
using System; using System.Collections.Generic; using System.Linq; 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.Security; using Microsoft.Owin.Security.Cookies; us...
34.346939
115
0.639037
[ "MIT" ]
devide023/gkapi
GoldKeyWebApi/Providers/ApplicationOAuthProvider.cs
3,420
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace IntroWPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } ...
17.888889
42
0.701863
[ "MIT" ]
bonbon2106/Csharp-Data-Visualization
YouTube/episodes/10 - Intro Animation/IntroWPF/App.xaml.cs
324
C#
#region Copyright and License // Copyright 2010..2015 Alexander Reinert // // This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (http://arsofttoolsnet.codeplex.com/) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance ...
23.713675
138
0.598847
[ "MIT" ]
robledop/MailTester
MailTester/MailTester/ARSoft.Tools.Net/Dns/DnsMessage.cs
5,551
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.Diagnostics; using System.Runtime.CompilerServices; using Internal.NativeFormat; namespace Internal.TypeSystem { [Flags] public enum MethodSignatu...
32.35994
183
0.549821
[ "MIT" ]
Emzi0767/dotnet-runtime
src/coreclr/src/tools/Common/TypeSystem/Common/MethodDesc.cs
21,487
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JX.Core; using JX.Core.Entity; namespace JX.Core { /// <summary> /// 数据库表:FlowProcess 的仓储接口. /// </summary> public partial interface IFlowProcessRepository : IRepository<FlowProcess> { } }
18.6875
75
0.745819
[ "Apache-2.0" ]
lixiong24/IPS2.1
CodeSmith/output/IRepositories/IFlowProcessRepository.cs
321
C#
using System; using System.Linq; using System.Xml.Linq; using Grynwald.MdDocs.ApiReference.Model; using Grynwald.MdDocs.ApiReference.Model.XmlDocs; using Microsoft.Extensions.Logging.Abstractions; using Xunit; namespace Grynwald.MdDocs.ApiReference.Test.Model.XmlDocs { public class XmlDocsReaderTest { ...
35.140143
136
0.557861
[ "MIT" ]
ap0llo/mddocs
src/MdDocs.ApiReference.Test/Model/XmlDocs/XmlDocsReaderTest.cs
14,796
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 Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing;...
33.571429
111
0.642166
[ "Apache-2.0" ]
CBaud/AspNetCore
src/Middleware/CORS/test/UnitTests/CorsEndpointConventionBuilderExtensionsTests.cs
2,585
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace _02.Base_N_to_base_10 { class Base_N_to_base_10 { static void Main(string[] args) { var input = Console.ReadLine().Split(); string number = input[1].ToString(); ...
22.884615
56
0.490756
[ "MIT" ]
zrusev/SoftUni_2016
02. Programming Fundamentals - Jan 2017/09. Strings/02. Base-N to base-10/02. Base-N to base-10/Base_N_to_base_10.cs
597
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading; using System.Windows.Input; using Android.Content; using Android.OS; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; using A...
35.544141
167
0.477014
[ "MIT" ]
ali-h2010/Testing-Sharpnado.CollectionView-main
Sharpnado.CollectionView.Droid/Renderers/CollectionViewRenderer.RecycleViewAdapter.cs
22,146
C#
using System; using System.Collections.Generic; using TetraSlide.Api.Exceptions; using TetraSlide.Api.Models; namespace TetraSlide.Api.Infrastructure { /// <summary> /// /// </summary> public class TestAccountRepository : IAccountRepository { IAccessTokenEncoder AccessTokenEncoder; ...
29.061947
111
0.542631
[ "MIT" ]
petrsnd/tetrad
WebService/Api/Infrastructure/TestAccountRepository.cs
3,286
C#
[Serializable] public sealed class DecoderFallbackException : ArgumentException // TypeDefIndex: 448 { // Fields private byte[] bytesUnknown; // 0x90 private int index; // 0x98 // Methods // RVA: 0x2A74800 Offset: 0x2A74901 VA: 0x2A74800 public void .ctor() { } // RVA: 0x2A74880 Offset: 0x2A74981 VA: 0x2A7488...
26.15
85
0.732314
[ "MIT" ]
SinsofSloth/RF5-global-metadata
System/Text/DecoderFallbackException.cs
523
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.DotNet.XHarness.iOS.Shared.Execution; using Microsoft.DotNet.XHarness.iOS.Shared.Logging; namespace Microsoft.DotNet.XHarness.iOS.Shared.Hardware { public interface ITCCDatabase { Task<bool> Agr...
43.313609
710
0.655328
[ "BSD-3-Clause" ]
premun/xamarin-macios
tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/Hardware/TCCDatabase.cs
7,322
C#
using System.Web; using System.Web.Mvc; namespace LoadOnDemandSQL2016 { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.428571
80
0.665441
[ "MIT" ]
jkelly295/LoadOnDemand
LoadOnDemandSQL2016/App_Start/FilterConfig.cs
274
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01_Common_End { class Program { static void Main(string[] args) { string[] arr1 = Console.ReadLine().Split(); string[] arr2 = Console.ReadLine(...
27.241379
73
0.403165
[ "MIT" ]
akkirilov/ProgrammingFundamentalsHomeworks
01_ProgrammingFundamentals/Homeworks/04_Arrays-Ex/01_Common End/Program.cs
1,582
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using BaroqueUI; using System.Linq; public interface IPongPad { void StartFollowing(Controller ctrl); void FollowController(); void DestroyPad(); } public abstract class PongBaseBuilder : MonoBehaviour { public GameObjec...
28.770428
110
0.552475
[ "MIT" ]
arigo/PongQuest
Assets/Scripts/PongBaseBuilder.cs
7,396
C#
//------------------------------------------------------------------------------ //----- PULALimitationsHandler --------------------------------------------------- //------------------------------------------------------------------------------ //-------1---------2---------3---------4---------5---------6---------7---...
44.23964
226
0.536594
[ "CC0-1.0", "MIT" ]
USGS-WiM/BLTServices-new
BLTServices/Handlers/PULALimitationsHandler.cs
24,555
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 JetBrains.Annotations; namespace Microsoft.EntityFrameworkCore.Metadata.Internal { /// <summary> /// This API supports the Entity Fra...
41.675676
113
0.643969
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
src/EFCore/Metadata/Internal/ConventionAnnotatableExtensions.cs
1,542
C#
using Microsoft.EntityFrameworkCore; using Volo.Abp.Identity; using Volo.Abp.ObjectExtending; using Volo.Abp.Threading; namespace ProductManagement.EntityFrameworkCore { public static class ProductManagementEfCoreEntityExtensionMappings { private static readonly OneTimeRunner OneTimeRunner = new OneTi...
39.369565
104
0.563225
[ "MIT" ]
PacktPublishing/Mastering-ABP-Framework
Samples/Chapter-03/ProductManagement/src/ProductManagement.EntityFrameworkCore/EntityFrameworkCore/ProductManagementEfCoreEntityExtensionMappings.cs
1,813
C#
namespace MyAutoPartsWebStore.Web { using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependenc...
34.357895
93
0.593137
[ "MIT" ]
Morbidius/MyAutoPartsStore
MyAutoPartsWebStore/MyAutoPartsWebStore.Web/Startup.cs
3,264
C#
/*** * Created by: Anupam Terkonda * Created: 1/24/22 * * Last Edited by: N/A * Last Edited: 1/26/22 * * Description: Spawns multiple cubes prefabs into scene. * ***/ using System.Collections; using System.Collections.Generic; using UnityEngine; public class RandomCubes : MonoBehaviour { //creating Varia...
30.761194
101
0.646288
[ "MIT" ]
Terkonda54/RandomCubes
RandomCubesUnity/Assets/Scripts/RandomCubes.cs
2,061
C#
using SitefinityWebApp.Mvc.Utilities; using System; using System.ComponentModel.DataAnnotations; using System.Linq; namespace SitefinityWebApp.Mvc.Models {/// <summary> /// This class is a View Model which represents the collection of events /// that will be presented to the user. The properties for ordering and fil...
36.8
138
0.664855
[ "MIT" ]
NevenaNikolova/SitefinityWidgetTask
Default/Mvc/Models/IndexViewModel.cs
1,658
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 may ...
28.628521
118
0.503684
[ "CC0-1.0" ]
dropoutlabs/ignite
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
81,305
C#
using MediatR; using PharmVerse.Presentation.Patients.Models.Result; using System; namespace PharmVerse.Presentation.Patients.Commands { public class CreatePatientCommand : IRequest<CreatePatientCommandResult> { public string FirstName { get; set; } public string MiddleName { get; set; }...
34.9
77
0.627507
[ "MIT" ]
ddynamight/PharmVerse
PharmVerse/PharmVerse.Presentation/Patients/Commands/CreatePatientCommand.cs
700
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...
46.425926
293
0.654966
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20181101/Inputs/PacketCaptureFilterArgs.cs
2,507
C#
// Copyright (c) 2020, mParticle, Inc // // 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 agr...
31.104101
399
0.479716
[ "Apache-2.0" ]
mParticle/mparticle-json
MP.Json.Test/generated/Draft7/Items.cs
9,860
C#
namespace Win.ERP { partial class FormReporteFactura { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
30.413043
107
0.548249
[ "MIT" ]
damarisparedes/sistema-erp
SISTEMA ERP/Win.ERP/FormReporteFactura.Designer.cs
1,401
C#
// // settings.cs: All compiler settings // // Author: Miguel de Icaza (miguel@ximian.com) // Ravi Pratap (ravi@ximian.com) // Marek Safar (marek.safar@gmail.com) // // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2001 Ximian, Inc (http://www.ximian.com) // Copyrigh...
26.729115
144
0.625325
[ "Apache-2.0" ]
luiseduardohdbackup/playscript-mono
mcs/mcs/settings.cs
43,515
C#
using System; using System.Linq; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace BLToolkit.Reflection { using TypeBuilder; class ExprTypeAccessor<T,TOriginal> : TypeAccessor { static ExprTypeAccessor() { // Create Instance. // var ty...
31.650794
142
0.67327
[ "MIT" ]
igor-tkachev/bltoolkit
Source/Reflection/ExprTypeAccessor.cs
3,990
C#
namespace ExerciseTwo { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
46.531773
107
0.596852
[ "MIT" ]
RuzmanovDev/UNWE
User-Interface/WinFormsExercises/02.ExerciseTwo/ExerciseTwo/Form1.Designer.cs
14,058
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00023696", true, 0xE1FF)] [Attributes(9)] public class LteB34TxMismatchComp { [Elements...
21.619048
60
0.614537
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/LteB34TxMismatchCompI.cs
454
C#
using System.Threading.Tasks; using NServiceBus; using NServiceBus.Logging; #region CommandMessageHandler public class CommandMessageHandler : IHandleMessages<Command> { static ILog log = LogManager.GetLogger<CommandMessageHandler>(); public Task Handle(Command message, IMessageHandlerContext c...
24.633333
72
0.598106
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
samples/web/asp-mvc-application/Core_6/Server/CommandMessageHandler.cs
712
C#
using BAYSOFT.Core.Domain.Entities.StockWallet; using BAYSOFT.Core.Domain.Interfaces.Infrastructures.Data.Contexts; using BAYSOFT.Core.Domain.Interfaces.Services.StockWallet.SubSectors; using ModelWrapper.Extensions.Post; using System.Threading; using System.Threading.Tasks; namespace BAYSOFT.Core.Application.StockWal...
36.794118
138
0.719424
[ "MIT" ]
BAYSOFT-001/baysoft-stockwallet
src/BAYSOFT.Core.Application/StockWallet/SubSectors/Commands/PostSubSector/PostSubSectorCommandHandler.cs
1,251
C#
 namespace Hills.IdentityServer4.Deployment { partial class ucEndPointsEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
43.214689
161
0.584129
[ "MIT" ]
elaganahills/IdentityServer4.Admin
deployment/ucEndPointsEditor.Designer.cs
7,651
C#
using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using LiteDB; using Microsoft.Extensions.Logging; namespace Lyra.Features.Config { public class PresenterConfigService : IPresenterConfigService { private readonly ILogger<PresenterConfig> logger; private readonly ...
36.37037
134
0.625764
[ "MIT" ]
ogirard/lyra
src/Lyra/Features/Config/PresenterConfigService.cs
1,964
C#
using Microsoft.Data.SqlClient; using Microsoft.VisualStudio.TestTools.UnitTesting; using RepoDb.Extensions; using RepoDb.IntegrationTests.Setup; using RepoDb.SqlServer.BulkOperations.IntegrationTests.Models; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq...
47.842524
170
0.611492
[ "Apache-2.0" ]
GeeWee/RepoDb
RepoDb.Extensions/RepoDb.SqlServer.BulkOperations/RepoDb.SqlServer.BulkOperations.IntegrationTests/Operations/Microsoft.Data.SqlClient/SqlConnection/BulkUpdate.cs
96,309
C#
using System; using System.Collections.Generic; using System.Text; using Zem80.Core.IO; namespace Zem80.Core.Instructions { public class OUTI : IMicrocode { public ExecutionResult Execute(Processor cpu, InstructionPackage package) { Instruction instruction = package.Instruction; ...
26.236842
81
0.53661
[ "MIT" ]
neilhewitt/Z80_Emulator
src/Zem80_Core/Instructions/Microcode/InputOutput/OUTI.cs
997
C#
using System; using System.Text; namespace NsqClient.Frames { internal class MessageFrame : Frame { private const int TIMESTAMP_LENGTH = 8; private const int ATTEMPTS_LENGTH = 2; private const int MESSAGEID_LENGTH = 16; public long Timestamp { get; set; } public ushort...
28.717391
89
0.57078
[ "MIT" ]
matteocontrini/NsqClient
NsqClient/Frames/MessageFrame.cs
1,321
C#
using log4net.Appender.Azure.Language; using Microsoft.Azure.Cosmos.Table; using System; using System.Collections.Generic; using System.Dynamic; namespace log4net.Appender.Azure { /// <summary> /// copied from here: /// http://pascallaurin42.blogspot.de/2013/03/using-azure-table-storage-with-dynamic.html /// </sum...
27.907216
110
0.720724
[ "MIT" ]
irongut/log4net.Appender.Azure
log4net.Azure/ElasticTableEntity.cs
2,707
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ZigBeeNet.CodeGenerator.Zcl; using Attribute = ZigBeeNet.CodeGenerator.Zcl.Attribute; namespace ZigBeeNet.CodeGenerator { public static class ZclProtocolCodeGenerator { private const int _lineL...
48.04507
244
0.414087
[ "MIT" ]
lehn85/ZigbeeNet
src/ZigBeeNet.CodeGenerator/ZclProtocolCodeGenerator.cs
51,170
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging.Abstractions; using Xunit; using ZendeskApi.Client.Exceptions; using ZendeskApi.Client.Models; using ZendeskApi.Client.Resources; using ZendeskApi.Client.Tests.ResourcesSampleSites; #pragma warning disable 618 namespace ZendeskApi.Clie...
30.534884
141
0.56527
[ "Apache-2.0" ]
cserkaran/ZendeskApiClient
test/ZendeskApi.Client.Tests/Resources/RequestsResourceTests.cs
6,565
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("Dem...
37.783784
84
0.748927
[ "MIT" ]
RealityMachina/DemonAsPrestige
DemonAsPrestige/Properties/AssemblyInfo.cs
1,401
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v4/enums/feed_status.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collec...
35.25
276
0.688201
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
src/V4/Types/FeedStatus.cs
7,755
C#
// <auto-generated /> using System; using Groundforce.Services.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Groundforce.Services.Data.Migrations { [DbContext(typeof(AppDbContext))] ...
36.828491
102
0.418719
[ "MIT" ]
bolamiju/GroundForce-BE
Groundforce.Services/Groundforce.Services.Data/Migrations/AppDbContextModelSnapshot.cs
39,298
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.ML.Core.Data; using Mi...
46.809711
173
0.574168
[ "MIT" ]
Zruty0/machinelearning
src/Microsoft.ML.StandardLearners/Standard/LogisticRegression/LbfgsPredictorBase.cs
35,669
C#
/************************************************************* * Project: NetCoreCMS * * Web: http://dotnetcorecms.org * * Author: OnnoRokom Software Ltd. * * Website: www.onnorokomsoftware.com * * ...
41.395604
169
0.553225
[ "BSD-3-Clause" ]
NormanVu/NetCoreCMS
NetCoreCMS.Framework/Core/Services/Auth/MessageServices.cs
3,769
C#
namespace Orchard.JobsQueue.Extensions { public static class StringExtensions { public static string TrimSafe(this string value) { return value != null ? value.Trim() : null; } } }
31
58
0.631336
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.JobsQueue/Extensions/StringExtensions.cs
219
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 "li...
34.3875
129
0.567794
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WAFV2/Generated/Model/RegexPatternSetSummary.cs
5,502
C#
using System; namespace RedMonkey.SchemaAnalysis { [Serializable] public enum TriggerEvent { Delete, Update, Insert } [Serializable] public enum TriggerActionTime { Before, After } [Serializable] public class Trigger : BaseObject<Trigge...
24.984615
156
0.527094
[ "Apache-2.0" ]
rwood/RedMonkey
RedMonkey/RedMonkey.SchemaAnalysis/Trigger.cs
1,626
C#
using Microsoft.Extensions.DependencyInjection; namespace Hookr.Web.Backend.Utilities { public static class ServiceCollectionExtensions { public static IServiceCollection AddUtilities(this IServiceCollection services) => services .AddScoped<IUserContextAccessor, UserContextA...
30.818182
87
0.731563
[ "Apache-2.0" ]
mrlldd/hookr-rent-service
Hookr/Web/Hookr.Web.Backend/Utilities/ServiceCollectionExtensions.cs
339
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mono.Data.Sqlite; namespace MultiplayerARPG.MMO { public partial class SQLiteDatabase { private bool ReadCharacterHotkey(SQLiteRowsReader reader, out CharacterHotkey result, bool resetReader = true) { ...
39.142857
154
0.612682
[ "MIT" ]
Limeless04/UnityMultiplayerARPG_MMO
Scripts/MMOGame/Database/SQLite/SQLiteDatabase_CharacterHotkey.cs
2,194
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: koubei.marketing.campaign.merchant.activity.batchquery /// </summary> public class KoubeiMarketingCampaignMerchantActivityBatchqueryRequest : IA...
26.508065
147
0.575297
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/KoubeiMarketingCampaignMerchantActivityBatchqueryRequest.cs
3,313
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.Windows.Forms; namespace Cse_Department.Assets { public partial class Assets_Details : Form { ...
23.615385
63
0.533116
[ "MIT" ]
mahinjust/Cse_Department_Management_System
Assets_Details.cs
923
C#
using AspNetCore.IQueryable.Extensions; using AspNetCore.IQueryable.Extensions.Filter; using AutoMapper; using MediatR; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using RESTFul.Api.Commands; using RESTFul.Api.Models; using RESTFul.Api.Notification; using ...
32.117647
102
0.656136
[ "MIT" ]
brunohbrito/RESTFul.API-Example
src/RESTFul.Api/Controllers/CompanyController.cs
2,186
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using XRTK.Definitions.Utilities; namespace XRTK.Utilities { public static class PlatformUtility { public static bool IsPlatformS...
40.383721
124
0.628851
[ "MIT" ]
hridpath/XRTK-Core
XRTK-Core/Assets/XRTK/Utilities/PlatformUtility.cs
3,475
C#
using UnityEngine; using UnityEngine.SceneManagement; public class StartButtonScript : MonoBehaviour { void OnMouseDown() { SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1); } }
22.666667
71
0.789216
[ "MIT" ]
HilHi-Technology/Contrast
Assets/Scripts/ButtonScripts/StartButtonScript.cs
206
C#
// The MIT License(MIT) // // Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors // // 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 withou...
38.186441
82
0.6751
[ "MIT" ]
LabuzzMichal/LiveCharts2
src/skiasharp/LiveChartsCore.SkiaSharp/Painting/SolidColorPaintTask.cs
2,255
C#
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace MoBot.GUI.Controls { internal class ClosableTab : TabItem { private readonly CloseableHeader header = new CloseableHeader(); public ClosableTab() { ...
30.986111
105
0.635141
[ "MIT" ]
ReezeBL/MoBotRemastered
MoBot/GUI/Controls/ClosableTab.cs
2,233
C#
using System; using System.Runtime.InteropServices; namespace Tesseract { /// <summary> /// Represents an object that can iterate over tesseract's page structure. /// </summary> /// <remarks> /// The iterator points to tesseract's internal page structure and is only valid while the Engine instance...
37.336788
232
0.571191
[ "Apache-2.0" ]
F1schk0pp/tesseract
src/Tesseract/PageIterator.cs
7,208
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...
42.780142
152
0.605769
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/V20180601Preview/Certificate.cs
6,032
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
30.52
80
0.571429
[ "MIT" ]
scantegra/scantegra
src/Scantegra.Core/Entities/OptionSets/msdyn_upgraderun_StatusCode.cs
763
C#
using System; using System.Collections.Generic; using System.Text; namespace GetHardwareInfo.Services.Win32 { class GetNetworkcardInfo { //https://ourcodeworld.com/articles/read/294/how-to-retrieve-basic-and-advanced-hardware-and-software-information-gpu-hard-drive-processor-os-printers-in-winforms-wi...
28.25
183
0.766962
[ "Unlicense" ]
j-mano/HardwareCheck-.net-core
Services/Win32/GetNetworkcardInfo.cs
341
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Runtime.Serialization; using System.Text; using Newtonsoft.Json; namespace Adyen.Model.Checkout { /// <summary> /// Address /// </summary> [DataContract] public partial class A...
51.269231
349
0.593773
[ "MIT" ]
Ganesh-Chavan/adyen-dotnet-api-library
Adyen/Model/Checkout/Address.cs
10,664
C#
namespace rcsir.net.vk.community.Dialogs { partial class FindGroupsDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
43.558333
108
0.576813
[ "Unlicense" ]
rcsir/RuNetImporter
RuNetImporter/VKCommunityAnalyzer/Dialogs/FindGroupsDialog.Designer.cs
5,229
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; using System.Collections.Generic; using System.Linq; using System.Reflection; using JetBrains.Annotations; using...
48.663548
147
0.563559
[ "Apache-2.0" ]
MartinBP/efcore
src/EFCore.Relational/Migrations/Internal/MigrationsModelDiffer.cs
130,029
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma warning disable 1634, 1691 using System.Threading; using Dbg = System.Management.Automation; namespace System.Management.Automation { /// <summary> /// Defines a drive that exposes a provider path to the u...
34.268999
124
0.524165
[ "MIT" ]
Francisco-Gamino/PowerShell
src/System.Management.Automation/engine/DataStoreAdapter.cs
28,409
C#
using System.Collections.Generic; namespace DotNextDemo.Roles.Dto { public class GetRoleForEditOutput { public RoleEditDto Role { get; set; } public List<FlatPermissionDto> Permissions { get; set; } public List<string> GrantedPermissionNames { get; set; } } }
23
64
0.67893
[ "MIT" ]
a-merson/DotNext2019
aspnet-core/src/DotNextDemo.Application/Roles/Dto/GetRoleForEditOutput.cs
301
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
31.880762
136
0.732636
[ "MIT" ]
chanhong/urho-samples
FormsSample/FormsSample.Droid/Resources/Resource.Designer.cs
222,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace X.App.Views.user { public class akey : xview { } }
14.333333
34
0.651163
[ "MIT" ]
dreamzhoukui/x.rbt
src/Web/User/X.App/Views/user/akey.cs
174
C#
#region Copyright // Copyright Hitachi Consulting // // 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 applicab...
34.090909
94
0.672667
[ "Apache-2.0" ]
xigadee/Microservice
Src/Xigadee.Platform/Configuration/Pipeline/ConfigurationOverrideSet.cs
1,502
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_UI_GraphicRaycaster_BlockingObjects : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.UI.GraphicRaycaster.BlockingObjects"); addMember(l,0,"None"); addMember(l,1,"TwoD"...
27.266667
79
0.723716
[ "MIT" ]
zhangjie0072/Learn_FairyGUI_Slua
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_UI_GraphicRaycaster_BlockingObjects.cs
411
C#
namespace Pioneer.Server.Configuration; internal class Config { public bool IsDebug { get; set; } = false; public bool IsLocal { get; set; } = true; public int Port { get; set; } = 2077; public string Password { get; set; } = "Change Me!"; }
22.166667
56
0.62406
[ "MIT" ]
PioneerMod/Pioneer
Pioneer.Server/Configuration/Config.cs
268
C#
using swi = System.Windows.Input; using swf = System.Windows.Forms; using Eto.Forms; using Eto.Drawing; namespace Eto.Wpf.Forms { public class MouseHandler : Mouse.IHandler { public Widget Widget { get; set; } public void Initialize () { } public Eto.Platform Platform { get; set; } public PointF Posit...
21.421053
63
0.692875
[ "BSD-3-Clause" ]
DavidRutten/Eto
Source/Eto.Wpf/Forms/MouseHandler.cs
814
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Target { /// <summary> /// Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one. /// </summary> [Command(Protocol...
28.058824
104
0.794549
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/Chrome/Target/CreateBrowserContextCommand.cs
477
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
23.178571
52
0.730354
[ "MIT" ]
peacecwz/RemoteTV
RemoteTV.App/RemoteTV.App.Windows/MainPage.xaml.cs
651
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Agent.Core { public interface ICredentials { CredentialType CredentialsType { get; } } }
19.8
49
0.69697
[ "MIT" ]
alextnewman/iotedge
edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/ICredentials.cs
198
C#
namespace BreadWinner { public class ConfigOptions { public const string ThreadPriority = "BreadWinner.ThreadPriority"; public const string WaitXForthreads = "BreadWinner.WaitXForThreads"; public const string ThrowExceptions = "BreadWinner.ThrowExceptions"; } }
34
77
0.705882
[ "MIT" ]
gugu91/bread-winner
lib/BreadWinner/Configuration/ConfigOptions.cs
308
C#
using System; namespace Apos.History { /// <summary> /// Holds a set of actions along with their inverse. /// Mostly used for undo and redo functionality. /// </summary> public class HistorySet { /// <summary> /// Groups undo and redo actions. /// </summary> public ...
26.418605
67
0.480634
[ "MIT" ]
Apostolique/Apos.History
Source/HistorySet.cs
1,138
C#
using Chilicki.Commline.Domain.Enums; using System; using System.ComponentModel.DataAnnotations; namespace Chilicki.Commline.Domain.Entities { public class Departure { public long Id { get; set; } public int RunIndex { get; set; } public TimeSpan DepartureTime { get; set; } pub...
29.944444
56
0.649351
[ "MIT" ]
kipic96/commline
Chilicki.Commline/Chilicki.Commline.Domain/Entities/Departure.cs
541
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace SmartApartmentData.App { public class Program { public static void Main(string[] args) { //CreateHostBuilder(args).Build().Run(); var host =...
25.935484
70
0.570896
[ "MIT" ]
dkamau/smart-apartment-data
SmartApartmentData.App/Program.cs
804
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
41.858974
168
0.596631
[ "MIT" ]
dbgate/datadmin
Plugin.effiproz/StdIcons.Designer.cs
3,267
C#
using System; ///<summary>Class for que opperations</summary> /// <typeparam name="T">param type</typeparam> class Queue<T> { ///<summary>Check if its a queue type</summary> ///<return>returns a Queue type</return> public Type CheckType() { return typeof(T); } /// <summary>Class Node inside queu...
17.874172
107
0.5113
[ "MIT" ]
alzheimeer/holbertonschool-csharp
0x0A-csharp-generics/5-concatenate/queue.cs
2,701
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...
37.947368
80
0.580444
[ "MIT" ]
BclEx/BclEx-Abstract
src/Platforms/Contoso.Abstract.Web/Abstract/Parts/JsonTypeSerializer.cs
4,328
C#
using RenderingLibrary.Graphics; using System; using System.Collections.Generic; using System.Text; namespace RenderingLibrary { public partial class SystemManagers { /// <summary> /// The font scale value. This can be used to scale all fonts globally, /// generally in response to a f...
24.833333
94
0.594799
[ "MIT" ]
J-Swift/Gum
SkiaGum/RenderingLibrary/SystemManagers.cs
1,194
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.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Tracing; using System.Globalization; using System.IO; using System.Linq; using System.Net.Securit...
50.86838
258
0.610034
[ "MIT" ]
BreyerW/runtime
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs
194,012
C#
 using System; using System.Collections.Generic; using System.Reflection; namespace My.IoC.Core { /// <summary> /// Find suitable constructors from which to sort and select. /// </summary> public interface IConstructorFinder { /// <summary> /// Finds suitable constructors on the ta...
27.095238
77
0.648506
[ "MIT" ]
jingyiliu/My.WinformMvc
My.IoC/IoC/Core/IConstructorFinder.cs
571
C#
using System; namespace BlueMilk.IoC { public class BlueMilkException : Exception { public BlueMilkException(string message) : base(message) { } public BlueMilkException(string message, Exception innerException) : base(message, innerException) { } } }
20.933333
106
0.633758
[ "MIT" ]
JasperFx/bluemilk
src/BlueMilk/IoC/BlueMilkException.cs
316
C#
using ofreact; using ofreact.Diagnostics; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Platform; using osu.Framework.Statistics; namespace osu.Framework.Declarative { /// <summary> /// Renders a <see cref="Game"/> inside a suitable platform-specific <see cref="GameHost...
34.291667
146
0.575132
[ "MIT" ]
chiyadev/ofreact
osu.Framework.Declarative/ofGame.cs
4,938
C#
namespace Rate.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
29.222222
67
0.737643
[ "MIT" ]
jcnavarro/rateflicks
Rate.API/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
263
C#
using Core.DataAccess.EntityFramework; using DataAccess.Abstract; using DataAccess.Concrete.EntityFramework.Contexts; using Entities; using Entities.Dtos; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace DataAccess.Concrete.EntityFramework ...
39.771429
101
0.564655
[ "MIT" ]
ugurkurekci/CoffeiSoft
DataAccess/Concrete/EntityFramework/EfTableDal.cs
1,394
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...
52.554545
199
0.627573
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/ServiceBus/Commands.ServiceBus/Cmdlets/DRConfig/GetAzureServiceBusGeoDRConfiguration.cs
5,674
C#
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; namespace MikuMikuLibrary.IO.Sections { public class SectionInfo { private readonly Dictionary<SectionInfo, SubSectionInfo> mSubSectionInfos = new Dicti...
34.822222
114
0.551691
[ "MIT" ]
nastys/MikuMikuLibrary
MikuMikuLibrary/IO/Sections/SectionInfo.cs
6,270
C#