content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Poseidon.Archives.Utility { using Poseidon.Winform.Base; /// <summary> /// 多文件上传窗...
20.586957
56
0.596621
[ "MIT" ]
robertzml/Poseidon.Archives
Poseidon.Archives.Utility/Forms/FrmMultiUpload.cs
971
C#
using System; using Phantasma.RpcClient.DTOs; using Phantasma.Cryptography; namespace Phantom.Wallet.Models { public class MenuEntry { public string Id { get; set; } public string Icon { get; set; } public string Caption { get; set; } public bool Enabled { get; set; } p...
23.524752
75
0.599747
[ "MIT" ]
saleem9245/PhantomWallet
PhantomWallet/Models/Structs.cs
2,378
C#
namespace Matrix.AppSample.SeedWork { public interface IDomainService<T> { } }
16.8
42
0.738095
[ "MIT" ]
eximiaco/app-sample
src/Matrix.AppSample/SeedWork/IDomainService.cs
86
C#
using System; using System.Linq; using Demo.LearnByDoing.Core; using Xunit; using Xunit.Abstractions; namespace Demo.LearnByDoing.Tests.CodeWars.Kyu7 { public class SumOfAllTheMultiplesOf3Or5Test : BaseTest { public SumOfAllTheMultiplesOf3Or5Test(ITestOutputHelper output) : base(output) { } [Fact] public...
20.15625
80
0.694574
[ "MIT" ]
dance2die/Demo.LearnByDoing
Demo.LearnByDoing.Tests/CodeWars/Kyu7/SumOfAllTheMultiplesOf3Or5Test.cs
647
C#
// using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using NSG.NetIncident4.Core.Domain.Entities; using NSG.NetIncident4.Core.Domain.Entities.Authentication; using NSG.NetIncident4.Core.Migrations; // namespa...
52.986842
471
0.565557
[ "Apache-2.0" ]
PHuhn/Net.Incident4
NSG.NetIncident4.Core_Tests/Helpers/NSG.DatabaseSeeder.cs
8,056
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; using ClearHl7.V231.Types; namespace ClearHl7.V231.Segments { /// <summary> /// HL7 Version 2 Segment PID - Patient Identification. ...
56.843972
252
0.610605
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7/V231/Segments/PidSegment.cs
16,032
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
40.777778
149
0.724251
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-datadog
sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.cs
1,835
C#
/** * Copyright 2013 Canada Health Infoway, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
40.132911
102
0.608264
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-pcs-cda-r1_2/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cda_r1_2/Merged/Performer2.cs
6,341
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// zoloz.authentication.customer.faceability.identify /// </summary> public class ZolozAuthenticationCustomerFaceabilityIdentifyRequest : IAlipayRequest<ZolozAuthentic...
23.080645
143
0.555905
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/ZolozAuthenticationCustomerFaceabilityIdentifyRequest.cs
2,876
C#
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using ReactiveMvvm.Interfaces; namespace ReactiveMvvm.Blazor.Services { public class LoggingSender : ISender { private readonly ILogger<LoggingSender> _logger; public LoggingSender(ILogger<LoggingSender> logger) => _logger = lo...
31
80
0.663594
[ "MIT" ]
worldbeater/ReactiveMvvm
src/ReactiveMvvm.Blazor/Services/LoggingSender.cs
653
C#
namespace BullsAndCows.Web.DataModels { using System; using System.Linq; using System.Linq.Expressions; using BullsAndCows.Models; public class GuessDataModel { public static Expression<Func<Guess, GuessDataModel>> FromGuess { get { retu...
23.847826
71
0.47949
[ "MIT" ]
dzhenko/TelerikAcademy
WebServices/BullsAndCows/BullsAndCows.Web/DataModels/GuessDataModel.cs
1,099
C#
// ----------------------------------------------------------------------- // <copyright file="IIdentityStorage.cs" company="Asynkron AB"> // Copyright (C) 2015-2022 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using Syste...
28.1
108
0.665925
[ "Apache-2.0" ]
BearerPipelineTest/protoactor-dotnet
src/Proto.Cluster/Identity/IIdentityStorage.cs
2,250
C#
using System.Collections; using System.ComponentModel; using System.Management; namespace Ouranos.NextBootOSSelector.BootConfigurationData { // 関数 ShouldSerialize<PropertyName> は、特定のプロパティをシリアル化する必要があるかどうかを調べるために VS プロパティ ブラウザで使用される関数です。これらの関数はすべての ValueType プロパティに追加されます ( NULL に設定できない型のプロパティ、Int32, BOOLなど)。これらの関数...
39.494302
331
0.537313
[ "MIT" ]
takuya-takeuchi/NextBootOSSelector
source/NextBootOSSelector.Core/BootConfigurationData/BcdDeviceLocateStringData.cs
29,813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace BlazorWasmApp.AuthServer.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerB...
28.9
110
0.603806
[ "Apache-2.0" ]
mofajke/BlazorWasmApp
BlazorWasmApp.AuthServer/Controllers/WeatherForecastController.cs
1,158
C#
// WinterLeaf Entertainment // Copyright (c) 2014, WinterLeaf Entertainment LLC // // All rights reserved. // // The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement"). // // These license terms are an agreement between WinterLeaf Entertainmen...
60.936
819
0.684128
[ "MIT", "Unlicense" ]
RichardRanft/OmniEngine.Net
Templates/C#-Empty/Winterleaf.Engine.Omni/Classes/Helpers/LibraryManager.cs
7,497
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto // Original file comments: // Copyright 2017 Google 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 obt...
65.405868
304
0.716235
[ "Apache-2.0" ]
chrisdunelm/gcloud-dotnet
apis/Google.Cloud.Logging.V2/Google.Cloud.Logging.V2/LoggingMetricsGrpc.cs
26,751
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace SystemReinstallTool { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
18.5
42
0.711712
[ "MIT" ]
Henry-T/LFTool
SystemReinstallTool/SystemReinstallTool/App.xaml.cs
335
C#
using System.Collections.Generic; using System.Linq; namespace Gybs.Extensions { /// <summary> /// <see cref="System.Linq"/> related extensions. /// </summary> public static class LinqExtensions { /// <summary> /// Casts the <see cref="List{T}"/> type to the <see cref="IList{T}"/> ...
39.416667
126
0.592671
[ "MIT" ]
wk0w/gybs
src/Gybs/Extensions/LinqExtensions.cs
1,421
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MenuController : MonoBehaviour { public GameObject newGame; public GameObject character; public GameObject options; public GameObject credits; private GameController gameController; void ...
19.678161
74
0.526285
[ "MIT" ]
fedexu/NeverEndDungeon
Assets/scripts/UI/MenuController.cs
1,714
C#
namespace GitVersion { using Configuration.Init.Wizard; using GitVersion.Helpers; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; public class ConfigurationProvider { internal const string DefaultTagPrefix = "[vV]"; ...
49.909561
202
0.632617
[ "MIT" ]
SeppPenner/GitVersion
src/GitVersionCore/Configuration/ConfigurationProvider.cs
18,929
C#
using System.Threading.Tasks; using Arbor.Hypermedia; using MediatR; using Microsoft.AspNetCore.Mvc; using Milou.Deployer.Web.Agent; using Milou.Deployer.Web.Core.Agents.Commands; using Milou.Deployer.Web.IisHost.Controllers; namespace Milou.Deployer.Web.IisHost.Areas.Agents { public class DisableAgentController ...
33.541667
116
0.719255
[ "MIT" ]
niklaslundberg/milou.deployer
src/Milou.Deployer.Web.IisHost/Areas/Agents/DisableAgentController.cs
807
C#
// based on the FNA SpriteBatch implementation by Ethan Lee: https://github.com/FNA-XNA/FNA using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; using Nez.BitmapFonts; using System.Runtime.Compiler...
28.774791
177
0.694827
[ "MIT" ]
jkstrawn/gangsters
Nez/Nez.Portable/Graphics/Batcher/Batcher.cs
31,048
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Text; using System.Threading.Tasks; using slimCODE.Extensions; using slimCODE.Models; namespace Seclusion.Models { public class LandViewModel : BaseChi...
30.292683
92
0.561997
[ "MIT" ]
slimCODE/slim-lib
src/samples/Seclusion/Seclusion.Shared/Models/LandViewModel.cs
1,244
C#
/* Copyright (c) 1996-2019 The OPC Foundation. All rights reserved. The source code in this file is covered under a dual-license scenario: - RCL: for OPC Foundation members in good-standing - GPL V2: everybody else RCL license terms accompanied with this source code. See http://opcfoundation.org/License...
33.919732
194
0.561625
[ "MIT" ]
Hpshboss/OpcuaCncControl
UANETStandardCNC/Stack/Opc.Ua.Core/Schema/ApplicationConfiguration.cs
111,562
C#
using System; using System.Collections.Generic; using System.Linq; using Telerik.Windows.Controls; using Model.Extension; using System.Collections.ObjectModel; using Kernel; using System.Transactions; using DistributionModel; using DBAccess; using SysProcessModel; using SysProcessViewModel; using ERPModelBO; namespac...
33.762712
105
0.444478
[ "MIT" ]
tuoxieyz/fashionDRP
ViewModel/BillVMBase.cs
10,136
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TrainConsole { public static class TimeTableLoader { public static void Load(string timeTableFilePath) { //var timeTable = new List<TimeTab...
30.212766
82
0.504225
[ "MIT" ]
PGBSNH20/the-train-track-baristagroup2-0
Source/TrainConsole/Input-output/TimeTableLoader.cs
1,422
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NWNOver { class FileStreamPool { } }
13.615385
33
0.734463
[ "MIT" ]
DaedalusGame/NWNOver
NWNOver/FileStreamPool.cs
179
C#
namespace Ocelot.UnitTests.DependencyInjection { using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.Internal; using Microsoft.Extensions.Configuration; using Microsoft.Extensions...
31.43299
98
0.619219
[ "MIT" ]
ThreeMammals/Ocelot.Administration
test/Ocelot.Administration.UnitTests/OcelotBuilderTests.cs
3,049
C#
using Newtonsoft.Json; using System; namespace DotnetSpider.Extension.Model { /// <summary> /// 爬虫实体类对应的表信息 /// </summary> [AttributeUsage(AttributeTargets.Class)] public class Schema : Attribute { /// <summary> /// 重载是为了添加 JsonIgnore 标签 /// </summary> [JsonIgnore] public override object TypeId => bas...
21.822917
100
0.588544
[ "MIT" ]
DavidAlphaFox/DotnetSpider
src/DotnetSpider.Extension/Model/Schema.cs
2,203
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Threading; using System.Reflection; using TestLibrary; namespace B...
39.8
165
0.532711
[ "MIT" ]
belav/runtime
src/tests/Loader/binding/tracing/BinderEventListener.cs
21,094
C#
using Sitecore.Foundation.Import.Extensions; using Sitecore.Foundation.Import.Map.CustomItems; using Sitecore.Data; using System.Linq; using System; using System.Collections.Generic; namespace Sitecore.Foundation.Import.Map { public static class Factory { public static ItemImportMap BuildMapInfo(ID ma...
46.106643
137
0.547075
[ "Apache-2.0" ]
jaydipkotadiya1605/Code
src/Foundation/Import/code/Map/Factory.cs
26,375
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.DataProtection; using Microsoft.Owin.Security.Google; using Owin; using System; using WebApplicatio...
42.35
126
0.620228
[ "MIT" ]
lbigay-wmsu/kisama00
src/WebApplication1/App_Start/Startup.Auth.cs
2,543
C#
using System.Text.RegularExpressions; namespace SharePointPnP.PowerShell.Commands.Utilities { public static class StringExtensions { public static string ReplaceCaseInsensitive(this string input, string search, string replacement) { return Regex.Replace( input, ...
27.882353
105
0.588608
[ "MIT" ]
Ashikpaul/PnP-PowerShell
Commands/Utilities/StringExtensions.cs
476
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Discount.api.Extensions; namespace Discount.api { public class Program { public static void Main(string[] args) { var host = CreateHostBuilder(args).Build...
22.384615
64
0.738832
[ "MIT" ]
Javen17/AspnetMicroservices
source/Services/Discount/Discount.api/Program.cs
582
C#
namespace MyCookbook.Web.ViewModels.Administration.Cuisines.Manage { using System.Collections.Generic; public class AdminCuisinesManageViewModel { public IEnumerable<AdminCuisinesAllViewModel> Cuisines { get; set; } } }
24.6
76
0.747967
[ "MIT" ]
boyan-kolev/MyCookbook
Web/MyCookbook.Web.ViewModels/Administration/Cuisines/Manage/AdminCuisinesManageViewModel.cs
248
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. #pragma warning disable SA1512 // The portable implementation in this type is originally from CoreFX. // See https:...
42.404605
132
0.593592
[ "MIT" ]
47-studio-org/WindowsCommunityToolkit
Microsoft.Toolkit.HighPerformance/Helpers/Internals/RuntimeHelpers.cs
12,891
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// PaytoolRequestDetail Data Structure. /// </summary> public class PaytoolRequestDetail : AlipayObject { /// <summary> /// 支付工具金额。单位为元,精确到小数点后两位,取值范围[0.01,100000000] ...
31.902439
136
0.616208
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/PaytoolRequestDetail.cs
1,684
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Management.Automation; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace PowerShellCourse { [Cmdlet(VerbsCommon.Find, "Duplicate")] public class FindDuplicateCommand : PSCm...
27.744681
94
0.641104
[ "MIT" ]
psymonn/myPowerShell
Sample Modules/extending-powershell/materials/3-extending-powershell-m2-parameters-processing-input-exercise-files/after/FindDuplicateCommand.cs
1,306
C#
using GimmeMillions.Domain.Stocks.Data; using System; using System.Collections.Generic; using System.Linq; namespace GimmeMillions.Domain.Stocks { public enum StockDataPeriod { Week = 432000, Day = 86400, SixHour = 21600, Hour = 3600, FifteenMinute = 900, FiveMi...
27.787671
137
0.450826
[ "BSD-3-Clause" ]
leblancdavid/GimmeMillions
Source/GimmeMillions.Domain/Stocks/Data/StockData.cs
8,116
C#
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace Threax.ReflectedServices { public interface IServiceSetup { void ConfigureServices(IServiceCollection services); } }
20.307692
60
0.776515
[ "MIT" ]
threax/Threax.ReflectedServices
Threax.ReflectedServices/IServiceSetup.cs
266
C#
using Xunit; using System; namespace Structurizr.Core.Tests { public class WorkspaceTests { private Workspace workspace = new Workspace("Name", "Description"); [Fact] public void Test_SetApi_DoesNotThrowAnException_WhenANullUrlIsSpecified() { workspace.Api =...
23.489796
83
0.560382
[ "Apache-2.0" ]
kurattila/dotnet
Structurizr.Core.Tests/WorkspaceTests.cs
1,153
C#
using System; using System.ComponentModel; using System.Xml.Serialization; namespace Grauenwolf.TravellerTools.TradeCalculator { /// <remarks/> [SerializableAttribute()] [DesignerCategoryAttribute("code")] [XmlTypeAttribute(AnonymousType = true)] public class TradeGoodPurchase { /// <r...
22.086957
51
0.641732
[ "MIT" ]
Grauenwolf/TravellerTools
TravellerTools/Grauenwolf.TravellerTools.TradeCalculator/TradeGoodsTradeGoodPurchase.cs
508
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Web; using Azure; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Cosmos.Table; using ...
42.374233
191
0.664398
[ "MIT" ]
uraisg/media-library-azure
internet-webapp/MediaLibrary.Internet.Api/Controllers/TransferController.cs
6,909
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 UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Diagnostics { /// <summary> /// The default implementation of th...
31.160221
133
0.530674
[ "MIT" ]
Bhaskers-Blu-Org2/MRDL_Unity_PeriodicTable
Assets/MixedRealityToolkit.Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs
11,282
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 OrderAutomationSystem { public partial class PaymentCredit : Form { Order orde...
30.827586
105
0.596197
[ "Apache-2.0" ]
GNFulLT/OrderAutomationSystem
OrderAutomationSystem/OrderAutomationSystem/PaymentCredit.cs
2,684
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using CoreWCF.Channels; using CoreWCF.Description; namespace CoreWCF.Configuration { public interface IServiceBuilder : ICommunic...
79.3
171
0.792875
[ "MIT" ]
JonathanHopeDMRC/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/Configuration/IServiceBuilder.cs
3,172
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Eimbo.Dominio.Cadastro.Repositorio; using Eimbo.Dominio.Comum.Entidade; using Eimbo.Infraestrutura.Repositorio.NHibernate.Comum; using NHibernate; using NHibernate.Linq; namespace Eimbo.Infraestrutura.Repositorio.NHibernate....
30.580645
116
0.669831
[ "MIT" ]
RMedeirosCosta/eimbo
Eimbo.Infraestrutura.Repositorio.NHibernate/Cadastro/FormaPagamentoRepositorioNHibernate.cs
950
C#
using System; using System.Linq; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TypedSql.InMemory; using TypedSql.MySql; using TypedSql.SqlServer; using TypedSql.PostgreSql; namespace TypedSql.Test { [TestFixture] public class VariableTests : TestDataContextFixture { ...
41.530612
122
0.633661
[ "MIT" ]
andersnm/TypedSql
TypedSql.Test/VariableTests.cs
4,072
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...
44.333333
139
0.627282
[ "MIT" ]
manelperez/WepAPI_MVC_Sample
obj/Debug/netcoreapp2.1/WepAPI_MVC_Sample.RazorAssemblyInfo.cs
931
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.CommandLine.Invocation; using System.CommandLine.IO; using System.CommandLine.Parsing; using System.Threading.Tasks; using FluentAs...
30.734694
101
0.670651
[ "MIT" ]
belav/command-line-api
src/System.CommandLine.Suggest.Tests/SuggestionShellScriptHandlerTest.cs
1,508
C#
using System.Web.Mvc; using Microsoft.Practices.Unity; using VsixMvcAppResult.Models.Configuration.ConfigSections.ClientResources; using VsixMvcAppResult.Models.Profile; using VsixMvcAppResult.Models.Unity; using VsixMvcAppResult.UI.Web.Areas.UserProfile.Models; using VsixMvcAppResult.UI.Web.Controllers; namespace Vs...
35.595745
144
0.653915
[ "MIT" ]
jordivila/Net_MVC_NLayer_Result
VsixMvcAppResult/VsixMvcAppResult.UI.Web.StandaloneSite/Areas/UserProfile/Controllers/UserProfileController.cs
3,348
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
40.576857
138
0.533881
[ "MIT" ]
belav/roslyn
src/Compilers/CSharp/Portable/Lowering/StateMachineRewriter/MethodToStateMachineRewriter.cs
46,990
C#
namespace MassTransit.EntityFrameworkIntegration.Configurators { using System; using MassTransit.Saga; using Registration; public class EntityFrameworkSagaRepositoryRegistrationProvider : ISagaRepositoryRegistrationProvider { readonly Action<IEntityFrameworkSagaRepositoryConfigurat...
30.56
126
0.721204
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/Persistence/MassTransit.EntityFrameworkIntegration/Configuration/Configurators/EntityFrameworkSagaRepositoryRegistrationProvider.cs
764
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using CUP; public class Textpause : ChronoBehaviour { public Text text; protected override void ChronoStart() { // Non safe method!!! If you realy need this, better use "ChronoBehavior.OnPauseActi...
29.5
202
0.680387
[ "Apache-2.0" ]
dimeodd/UnityCUP
Assets/Exemlpars/OtherStuff/Textpause.cs
828
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
53.270486
247
0.588946
[ "Apache-2.0" ]
countadates/.netSessionTracker
SessionTracker/TracksQuery.Designer.cs
73,472
C#
namespace SV.UPnPLite.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// Defines an error that occurred on a UPnP Service. /// </summary> public class UPnPServiceException : Exception { #region Constructors /// <...
25.982759
150
0.619774
[ "Apache-2.0" ]
kinglionsoft/DlnaController
src/SV.UPnPLite.Core/Protocols/UPnP/UPnPServiceException.cs
3,016
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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 a...
48.141026
114
0.602663
[ "Apache-2.0" ]
Energinet-DataHub/geh-metering-point
source/Energinet.DataHub.MeteringPoints.Infrastructure/Ingestion/Mappers/MasterDataDocumentMapper.cs
3,757
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("_04...
37.72973
84
0.748567
[ "MIT" ]
dobri19/TelerikHomeWork
03C#SDA/05-WorkShop01/04LargestArea/Properties/AssemblyInfo.cs
1,399
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System.IO; using Template.Dependency.Injection; namespace Twitter.Feed.Reader.Worker.Service { public class Program { public static voi...
32.885714
72
0.581234
[ "MIT" ]
ongolenaveen/Read-Twitter-Feed-Azure-Logic-App
Feed.Worker.Service/Program.cs
1,151
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Cashier.Models { public class Payment { [Key] public int PayOrder { get; set; } public int PayCustomer { get; set; } public st...
23.631579
46
0.652561
[ "MIT" ]
Karla-Rodrigues/Cashier
Models/Payment.cs
451
C#
// Copyright (c) 2016, SolidCP // SolidCP is distributed under the Creative Commons Share-alike license // // SolidCP is a fork of WebsitePanel: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted ...
36.992481
168
0.698374
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/VPSForPC/MonitoringPage.aspx.cs
4,920
C#
using Atc; using Demo.Atc.Console.Spectre.Cli.Settings; using Spectre.Console; using Spectre.Console.Cli; namespace Demo.Atc.Console.Spectre.Cli.Commands { public class HelloCommand : Command<HelloCommandSettings> { public override int Execute(CommandContext context, HelloCommandSettings settings) ...
32.315789
94
0.654723
[ "MIT" ]
atc-net/atc
sample/Demo.Atc.Console.Spectre.Cli/Commands/HelloCommand.cs
614
C#
using DotnetStack.Core.Entities; using DotnetStack.Core.Interfaces; namespace DotnetStack.DataAccessHandlers.Quotes { public interface IQuoteHandler : IBaseEntityHandler<Quote> { } }
19.7
62
0.77665
[ "MIT" ]
dteske25/dotnet-stack-template
DotnetStack.DataAccessHandlers/Quotes/IQuoteHandler.cs
199
C#
using UnityEngine; using System.Collections; public class CrashMission : MissionTemplate { public enum CrashMissionTypes { CrashBefore, CrashBetween, CrashAfter }; public string description; public CrashMissionTypes missionType; public int minDistance; public int maxDistance; ...
29.590909
126
0.656938
[ "MIT" ]
martinkro/tutorials-unity3d
Runner522/Assets/2DInfiniteRunnerToolkit/Scripts/C#/MissionTemplates/CrashMission.cs
1,955
C#
using System; using System.Linq.Expressions; using Elsa.Models; using LinqKit; namespace Elsa.Persistence.Specifications.WorkflowDefinitions { public class WorkflowDefinitionIdSpecification : Specification<WorkflowDefinition> { public WorkflowDefinitionIdSpecification(string id, VersionOptions? versio...
32.454545
129
0.647059
[ "MIT" ]
AgnesGray/elsa-core
src/core/Elsa.Core/Persistence/Specifications/WorkflowDefinitions/WorkflowDefinitionIdSpecification.cs
1,073
C#
namespace MilitaryElite.Interfaces { public interface ISpy : ISoldier { int Code { get; } } }
14.375
36
0.6
[ "MIT" ]
NikolaVodenicharov/OOP-Advanced
InterfacesAndAbstraction/MilitaryElite/Interfaces/ISpy.cs
117
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. // Description: Client-side wrapper for Scroll Pattern using System; using System.Windows.Automation.Provider; usin...
38.346939
141
0.545902
[ "MIT" ]
KodamaSakuno/wpf
src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationClient/System/Windows/Automation/ScrollPattern.cs
15,032
C#
namespace Blockfrost.Api { // TODO: review (obsolete?) public partial class BlockContentTransactionIds : System.Collections.ObjectModel.Collection<string> { } }
22.25
103
0.719101
[ "Apache-2.0" ]
blockfrost/blockfrost-donet
src/Blockfrost.Api/Models/Cardano/Blocks/BlockContentTransactionIds.cs
180
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenCV.Net; using OpenTK; namespace Bonsai.Vision.Design { static class DrawingHelper { public static void DrawConnectedComponent(IplImage image, ConnectedComponent component) { ...
47.792793
172
0.53082
[ "MIT" ]
aalmada/bonsai
Bonsai.Vision.Design/DrawingHelper.cs
5,307
C#
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // 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 ...
38.447761
143
0.644669
[ "Apache-2.0" ]
awesomedotnetcore/grpc-dotnet
test/FunctionalTests/UnaryMethodTests.cs
7,728
C#
using System; using System.Windows; using System.Windows.Controls; /** * ┌───────────────────────────────────────────────────────────────────────┐ * │Project : UrusUI * │ * │Comment : * │ * │Version : V1.0.0.0 * │Author : lanbery * │CreatTime : 2019/3/7 17:20:35 * ├───────────────────────────...
22.636364
122
0.424364
[ "MIT" ]
DappNBS/WPFEstoque
Urus.UI/Urus.UI/FMenuItem.cs
1,204
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. /*============================================================================= ** ** ** ** ** ** Purpose: Get the ...
27.586207
79
0.50625
[ "MIT" ]
guhuro/coreclr
src/mscorlib/src/System/Reflection/IntrospectionExtensions.cs
800
C#
using Android.App; using Android.Content.PM; using MvvmCross.Droid.Views; namespace ProgrammingSupport.Droid { [Activity( Label = "ProgrammingSupport.Droid" , MainLauncher = true , Icon = "@mipmap/icon" , Theme = "@style/Theme.Splash" , NoHistory = true , ScreenOrientation...
23.681818
55
0.629559
[ "MIT" ]
Xciles/programming.support
Appje/ProgrammingSupport/ProgrammingSupport.Droid/SplashScreen.cs
521
C#
using Amazon.Lambda.AspNetCoreServer; using Microsoft.AspNetCore.Hosting; using System.IO; namespace Estranged.Lfs.Hosting.Lambda { public class LambdaEntryPoint : APIGatewayProxyFunction { protected override void Init(IWebHostBuilder builder) { builder.UseContentRoot(Dire...
26.352941
68
0.645089
[ "MIT" ]
MineoGames/Estranged.Lfs
hosting/Estranged.Lfs.Hosting.Lambda/LambdaEntryPoint.cs
448
C#
using Lucene.Net.Analysis.Util; using System; using System.IO; using System.Text; namespace Lucene.Net.Analysis.Ja { /* * 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...
32.455882
106
0.597191
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.Tests.Analysis.Kuromoji/StringMockResourceLoader.cs
2,209
C#
using UnityEngine; using System.Collections; namespace TMPro.Examples { public class CameraController : MonoBehaviour { public enum CameraModes { Follow, Isometric, Free } private Transform cameraTransform; private Transform dummyTarget; public Transform CameraTarget; ...
36.414384
205
0.508887
[ "MIT" ]
rdutta1999/Stroop-and-Stop
Assets/TextMesh Pro/Examples & Extras/Scripts/CameraController.cs
10,633
C#
// Fix for the RoR2 Class SearchableAttribute scanning modding core assemblies creating in-game stuttering. // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global // ReSharper disable NotAccessedField.Local #pragma warning disable IDE0052 // Remove unread private members #pragma warning dis...
41.484211
162
0.548592
[ "MIT" ]
Reinms/R2API
R2API.MonoMod/SearchableAttributeScanFix.cs
7,884
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
35.625
113
0.578279
[ "Apache-2.0" ]
thecarnie/YAFNET
yafsrc/YAF.Configuration/BoardInfo.cs
5,821
C#
using CodingCompetition.Application.Interfaces; using CodingCompetition.Application.Models.Competition; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace CodingCompetition.Web.Controllers { public class CompetitionController : BaseApiController { private readonly ICompetitionService _competi...
26.166667
70
0.805096
[ "MIT" ]
andreyturkov/coding-competition
CodingCompetition/CodingCompetition.Web/Controllers/CompetitionController.cs
787
C#
using System; using System.Collections.Generic; using System.Text; public class ISceneState { private string mSceneName; protected SceneStateController mController; public ISceneState(string sceneName,SceneStateController controller) { mSceneName = sceneName; mController = controller...
21.038462
72
0.687386
[ "MIT" ]
WithoutUmbrella-Boy/Design-patterns-in-game-development
源码工程、素材、UML图和笔记/源码工程、素材、UML图和笔记/源码工程和素材/RedAlertProject/RedAlertProject/Assets/Scripts/SceneState/ISceneState.cs
577
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Pirate.Ldap.Data { public enum RequestParameter { Invalid = 0, DeletePersonalData = 1, DeleteUserAccount = 2 } }
15.266667
33
0.716157
[ "MIT" ]
ppschweiz/MemberDatabase
Organigram/Pirate.Ldap/Data/RequestParameter.cs
231
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using Microsoft.Extension...
37.675676
103
0.515065
[ "MIT" ]
dbalabka/Oryx
src/Detector/PlatformDetectorServiceCollection.cs
1,360
C#
/* * Copyright (c) 2021 AoiKamishiro * * This code is provided under the MIT license. * */ namespace Kamishiro.UnityEditor.CopyDynamicBones { internal static class Translate { private const string ContinueEN = "Continue"; private const string ContinueJP = "続行"; private const strin...
34.333333
141
0.697087
[ "MIT" ]
AoiKamishiro/UnityCustomEditor_CopyDynamicBones
Assets/00Kamishiro/CopyDynamicBones/Editor/DataStructure.cs
1,038
C#
using FluentValidation; using SFA.DAS.ProviderCommitments.Web.Models.Apprentice; namespace SFA.DAS.ProviderCommitments.Web.Validators.Apprentice { public class DeleteConfirmationViewModelValidator : AbstractValidator<DeleteConfirmationViewModel> { public DeleteConfirmationViewModelValidator() ...
37.705882
121
0.705148
[ "MIT" ]
SkillsFundingAgency/das-providercommitments
src/SFA.DAS.ProviderCommitments/SFA.DAS.ProviderCommitments.Web/Validators/Apprentice/DeleteConfirmationViewModelValidator.cs
643
C#
using Discord.Net.Converters; using Newtonsoft.Json; using System.Linq; using System; namespace Discord.Rest { /// <summary> /// Responsible for formatting certain entities as Json <see langword="string"/>, to reuse later on. /// </summary> public static class StringExtensions { private...
46.770833
119
0.622717
[ "MIT" ]
Misha-133/Discord.Net
src/Discord.Net.Rest/Extensions/StringExtensions.cs
2,245
C#
using Newtonsoft.Json.Linq; using NUnit.Framework; using System; namespace Aqua.Tests { [TestFixture] public sealed class JobFactoryTest { private JobFactory factory; [Test] public void RegisterJobTypeInputValidation() { Assert.Throws(Is.TypeOf<ArgumentNullExce...
45.456647
127
0.599949
[ "Apache-2.0" ]
rokeller/aqua
src/AzureQueueAgentLib.Tests/JobFactoryTest.cs
7,866
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using UnityEngine; namespace LordAshes { public static class ReflectionObjectManipulator { public static bool showDiagnosti...
53.151079
236
0.395506
[ "MIT" ]
LordAshes/TaleSpire-CustomMiniPlugin
TaleSpireContentPlugin/ReflectionObjectManipulator.cs
14,778
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Npgsql; namespace Discount.Grpc.Extensions { public static class HostExtension { public static IHost MigrateDatabase<TContext>(this IH...
39.955224
144
0.513635
[ "MIT" ]
nagendra571/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Extensions/HostExtension.cs
2,679
C#
using System.Windows; namespace Prism.Services.Dialogs.DefaultDialogs { /// <summary> /// Interaction logic for DialogWindow.xaml /// </summary> public partial class DialogWindow : Window, IDialogWindow { public IDialogResult Result { get; set; } public DialogWindow() { ...
20.611111
61
0.61186
[ "MIT" ]
Pavel-Sulimau/Prism
Source/Wpf/Prism.Wpf/Services/Dialogs/DefaultDialogs/DialogWindow.xaml.cs
373
C#
using System; using System.Collections.Generic; namespace Elders.Cronus.MessageProcessing { public interface ISubscriberFinder<T> { IEnumerable<Type> Find(); } }
16.727273
41
0.706522
[ "Apache-2.0" ]
Elders/Cronus
src/Elders.Cronus/MessageProcessing/ISubscriberFinder.cs
186
C#
using UnityEngine; public class CameraFollow : MonoBehaviour { [SerializeField] private GameObject _follow; private Vector3 _offset; private void Start() { _offset = transform.position - _follow.transform.position; } private void Update() { transform.position = _offs...
18.947368
66
0.666667
[ "MIT" ]
Xwilarg/ZeroHourGameJam
Assets/Scripts/CameraFollow.cs
362
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 ...
26.651163
66
0.720768
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-sas/Sas/Model/V20181203/OperateSuspiciousTargetConfigResponse.cs
1,146
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.014354
162
0.610501
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/CompanySalesInvoicesCollectionRequest.cs
9,199
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 ...
51.571875
851
0.623281
[ "Apache-2.0" ]
AENotFound/Lean
Common/Data/Market/DataDictionary.cs
16,503
C#
using Core.Models.Enums; using System.ComponentModel.DataAnnotations; namespace Core.Dtos.UserDtos { public class UserUpdateDto { [Display(Name = "شناسه", Prompt = "شناسه")] public string Id { get; set; } [Required(ErrorMessage = "{0} را وارد کنید")] [Display(Name = "نام کاربر...
30.37931
65
0.580023
[ "MIT" ]
Smahdie/Blog
src/Core/Dtos/UserDtos/UserUpdateDto.cs
985
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.IO; using System.Linq; using System.Net; using System....
41.321767
229
0.578517
[ "MIT" ]
dotnet/xharness
src/Microsoft.DotNet.XHarness.CLI/Commands/Apple/Simulators/SimulatorsCommand.cs
13,101
C#
namespace Mojito.Server { using MvcTurbine.ComponentModel; using MvcTurbine.Ninject; using MvcTurbine.Web; using MvcTurbine.Web.Config; public class MojitoApp : TurbineApplication { static MojitoApp() { ServiceLocatorManager.SetLocatorProvider(() => new NinjectServiceLocator())...
26.3125
88
0.653207
[ "Apache-2.0" ]
lozanotek/mojito
src/Mojito.Server/MojitoApp.cs
423
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using Microsoft.AspNetCore.Razor.LanguageServer.Common; using OmniSharp.Extensions.JsonRpc; namespace Microsoft.AspNetCore.Razor.LanguageServer.WrapWithTag { [Par...
36.285714
108
0.805118
[ "MIT" ]
50Wliu/razor-tooling
src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/WrapWithTag/IWrapWithTagHandler.cs
510
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.Collections.Generic; using System.ComponentModel; using System.ServiceModel.Security; using System.Web.Http; using System.Web.Http.SelfHos...
34.414634
111
0.652729
[ "Apache-2.0" ]
belav/AspNetWebStack
src/System.Web.Http.SelfHost/HttpRequestMessageExtensions.cs
1,413
C#
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-editio...
31.952381
116
0.569051
[ "CC0-1.0" ]
ciusji/gridgain
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/Serializable/BasicSerializableObjectsTest.cs
4,028
C#