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 Microsoft.AspNetCore.SignalR; using System.Threading.Tasks; namespace NotificationServiceAPI.Hubs { public class PhotoTyeHub : Hub { public Task JoinGroup(string groupName) { return Groups.AddToGroupAsync(Context.ConnectionId, groupName); } } }
20.133333
75
0.678808
[ "Unlicense" ]
johnnyruz/ProjectTyeDemo
NotificationServiceAPI/Hubs/PhotoTyeHub.cs
304
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Build.Framework; using Microsoft.Build.UnitTes...
33.551095
179
0.56068
[ "MIT" ]
MarcoRossignoli/msbuild
src/Tasks.UnitTests/RoslynCodeTaskFactory_Tests.cs
27,581
C#
using FreeSql.Internal; using FreeSql.Internal.Model; using FreeSql.Internal.ObjectPool; using System; using System.Collections; using System.Data.Common; using System.Data.OleDb; using System.Linq; using System.Text; using System.Threading; namespace FreeSql.MsAccess { class MsAccessAdo : FreeSql.Internal.Common...
44.2875
220
0.605701
[ "MIT" ]
damoson/FreeSql
Providers/FreeSql.Provider.MsAccess/MsAccessAdo/MsAccessAdo.cs
3,553
C#
// <auto-generated> // This code was partially generated by a tool. // </auto-generated> namespace YoutubeDLSharp.Options { public partial class OptionSet { private Option<string> username = new Option<string>("-u", "--username"); private Option<string> password = new Option<string>("-p", "--p...
39.589744
103
0.582902
[ "BSD-3-Clause" ]
2b-creator/YoutubeDLSharp
YoutubeDLSharp/Options/OptionSet.Authentication.cs
1,546
C#
using NUnit.Framework; using Rebus.Tests.Contracts.Activation; namespace Rebus.DryIoc.Tests { [TestFixture] public class DryIocRealContainerTests : RealContainerTests<DryIocContainerAdapterFactory> { } }
20.181818
93
0.77027
[ "MIT" ]
lucasantarelli/rebus
Rebus.DryIoc.Tests/DryIocRealContainerTests.cs
224
C#
/*************************************************************************************************************************************** * Copyright (C) 2001-2012 LearnLift USA * * Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com * * ...
39.975057
188
0.552442
[ "MIT" ]
hmehr/OSS
MemoryLifter/Development/Current/MLifter.AudioTools/Codecs/Codec.cs
17,629
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("2P...
38.783784
84
0.751916
[ "MIT" ]
GoranGit/CSharp
Homework/4-Console-In-and-Out/2PrintCompanyInformation/Properties/AssemblyInfo.cs
1,438
C#
using Amazon.CDK; using Amazon.CDK.AWS.IAM; using System.Collections.Generic; namespace MyApp.Modules { public sealed class LambdaBatchExecutionRole: Construct { Construct scope = null; string id = ""; public Role Role {get;set;} public LambdaBatchExecutionRole(Construct scope,...
33.486111
91
0.532974
[ "MIT-0" ]
aws-samples/aws-netcore-app-using-batch
src/MyApp/SourceCode/Modules/LambdaBatchExecutionRole.cs
2,411
C#
using UnityEngine; using System.Collections; public class MyAgent : MonoBehaviour { public GameObject particle; protected UnityEngine.AI.NavMeshAgent agent; protected Animator animator; protected MyLocomotion locomotion; protected Object particleClone; void Start () { agent = GetComponent<UnityEngine.AI...
20.242105
85
0.703068
[ "MIT" ]
Altoid76/Unity3DTraining
MacanimSystem/Macanim_Training/Assets/_Scripts/NavAgent/MyAgent.cs
2,001
C#
using UnityEngine; using XMonoNode; namespace XMonoNode { [CreateNodeMenu("Float/Abs", -189)] [NodeWidth(160)] public class FloatAbs : MonoNode { [Input] public float x; [Output] public float result; private NodePort portX; protected override void Init() { ...
21.142857
56
0.5625
[ "MIT" ]
ArtemBelaev-ural/MonoNode
Scripts/FlowNodes/Nodes/Math/Float/FloatAbs.cs
594
C#
namespace NuGetPackageManager.Web { using Catel.Logging; using NuGet.Protocol.Core.Types; using System; using System.Net; public class FatalProtocolExceptionHandler : IHttpExceptionHandler<FatalProtocolException> { private static readonly ILog Log = LogManager.GetCurrentClassLogger(); ...
32.52
120
0.537515
[ "MIT" ]
Averus-a/NuGetPackageManager
src/NuGetPackageManager/Web/FatalProtocolExceptionHandler.cs
1,628
C#
// Copyright 2016, 2017, 2018 TRUMPF Werkzeugmaschinen GmbH + Co. KG. // // 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...
34.518519
75
0.685622
[ "Apache-2.0" ]
NilsEngelbach/Trumpf.Coparoo.Web
Trumpf.Coparoo.Web/Root/TabObject/ITabObjectNodeInternal.cs
934
C#
using System; namespace vlko.core.web.ValidationAtribute { /// <summary> /// Use this attribute to prevent any changes to text. /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class AntiXssIgnoreAttribute : Attribu...
28
113
0.702381
[ "MIT" ]
vlko/vlko
vlko.core.web/ValidationAtribute/AntiXssIgnoreAttribute.cs
338
C#
using System.Collections.Generic; using Core.Extensions; using NUnit.Framework; namespace Tests.ExtensionTests { [TestFixture] public class ListExtensionTests { [Test] public void CheckEmptyList() { var ints = new List<int>(); ints.NotEmpty().ShouldBeFalse(); ...
21.052632
44
0.595
[ "Apache-2.0" ]
VioletTape/Jackal
Tests/ExtensionTests/ListExtensionTests.cs
402
C#
// // ISkillInfo.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.Data.Abstractions.Enums; using NosSmooth.Data.Abstractions.Language; namespace NosSmooth.Data.Abstractions.Infos; /...
23.909091
102
0.597592
[ "MIT" ]
Rutherther/NosSmooth
Data/NosSmooth.Data.Abstractions/Infos/ISkillInfo.cs
1,583
C#
using UnityEngine; public class Singleton<T> : MonoBehaviour where T : Singleton<T> { public static T Instance { get { if (instance == null) { T[] managers = Object.FindObjectsOfType(typeof(T)) as T[]; if (managers.Length != 0) { if (managers.Length == 1) { instance = managers[0...
20.880952
132
0.599772
[ "MIT" ]
MarcoElz/unity-object-pool
Assets/Scripts/Singleton.cs
877
C#
using System; using System.Collections.Generic; using UIKit; using Foundation; namespace Phoneword_iOS { public partial class ViewController : UIViewController { // translatedNumber was moved here from ViewDidLoad () string translatedNumber = ""; public List<String> PhoneNumbers { get; set; } public ViewC...
30.980769
139
0.70298
[ "MIT" ]
Art-Lav/ios-samples
Hello_iOS/Hello.iOS_MultiScreen/Phoneword_iOS/ViewController.cs
3,230
C#
/*************************************************************************** * * QuMESHS (Quantum Mesoscopic Electronic Semiconductor Heterostructure * Solver) for calculating electron and hole densities and electrostatic * potentials using self-consistent Poisson-Schroedinger solutions in * layered semico...
45.6875
298
0.553705
[ "MIT" ]
EdmundOwen/QuMESHS
Solver_GUI/Form1.cs
21,201
C#
using System; namespace Neo.VM { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] internal class OperandSizeAttribute : Attribute { public int Size { get; set; } public int SizePrefix { get; set; } } }
20.833333
67
0.656
[ "MIT" ]
NewEconoLab/neo-devpack-dotnet
src/Neo.SmartContract.Framework/OperandSizeAttribute.cs
250
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Erato.Model { /// <summary> /// HEF洗净类 /// </summary> [CollectionN...
23.595238
56
0.568113
[ "MIT" ]
robertzml/Erato
Erato.Model/HEF.cs
1,035
C#
namespace CyberCAT.Core.DumpedEnums { public enum gameinteractionsELootVisualiserControlOperation { Locked = 1 } }
15
60
0.8
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Core/Enums/Dumped Enums/gameinteractionsELootVisualiserControlOperation.cs
120
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
48.78
165
0.631338
[ "Apache-2.0" ]
3ai-co/Lean
Common/Data/SubscriptionManager.cs
14,634
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; namespace System.Xml.Xsl.Qil { /// <summary> /// View over a Qil StrConcat operator. /// </summary> /// <remarks> /// Don...
29.2
101
0.476712
[ "MIT" ]
belav/runtime
src/libraries/System.Private.Xml/src/System/Xml/Xsl/QIL/QilStrConcat.cs
1,460
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
34.067416
149
0.651055
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Shield/Generated/Model/Internal/MarshallTransformations/DescribeDRTAccessRequestMarshaller.cs
3,032
C#
using SpeedDate.Logging; using SpeedDate.Packets.Rooms; namespace SpeedDate.ClientPlugins.Peer.Room { /// <summary> /// Base class for connectors. /// Connectors should provide means for client to connect /// to game server /// </summary> public abstract class RoomConnector { ...
27.878788
105
0.543478
[ "MIT" ]
proepkes/SpeedDate
SpeedDate.ClientPlugins.Peer/Room/RoomConnector.cs
1,842
C#
using FluentValidation; using MediatR; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using WrldcHrIs.Application.Common.Interfaces; using WrldcHrIs.Core.Entities; namespace WrldcHrIs.Appl...
35.675
130
0.628591
[ "MIT" ]
nagasudhirpulla/wrldc_hris
src/WrldcHrIs.Application/CanteenOrders/Queries/GetCanteenOrders/GetCanteenOrdersQuery.cs
1,429
C#
using System; using System.Web.Mvc; using System.Web.Routing; using Castle.Windsor; namespace Itaparica.Web.Infra.Container { /// <summary> /// Customização de Controller Factory para tornar o Castle Windsor responsável pelo ciclo de vida de um Controller da aplicação. /// </summary> public class Wind...
28.727273
133
0.631329
[ "Unlicense" ]
ricardoborges/Itaparica
src/Itaparica.Web/Infra/Container/WindsorControllerFactory.cs
1,272
C#
// Copyright (c) 2011-2020 Roland Pheasant. All rights reserved. // Roland Pheasant licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using System; using System.Reactive.Concurrency; using System.Reactive.Disposables; using System.Reactive.Linq; ...
42.933333
186
0.437001
[ "MIT" ]
1R053/DynamicData
src/DynamicData/List/Internal/BufferIf.cs
4,508
C#
// <auto-generated /> using System; using Clean_Architecture_Task.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storag...
37.548098
125
0.45883
[ "MIT" ]
zlazel/Clean-Architecture-Task
src/Infrastructure/Persistence/Migrations/20191024194629_Todos.Designer.cs
16,786
C#
using Context.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Context { public class Service { private IDataContextFactory Factory { get; set; } public Service(IDataContextFactory factory) { ...
26.9
88
0.555762
[ "MIT" ]
SlavaUtesinov/EffortInPractice
Context/Service.cs
1,078
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
41.271429
149
0.565247
[ "Apache-2.0" ]
AsquaredXIV/Lean
Algorithm.CSharp/FutureSharingTickerRegressionAlgorithm.cs
5,778
C#
using System; using System.Collections.Generic; using System.Text; namespace fmacias.Components.MVPVMModule { /// <summary> /// Data Access Layer /// </summary> public abstract class DAL : IDAL { protected readonly IDomainModels domainModels; protected readonly IDomainModelFactory ...
26.25
89
0.666667
[ "BSD-3-Clause" ]
fmacias/FIFO-Task-Queue
Components/MVPVMModule/netstandard2.1/MVPVMModule/DAL.cs
842
C#
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Utilities; namespace Nuke.Common.CI.TeamCity.Configuration { [PublicAPI] public class TeamCityA...
26.888889
67
0.662534
[ "MIT" ]
ChaseFlorell/nuke
source/Nuke.Common/CI/TeamCity/Configuration/TeamCityArtifactDependency.cs
726
C#
 namespace CRUD { partial class criar_turma { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
43.753304
143
0.565546
[ "MIT" ]
ArieleMartins/windows_forms
CRUD/CRUD/criar_turma.designer.cs
9,935
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...
45.205128
124
0.667045
[ "MIT" ]
DalavanCloud/azure-powershell
src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/SetAzureTrafficManagerProfile.cs
1,727
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("Exe...
37.405405
84
0.746387
[ "MIT" ]
BorisLechev/Programming-Basics
Documents/Github/Programming-Fundamentals/Exams/09.07.2017FundamentalsExam/Exercise/Properties/AssemblyInfo.cs
1,387
C#
/** * Copyright (c) 2001-2017 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://robocode.sourceforge.net/license/ep...
36.394495
93
0.531258
[ "Apache-2.0" ]
WernerStruis/Naval-Robocode-Source
plugins/dotnet/robocode.dotnet.samples/src/SampleCs/Interactive.cs
7,934
C#
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Threading; using System.Threading.Tasks; using MasterPatientIndex.Structures; using Serilog; using Serilog.Core; namespace MasterPatientIndex.ProbabilisticMPI { public class MatchEngine { ...
43.110727
135
0.616984
[ "Apache-2.0" ]
HealthCatalyst/Fabric.MasterPatientIndex
MasterPatientIndex/ProbabilisticMPI/MatchEngine.cs
12,461
C#
/* MIT License Copyright (c) 2018 Jacques Kang Copyright (c) 2021 Pierre Sprimont 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 ...
39.508772
149
0.752664
[ "MIT" ]
pierresprim/IpcServiceFramework
src/WinCopies.IPCService.Hosting/BackgroundService.cs
2,254
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; using Olo42.SAROM.WebApp.Models; namespace Olo42.SAROM.WebApp.Controllers { public class UnitsController : Controller { private readonly OperationContext _context; public UnitsController(...
25.402439
176
0.609217
[ "MIT" ]
olo42/SAROM
WebApp/Controllers/UnitsController.cs
4,168
C#
namespace Stripe.Sigma { using System; using Newtonsoft.Json; using Stripe.Infrastructure; public class ScheduledQueryRun : StripeEntity<ScheduledQueryRun>, IHasId, IHasObject { /// <summary> /// Unique identifier for the object. /// </summary> [JsonProperty("id")] ...
33.506173
99
0.569639
[ "Apache-2.0" ]
Loyalar/stripe-dotnet
src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs
2,718
C#
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Linq; namespace Dapplo.Confluence.Query { /// <summary> /// A clause for content identifying values like ancestor...
28.101266
113
0.50991
[ "MIT" ]
DannySotzny/Dapplo.Confluence
src/Dapplo.Confluence/Query/ContentClause.cs
2,222
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.R...
45.647059
80
0.632732
[ "MIT" ]
Jankowsky/.NetCoreMvc_Blog
Milka/obj/Release/netcoreapp2.1/Milka.AssemblyInfo.cs
776
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.CodeAnalysis; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.Inte...
38.177449
198
0.554517
[ "MIT" ]
ChaseKnowlden/runtime
src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Nls.cs
20,654
C#
using System; using System.Collections.Generic; using System.IO; using DotXxlJob.Core; using DotXxlJob.Core.Model; using Newtonsoft.Json; namespace HessianReader { class Program { static void Main(string[] args) { /* */ byte[] myBinary = File.ReadAllBytes("run.dat"); ...
42.702532
323
0.490144
[ "MIT" ]
yang-dw/DotXxlJob
samples/HessianReader/Program.cs
6,759
C#
using MarkPad.FileSystem.Data; using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media.Imaging; namespace MarkPad { [ValueConversion(typeof(DataItem), typeof(BitmapImage))] public class HeaderToImageConverter : IValueConverter { public static HeaderToImageCo...
31.428571
103
0.575
[ "MIT" ]
mihaitudor17/MarkPad
MarkPad/MarkPad/HeaderToImageConverter.cs
1,322
C#
using System; using System.Linq; namespace T02.TheLift { class Program { static void Main(string[] args) { int people = int.Parse(Console.ReadLine()); int[] lift = Console.ReadLine().Split().Select(int.Parse).ToArray(); int currentWagon = 0; whil...
28.307692
92
0.44837
[ "MIT" ]
akdimitrov/CSharp-Fundamentals
ExamPreparation/01.Exam Prep - PF MidExamRetake/T02.TheLift/Program.cs
1,106
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IssueTracker.Model; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Data.SqlTypes; using Dapper; using IssueTracker.Model.ViewModel; namespace IssueTracker....
30.28777
116
0.503325
[ "MIT" ]
whebz/IssueTracker
IssueTracker.Service/Issue.cs
4,212
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IF.Lastfm.Core.Api.Commands.User; using IF.Lastfm.Core.Api.Enums; using IF.Lastfm.Core.Api.Helpers; using IF.Lastfm.Core.Objects; using IF.Lastfm.Core.Tests.Resources; using NUnit.Framework; names...
37.510753
118
0.549377
[ "MIT" ]
c-d/lastfm
src/IF.Lastfm.Core.Tests/Api/Commands/UserGetTopArtistsCommandTests.cs
6,979
C#
using Terraria.Localization; using Terraria.ModLoader; namespace MagicStorageExtra { public partial class MagicStorageExtra { private void AddTranslations() { ModTranslation text = CreateTranslation("SetTo"); text.SetDefault("Set to: X={0}, Y={1}"); text.AddTranslation(GameCulture.Polish, "Ustawione na...
39.234615
99
0.74081
[ "MIT" ]
ExterminatorX99/MagicStorage
MagicStorageExtra.Translations.cs
10,641
C#
using System; using System.Collections.Generic; using System.Reflection; using Newtonsoft.Json; using Nop.Core.Caching; using Nop.Core.Infrastructure; using Nop.Plugin.Api.Attributes; using Nop.Plugin.Api.Constants; namespace Nop.Plugin.Api.Maps { public class JsonPropertyMapper : IJsonPropertyMapper { ...
36.051948
156
0.59402
[ "MIT" ]
hoatv1008/api-plugin-for-nopcommerce
Nop.Plugin.Api/Maps/JsonPropertyMap.cs
2,778
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("Min...
37.459459
84
0.746753
[ "MIT" ]
V-Uzunov/Soft-Uni-Education
07.C#OOPBasic/001.OOP-Basic-Exam/Minedraft/Properties/AssemblyInfo.cs
1,389
C#
using BinaryQuest.Framework.Core.Data; using Duende.IdentityServer.EntityFramework.Options; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace bqStart.Data { public class MainDataContext : BQDataContext...
32.965517
185
0.728033
[ "MIT" ]
binaryquest/bqstart
aspnet/src/bqStart/bqStart.Data/MainDataContext.cs
958
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class QueryDidVcrepositoryFuzzyquerywithdefinedidResponse : TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 [NameInMap("req_msg_id"...
25
81
0.645714
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
blockchain/csharp/core/Models/QueryDidVcrepositoryFuzzyquerywithdefinedidResponse.cs
973
C#
using System; using System.Linq; namespace RTScript { class Program { [STAThread] private static void Main(string[] args) { if (args.Length != 0) { var console = new RTScriptConsole(args); console.RunCommand(args[0]); ...
20.583333
66
0.449393
[ "MIT" ]
miroiu/rt-script
RTScript/Program.cs
496
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace BTCPayServer { public interface IStartupTask { Task ExecuteAsync(CancellationToken cancellationToken = default); } }
19.285714
73
0.759259
[ "MIT" ]
Argoneum/btcpayserver
BTCPayServer/IStartupTask.cs
272
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
34.642599
243
0.513756
[ "Apache-2.0" ]
Acomodeo/swagger-codegen
samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Pet.cs
9,596
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...
44.007843
282
0.604616
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/DirectConnect/Basic/Add-DCResourceTag-Cmdlet.cs
11,222
C#
// // OciBindHandle.cs // // Part of managed C#/.NET library System.Data.OracleClient.dll // // Part of the Mono class libraries at // mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci // // Assembly: System.Data.OracleClient.dll // Namespace: System.Data.OracleClient.Oci // // Author: // Tim Co...
20.816901
66
0.52977
[ "MIT" ]
TikiBill/oracleClientCore-2.0
src/dotNetCore.Data.OracleClient/System.Data.OracleClient.Oci/OciBindHandle.cs
1,478
C#
using System.Threading.Tasks; using OrchardCore.Environment.Extensions.Features; namespace OrchardCore.Environment.Shell { public interface IFeatureEventHandler { Task InstallingAsync(IFeatureInfo feature); Task InstalledAsync(IFeatureInfo feature); Task EnablingAsync(IFeatureInfo featu...
32.777778
53
0.744068
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore/OrchardCore.Abstractions/Shell/IFeatureEventHandler.cs
590
C#
/* * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
40.824176
137
0.648991
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.NUI/src/public/Rendering/Sampler.cs
3,715
C#
using System; using System.Threading; using System.Collections.Generic; namespace ALB { /// <summary> /// extension class (класс для расширений) /// </summary> public static class Extensions { /// <summary> /// returns checked by range value (возвращает значение, проверенное по ди...
37.97541
189
0.587308
[ "MIT" ]
AlexButkov/ALB-Studio
Data/Models/Extensions.cs
5,311
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2018 // // 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 r...
35.384615
116
0.67087
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/PhysicalDeviceFeatures2.gen.cs
2,300
C#
using System; using System.IO; using NUnit.Framework; namespace NiceIO.Tests { [TestFixture] public class CopyFile : TestWithTempDir { [Test] public void FileToSameDirectory() { PopulateTempDir(new[] {"myfile.txt"}); var path = _tempPath.Combine("myfile.txt"); var dest = _tempPath.Combine("mycopy.t...
25.260274
114
0.670282
[ "MIT" ]
lucasmeijer/NiceIO
NiceIO.Tests/CopyFile.cs
1,846
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.ComponentModel; using System.Drawing; using System.Globalization; using System.Runtime.InteropServices...
33.203085
148
0.497097
[ "MIT" ]
AArnott/winforms
src/System.Windows.Forms/src/System/Windows/Forms/CheckBox.cs
25,834
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...
25.787879
94
0.714454
[ "MIT" ]
pierre3/p3XamarinApp
Xamarin/WinApp/MainPage.xaml.cs
853
C#
using NHibernate.Criterion; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace ee.SessionFactory.Repository { /// <summary> /// Interface to entity repository, contains the basic CRUD methods that entity repository must implement /// </summary> /// <typeparam name...
44.568627
265
0.657721
[ "Apache-2.0" ]
Egoily/iLawyer
01.Framework/ee.SessionFactory/Repository/IEntityRepository.cs
2,275
C#
using System; using System.IO; using System.ComponentModel; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ChargeBee.Internal; using ChargeBee.Api; using ChargeBee.Models.Enums; using ChargeBee.Filters.Enums; namespace ChargeBee.Models { ...
23.204301
70
0.528267
[ "MIT" ]
bjacobowski/chargebee-dotnet
ChargeBee/Models/Contact.cs
2,158
C#
using EventBus.Messages.Common; using MassTransit; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; using Ordering.API.EventBusConsumer; us...
32.74026
106
0.596589
[ "MIT" ]
FarooqFastian/MicroserviceByFarooq
src/Services/Ordering/Ordering.API/Startup.cs
2,521
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microso...
34.844156
161
0.598087
[ "Apache-2.0" ]
davidfowl/roslyn
src/Workspaces/CSharp/Portable/Formatting/Engine/Trivia/TriviaRewriter.cs
8,051
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.AwsN...
26.64
90
0.714715
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/AppMesh/Outputs/VirtualGatewaySubjectAlternativeNameMatchers.cs
666
C#
using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace TixFactory.Logging.Service.ElasticSearch { internal class SearchHit { [JsonPropertyName("_id")] public string Id { get; set; } } }
18.666667
50
0.758929
[ "MIT" ]
tix-factory/monitoring
Services/Logging/TixFactory.Logging.Service/Models/ElasticSearch/SearchHit.cs
226
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// KbAdvertContentShareCode Data Structure. /// </summary> [Serializable] public class KbAdvertContentShareCode : AlipayObject { /// <summary> ...
23.714286
56
0.638554
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbAdvertContentShareCode.cs
512
C#
using System; using System.Net.Http; using Couchbase.Core.DataMapping; using Couchbase.Core.IO.Operations.Legacy; using Couchbase.Utils; namespace Couchbase.Core.IO.HTTP { /// <summary> /// Base class for HTTP services to inherit from to provide consistent access to configuration, /// http client and data...
33.663043
128
0.609622
[ "Apache-2.0" ]
MikeGoldsmith/dotnet-couchbase-client
src/Couchbase/Core/IO/HTTP/HttpServiceBase.cs
3,099
C#
using System.Collections.Generic; namespace essentialMix.Collections; public interface ISiblingNode<TNode, T> : ITreeNode<TNode, T> where TNode : ISiblingNode<TNode, T> { TNode Child { get; } TNode Sibling { get; } bool IsLeaf { get; } IEnumerable<TNode> Children(); IEnumerable<TNode> Siblings(); } public ...
26.555556
112
0.736402
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix/Collections/ISiblingNode.cs
480
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AsteroidSmallPool { public ObjectPool<AsteroidView> AsteroidPool; public AsteroidSmallPool(int startCount, bool isExpandable, Transform parentObject, AsteroidView prefab) { AsteroidPool = new ObjectPool<Aste...
29.882353
108
0.765748
[ "MIT" ]
Neron94/Asteroid
Assets/Scripts/Other Functions/AsteroidSmallPool.cs
508
C#
#nullable enable using System; using System.Collections.Generic; using System.Threading.Tasks; using AppKit; using CoreGraphics; using Foundation; using Uno.Extensions; using Uno.Foundation.Logging; using Windows.Foundation; namespace Windows.ApplicationModel.DataTransfer { public partial class DataTransferManager ...
24.32967
123
0.69467
[ "Apache-2.0" ]
iury-kc/uno
src/Uno.UWP/ApplicationModel/DataTransfer/DataTransferManager.macOS.cs
2,216
C#
using Microsoft.AspNetCore.Mvc; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc.Rendering; using TreatShop.Models; using System; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; using System.Security.Claims; using Syste...
30.265625
128
0.662881
[ "MIT" ]
KeturahDev/TreatShop
TreatShop/Controllers/TreatsController.cs
3,874
C#
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Au.Models.Common; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using KeyPayV2.Au.Enums; namespace KeyPayV2.Au.Models.Common { public class KioskEmployeeModel { public bool PinExpired { ...
36.34375
59
0.638865
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Au/Models/Common/KioskEmployeeModel.cs
1,163
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Test")] [assembly: AssemblyCopyright("Copyright ©...
28.952381
56
0.748355
[ "BSD-3-Clause" ]
shoupn/npgsqlDotnet
Test/Properties/AssemblyInfo.cs
609
C#
using MsCoreOne.Application.Common.Interfaces.Repositories; using MsCoreOne.Domain.Entities; using MsCoreOne.Infrastructure.Persistence; using System; using System.Collections.Generic; using System.Text; namespace MsCoreOne.Infrastructure.Repositories { public class ProductRepository : RepositoryBase<Product>, IP...
27.8125
80
0.779775
[ "MIT" ]
jillmnolan/MsCoreOne
src/MsCoreOne.Infrastructure/Repositories/ProductRepository.cs
447
C#
using Microsoft.Extensions.Hosting; using System.Threading; using System.Threading.Tasks; namespace MSFSTouchPortalPlugin.Interfaces { /// <summary> /// Handles communication with the Touch Portal /// </summary> internal interface IPluginService : IHostedService { new Task StartAsync(CancellationToken can...
28.857143
61
0.777228
[ "MIT" ]
mpaperno/MSFSTouchPortalPlugin
MSFSTouchPortalPlugin/Interfaces/IPluginService.cs
406
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.0.0) // </auto-generated> // -----------------------------------------------------------------------------------------...
39.064516
122
0.593724
[ "MIT" ]
OBeautifulCode/OBeautifulCode.CodeGen
OBeautifulCode.CodeGen.ModelObject.Test/Models/Scripted/Cloning/PublicSet/ReadOnlyCollection/ModelCloningPublicSetReadOnlyCollection.designer.cs
1,213
C#
using GameEngine.Exceptions; using GameEngine.Services.ComputerMove; using System.Collections.Generic; using static GameEngine.PlayerEnum; namespace GameEngine { public class Game : IGame { // TODO ~ this member being public is just a quick hack while buulding `ComputerMove` rules // the UI w...
29.8
169
0.551594
[ "MIT" ]
carlpaton/TicTacToe
GameEngine/Game.cs
2,386
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace ArcMovies.Models { [DataContract] public class MovieVideo { [DataMember(Name = "id")] public int MovieId { get; set; } [DataMember(Name = "results")] public IList<MovieVideoItem> Videos { get; ...
22.266667
57
0.637725
[ "MIT" ]
andrewBezerra/ArcMovies
ArcMovies/ArcMovies/Models/MovieVideo.cs
336
C#
// <copyright file="GoalReminderActivityHelper.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.GoalTracker.Helpers { using System; using System.Globalization; using System.Linq; using System.Net; using System.Threading; u...
55.579592
242
0.609422
[ "MIT" ]
v-riagr/MasterVSOGoal
Source/Microsoft.Teams.Apps.GoalTracker/Helpers/GoalReminderActivityHelper.cs
27,236
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...
37.280702
93
0.692235
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/Latest/Outputs/BackendServiceFabricClusterPropertiesResponse.cs
2,125
C#
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; u...
35.763889
128
0.497476
[ "MIT" ]
Planthor-Team/Planthor_ClientBackEndWebApp
src/Startup.cs
5,150
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
45.957447
272
0.684259
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/splunk/dotnet/Kubernetes/Crds/Operators/Splunk/Enterprise/V1Alpha2/Inputs/LicenseMasterSpecVolumesDownwardAPIItemsArgs.cs
2,160
C#
using Android.App; using Android.OS; using Android.Speech.Tts; using GreatQuotes.Services; // Note: this class requires at least Android SDK 5.0 (Lollypop) // to build due to changes in the TTS APIs. namespace GreatQuotes.Droid.Services { public class TextToSpeechService : Java.Lang.Object, ITextToSpeech, TextToS...
29.288462
100
0.546947
[ "MIT" ]
renebentes/XamarinPlayground
mslearn-xamarin-forms-design-patterns/src/exercise1/final/GreatQuotes.Android/Services/TextToSpeechService.cs
1,523
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace web_service_users { // REMARQUE : vous pouvez utiliser la commande Renommer du menu Refactoriser pour changer le nom d'interface "IService1" à la fois dans l...
29.5
209
0.719128
[ "MIT" ]
Enaifuos/Recommandation-System-Food-Eatrack-Application
client-recommendation-web-service-Q/web-service/web-service-users/IUserProfil.cs
1,664
C#
using System.Collections.Generic; using System.Text; using JetBrains.Annotations; namespace CSharpGuidelinesAnalyzer.Test.TestDataBuilders { /// <summary /> internal sealed class MemberSourceCodeBuilder : SourceCodeBuilder { [NotNull] [ItemNotNull] private readonly List<string> mem...
26.087719
82
0.599866
[ "Apache-2.0" ]
MineMaarten/CSharpGuidelinesAnalyzer
src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/TestDataBuilders/MemberSourceCodeBuilder.cs
1,489
C#
// ------------------------------------- // PhotonInkPainterView.cs // Copyright (c) 2019 sotan. // Licensed under the MIT License. // ------------------------------------- using UnityEngine; using Photon.Pun; namespace InkPainterExtension { [AddComponentMenu("Photon Networking/Photon Ink Painter")] [RequireC...
35.794872
86
0.582736
[ "MIT" ]
sotanmochi/InkPainterSharingSample
Assets/InkPainterSharingSample/InkPainterExtension/PhotonInkPainterView.cs
2,792
C#
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
39.444444
140
0.696244
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit.HttpTransport/Clients/ClientContextFactory.cs
2,130
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Blobs; using Microsoft.Azure.WebJobs.Host.Config;...
38.234973
147
0.590539
[ "MIT" ]
Banani-Rath/azure-sdk-for-net
sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/tests/HostCallTests.cs
27,990
C#
namespace Sinch.ServerSdk.Calling.Callbacks.Response { public interface IAceSvamletBuilder : IBridgedCallSvamletBuilder<IAceSvamletBuilder> { } }
26.166667
88
0.789809
[ "MIT" ]
gustafasinch/nuget-serversdk
src/Sinch.ServerSdk/Calling/Callbacks/Response/IAceSvamletBuilder.cs
157
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Bookstore.Controllers { public static class REST { public static async Task<TResult> SendGet<TResult>(string target) { using (var...
32.53
112
0.590839
[ "MIT" ]
vv-b-s/bookstore
asp.net/Bookstore/Controllers/REST.cs
3,255
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
38.370787
130
0.638067
[ "MIT" ]
NHSDigital/azure-fhir-server
src/Microsoft.Health.Fhir.SqlServer.Api/Controllers/SchemaController.cs
3,417
C#
namespace VapeCalculator.Forms { partial class NewFlavourForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
42.4
108
0.575247
[ "MIT" ]
furkick/Vape-Calculator
VapeCalculator/Forms/NewFlavourForm.Designer.cs
4,454
C#
using System; using System.IO; using System.Reflection; namespace GitVersionCore.Tests.Helpers { public static class PathHelper { public static string GetCurrentDirectory() { return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } publ...
27.069767
133
0.603093
[ "MIT" ]
BaY1251/GitVersion
src/GitVersionCore.Tests/Helpers/PathHelper.cs
1,122
C#