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 ObjCRuntime; using System; namespace UIKit { public enum UITextAlignment : long { Left, Center, Right, Justified, Natural } }
10.428571
35
0.691781
[ "Apache-2.0" ]
DavidAlphaFox/mac-samples
MacCustomControl/MacCustomControl/UIKit/UITextAlignment.cs
148
C#
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //http://code.google.com/p/moq/ //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source...
26.596708
132
0.701145
[ "BSD-3-Clause" ]
mizbrodin/moq4
Source/MethodCall.cs
12,928
C#
 public interface IPlayerState { IPlayerState HandleInput(Player player); void EnterState(Player player); void UpdateState(Player player); void ExitState(Player player); }
21
44
0.740741
[ "MIT" ]
DevelopersGuild/Castle-Bashers
Assets/Scripts/Mechanics/Player/Movement States/IPlayerState.cs
191
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace BookStore_Inspiration.Data { public class ApplicationDbContext : IdentityDbContext { public ApplicationDbContext(DbContextOptions<A...
23.882353
83
0.741379
[ "MIT" ]
EmORz/BookStore
BookStore_Inspiration/Data/ApplicationDbContext.cs
408
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http.Headers; using System.Web.Http.Description; using DOL.WHD.Section14c.EmailApi.Areas.HelpPage.ModelDescriptions; namespace DOL.WHD.Section14c.EmailApi.Areas.HelpPage.Models { /// <summary> /// The model that represents...
36.888889
123
0.616466
[ "CC0-1.0" ]
18F/dol-whd-14c
DOL.WHD.Section14c.EmailApi/Areas/HelpPage/Models/HelpPageApiModel.cs
3,984
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.166667
153
0.609366
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ICustodianUnifiedGroupSourcesCollectionRequestBuilder.cs
1,687
C#
#region using System; using System.Collections.Generic; using Confuser.Core.Services; using Confuser.DynCipher.AST; #endregion namespace Confuser.DynCipher.Generation { internal class CipherGenContext { private readonly Variable[] dataVars; private readonly Variable keyVar = new Variable("{K...
27.862069
90
0.542079
[ "MIT" ]
Dekryptor/KoiVM-Virtualization
Confuser.DynCipher/Generation/CipherGenContext.cs
2,426
C#
using Xamarin.Forms; namespace PlaygroundLite.Pages { public partial class LinearPage : ContentPage { public LinearPage() { InitializeComponent(); } } }
16.833333
49
0.589109
[ "MIT" ]
filipoff2/MagicGradients
PlaygroundLite/PlaygroundLite/Pages/LinearPage.xaml.cs
204
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using Elements.Geometry; using Newtonsoft.Json; namespace Elements.Spatial { /// <summary> /// Represents a "1-dimensional grid", akin to a number line that can be subdivided. /// </summary> /// <e...
37.399038
202
0.521301
[ "MIT" ]
hypar-io/elements
Elements/src/Spatial/Grid1d.cs
38,903
C#
// ******************************************************************************************************** // Product Name: DotSpatial.Positioning.dll // Description: A library for managing GPS connections. // ********************************************************************************************************...
30.509653
109
0.527968
[ "MIT" ]
AlexanderSemenyak/DotSpatial
Source/DotSpatial.Positioning/Interfaces.cs
7,904
C#
#region Copyright notice and license // Protocol Buffers - Google's data interchange format // Copyright 2015 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the fo...
43.851249
179
0.5271
[ "MIT" ]
Boltorez1488/UpdateSystem
Shared/Google.Protobuf/JsonFormatter.cs
40,389
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace MvcSoporte.Areas.Identity.Pages.Account.Manage { public cla...
35.676056
149
0.651402
[ "MIT" ]
ProgramDani/MvcSoporte
MvcSoporte/Areas/Identity/Pages/Account/Manage/TwoFactorAuthentication.cshtml.cs
2,535
C#
namespace uTinyRipper.Classes.QualitySettingss { public enum VSyncCount { DontSync = 0, EveryVBlank = 1, EverySecondVBlank = 2, } }
14.6
47
0.69863
[ "MIT" ]
Bluscream/UtinyRipper
uTinyRipperCore/Parser/Classes/QualitySettings/VSyncCount.cs
148
C#
using System.Reflection; using FluentValidation; using MediatR; using Microsoft.Extensions.DependencyInjection; using Ordering.Application.Behaviours; namespace Ordering.Application { public static class ApplicationServiceRegistration { public static IServiceCollection AddApplicationServices(this IService...
44.833333
104
0.745973
[ "MIT" ]
mertKarasakal/AspnetMicroservices
src/Services/Ordering/Ordering.Application/ApplicationServiceRegistration.cs
809
C#
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.WpfCore.MonoGameControls; namespace MonoGame.WpfCore { public class MainWindowViewModel : MonoGameViewModel { private SpriteBatch _spriteBatch; private Texture2D _texture; private Vector...
31.825
122
0.645719
[ "MIT" ]
OpenSauce/MonoGame.WpfCore
MonoGame.WpfCore/MainWindowViewModel.cs
1,275
C#
using System.Threading.Tasks; using AngleSharp.Html.Dom; using NUnit.Framework; namespace AngleSharp.ContentExtraction.IntegrationTests { [TestFixture] public class ContentExtractorTests { [Test] public async Task Extract_IntegrationTest() { // Arrange var co...
27.107143
76
0.610013
[ "MIT" ]
denis-ivanov/AngleSharp.ContentExtraction
AngleSharp.ContentExtraction.IntegrationTests/ContentExtractorTests.cs
759
C#
using FubuMVC.Core.UI.Elements; using FubuMVC.Validation.UI; using FubuTestingSupport; using FubuValidation; using NUnit.Framework; namespace FubuMVC.Validation.Tests.UI { [TestFixture] public class MaximumLengthModifierTester : ValidationElementModifierContext<MaximumLengthModifier> { [...
30.236842
103
0.62141
[ "Apache-2.0" ]
DovetailSoftware/fubuvalidation
src/FubuMVC.Validation.Tests/UI/MaximumLengthModifierTester.cs
1,149
C#
using System; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using WebCompiler; namespace WebCompilerTest.Minify { [TestClass] public class CssMinifierTests { private const string processingConfigFile = "../../Minify/artifacts/css/"; [TestCleanup] ...
38.101449
141
0.620768
[ "Apache-2.0" ]
BadgerTaming/WebCompiler
src/WebCompilerTest/Minify/CssMinifierTests.cs
2,631
C#
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
32.456522
113
0.682184
[ "MIT" ]
Torque3D-GameEngine/T3D-Demos
data/FPSGameplay/fpstutorial/art/shapes/structures/SkyScrapers/NightSkyS/materials.cs
2,986
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> //--...
34.451613
151
0.582397
[ "MIT" ]
ArtemAhramenko/GraphicEditor
GraphicEditor/Properties/Settings.Designer.cs
1,070
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-generate...
36.4
152
0.565934
[ "MIT" ]
Brewster35/thecodingtrain
SnakeGame/SnakeGame/Properties/Settings.Designer.cs
1,094
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...
29.858974
110
0.626449
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/QLDBSession/Generated/Model/FetchPageRequest.cs
2,329
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.Dns.Fluent { u...
39.251701
127
0.609185
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Dns/Generated/DnsManagementClient.cs
5,770
C#
namespace WordnikLib.Results { public struct ReverseDictionary //<CHECKED> { public Definition[] results { get; set; } public int totalResults { get; set; } } }
24.5
50
0.602041
[ "Apache-2.0" ]
mcridah/xawords
WordnikLib/Results/ReverseDictionary.cs
198
C#
using System; using System.Globalization; using System.Linq; using System.Windows.Data; namespace MidiKeyboardResharperCodeNavigator.Converters { public class MultiValueEqualityConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo cult...
30.761905
113
0.667183
[ "MIT" ]
JennoVink/MidiKeyboardResharperCodeNavigator
MidiKeyboardResharperCodeNavigator/Converters/MultiValueEqualityConverter.cs
648
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdatePremiumEndpoint { using Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.Update; /// <s...
51.231884
140
0.680339
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Cdn/Domain/CdnEndpoint/UpdatePremiumEndpoint/IUpdatePremiumEndpoint.cs
3,535
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.814815
153
0.612889
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IDeviceCommandsCollectionRequest.cs
4,624
C#
using System.Linq; using CAFU.Generator.Enumerates; using CAFU.Generator.Structure.Partial; using JetBrains.Annotations; using UnityEditor; namespace CAFU.Generator.Structure.Class.Domain { [UsedImplicitly] public class UseCase : ClassStructureBase { private const string StructureName = "Domain/Us...
36.354839
138
0.641083
[ "MIT" ]
umm-projects/cafu_generator
Assets/Editor/Scripts/Structure/Class/Domain/UseCase.cs
2,256
C#
namespace FluentHttp.Tests.HttpHeader { using System; using TechTalk.SpecFlow; using Xunit; [Binding] [StepScope(Feature = "FluentHttpHeader ctor")] public class HttpHeaderCtor { private FluentHttpHeader _fluentHttpHeader; private string _headerName; pri...
29.576
131
0.538815
[ "Apache-2.0" ]
prabirshrestha/FluentHttp
src/FluentHttp.Tests/HttpHeader/HttpHeaderCtor.cs
3,699
C#
using Microsoft.Extensions.DependencyInjection; using NetHacksPack.Notifications.Abstractions.Notificators; using NetHacksPack.Notifications.Abstractions.Providers; using NetHacksPack.Notifications.Extensions.SmtpMail.Provider; using System; namespace NetHacksPack.Notifications.Extensions.SmtpMail.DependencyInjection...
44.066667
149
0.726172
[ "MIT" ]
EdneySilva/NetHacksPack
src/NetHacksPack.Notifications.Extensions.SmtpMail/DependencyInjection/SmtpMailServiceExtensions.cs
1,324
C#
using Playground.Shared; 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.Primiti...
27.090909
106
0.719239
[ "MIT" ]
RoguePlanetoid/UnoPlatform
Presentation/Playground/Playground/Playground.Shared/MainPage.xaml.cs
896
C#
namespace InControl { #if UNITY_EDITOR using UnityEditor; #endif using System; using System.Linq; using UnityEngine; // ReSharper disable StaticMemberInGenericType public abstract class SingletonMonoBehavior<TComponent> : MonoBehaviour where TComponent : MonoBehaviour { static TComponent instance; stat...
22.301282
154
0.653349
[ "MIT" ]
kojdj0811/Project_Stove11
Assets/InControl/Source/Utility/SingletonMonoBehavior.cs
3,479
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace Dbosoft.IdentityServer.Validation.Models { /// <summary> /// Validation result for device authorization requests /// </s...
37.217391
148
0.639019
[ "Apache-2.0" ]
dbosoft/IdentityServer
src/IdentityServer/Validation/Models/DeviceAuthorizationRequestValidationResult.cs
1,712
C#
using VerifyTaxiApp.Models; namespace VerifyTaxiApp.ViewModels { public class ItemDetailViewModel : BaseViewModel { public Item Item { get; set; } public ItemDetailViewModel(Item item = null) { Title = item.Text; Item = item; } int quantity = 1;...
22.238095
53
0.541756
[ "MIT" ]
ignatandrei/IsThisTaxiLegal
applications/VerifyTaxiApp/VerifyTaxiApp/VerifyTaxiApp/ViewModels/ItemDetailViewModel.cs
469
C#
using Pliant.Forest; using Pliant.Grammars; using Pliant.Utilities; namespace Pliant.Charts { public abstract class EarleyItem : ValueEqualityBase<EarleyItem> { protected EarleyItem(DottedRule dottedRule, int origin, IForestNode parseNode) { DottedRule = dottedRule; Ori...
28.075
86
0.633126
[ "MIT" ]
knutjelitto/Lingu
Pliant/libraries/Pliant/Charts/EarleyItem.cs
1,125
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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Az...
34.159794
166
0.590061
[ "ECL-2.0", "Apache-2.0" ]
apollo2030/pulumi-azure
sdk/dotnet/Backup/PolicyVM.cs
19,881
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. #nullable enable namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// <summary> /// A value provider which can filter its contents to remove k...
41
117
0.653846
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Mvc/Mvc.Core/src/ModelBinding/IKeyRewriterValueProvider.cs
1,066
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace openocd.CmsisDap { public static class DapAccessConsts { public const bool LOG_PACKET_BUILDS = false; // Get the connected USB devices public static List<IBacke...
30.711111
176
0.651954
[ "Apache-2.0" ]
heartacker/PyOCDportToDotNET
VK_pyOCD_Ported/CmsisDap/DapAccessConsts.cs
1,382
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...
31.84375
111
0.654563
[ "ECL-2.0", "Apache-2.0" ]
henriktao/pulumi-azure
sdk/dotnet/Storage/Inputs/AccountCustomerManagedKeyGetArgs.cs
1,019
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ILanguageOutput.cs" company="DotnetScaffolder"> // MIT // </copyright> // -------------------------------------------------------------------------------------------------------...
34.666667
120
0.353846
[ "MIT" ]
laredoza/.NetScaffolder
src/Projects/Components/Common/Contract/ILanguageOutput.cs
522
C#
using System; using bv.common.Configuration; using bv.model.BLToolkit; using bv.model.Model.Core; using eidss.model.Core.Security; using eidss.model.Trace; namespace eidss.model.WcfService { public static class DataBaseChecker { private static readonly TraceHelper m_Trace = new TraceHelper(...
35.763636
110
0.545501
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6.1/eidss.core/WcfService/DataBaseChecker.cs
1,969
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Sikiro.Tookits.Helper { public static class ExpressionBuilder { /// <summary> /// 默认True条件 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></retu...
32.861111
108
0.615807
[ "MIT" ]
364988343/Sikiro.RBAC
src/Sikiro.Tookits/Helper/ExpressionBuilder.cs
2,376
C#
using System; //library using System.Collections; namespace TutorialCSharp //namespace { class Program //class { static void Main(string[] args) //method special, automatic run program on this Main method and call a statement { HashList(); HashListVar(); } ...
27.051282
120
0.519431
[ "MIT" ]
fauzigalih/TutorialCSharp
data/085 Hashtable Anonymous Type.cs
1,055
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...
30.063291
108
0.619368
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/LexModelBuildingService/Generated/Model/ResourceReference.cs
2,375
C#
using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace elb_utilities.Media { using DWORD = UInt32; using WORD = UInt16; public class WaveFile { private const DWORD ChunkID_Riff = 0x46464952; // FourCC('R', 'I', 'F', 'F'); ...
35.058394
171
0.492609
[ "MIT" ]
eightlittlebits/elbsms
elb_utilities/Media/WaveFile.cs
4,805
C#
/** * @file ShaderReferenceOther.cs * @author Hongwei Li(taecg@qq.com) * @created 2018-12-30 * @updated 2020-03-09 * * @brief Shader中的其它语法 */ #if UNITY_EDITOR using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace taecg.tools.shaderRefere...
56.035714
224
0.667304
[ "Apache-2.0" ]
741645596/GameTool
Assets/taecgLibrary/ShaderReference/Editor/ShaderReferenceOther.cs
3,902
C#
using System; namespace Interledger.Net.ILP.Routing { public interface IRoute { ILiquidityCurve Curve { get; } string[] Hops { get; } string SourceLedger { get; } string NextLedger { get; } string DestinationLedger { get; } string TargetPrefix { get; } i...
33
63
0.607008
[ "MIT" ]
robtyers/Interledger.net
ILP.Routing/IRoute.cs
1,058
C#
namespace GuideEnricher.Tests { using System; using System.Collections.Generic; using Config; using EpisodeMatchMethods; using tvdb; using log4net.Config; using Should; using System.Globalization; using Xunit; using System.Reflection; using System.IO; /// <summary> ...
48.526066
169
0.611192
[ "Apache-2.0" ]
ChrisRichner/ARGUS-TV-GuideEnhancer
GuideEnricher.Tests/TVDBLibEnrichTest.cs
10,241
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: AssemblyConfigurat...
41.75
84
0.785629
[ "MIT" ]
yhnavein/PureDev.OAuth
src/PureDev.OAuth/Properties/AssemblyInfo.cs
837
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Newtonsoft.Json; namespace BSOA.Json.Converters { public static class JsonToString { public static string Read<TRoot>(JsonReader reader, TRoot root) { return Read(reader); ...
26.888889
139
0.586777
[ "MIT" ]
microsoft/bion
csharp/BSOA/BSOA.Json/Converters/JsonToString.cs
968
C#
namespace UnityExplorer.CSConsole.Lexers { public class NumberLexer : Lexer { // Maroon protected override Color HighlightColor => new(0.58f, 0.33f, 0.33f, 1.0f); private bool IsNumeric(char c) => char.IsNumber(c) || c == '.'; public override bool TryMatchCurrent(LexerBuilder ...
25.354839
82
0.517812
[ "MIT" ]
sinai-dev/Explorer
src/CSConsole/Lexers/NumberLexer.cs
788
C#
namespace IngameScript { public struct RotationSpeed { /// <summary> /// Target time step is 10 ticks, or 1/6th of a second. /// </summary> public const float TimeStepSeconds = 1f/6f; /// <summary> /// Affects actual angular acceleration, depending on re...
33.095238
106
0.572662
[ "Unlicense" ]
alex-davidson/SEScriptDev
Script.Hephaestus.Thrusters/RotationSpeed.cs
697
C#
using RR.Distribuidora.Application.Interfaces; using RR.Distribuidora.Application.ViewModels; using System.Collections.Generic; using System.Web.Http; namespace RR.Distribuidora.WebAPI.Controllers { [RoutePrefix("api/fornecedores-regioes")] public class FornecedorRegiaoController : ApiController { ...
34.021739
113
0.709904
[ "MIT" ]
ricardorinco/Distribuidora.Backend
src/RR.Distribuidora.WebAPI/Controllers/FornecedorRegiaoController.cs
1,567
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
29.285714
90
0.708711
[ "CC0-1.0" ]
2021-2022-vizsgaremek-nappali-14b-gyak/vizsgaremek-gyakrolas-racz-nikoletta
vizsgaremek_gyak/Views/Pages/ProgramInfo.xaml.cs
1,444
C#
namespace Genocs.MicroserviceLight.Template.WebApi.Filters { using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.Collections.Generic; using System.Linq; public class SwaggerDocumentFilter : IDocumentFilter { private readonly List<OpenA...
32.16
97
0.604478
[ "MIT" ]
Genocs/clean-architecture-template
src/template/src/Genocs.MicroserviceLight.Template.WebApi/Filters/SwaggerDocumentFilter.cs
1,608
C#
using Substrate.Nbt; using System; using System.IO; namespace NBTModel.Interop { public class NbtClipboardData { public NbtClipboardData(string name, TagNode node) { Name = name; Node = node; } public string Name { get; set; } public TagNode No...
23.72
60
0.479764
[ "MIT" ]
DalekCraft2/NBTExplorer
NBTModel/Interop/NbtClipboardData.cs
1,188
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MvcSolution { public interface ISimpleEntity { Guid Id { get; set; } string Name { get; set; } } public class SimpleEntity : ISimpleEntity { public...
18.21875
49
0.54717
[ "MIT" ]
Davivd659/mvcsolution
MvcSolution.Infrastructure/Core/SimpleEntity.cs
585
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Xpto.Domain.DTO; using Xpto.Domain.Interfaces.Service; namespace Xpto.Application.Controllers { [Route("api/[controller]")] public class KnownRoutesController : ControllerBas...
30.6
105
0.621418
[ "MIT" ]
nGoline/xpto-delivery
Xpto.Application/Controllers/KnownRoutesController.cs
1,989
C#
using System.Threading.Tasks; using Kentico.Kontent.Management.Models.Shared; using Kentico.Kontent.Management.Models.Types.Elements; using Kentico.Kontent.Management.Models.Types; using Kentico.Kontent.Boilerplate.Sample.Boilerplate.Migrations; namespace Kentico.Kontent.Management.Sample.Boilerplate.Migrations { ...
35.2
90
0.522159
[ "MIT" ]
Simply007/kontent-migrations-boilerplate-net
Migrations/03_SampleCreateAuthorType.cs
1,760
C#
// Copyright Bastian Eicher // Licensed under the MIT License using System.Runtime.CompilerServices; using System.Runtime.Versioning; using Mono.Unix; using Mono.Unix.Native; using NanoByte.Common.Streams; #if !NET20 && !NET40 && !NET using System.Runtime.InteropServices; #endif namespace NanoByte.Commo...
56.886076
176
0.631787
[ "MIT" ]
nano-byte/common
src/Common/Native/UnixUtils.cs
17,976
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Migrators.MySQL.Migrations.Tenant; public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.EnsureSchema( name: "MultiTenancy"); ...
37.508475
94
0.565748
[ "MIT" ]
towseef85/asp.netcore-boilerplate
src/Migrators/Migrators.MySQL/Migrations/Tenant/20220115093549_Initial.cs
2,215
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cakemanny.FIQL { public class Lexer { private readonly string characters; private int pos = 0; private bool canBeIdent = true; public event Action<String> trace = msg => { }; ...
35.233766
96
0.322153
[ "Apache-2.0" ]
cakemanny/fiql-parser-cs
Cakemanny.FIQL/Lexer.cs
8,139
C#
/* * Copyright (c) 2014 Behrooz Amoozad * All rights reserved. * * 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 c...
43.603448
119
0.74654
[ "BSD-3-Clause" ]
jamesaxl/BD2
BD2.Daemon/Buses/ObjectBusMessageDeserializerAttribute.cs
2,529
C#
using MessagePackLib.MessagePack; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; using System...
35.825112
161
0.409813
[ "MIT" ]
0xyg3n/AsyncRAT-C-Sharp
AsyncRAT-C#/Plugin/ProcessManager/ProcessManager/Connection.cs
7,991
C#
// This code was generated by Hypar. // Edits to this code will be overwritten the next time you run 'hypar init'. // DO NOT EDIT THIS FILE. using Xunit; using System.IO; using System.Reflection; using System.Threading.Tasks; using Xunit.Abstractions; using System; using System.Collections.Generic; namespace DefinePr...
22.958333
77
0.711434
[ "MIT" ]
ehtick/HyparSpace
WorkplaceStrategy/DefineProgramRequirements/test/FunctionTest.g.cs
551
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using project.Models; namespace project.Controllers { public class passengersController : Controller { private Database1Entities db ...
29.601563
135
0.542359
[ "MIT" ]
rafay99-epic/University-Projects
Votting Website/Other Projects/Different Projects/Project 1/project/project/project/Controllers/passengersController.cs
3,791
C#
 namespace MyTool_SpriteSheetTool { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources...
39.845528
150
0.697409
[ "MIT" ]
moko-vfx/SpriteSheetTool
source/Form1.Designer.cs
14,843
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
46.172043
229
0.582615
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
JavaScript Frameworks Projects/ExamPreparation/CarRentalSystem/CarRentalSystem/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
17,176
C#
/** * Utilities.cs * * Thunder Aerospace Corporation's library for the Kerbal Space Program, by Taranis Elsu * * (C) Copyright 2013, Taranis Elsu * * Kerbal Space Program is Copyright (C) 2013 Squad. See http://kerbalspaceprogram.com/. This * project is in no way associated with nor endorsed by Squad. * ...
32.540541
167
0.517668
[ "BSD-3-Clause" ]
mhoram-kerbin/MKS
Source/KolonyTools/KolonyTools/Utilities.cs
13,251
C#
using System.Threading; using System.Threading.Tasks; using Amazon.SimpleNotificationService.Model; namespace MhLabs.PubSubExtensions.Producer { public interface IAmazonStepFunctionsClientAdapter { Task<PublishResponse> PublishAsync(PublishRequest request, string stateMachineArn, CancellationToken can...
31.272727
128
0.813953
[ "MIT" ]
calledude/MhLabs.PubSubExtensions
MhLabs.PubSubExtensions/Producer/IAmazonStepFunctionsClientAdapter.cs
346
C#
using System; using RtspClientSharp.Codecs; using RtspClientSharp.Codecs.Audio; using RtspClientSharp.Codecs.Video; using RtspClientSharp.RawFrames; namespace RtspClientSharp.MediaParsers { abstract class MediaPayloadParser : IMediaPayloadParser { private DateTime _baseTime = DateTime.MinValue; ...
34.859649
104
0.616004
[ "MIT" ]
AntonelloSemeraro98/RtspClientSharp
RtspClientSharp/MediaParsers/MediaPayloadParser.cs
1,989
C#
using Alarmy.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; using System; namespace Alarmy.Tests { [TestClass] public class AlarmTests { private readonly static DateTime SAMPLE_DATETIME = new DateTime(2014, 10, 10, 13, 05, 0); private IDateTimeProvider dateT...
28.012012
102
0.600021
[ "MIT" ]
finarfin/Alarmy
Alarmy.Tests/Common/AlarmTests.cs
9,330
C#
namespace IsMatch.AbpStudy.Dtos { public class PagedSortedAndFilteredInputDto : PagedAndSortedInputDto { public string FilterText { get; set; } } }
11.9375
72
0.623037
[ "MIT" ]
skyIsland/IsMatch.AbpStudy
src/abpstudy-aspnet-core/src/IsMatch.AbpStudy.Application/Dtos/PagedSortedAndFilteredInputDto.cs
191
C#
using SppdDocs.Core.Domain.Entities; using SppdDocs.DTOs; namespace SppdDocs.MappingProfiles { internal class CardMappingProfile : MappingProfileBase { public CardMappingProfile() { // TODO: Map to correct user language CreateVersionedEntityToDtoMap<Card, CardFullDto>()...
72.911765
147
0.625252
[ "MIT" ]
taconaut/sppdDocs
Backend/src/SppdDocs/MappingProfiles/CardMappingprofile.cs
2,481
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. namespace BrightChain.EntityFrameworkCore.Storage.Internal { /// <summary> /// This is an internal API that supports the Entity Framework Co...
57.139535
113
0.671958
[ "Apache-2.0" ]
MaxMood96/BrightChain
src/BrightChain.EntityFrameworkCore/Storage/Internal/SqlParameter.cs
2,457
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace IdentityDemo.Migrations.UsersDb { public partial class TestUserSeeding : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.UpdateData( table: "AspNetRoles", ...
41.571429
209
0.580326
[ "MIT" ]
TheAgileMCB/cr-dotnet-401d1
Class27/Demo/IdentityDemo/Migrations/UsersDb/20200609152839_TestUserSeeding.cs
2,330
C#
using Domain.Base; namespace Domain.Events { public class UserEmailChangedEvent : DomainEvent { public string ApplicationUserEmail { get; } public string ApplicationUserNewEmail { get; } public UserEmailChangedEvent(string applicationUserEmail, string applicationUserNewEmail) ...
28.6875
97
0.697168
[ "MIT" ]
GoToWinThat/ProjectManagementApi
ProjectManagement/Domain/Events/UserEmailChangedEvent.cs
461
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.Diagnostics; using System.Xml.XPath; using StackNav = MS.Internal.Xml.XPath.ClonableStack<System.Xml.XP...
38.641509
136
0.540039
[ "MIT" ]
2E0PGS/corefx
src/System.Private.Xml/src/System/Xml/XPath/Internal/PrecedingQuery.cs
4,096
C#
using BizHawk.Common; using BizHawk.BizInvoke; using BizHawk.Emulation.Common; using System; using System.Runtime.InteropServices; namespace BizHawk.Emulation.Cores.Waterbox { public abstract class LibWaterboxCore { public const CallingConvention CC = CallingConvention.Cdecl; [StructLayout(LayoutKi...
27.691729
99
0.624219
[ "MIT" ]
NarryG/bizhawk-vanguard
src/BizHawk.Emulation.Cores/Waterbox/LibWaterboxCore.cs
3,685
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace AntYecai.Models { [DataContract] public class UserLoginInfo { [DataMember(Name = "loginName")] public String LoginName { get; set; } [D...
22.181818
46
0.610656
[ "MIT" ]
HungryAnt/AntYecaiLauncher
AntYecai/Models/UserLoginInfo.cs
490
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Classes { public class DepartamentoBLL { private int id; private string nome; public int Id { get { return id; } set { id = val...
17
33
0.520697
[ "MIT" ]
Nivaldeir/Hotelaria-Excellence-Csharp
Classes/BLLs/DepartamentoBLL.cs
461
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace MeshiRoulette.Data { /// <summary>いわゆるルーレット</summary> public class PlaceCollection { public string Id { get; set; } [Required] public string Name { get; set; } [Required...
27.780488
151
0.62511
[ "Apache-2.0" ]
azyobuzin/meshi
MeshiRoulette/Data/PlaceCollection.cs
1,159
C#
using System; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.InteropServices; using NuGetPackageExplorer.Types; using NuGetPe; namespace PackageExplorerViewModel { internal static class FileHelper { private static re...
33.92515
151
0.473568
[ "MIT" ]
Frogman7/NuGetPackageExplorer
PackageViewModel/Utilities/FileHelper.cs
11,333
C#
// Copyright © Joerg Battermann 2014, Matt Hunt 2017 using System; using System.Collections.Generic; using System.Globalization; namespace GeoJSON.Net.Geometry; /// <summary> /// A position is the fundamental geometry construct, consisting of <see cref="Latitude" />, /// <see cref="Longitude" /> and (optionally) <s...
30.738854
116
0.624119
[ "MIT" ]
DmitryNizhebovsky/GeoJSON.Net
src/GeoJSON.Net/Geometry/Position.cs
4,829
C#
using System.Threading.Tasks; using HeroesReplay.Core.Models; namespace HeroesReplay.Core.Services.Twitch.Rewards { public interface IRequestQueue { Task<RewardQueueItem> DequeueItemAsync(); Task<RewardResponse> EnqueueItemAsync(RewardRequest request); Task<int> GetItemsInQueue(); ...
34.625
87
0.731047
[ "MIT" ]
HeroesReplay/HeroesReplay
src/HeroesReplay.Core/Services/Queue/IRequestQueue.cs
556
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using RadioConsole.Web.Database; namespace RadioCons...
36.102804
125
0.514108
[ "MIT" ]
SebastianTyr/RadioSimulator
RadioSimulator/RadioConsole.Web/Migrations/20210218220305_IncidentListMigration.Designer.cs
3,865
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...
47.25
185
0.768372
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementAndStatementStatementAndStatementStatementSqliMatchStatement.cs
1,701
C#
// // Unit tests for AVAudioPlayer // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // Copyright 2013 Xamarin Inc. All rights reserved. // #if !__WATCHOS__ using System; using System.IO; #if XAMCORE_2_0 using Foundation; using AVFoundation; #else using MonoTouch.AVFoundation; using MonoTouch.Foundation;...
19.444444
77
0.706286
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
tests/monotouch-test/AVFoundation/AudioPlayerTest.cs
875
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Lua.Common { public class EvaluationMachine<TIn, TOut> : IEnumerable<TOut> { protected readonly IEnumerable<Func<Evaluator<TIn, TOut>>> Evaluators; protected IEnumerable<Evaluator<TIn, TOut>>...
34.118644
116
0.546945
[ "MIT" ]
KelsonBall/Lua.Core
Lua.Common/EvaluationMachine.cs
2,015
C#
using EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Config; namespace EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Params.Storage { /// <summary> /// 文件下载(根据文件地址,可访问,有授权) /// </summary> public class FileDownloadParam { /// <summary> /// /// </summary> ...
26.246575
98
0.525052
[ "MIT" ]
Hunfnfmvkvllv26/System.Extension.Core
src/Configuration/src/EInfrastructure.Core.Configuration/Ioc/Plugs/Storage/Params/Storage/FileDownloadParam.cs
2,190
C#
// // CyclicDeque.cs // // Author: // Jérémie "Garuma" Laval <jeremie.laval@gmail.com> // // Copyright (c) 2009 Jérémie "Garuma" Laval // // 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 ...
24.604396
90
0.654757
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/corlib/System.Threading.Tasks/CyclicDeque.cs
4,482
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; namespace Horizon.Payment.Alipay.Request { /// <summary> /// koubei.catering.queue.shopqueueinfo.sync /// </summary> public class KoubeiCateringQueueShopqueueinfoSyncRequest : IAlipayRequest<KoubeiCateringQueueShopqueueinfoSyncRe...
22.758065
123
0.54961
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/KoubeiCateringQueueShopqueueinfoSyncRequest.cs
2,844
C#
using System.Collections.Generic; using SC2APIProtocol; using SC2Sharp.Agents; namespace SC2Sharp.Tasks { class WorkersAttackLocationTask : Task { public static WorkersAttackLocationTask Task = new WorkersAttackLocationTask(); public Point2D AttackTarget = null; public int Max = 4; ...
26.461538
134
0.554506
[ "MIT" ]
SimonPrins/TyrSc2
Tyr/Tasks/WorkersAttackLocationTask.cs
1,378
C#
using System; using System.Collections.Generic; using System.IO; using EntityFrameworkCore.Scaffolding.Handlebars; using EntityFrameworkCore.Scaffolding.Handlebars.Helpers; using HandlebarsDotNet; using Microsoft.EntityFrameworkCore.Design; using Microsoft.EntityFrameworkCore.Scaffolding; using Microsoft.EntityFramewo...
51.630273
145
0.627481
[ "MIT" ]
Hedi-s/EntityFrameworkCore.Scaffolding.Handlebars
test/Scaffolding.Handlebars.Tests/HbsTypeScriptScaffoldingGeneratorTests.cs
20,809
C#
// Copyright 2015-2018 The NATS 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 required by applicable law or agreed to...
37.731214
109
0.688242
[ "Apache-2.0" ]
rgfaber/nats.net
src/Tests/IntegrationTests/TestSuite.cs
13,057
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.178.0) // </auto-generated> // ---------------------------------------------------------------------------------------...
65.580403
295
0.661185
[ "MIT" ]
NaosFramework/Naos.Database
Naos.Database.Domain.Test/Operations/Classes/Stream/Standard/Management/StandardCreateStreamOpTest.designer.cs
113,784
C#
public interface IEmployee { string Name { get; } int WorkHoursPerWeek { get; } }
18
33
0.655556
[ "MIT" ]
sevdalin/Software-University-SoftUni
C-sharp-Web-Developer/C# OOP Advanced/08. Obj Communic and Events/04. WorkForce/Interfaces/IEmployee.cs
92
C#
using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using static WolvenKit.CR2W.Types.Enums; using FastMember; namespace WolvenKit.CR2W.Types { [REDMeta(EREDMetaInfo.REDStruct)] public class SMaterialGraphParameter : CVariable ...
28.4375
116
0.632967
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/BufferedTypes/BufferStructs/SMaterialGraphParameter.cs
881
C#
namespace GitPulseAnalytics.Models { /// <summary> /// GitHub user account. /// </summary> public class GitHubUser { public long Id { get; set; } public string Login { get; set; } public string Url { get; set; } public string Type { get; set; } } }
20.230769
35
0.638783
[ "MIT" ]
quanyincoder/GitPulseAnalytics
GitPulseAnalytics/Models/GitHubUser.cs
265
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace CRM.Interface.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; ...
44.476415
1,926
0.666985
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/Models/MicrosoftDynamicsCRMbusinessunitnewsarticle.cs
9,429
C#