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
namespace Dragon.Samples.WepApi.DomainModels { /// <summary> /// MyTestResponse数据实体 /// </summary> public class MyTestResponse { /// <summary> /// Id主键 /// </summary> public int Id { get; set; } /// <summary> /// 名称 /// </summary> publ...
19.583333
45
0.465957
[ "MIT" ]
T-Manson/Dragon
Samples/Dragon.Samples.WepApi/DomainModels/MyTestResponse.cs
494
C#
using System; namespace StoryTeller.UserInterface.Eventing { public class FilteredListener<T> : IListener<T> { private readonly Action<T> _action; private readonly Func<T, bool> _filter; public FilteredListener(Func<T, bool> filter, Action<T> action) { _f...
22.6
72
0.552212
[ "Apache-2.0" ]
DarthFubuMVC/storyteller
src/StoryTeller.UserInterface/Eventing/FilteredListener.cs
565
C#
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Sebastian Stehle // All rights reserved. Licensed under the MIT license. // ======================================================...
32.243902
120
0.431921
[ "MIT" ]
golfstrom/notifo
backend/src/Notifo.Infrastructure/MongoDb/MongoDbStore.cs
2,646
C#
/* Copyright (c) 2010 Robert Adams * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disc...
53.466667
88
0.758728
[ "BSD-3-Clause" ]
Misterblue/LookingGlass-Viewer
src/LookingGlass.Renderer.OGL/IViewOGL.cs
1,606
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modi...
42.716667
211
0.642346
[ "MIT" ]
shoelzer/SharpDX
Source/Toolkit/SharpDX.Toolkit.Graphics/PresentationParameters.cs
7,691
C#
using System; namespace RangeSafety { internal static class Utils { //keeps angles in the range 0 to 360 internal static double ClampDegrees360(double angle) { angle = angle % 360.0; if (angle < 0) return angle + 360.0; else return angle; } ...
24.176471
60
0.536496
[ "MIT" ]
dgeastman/RangeSafety
Source/Utils.cs
824
C#
namespace SimulOP { public interface IFluidoOPI { IMaterialFluidoOPI Material { get; } } }
14
44
0.625
[ "MIT" ]
rafaelterras/SimulOp
SimulOP/SimulOP/Interfaces/IFluidoOPI.cs
114
C#
namespace IdentityUtils.Demos.Api.Models { public class LoginModel { public string Username { get; set; } public string Password { get; set; } } }
21.875
44
0.622857
[ "MIT" ]
intellegens-hr/utils-identity
dotnetcore/IdentityUtils.Demos.Api/Models/LoginModel.cs
177
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.651786
172
0.598557
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/OpsWorks/Generated/Model/DescribeInstancesRequest.cs
3,881
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...
28.911392
81
0.563923
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/ImageAspectFlags.gen.cs
2,284
C#
namespace BMSF.WPF.Utilities.Converters { using System; using System.Globalization; using System.Windows.Data; public class IsZeroOrNullConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value ...
31.806452
103
0.549696
[ "MIT" ]
nickguletskii/BMSF
BMSF.WPF.Utilities/Converters/IsZeroOrNullConverter.cs
988
C#
namespace Raiding { public class Druid : BaseHero { private const int BASE_POWER = 80; public Druid(string name) : base(name, BASE_POWER) { } public override string CastAbility() { return $"{nameof(Druid)} - {this.Name} healed for {this...
19.333333
76
0.517241
[ "MIT" ]
dinikolaeva/OOP-CSharp
OOP-CSharp/08.Polymorphism-Exe/03.Raiding/Druid.cs
350
C#
using System.Collections.Generic; using System.Threading.Tasks; using HangfireSample.Business.Models; using HangfireSample.Business.Services.Interfaces; using Microsoft.AspNetCore.Mvc; namespace HangfireSample.Api.Controllers { [Route("api/comments")] public class CommentController : Controller { ...
28.725
101
0.607485
[ "MIT" ]
XeNz/HangfireSample
HangfireSample/Api/Controllers/CommentController.cs
1,151
C#
using IdentityServer4.Admin.Domain.Core.Commands; using System; using System.Collections.Generic; using System.Text; namespace IdentityServer4.Admin.Domain.Commands.Client.Secret { public abstract class ClientSecretCommand : Command { public int Id { get; protected set; } public string ClientI...
33.263158
61
0.683544
[ "MIT" ]
dotnetcore-group/IdentityServer4.Admin
src/IdentityServer4.Admin.Domain/Commands/Client/Secret/ClientSecretCommand.cs
634
C#
using System; namespace SharpCifs.Smb { // Token: 0x020000A2 RID: 162 internal class SmbComTreeDisconnect : ServerMessageBlock { // Token: 0x060004B5 RID: 1205 RVA: 0x00016F7D File Offset: 0x0001517D public SmbComTreeDisconnect() { this.Command = 113; } // Token: 0x060004B6 RID: 1206 RVA...
26.4
85
0.693603
[ "BSD-2-Clause", "BSD-3-Clause" ]
0x727/metasploit-framework
external/source/Scanner/smb/SharpCifs.shack2.SmbClient/Smb/SmbComTreeDisconnect.cs
1,190
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.239 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
45.35989
197
0.606823
[ "MIT" ]
andriybuday/hakaton-wp7-mobile
SS-Mobile-One/WCEmergency/WCEmergency/Service References/Bing.Geocode/Reference.cs
66,046
C#
// Copyright (c) 2017 Trevor Redfern // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Tests.Shops { using Xunit; using SilverNeedle.Equipment; using SilverNeedle.Shops; public class ArmorShopTests : RequiresDataFiles { [Fact] ...
26.0625
65
0.594724
[ "MIT" ]
shortlegstudio/silverneedle-web
silverneedle-tests/Shops/ArmorShopTests.cs
834
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RobinKarp { public class KMP { private static void GetNextVal(string str, int[] next) { int i = 0; int j = -1; next[0] = -1; ...
23.5
66
0.336626
[ "MIT" ]
lizhen325/MIT-Data-Structures-And-Algorithms
MIT/RobinKarp/RobinKarp/KMP.cs
1,318
C#
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; namespace DotNetCore.CAP.Internal { /// <summary> /// A context for consumers, it used to be provider wrapper of method description and rece...
37.647059
107
0.645313
[ "MIT" ]
CoolMoonGG/CAP
src/DotNetCore.CAP/Internal/ConsumerContext.cs
1,282
C#
using System; namespace Valle.GtkUtilidades { public enum FormatosNumericos { F_entero, F_Decimal, F_IP }; public enum AccionesNumerico { AC_Anular, AC_Aceptar, AC_BtnPulsado }; public delegate void OnSalirNumerico(AccionesNumerico accion, String numero); public partial class TecladoNumerico : FormularioBase...
28.925926
88
0.532971
[ "Apache-2.0" ]
vallemrv/valletpv
Valle.Library/Valle.GtkUtilidades/Valle.GtkUtilidades/Formularios/TecladoNumerico.cs
3,124
C#
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using System.Xml; using System.Xml.Schema; /// <summary> /// Utility functions for reading/writing BXDJ files /// </summary> public partial class BXDJSkeleton { #region XSD Markup /// <summary> /// The XSD markup...
42.00444
141
0.521984
[ "Apache-2.0" ]
HiceS/synthesis
exporters/Aardvark-Libraries/SimulatorFileIO/IO/BXDJ/BXDJReader_3_0.cs
37,848
C#
using Microsoft.Extensions.DependencyInjection; using Volo.Abp.AuditLogging.EntityFrameworkCore; using Volo.Abp.BackgroundJobs.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore.SqlServer; using Volo.Abp.FeatureManagement.EntityFrameworkCore; using Volo.Abp.Identity.EntityFrame...
41.291667
87
0.733098
[ "Apache-2.0" ]
edenprairie/PDFGenius
aspnet-core/src/PDFGenius.EntityFrameworkCore/EntityFrameworkCore/PDFGeniusEntityFrameworkCoreModule.cs
1,984
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basketee.API.DTOs.Orders { public class OutForDeliveryResponse : ResponseDto { public OutForDeliveryDto order_details { get; set; } } }
19.533333
60
0.720137
[ "MIT" ]
eworkart/Basketee
Basketee.API.ServicesLib/DTOs/Orders/OutForDeliveryResponse.cs
295
C#
using Newtonsoft.Json; namespace ExchangeSharp { public sealed partial class ExchangeNDAXAPI { class SendOrderResponse { [JsonProperty("errormsg")] public string ErrorMsg { get; set; } [JsonProperty("status")] public string Status { get; set; } [JsonProperty("OrderId")] public int OrderId { get...
18.777778
44
0.683432
[ "MIT" ]
AllTerrainDeveloper/ExchangeSharp
src/ExchangeSharp/API/Exchanges/NDAX/Models/SendOrderResponse.cs
338
C#
using DSharp4Webhook.Core.Embed.Subtypes; namespace DSharp4Webhook.Core.Embed { /// <summary> /// Author of embed. /// </summary> public interface IEmbedAuthor : IIconable, IUrlable { /// <summary> /// Name of author. /// </summary> public string? Name { get;...
20.6875
55
0.555891
[ "MIT" ]
iRebbok/DSharp4Webhook
src/DSharp4Webhook/Core/Interfaces/Discord/Embed/IEmbedAuthor.cs
331
C#
// <auto-generated /> namespace JoinRpg.Dal.Impl.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial cl...
27.666667
97
0.624096
[ "MIT" ]
FulcrumVlsM/joinrpg-net
JoinRpg.Dal.Impl/Migrations/201606092055571_ProjectPlugins.Designer.cs
830
C#
using System; using Microsoft.Extensions.CommandLineUtils; namespace Company.ConsoleApplication1.Hello { /// Example of a root command. Typically just prints the list of the nested commands internal class RootCommand : IRootCommand { private readonly IHelloCommand[] _commands; pu...
29.828571
89
0.57567
[ "MIT" ]
lazyWombat/console-command-template
src/Content/Hello/RootCommand.cs
1,044
C#
/** * Copyright 2018 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
31.684211
97
0.686047
[ "Apache-2.0" ]
johnpisg/dotnet-standard-sdk
src/IBM.WatsonDeveloperCloud.NaturalLanguageUnderstanding.v1/Model/ConceptsOptions.cs
1,204
C#
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Tests.Loggers; using Xunit; using Xunit.Abstractions; namespace BenchmarkDotNet.IntegrationTests { public class PriorityTests : BenchmarkTestExecutor { public PriorityTests(ITestOutputHelper ou...
35.682927
75
0.574504
[ "MIT" ]
AndyAyersMS/BenchmarkDotNet
tests/BenchmarkDotNet.IntegrationTests/PriorityTests.cs
2,928
C#
namespace Fortnox.SDK.Search { public class TermsOfPaymentSearch : BaseSearch { [SearchParameter("sortby")] public Sort.By.TermsOfPayment? SortBy { get; set; } [SearchParameter("filter")] public Filter.TermsOfPayment? FilterBy { get; set; } } }
19.142857
54
0.69403
[ "Unlicense", "MIT" ]
LukasLonnroth/csharp-api-sdk
FortnoxSDK/Search/TermsOfPaymentSearch.cs
268
C#
using System.Collections.Generic; namespace EplanDevice { /// <summary> /// Технологическое устройство - дискретный выход. /// </summary> sealed public class DO : IODevice { public DO(string name, string eplanName, string description, int deviceNumber, string objectName, int ob...
27.148148
79
0.420646
[ "MIT" ]
KirillGutyrchik/EasyEPLANner
src/Device/IODevices/DO.cs
2,264
C#
using AndreasReitberger.Enum; using Newtonsoft.Json; using System; namespace AndreasReitberger.Models { public partial class KlipperStatusHeaterBed { #region Properties [JsonProperty("temperature")] public double? Temperature { get; set; } [JsonProperty("target")] publ...
25.703704
151
0.54755
[ "Apache-2.0" ]
AndreasReitberger/KlipperRestApiSharp
source/KlipperSharpWebApi/KlipperSharpWebApi/Models/PrinterStatus/KlipperStatusHeaterBed.cs
1,390
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Capstone.Models { public class Park { public int ParkId { get; set; } public string ParkName { get; set; } public string Location { get; set; } ...
26.05
52
0.614203
[ "MIT" ]
NateOsterfeld/National-Parks-Reservation-CLI
Capstone/Models/Park.cs
523
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...
32.181435
112
0.649272
[ "MIT" ]
evkapsal/Fibaro-Cortana-Voice-Commands
Fibaro Cortana Voice Commands/MainPage.xaml.cs
7,629
C#
using ECUniqueChar; using System; using Xunit; namespace ECUniqueChar_unittesting { public class UnitTest1 { //test happy case unique [Fact] public void TestHappyPass() { string testString1 = "abc"; bool testAnswer1 = Program.UniqueChara(testString1); ...
22.38
64
0.547811
[ "MIT" ]
JulieLy8619/Data-Structures-and-Algorithms
Challenges/ECUniqueChar/ECUniqueChar-unittesting/UnitTest1.cs
1,119
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
44.443299
178
0.65994
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/KinesisVideoMedia/Generated/Model/ConnectionLimitExceededException.cs
4,311
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(IzdavanjeFaktura.Startup))] namespace IzdavanjeFaktura { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
18.8
66
0.663121
[ "MIT" ]
jkvakaric/IzdavanjeFaktura
IzdavanjeFaktura/Startup.cs
284
C#
using Google.Apis.Sheets.v4.Data; using System.Collections.Generic; using System.Threading.Tasks; namespace BusinessLogic { public interface ISheetsHandler { Task<bool> AppendAsync(ValueRange values, string range); Task<bool> CopyTemplateAsync(string sheetName); Task<bool> DeleteAsync(...
37.222222
101
0.714925
[ "MIT" ]
Malia-Labor/TestBot
BusinessLogic/ISheetsHandler.cs
672
C#
using Justin.AspNetCore.ModAuthPubTkt; using Microsoft.AspNetCore.Builder; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Builder { public static class BuilderExtensions { public static...
29.263158
136
0.776978
[ "MIT" ]
jusbuc2k/dotnet_mod_auth_pubtkt
src/Justin.AspNetCore.ModAuthPubTkt/BuilderExtensions.cs
558
C#
using Gedcom4Sharp.Models.Gedcom.Base; using Gedcom4Sharp.Models.Gedcom.Enums; namespace Gedcom4Sharp.Models.Gedcom { public class IndividualEvent : AbstractEvent { public FamilyChild Family { get; set; } public IndividualEventType Type { get; set; } } }
25.818182
53
0.714789
[ "MIT" ]
ThomasPe/Gedcom4Sharp
Gedcom4Sharp/Models/Gedcom/IndividualEvent.cs
286
C#
#region Licence /* The MIT License (MIT) Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limit...
40.523077
164
0.624525
[ "MIT" ]
DevJonny/Brighter
src/Paramore.Brighter.MessagingGateway.RESTMS/Pipe.cs
5,279
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using Moq; using NUnit.Framework; namespace Litle.Sdk.Test.Unit { [TestFixture] internal class TestLitleOnline { private LitleOnline litle; private IDictionary<string, StringBuilder> _m...
45.207317
261
0.575803
[ "MIT" ]
Coverdell/litle-sdk-for-dotNet
LitleSdkForNet/LitleSdkForNetTest/Unit/TestLitleOnline.cs
29,658
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.ComponentModel; // Win32Exception using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.IO.Pipes; using System.Management.Automa...
37.961834
339
0.565989
[ "MIT" ]
10088/PowerShell
src/System.Management.Automation/engine/remoting/common/RunspaceConnectionInfo.cs
138,257
C#
// Copyright (c) 2019-2020 Faber Leonardo. All Rights Reserved. Faber.reach@gmail.com /*=================================================================================== CameraTranslations.cs ====================================================================================*/ namespace Vultaik.Physics { pub...
21.7
86
0.382488
[ "MIT" ]
FaberSan/Zeckoxe
Src/Vultaik.Toolkit/Physics/CameraTranslations.cs
436
C#
/* Copyright 2010-present MongoDB 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 applicable law or agreed to in wr...
39.482143
133
0.585482
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Shared/CanonicalEquatableClass.cs
4,424
C#
using System; namespace Orkester { public class Log : ILog { public Log() { } public bool IsEnabled { get; set; } public void RaiseExecutionEnded(IExecution e) { if (this.IsEnabled) { ExecutionEnded?.Invoke(this, e); } } public void RaiseExecutionFailed(IExecution e) { if ...
15.465517
59
0.67893
[ "MIT" ]
aloisdeniel/Orkester
Sources/Orkester/Log.cs
899
C#
using System.Text; using Bing.Printer.Factories; namespace Bing.Printer.EscPos { /// <summary> /// Esc/Pos 打印机 /// </summary> public class EscPosPrinter : PrinterBase<IEscPosPrinter>, IEscPosPrinter { /// <summary> /// 创建打印命令 /// </summary> protected override IPrint...
25.888889
105
0.641631
[ "MIT" ]
bing-framework/Bing.Printer
src/Bing.Printer.EscPos/EscPosPrinter.cs
486
C#
using System; using System.Collections.Generic; using System.Text; namespace ScrambleSquaresPuzzleSolver { public class Graphic { public string Name { get; set; } public bool IsFront { get; set; } } }
17.769231
41
0.666667
[ "Apache-2.0" ]
jessefugitt/scramble-squares-puzzle-solver
Graphic.cs
233
C#
using ElsasCharms.BL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ElsasCharms.WebAdmin.Controllers { [Authorize] public class ProductosController : Controller { ProductosBL _productosBL; CategoriasBL _categoriasBL; ...
28.143885
104
0.551892
[ "MIT" ]
DanielaVH/Elsas_Charms
Elsas_Charms/ElsasCharms.WebAdmin/Controllers/ProductosController.cs
3,916
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
39.426829
134
0.566811
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/Snowball/Generated/Model/Internal/MarshallTransformations/AddressUnmarshaller.cs
6,466
C#
using System; using System.Reflection; namespace lab_53_API_Northwind_Demo.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
22.5
68
0.762963
[ "MIT" ]
jordanbenbelaid/2020-01-C-Sharp-Labs
Labs/lab_53_API_Northwind_Demo/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
270
C#
using Mono.Cecil; using Mono.Cecil.Cil; using Mono.Cecil.Rocks; namespace AutoLazy.Fody { internal static class TypeExtensions { const MethodAttributes _staticConstructorAttributes = MethodAttributes.Private | MethodAttributes.HideBySig | MethodAttributes.SpecialNam...
32.107143
124
0.641824
[ "Apache-2.0" ]
dougbenham/AutoLazy
src/AutoLazy.Fody/TypeExtensions.cs
901
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Messerli.Utility.Extension; using Xunit; namespace Messerli.Utility.Test.Extension { public sealed class TypeExtensionTest { [Theory] [InlineData(typeof(IQueryable))] [InlineData(typeof(I...
27.742857
53
0.637487
[ "Apache-2.0", "MIT" ]
messerli-informatik-ag/utility
Utility.Test/Extension/TypeExtensionTest.cs
973
C#
using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace PSModule { /* * runType=<Alm/FileSystem/LoadRunner> almServerUrl=http://<server>:<port>/qcbin almUserName=<user> almPassword=<password> almDoma...
29.714286
109
0.551082
[ "Apache-2.0" ]
abdousmi/ADM-TFS-Extension
PSModule/LauncherParamsBuilder.cs
8,322
C#
using GiGraph.Dot.Entities.Attributes.Properties.Common.Font; using GiGraph.Dot.Entities.Attributes.Properties.Common.Hyperlink; using GiGraph.Dot.Entities.Attributes.Properties.Common.SvgStyleSheet; using GiGraph.Dot.Entities.Edges.Attributes; using GiGraph.Dot.Entities.Edges.Endpoints.Attributes; using GiGraph.Dot.E...
38.136095
106
0.653064
[ "MIT" ]
mariusz-schimke/GiGraph
src/GiGraph.Dot.Entities/Edges/Collections/DotEdgeCollection.Attributes.cs
6,447
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using JetBrains.Annotations; using TypeScript.Net.Types; namespace TypeScript.Net.Parsing { /// <summary> /// Helper class for visiting nodes. /// </summary> /// <rem...
44.319328
183
0.474095
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net/Parsing/NodeWalker.cs
42,192
C#
using CharlieBackend.Core.DTO.Dashboard; using Swashbuckle.AspNetCore.Filters; using System; using System.Collections.Generic; namespace CharlieBackend.Api.SwaggerExamples.DashboardController { /// <summary> /// Class for example data on SwaggerUI, that is complete copy of parental class /// with response...
36.074468
84
0.396638
[ "MIT" ]
Maks0123/WhatBackend
CharlieBackend.Api/SwaggerExamples/DashboardController/StudentClassbookResponse.cs
3,393
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.Data; using System.Data.Common; using System.Data.SqlTypes; using System.Diagnostics; using Microsof...
36.875318
136
0.520908
[ "MIT" ]
KevinRansom/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Contracts/DbColumnWrapper.cs
14,494
C#
namespace Application.Common; public interface ISessionService { ValueTask ClearAsync(CancellationToken? cancellationToken = null); ValueTask<T> GetItemAsync<T>(string key, CancellationToken? cancellationToken = null); ValueTask<string> GetItemAsStringAsync( string key, CancellationToken?...
32.5
95
0.752885
[ "MIT" ]
cmedianu/OraEmp
Application/Common/ISessionService.cs
1,040
C#
namespace SineAndSoul { partial class SettingsWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
46.804469
171
0.593578
[ "MIT" ]
nissafors/SineAndSoul
SettingsWindow.Designer.cs
16,758
C#
/* * Copyright (C) 2017 - 2020. Autumn Beauchesne. All rights reserved. * Author: Autumn Beauchesne * Date: 28 Nov 2018 * * File: FourCC.Unity.cs * Purpose: Unity-specific. */ #if UNITY_EDITOR #define ALLOW_REGISTRY #endif // UNITY_EDITOR using System; using System.Diagnostics; using System.Reflection;...
33.483871
145
0.49894
[ "MIT" ]
BeauPrime/BeauData
Assets/BeauData/Structs/FourCC/FourCC.Unity.cs
10,380
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...
32.275
109
0.607668
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/DominantLanguage.cs
2,582
C#
using System.Collections.Generic; using System.Threading.Tasks; using GoNorth.Data.Exporting; using GoNorth.Services.Export.ExportSnippets; using GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.RenderingObjects; using GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.Util; using Microsoft.Exte...
43.17284
199
0.668001
[ "MIT" ]
Dyescape/GoNorth
Services/Export/Placeholder/ScribanRenderingEngine/ValueCollector/ExportSnippetFunctionValueCollector.cs
3,497
C#
using Omnikeeper.Entity.AttributeValues; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Omnikeeper.Base.Entity { public class EffectiveTrait { public readonly Guid CIID; public readonly ITrait UnderlyingTrait; public rea...
46.355932
155
0.715174
[ "Apache-2.0" ]
max-bytes/omnikeeper
backend/Omnikeeper.Base/Entity/EffectiveTrait.cs
2,737
C#
using System; using System.Collections.Generic; using System.Linq; namespace _8.CustomComparatorE { class Program { static void Main(string[] args) { int[] numbersToSort = Console.ReadLine() .Split(" ", StringSplitOptions.RemoveEmptyEntries) .Select(...
30.7
124
0.559175
[ "MIT" ]
deedeedextor/Software-University
C#Advanced/C#Advanced/FunctionalProgrammingLE/8.CustomComparatorE/Program.cs
923
C#
namespace PnP_Processor { partial class BOMList { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
45.061404
108
0.60366
[ "MIT" ]
FabianoGK/GerberTools
PnP_Processor/BOMList.Designer.cs
5,139
C#
// Copyright (c) 2015 - 2019 Doozy Entertainment. All Rights Reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms using Doozy.Engine.Settings; using Doozy.Engine.Utils; using U...
46.168203
217
0.636622
[ "MIT" ]
danielfroes/Binocolar
Assets/Doozy/Engine/Soundy/SoundyManager.cs
20,039
C#
namespace Whyvra.Tunnel.Common.Models { public class CreateUpdateServerDto { public string Name { get; set; } public string Description { get; set; } public string AssignedRange { get; set; } public string Dns { get; set; } public string Endpoint { get; set; } ...
21.684211
49
0.597087
[ "MIT" ]
whyvra/tunnel
Whyvra.Tunnel.Common/Models/CreateUpdateServerDto.cs
412
C#
using System.Collections.Generic; using Microsoft.Xna.Framework.Input; namespace Nez { /// <summary> /// A virtual input represented as a float between -1 and 1 /// </summary> public class VirtualAxis : VirtualInput { public List<Node> Nodes = new List<Node>(); float _simulatedValue; int _simulationSte...
17.807829
120
0.634892
[ "Apache-2.0", "MIT" ]
fuzzypixelz/Nez
Nez.Portable/Input/Virtual/VirtualAxis.cs
5,006
C#
using UnityEngine; namespace AnilTools { public static class Vibration { #if UNITY_ANDROID && !UNITY_EDITOR public static readonly AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); public static readonly AndroidJavaObject currentActivity = unityPlayer.GetSt...
28.105263
129
0.586142
[ "Unlicense" ]
benanil/AnilTools-Utility
Utils/heleper/Android and ios/Vibration.cs
1,604
C#
using UnityEngine; namespace Common { public class AndroidBackBtnManager : Singleton<AndroidBackBtnManager> { private void Awake() { DontDestroyOnLoad(gameObject); } private void FixedUpdate () { if (Application.platform != RuntimePlatform.Android) return; if (!Input.GetKey(KeyCode.Escape)...
21.464286
121
0.717138
[ "BSD-2-Clause" ]
kugorang/Unity_2dRunTemplate
Assets/Scripts/Common/AndroidBackBtnManager.cs
603
C#
using System.Threading.Tasks; using book_management_models; using book_management_persistence.Contexts; using book_management_persistence.Repositories; namespace book_management_persistence.Implements { public class OrderItemRepositoryImpl : BaseRepositoryImpl<OrderItem>, IOrderItemRepository { public...
26.772727
94
0.719864
[ "MIT" ]
trungtruongpham/DE_assignment
book-management-be/book-management-persistence/Implements/OrderItemRepositoryImpl.cs
591
C#
namespace BFF.Model.ImportExport { public interface ILoadConfiguration : IConfiguration { } }
17.666667
56
0.716981
[ "MIT" ]
Yeah69/BFF
Model/ImportExport/ILoadConfiguration.cs
108
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
39.835714
185
0.598888
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/RAM/Generated/Model/Internal/MarshallTransformations/ResourceShareAssociationUnmarshaller.cs
5,577
C#
#region Copyright notice and license // Copyright 2015 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 req...
29.857143
109
0.574163
[ "Apache-2.0" ]
0lento/grpc
src/csharp/Grpc.Core/AuthProperty.cs
3,344
C#
using System; using System.Globalization; using Avalonia; using Avalonia.Data.Converters; using NodeEditor.Model; namespace NodeEditor.Converters; public class PinToPointConverter : IValueConverter { public static PinToPointConverter Instance = new(); public object Convert(object? value, Type targetType, obj...
22.594595
101
0.594498
[ "MIT" ]
janbiehl/NodeEditor
src/NodeEditorAvalonia/Converters/PinToPointConverter.cs
836
C#
using System; using System.Collections.Generic; // this code from unity technologies tree view sample // http://files.unity3d.com/mads/TreeViewExamples.zip namespace UnityExtensions.Memo { // TreeElementUtility and TreeElement are useful helper classes for backend tree data structures. // See tests at...
43.013245
230
0.496998
[ "MIT" ]
654306663/UnityExtensions
Extensions/Memo/Editor/Scripts/TreeView/MemoTreeElementUtility.cs
6,495
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using StardewValley; namespace FarmHouseRedone.Pathing { public class Node { public Vector2 position; public bool traversible; public Node...
18.634615
55
0.488132
[ "MIT" ]
mjSurber/FarmHouse
FarmHouseRedone/Pathing/Node.cs
971
C#
using ThornParser.Controllers; using ThornParser.Parser; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; namespace ThornParser.Models.ParseModels { public class EnemyCastStartMechanic : Mechanic { public EnemyCastStartMechanic(long skillId, string inGameName...
45.671053
349
0.562662
[ "MIT" ]
Lego6245/GW2-Elite-Insights-Parser
ThornParser/Models/ParseModels/Mechanics/EnemyCastStartMechanic.cs
3,473
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("QiNiuTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProd...
25.378378
56
0.71246
[ "Apache-2.0" ]
lyfing22/StoreMini
QiNiuTest/Properties/AssemblyInfo.cs
1,290
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...
28.794872
114
0.586821
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ResourceGroups/Generated/Model/GroupIdentifier.cs
2,246
C#
using Microsoft.Extensions.Logging; using Serilog.Configuration; using Serilog.Formatting; using Serilog.Formatting.Compact; using Serilog.Formatting.Display; using Serilog.Microsoft.Logging.Core; using System; using System.Collections.Generic; namespace Serilog.Microsoft.Logging.File { internal static class Util...
39.538462
121
0.610506
[ "Apache-2.0" ]
igloo15/Serilog.Microsoft.Logger
src/Serilog.Microsoft.Logger.File/Utility.cs
2,572
C#
using Gybs.Extensions; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text.RegularExpressions; namespace Gybs.Results { /// <summary> /// Represents a dictionary-like structure for the errors which can be converted to res...
40.714286
237
0.598017
[ "MIT" ]
wk0w/gybs
src/Gybs/Results/ResultErrorsDictionary.cs
6,555
C#
namespace Orchard.Tasks.Scheduling { public interface IScheduledTaskHandler : IDependency { void Process(ScheduledTaskContext context); } }
31.8
59
0.72956
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard/Tasks/Scheduling/IScheduledTaskHandler.cs
159
C#
namespace Nzy3d.Plot3D.Primitives.Axes.Layout.Renderers { public interface ITickRenderer { string Format(double value); } }
16.125
55
0.775194
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
BobLd/Nzy3d
Nzy3d/Plot3D/Primitives/Axes/Layout/Renderers/ITickRenderer.cs
129
C#
namespace PlatformSpecifics; public static class MauiProgram { public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder .UseMauiApp<App>() .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); }); return builder.Build(); } }
17.444444
61
0.694268
[ "MIT" ]
davidbritch/dotnet-maui-samples
PlatformIntegration/PlatformSpecifics/PlatformSpecifics/MauiProgram.cs
316
C#
using NUnit.Framework; using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Microsoft.Design", "CA1034", Justification = "We don't care about Java-style classes in tests")] [assembly: SuppressMessage("Microsoft.Design", "CA1031", Justification = "We don't care about Java-style classes in tests")] [assem...
62.714286
124
0.769932
[ "Apache-2.0" ]
NightOwl888/J2N
tests/TestAssemblyInfo.cs
441
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using UnityEngine.UI; public class TouchController : MonoBehaviour { RaycastHit hit; //[Header("Organel Manager")] public OrganelManager organelManager; //[Header("Bilgi Texti")] public Text InfoText; ...
25.836478
95
0.539922
[ "MIT" ]
00mjk/HucreAR
Assets/Scripts/TouchController.cs
4,125
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// <summary>Azure capacity definition.</summary> public partial class AzureCapacity : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzu...
46.329897
149
0.645527
[ "MIT" ]
Agazoth/azure-powershell
src/Kusto/generated/api/Models/Api202101/AzureCapacity.cs
4,398
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Text.RegularExpressions; using System.Threading; using Microsoft....
40.62963
237
0.569736
[ "Apache-2.0" ]
Asifshikder/aspnetcore
src/Middleware/Spa/SpaServices.Extensions/src/Npm/NodeScriptRunner.cs
6,582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using sfShareLib; using System.ComponentModel.DataAnnotations; using System.Web.Helpers; using CDSShareLib.Helper; namespace sfAPIService.Models { public class AccumulateUsagLog { public class Detail { ...
35.434211
85
0.567397
[ "MIT" ]
KevinKao809/CDS20
APIService/Models/AccumulateUsagLog.cs
2,695
C#
using System.Collections.Generic; using System.Management; namespace WindowsMonitor.Performance.Raw.Network { /// <summary> /// </summary> public sealed class Icmp { public string Caption { get; private set; } public string Description { get; private set; } public ulong FrequencyObject { get; pri...
63.474138
127
0.728779
[ "MIT" ]
Biztactix/WindowsMonitor
WindowsMonitor.Standard/Performance/Raw/Network/Icmp.cs
7,363
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RHSCommonSense : RHStatement { public override string StatementName { get { return "Common Reasoning"; } } public override float Time { get { return 4.0f; } } // Start is called before the first frame update vo...
20.619048
79
0.642032
[ "MIT" ]
sdasd30/TSSG
Assets/Scripts/Rhetoric/Statements/RHSCommonSense.cs
435
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/urlmon.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pub...
27.304348
145
0.671975
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/urlmon/PROTOCOLDATA.cs
630
C#
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks.Linq; using Cysharp.Threading.Tasks.Triggers; using Millennium.InGame.Effect; using Millennium.Sound; using System; using System.Threading; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.Serialization; namespace Millennium.InGame.E...
27.657534
91
0.556711
[ "MIT" ]
andanteyk/Millennium
Assets/Millennium/Scripts/InGame/Entity/Enemy/EnemyBase.cs
2,019
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("HomeworkDOTNET1")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assem...
26.513514
57
0.692151
[ "MIT" ]
ZYChimne/HomeworkDOTNET
HomeworkDOTNET1/HomeworkDOTNET1/Properties/AssemblyInfo.cs
1,322
C#
namespace CodeHollow.FeedReader.Feeds { using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; /// <summary> /// Rss Feed according to Rss 0.91 specification: /// http://www.rssboard.org/rss-0-9-1-netscape /// </summary> public class Rss091Feed : ...
31.520231
99
0.54117
[ "MIT" ]
nieltg/CodeHollow.FeedReader.Core
CodeHollow.FeedReader.Core/Feeds/0.91/Rss091Feed.cs
5,455
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.Compute.Models { /// <summary> The TerminateNotificationProfile. </summary> public partial class TerminateNotificationProfile { //...
51.090909
317
0.71293
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/TerminateNotificationProfile.cs
1,686
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Media.Imaging { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class SvgImageSource : global::Windows.UI.Xaml.Media.ImageSo...
46.643836
226
0.771219
[ "Apache-2.0" ]
JTOne123/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Media.Imaging/SvgImageSource.cs
6,810
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using InjecaoDependenciaDiretaEF.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration...
28.586667
110
0.665112
[ "MIT" ]
carloscds/CSharpSamples
InjecaoDependenciaDiretaEF/InjecaoDependenciaDiretaEF/Startup.cs
2,144
C#