content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Microsoft.AspNetCore.Mvc; using TCOMSapps.Features.Account; namespace TCOMSapps.Extensions { public static class UrlHelperExtensions { public static string EmailConfirmationLink(this IUrlHelper urlHelper, string userId, string code, string scheme) { return urlHelper.Action( ...
32.888889
124
0.609234
[ "MIT" ]
emo333/TCOMSapps
TCOMSapps/Extensions/UrlHelperExtensions.cs
888
C#
//using Kore.DI; namespace Kore.Data.EntityFramework { public interface IEntityTypeConfiguration { bool IsEnabled { get; } } }
17.333333
46
0.628205
[ "MIT" ]
artinite21/KoreCMS
Kore.EntityFramework/Data/EntityFramework/IEntityTypeConfiguration.cs
158
C#
// Copyright (c) Valdis Iljuconoks. All rights reserved. // Licensed under Apache-2.0. See the LICENSE file in the project root for more information using System.Globalization; using Microsoft.Extensions.Localization; namespace DbLocalizationProvider.AspNetCore { /// <summary> /// Workaround interface for cha...
35.909091
97
0.703797
[ "Apache-2.0" ]
LoloActemium/localization-provider-core
src/DbLocalizationProvider.AspNetCore/ICultureAwareStringLocalizer.cs
790
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 ...
41.235294
126
0.553971
[ "Apache-2.0" ]
Bimble/Lean
ToolBox/DukascopyDownloader/Program.cs
4,208
C#
using Anomalous.Interop; using Engine; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Anomalous.OSPlatform.iOS { static class iOSFun...
32.43662
139
0.610508
[ "MIT" ]
AnomalousMedical/Engine
OSPlatform.iOS/iOSFunctions.cs
2,305
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.8
168
0.609782
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/WorkbookTableSortReapplyRequestBuilder.cs
1,881
C#
using FluentAssertions; using global::Azure.Identity; using global::HealthChecks.AzureServiceBus; using global::System; using global::System.Linq; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Options; using Xunit; namespace UnitTests.He...
38.545455
95
0.678066
[ "Apache-2.0" ]
BartNetJS/AspNetCore.Diagnostics.HealthChecks
test/UnitTests/DependencyInjection/AzureServiceBus/AzureServiceBusTopicWithTokenUnitTests.cs
2,544
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; namespace Spect.Net.Shell.Interop { public static class SpectNetShellInterop { /// <summary> /// Creates a new editor with the specified id /// </summary> /// <param name="jsRuntime"...
35.45
121
0.636812
[ "MIT" ]
Dotneteer/electron-spectnetide
Spec.Net.Electron/Spect.Net.Shell/Interop/SpectNetShellInterop.cs
1,420
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace chat.Models { public class Message { [Key] [Required] public int MessageId { get; set; } ...
28.347826
51
0.630368
[ "MIT" ]
monsterddq/rscchat
Asp.Net/server/chat/chat/Models/Message.cs
654
C#
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.CodeDom.Compiler; namespace AppCampus.Infrastructure.Models.Mapping { [GeneratedCode("EntityFrameworkCodeGeneration", "6.1.1")] public class UserTableMap : EntityTypeConfiguration<UserTable> { ...
25.875
66
0.541063
[ "MIT" ]
hendrikdelarey/appcampus
AppCampus.Infrastructure/Models/Mapping/UserMap.cs
1,035
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...
31.191489
111
0.596635
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/UploadListElement.cs
4,398
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
41.80826
155
0.570874
[ "BSD-3-Clause" ]
Ideia-Boa/diva-distribution
OpenSim/Grid/UserServer.Modules/OpenIdService.cs
14,173
C#
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class SubscriptionSchedule : StripeEntity<SubscriptionSchedule>, IHasId, IHasMetadata, IHasObject { /// <summary> /// Unique identifier for the object. ...
37.195266
108
0.600859
[ "Apache-2.0" ]
formstack/stripe-dotnet
src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs
6,292
C#
/******************************************************************************** * FragmentActionGenerator.cs * * * * Author: Denes Solti ...
38.4375
115
0.45935
[ "MIT" ]
Sholtee/sql
SRC/SqlUtils/Private/SqlBuilder/Generators/FragmentActionGenerator.cs
1,230
C#
using System.Collections.Generic; namespace PackProject.Tool.Services.GraphAnalyzer { public class ProjectDefinition { public static IEqualityComparer<ProjectDefinition> PathComparer { get; } = new PathEqualityComparer(); public string Path { get; set; } public string Version { get; ...
32.25
110
0.583333
[ "MIT" ]
btshft/ProjectPack
src/Tool/Services/GraphAnalyzer/ProjectDefinition.cs
1,034
C#
using Luna.Gpio.Controllers; using Luna.Logging; using Luna.Logging.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; namespace Luna.Gpio.Events { public class EventManager { private readonly ILogger Logger = new Logger(typeof(EventManager).Name); private readonly Dictionary<int, Generat...
25.818182
88
0.715493
[ "MIT" ]
ArunPrakashG/HomeAssistant
Assistant.Gpio/Events/EventManager.cs
1,420
C#
using System.Collections.Generic; using Macad.Core; using Macad.Occt; using Macad.Occt.Helper; using Macad.Resources; namespace Macad.Interaction.Visual { public class ClipPlane { static Graphic3d_TextureMap _HatchTexture = null; //-------------------------------------------------...
33.362637
109
0.389657
[ "MIT" ]
aliveho/Macad3D
Source/Macad.Interaction/Visual/ClipPlane.cs
3,038
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
32.413043
108
0.588867
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Neptune/Generated/Model/DescribeDBParameterGroupsRequest.cs
4,473
C#
/* Copyright (c) 2015 Ki 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, modify, merge, publish, distribute, sublic...
37.156863
82
0.775198
[ "MIT" ]
AraHaan/ILSpy
ILSpy.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs
1,897
C#
using GammaJul.ReSharper.EnhancedTooltip.DocumentMarkup; using JetBrains.ProjectModel; using JetBrains.ReSharper.Daemon.CSharp.Errors; using JetBrains.ReSharper.Psi.CodeAnnotations; namespace GammaJul.ReSharper.EnhancedTooltip.Presentation.Highlightings.CSharp { [SolutionComponent] internal sealed class CannotImple...
42.285714
136
0.847973
[ "Apache-2.0" ]
FallenDev/ReSharper.EnhancedTooltip
source/GammaJul.ReSharper.EnhancedTooltip/Presentation/Highlightings/CSharp/CannotImplementDynamicInterfaceErrorEnhancer.cs
1,184
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Web.Mvc; using Moq; using Ninject; using PyrotechnicShop.Domain.Entities; using PyrotechnicShop.Domain.Abstract; using PyrotechnicShop.Domain.Concrete; using PyrotechnicShop.WebUI.Infrastructure.Abstract; using PyrotechnicShop.Web...
28.72549
82
0.656655
[ "MIT" ]
oldgunner/PyrotechnicShop
PyrotechnicShop.WebUI/Infrastructure/NinjectDependencyResolver.cs
1,467
C#
using System; using Otter.Graphics; using Otter.Graphics.Drawables; using Otter.Utility; namespace Otter.Colliders { /// <summary> /// Collider that can use an image as a mask. This is not recommended to use for most cases as it can /// be pretty expensive to process. /// </summary> public class ...
31.195021
106
0.506651
[ "MIT" ]
WillSams/Otter
Otter/Colliders/PixelCollider.cs
7,518
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Routing.Core { public class NullRoutingUserMetricLogger : IRoutingUserMetricLogger { public static NullRoutingUserMetricLogger Instance { get; } = new NullRoutingUserMetricLogger(); NullRoutingUserMetricLogger()...
28.846154
130
0.674667
[ "MIT" ]
DaveEM/iotedge
edge-hub/src/Microsoft.Azure.Devices.Routing.Core/NullRoutingUserMetricLogger.cs
1,502
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace HTLLBB.Models.ForumViewModels { public class IndexViewModel { [Required] public bool IsAdmin { get; set; } [Required] public F...
21.842105
44
0.660241
[ "MIT" ]
filedesless/HTLLBB
src/Models/ForumViewModels/IndexViewModel.cs
417
C#
using System; using System.Collections.Generic; using Xamarin.Forms; namespace OfPost.View { public partial class HomePage : ContentPage { public HomePage() { InitializeComponent(); } } }
14.9375
47
0.610879
[ "MIT" ]
ooleglysiak/of_post_frontend_app
OfPost/View/HomePage.xaml.cs
241
C#
// Copyright 2007-2019 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 // ...
36.362069
154
0.674727
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Configuration/Registration/ConsumerConfiguratorCache.cs
2,111
C#
//----------------------------------------------------------------------- // <copyright file="ExcludeDataFromInspectorAttribute.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
48.058824
146
0.664015
[ "MIT" ]
instance-id/SO-Persistent-Reference
Assets/instance.id/SOReference/Utils/OdinSerializer/Core/Misc/ExcludeDataFromInspectorAttribute.cs
1,634
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> //--...
43.364865
197
0.613275
[ "MIT" ]
Magicianred/Messaging
src/Microsoft.Extensions.Hosting/Resources.Designer.cs
3,211
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="OpenSkyService.cs" company="OpenSky"> // OpenSky project 2021-2022 // </copyright> // ---------------------------------------------------------------------------------------------...
41.734375
120
0.33246
[ "MIT" ]
opensky-to/client
OpenSky.Client/OpenAPIs/OpenSkyService.cs
2,673
C#
using Ding.MockData.Abstractions.Options; namespace Ding.MockData.Core.Options { /// <summary> /// Guid配置 /// </summary> public class GuidFieldOptions : FieldOptionsBase, IGuidFieldOptions { /// <summary> /// 是否大写字符 /// </summary> public bool Uppercase { get; set; }...
21.0625
71
0.58457
[ "MIT" ]
EnhWeb/DC.Framework
src/Ding.MockData/Core/Options/GuidFieldOptions.cs
355
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;...
23.586207
54
0.694444
[ "BSD-3-Clause" ]
ant04x/FlowerViewer
MainWindow.xaml.cs
686
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ASS { public class tactLogType { public int id { get; set; } public int TactNumber { get; set; } public int Time { get...
33.988166
121
0.564589
[ "CC0-1.0" ]
pawelklis/ASS
ASS/tactLogType.cs
5,746
C#
using System.Runtime.Serialization; namespace BabylonExport.Entities { [DataContract] public class BabylonCubeTexture : BabylonTexture { [DataMember] public string customType { get; private set; } [DataMember] public bool filtered { get; private set; } [DataMember...
23.552632
56
0.567598
[ "MIT" ]
davidzwa/BabylonUnityLearnings
RollABall/Assets/Babylon/Entities/BabylonCubeTexture.cs
897
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("Spa...
38.055556
84
0.753285
[ "MIT" ]
pollirrata/service-fabric-talkdemos
spacespiders/TraditionalBackend/SpaceSpiders.Services/SpaceSpiders.Services/Properties/AssemblyInfo.cs
1,373
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" f...
42.022422
164
0.571657
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/SecurityToken/Custom/SAML/SAMLAssertion.cs
9,373
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace BizHawk.Client.Common { public interface IMovieImport { ImportResult Import(string path); } internal abstract class MovieImporter : IMovieImport { protected const string EmulationOrigin = "emuOrigin";...
22.896552
70
0.634036
[ "MIT" ]
Gorialis/BizHawk
BizHawk.Client.Common/movie/import/IMovieImport.cs
2,658
C#
using Com.Danliris.Service.Packing.Inventory.Data.Models.Garmentshipping.GarmentPackingList; using Com.Danliris.Service.Packing.Inventory.Data.Models.Garmentshipping.GarmentShippingInvoice; using Com.Danliris.Service.Packing.Inventory.Infrastructure; using Com.Danliris.Service.Packing.Inventory.Infrastructure.Reposito...
54.371681
225
0.776693
[ "MIT" ]
kuswandanu-moonlay/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Test/Repositories/GarmentShipping/GarmentShippingInvoice/GarmentShippingInvoiceRepositoryTest.cs
12,290
C#
using System; using System.Globalization; using Microsoft.AspNetCore.Authentication.OAuth; using Microsoft.AspNetCore.Authentication.Twitter; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore; using Microsoft.AspNetCore.Hosting; usin...
43.035354
160
0.617533
[ "Apache-2.0" ]
lvarin/s2i-aspnet-musicstore-ex
samples/MusicStore/ForTesting/Mocks/StartupSocialTesting.cs
8,521
C#
using System; using System.Collections; namespace MelonLoader { public class MelonCoroutines { /// <summary> /// Start a new coroutine.<br /> /// Coroutines are called at the end of the game Update loops. /// </summary> /// <param name="routine">The target routine</param...
38.027778
113
0.631848
[ "Apache-2.0", "MIT" ]
Aides359/MelonLoader
MelonLoader.ModHandler/MelonCoroutines.cs
1,369
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Min...
37.621622
84
0.747845
[ "MIT" ]
Maxization/MiniLanguage
MiniLanguage/MiniLanguage/Properties/AssemblyInfo.cs
1,395
C#
#region Header // Vorspire _,-'/-'/ Handler.cs // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2018 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -===============...
22.971429
66
0.46393
[ "MIT" ]
Vita-Nex/Core
Services/WebAPI/Objects/Handler.cs
804
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...
33.939024
112
0.614086
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IdentityStore/Generated/Model/DescribeGroupResponse.cs
2,789
C#
using System; using System.IO; using System.Linq; using System.Security.Cryptography; namespace SRTPluginProviderDMC4SE { /// <summary> /// SHA256 hashes for the DMC4SE game executables. /// </summary> public static class GameHashes { private static readonly byte[] DevilMayCry4SpecialEditi...
45.333333
289
0.650452
[ "MIT" ]
Mysterion06/SRTPluginProviderDMC4SE
SRTPluginProviderDMC4SE/GameHashes.cs
1,770
C#
using System; namespace R5T.Visigothia.Base.Construction { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
16.307692
47
0.523585
[ "MIT" ]
MinexAutomation/R5T.Visigothia.Base
source/R5T.Visigothia.Base.Construction/Code/Program.cs
214
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("Az...
37.972973
84
0.743772
[ "Apache-2.0" ]
caseyjmorris/NLogAzureTableStorageViewer
Azure.NLog.Query/Properties/AssemblyInfo.cs
1,408
C#
using CodeGenHero.Core; using CodeGenHero.Template.Models.Interfaces; using System; using System.Collections.Generic; namespace CodeGenHero.Template.Models { public class TemplateAssembly : BaseMarshalByRefObject, ITemplateAssembly { public TemplateAssembly(TemplateAssemblyAttribute templateAssemblyAt...
22.951807
122
0.528609
[ "MIT" ]
MSCTek/CodeGenHero
src/CodeGenHero.Template/Models/TemplateAssembly.cs
1,907
C#
using System.Management.Automation; using PnP.PowerShell.CmdletHelpAttributes; using System; using PnP.PowerShell.Commands.Properties; namespace PnP.PowerShell.Commands.Base { [Cmdlet(VerbsCommon.Get, "PnPContext")] [CmdletHelp("Returns the current context", "Returns a Client Side Object Model context...
37.714286
116
0.667749
[ "MIT" ]
FPotrafky/PnP-PowerShell
Commands/Base/GetContext.cs
1,850
C#
namespace HotelSystem.Web.Areas.Administration.Controllers { using System; using System.Linq; using System.Web.Mvc; using HotelSystem.Common; using HotelSystem.Services.Data.Contracts; using HotelSystem.Web.Areas.Administration.ViewModels.Bookings; using HotelSystem.Web.Infrastruc...
30.474576
106
0.538932
[ "MIT" ]
iwelina-popova/HotelSystem
Source/Web/HotelSystem.Web/Areas/Administration/Controllers/BookingsController.cs
3,598
C#
using Common.ApplicationCommands; using MovieHub.MediaPlayerElement.Interfaces; using MovieHub.MediaPlayerElement.Service; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using MovieHub.MediaPlayerElement.ViewModel; using System.Windows.Threading; using Movies.Models.Inte...
38.568858
207
0.620864
[ "MIT" ]
eadwinCode/MoviePlayer
src/MovieHub.MediaPlayerElement/MediaPlayerElement.cs
49,293
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; u...
40.354331
180
0.549463
[ "MIT" ]
576245308/Qf.Core
framework/src/Qf.Core.Web/Authorization/BearerAuthorizeAttribute.cs
5,203
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------------------------------------...
24.130952
80
0.510607
[ "MIT" ]
kteong1012/Arthas
Server/Model/Generate/Config/StartServer/StartScene.cs
2,057
C#
namespace TurnerSoftware.BuildVersioning.Tool { internal class BuildVersioner { private IVersionDetailsProvider VersionDetailsProvider { get; } public BuildVersioner(IVersionDetailsProvider versionDetailsProvider) { VersionDetailsProvider = versionDetailsProvider; } public BuildVersion GetBuildVersion...
32.951807
117
0.730896
[ "MIT" ]
TurnerSoftware/BuildVersioning
src/TurnerSoftware.BuildVersioning.Tool/BuildVersioner.cs
2,737
C#
using MinecraftMappings.Internal.Textures.Block; namespace MinecraftMappings.Minecraft.Java.Textures.Block { public class OrangeConcretePowder : JavaBlockTexture { public OrangeConcretePowder() : base("Orange Concrete Powder") { AddVersion("orange_concrete_powder") ...
31.8
113
0.681342
[ "MIT" ]
null511/MinecraftMappings.NET
MinecraftMappings.NET/Minecraft/Java/Textures/Block/OrangeConcretePowder.cs
479
C#
using System.Collections.Generic; using System.Linq; using Improbable.Gdk.CodeGeneration.FileHandling; namespace Improbable.Gdk.CodeGenerator { /// <summary> /// A FileSystem implementation that ignores the existence of ".meta" files when listing directory contents. /// </summary> class MetaDataCom...
28.607843
116
0.623715
[ "MIT" ]
gdk-for-unity-bot/gdk-for-unity
workers/unity/Packages/com.improbable.gdk.tools/.CodeGenerator/GdkCodeGenerator/src/MetaDataCompatibleFileSystem.cs
1,459
C#
using System.Collections.Generic; using GraphQL; using GraphQL.Types; namespace appservice_graphql_dotnet.Types { public class TriviaQuery : ObjectGraphType { public TriviaQuery(QuizData data) { Field<NonNullGraphType<ListGraphType<NonNullGraphType<QuizType>>>>("quizzes", resolve: c...
32.727273
116
0.618056
[ "MIT" ]
AzureAdvocateBit/appservice-graphql-dotnet-1
Types/TriviaQuery.cs
720
C#
using AutoMapper; using System.Net; using WeShare.Application.Common.Mappings; using WeShare.Domain.Entities; namespace WeShare.Application.DTOs; public class WebhookPostSendFailureDto : PostSendFailureDto, IMapFrom<PostSendFailure> { public HttpStatusCode? StatusCode { get; set; } public int ResponseLatency ...
30.961538
111
0.751553
[ "MIT" ]
PoolPirate/WeShare
src/Application/DataTransferObjects/PostSendFailure/Types/WebhookPostSendFailureDto.cs
807
C#
using MCM.Abstractions.Settings.Base; using MCM.Abstractions.Settings.Formats; namespace MCM.Implementation.Settings.Formats.Json { /// <summary> /// So it can be overriden by an external library /// </summary> public interface IJsonSettingsFormat : ISettingsFormat { string SaveJson(BaseSe...
30
74
0.721429
[ "MIT" ]
Aragas/Bannerlord.MBOptionScreen
src/MCM/Implementation/Settings/Formats/Json/IJsonSettingsFormat.cs
422
C#
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //--...
41.659091
88
0.67976
[ "Apache-2.0" ]
EnterpriseProductsLP/akka.net
src/contrib/persistence/Akka.Persistence.Sql.Common.TestKit/Properties/AssemblyInfo.cs
1,836
C#
#region License /* Copyright (c) 2009 - 2013 Fatjon Sakiqi 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, modify, mer...
39.462329
116
0.398681
[ "MIT" ]
mattcolefla/KelpNet-master
Cloo/ComputeEventList.cs
11,525
C#
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved. using System.Collections.Generic; using System.Linq; using UniRx.Async; using UnityEngine; namespace Naninovel { /// <inheritdoc cref="ITextManager"/> [InitializeAtRuntime] public class TextManager : ITextManager { ...
38.517647
153
0.624007
[ "MIT" ]
286studio/Sim286
AVG/Assets/Naninovel/Runtime/ManagedText/TextManager.cs
3,276
C#
// Copyright 2013-2016 Serilog Contributors // // 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...
27.507246
103
0.499473
[ "Apache-2.0" ]
datalust/serilog-sinks-seq
src/Serilog.Sinks.Seq/Sinks/Seq/PortableTimer.cs
3,798
C#
// ReSharper disable CommentTypo namespace IctBaden.Units { public static class GeoCoordinateFormatter { /// <summary> /// Format the given geo-coordinate /// Possible formats: /// d - Dezimalgrad, zum Beispiel 37.7°, -122.2° /// g - Grad, Minuten, Sekunden, zum Beispiel...
42.083333
88
0.60297
[ "MIT" ]
FrankPfattheicher/IctBaden.Units
IctBaden.Units/GeoCoordinates/GeoCoordinateFormatter.cs
1,018
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.627907
217
0.603611
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20201201/ListWebAppConnectionStrings.cs
2,548
C#
using UnityEngine; using UnityAtoms.SceneMgmt; namespace UnityAtoms.SceneMgmt { /// <summary> /// Variable of type `SceneField`. Inherits from `EquatableAtomVariable&lt;SceneField, SceneFieldPair, SceneFieldEvent, SceneFieldPairEvent, SceneFieldSceneFieldFunction&gt;`. /// </summary> [EditorIcon("atom-...
46.461538
179
0.779801
[ "MIT" ]
puschie286/unity-atoms
Packages/SceneMgmt/Runtime/Variables/SceneFieldVariable.cs
604
C#
namespace Caliburn.Micro.HelloScreens.Framework { public interface IHaveShutdownTask { IResult GetShutdownTask(); } }
26.6
49
0.729323
[ "MIT" ]
victorarias/Caliburn.Micro
samples/Caliburn.Micro.HelloScreens/Caliburn.Micro.HelloScreens/Framework/IHaveShutdownTask.cs
133
C#
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Copyright (c) 2010-2013 Garrett Serack and CoApp Contributors. // Contributors can be discovered using the 'git log' command. // All rights reserved. // </copyright> // <license> // ...
34.928571
77
0.523517
[ "Apache-2.0" ]
Jaykul/clrplus
Windows.PeBinary/Utility/BindingRedirect.cs
978
C#
using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; using ZendeskApi.Client.Exceptions; using ZendeskApi.Client.IntegrationTests.Factories; using ZendeskApi.Client.Models; using ZendeskApi.Client.Requests; namespace ZendeskApi.Client.IntegrationT...
29.506024
90
0.524296
[ "Apache-2.0" ]
Ud0o/ZendeskApiClient
test/ZendeskApi.Client.IntegrationTests/Resources/OrganizationResourceTests.cs
9,796
C#
/* 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 writing, software * distribu...
25.9
75
0.588417
[ "Apache-2.0" ]
18502079446/cusss
NActiviti/Sys.Bpm.Engine.API/Engine/impl/Page.cs
1,297
C#
using System; using System.Diagnostics; using System.Threading; using Pixytech.Core.Logging; namespace Demo.Helpers { public class PluginDebugger { private readonly int _parentProcessId; public delegate PluginDebugger Factory(int parentProcessId); ILog _logger = LogManager.GetLogger(ty...
25.56
98
0.533646
[ "Apache-2.0" ]
Pixytech/Frameworks
Demo/Helpers/PluginDebugger.cs
1,280
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
31.666667
97
0.615789
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Security/Latest/Inputs/AllowlistCustomAlertRuleArgs.cs
1,520
C#
using System; using System.ComponentModel.DataAnnotations.Schema; using Payments.Domain.Common; namespace Payments.Domain.Enums { public enum PaymentStatus { Pending, Confirmed, Cancelled } }
17.285714
52
0.652893
[ "MIT" ]
marinasundstrom/PointOfSale
Payments/Payments/Domain/Enums/PaymentStatus.cs
242
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("18...
38.513514
84
0.748772
[ "MIT" ]
glifada/High-Quality-Code-Homeworks
C#-Part2/01. Arrays/18.RemoveElementsFromArray/Properties/AssemblyInfo.cs
1,428
C#
using Unity.Barracuda; using System; using UnityEngine; using UnityEngine.Serialization; using Unity.MLAgents.Actuators; using Unity.MLAgents.Sensors.Reflection; namespace Unity.MLAgents.Policies { /// <summary> /// Defines what type of behavior the Agent will be using /// </summary> [Serializable] ...
36.626016
132
0.578357
[ "Apache-2.0" ]
418sec/ml-agents
com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs
9,010
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace System.Reflection { public static class MemberInfoExtensions { public static Type GetUnderlyingType(this MemberInfo member) { switc...
31
105
0.560117
[ "MIT" ]
maca88/PowerArhitecture
Source/SharperArchitecture.Common/Extensions/MemberInfoExtensions.cs
1,025
C#
using System; using System.Collections; using DragonBones; using UnityEngine; using Transform = UnityEngine.Transform; namespace WSGJ { public abstract class BaseEntity : MonoBehaviour { public static event Action<BaseEntity> Died; public float ScoreValue => scoreValue; [SerializeField, Header("Entity S...
21.593496
94
0.693901
[ "MIT" ]
mszkopinski/FilmowkaGameJam2019
Assets/Scripts/Entities/BaseEntity.cs
2,656
C#
using MyCalendar.Mobile.Views.Home.TabPages.AddAppointment; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCalendar.Mobile.Common.Services.Appointment { public class AppointmentServiceMock : IAppointmentService { private List<AppointmentViewModel> appoin...
28.1875
84
0.684035
[ "MIT" ]
sunshineV9/MyCalendar
MyCalendar/MyCalendar.Mobile/MyCalendar.Mobile/Common/Services/Appointment/AppointmentServiceMock.cs
904
C#
/* * Copyright (c) 2014-Present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ names...
27.633333
85
0.68275
[ "BSD-3-Clause" ]
gunnarsireus/React.NET
src/React.Router/RoutingContext.cs
831
C#
using Discord; using Discord.Commands; using Microsoft.Extensions.Configuration; using System.Linq; using System.Threading.Tasks; namespace AvaBot.Modules { // for commands to be available, and have the Context passed to them, we must inherit ModuleBase [Summary("📋 Help Commands")] //[Group("help")] ...
43.679487
172
0.540652
[ "MIT" ]
AvaN0x/AvaBot
Modules/HelpCommands.cs
3,412
C#
using Moneyventory.Application.Common.Validation; using NUnit.Framework; namespace Moneyventory.Application.Tests.Common.Validation { using static DomainAddressValidator; [TestFixture] [Parallelizable(ParallelScope.Children)] public class GivenDomainAddressValidator { [Test] public...
36.454545
120
0.693267
[ "MIT" ]
fakhrulhilal/moneyventory
tests/Core/Application.Tests/Common/Validation/GivenDomainAddressValidator.cs
1,604
C#
using Sanja.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using ...
29.171429
115
0.47478
[ "Apache-2.0" ]
drobicsanja/ntransport
Sanja/Forme/IzmeniVozaca.xaml.cs
4,086
C#
 namespace TrainingProviderTestData.Web { using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using StructureMap; using Application...
37.885246
130
0.655993
[ "MIT" ]
David-B-Read/training-provider-test-data
src/TrainingProviderTestData.Web/Startup.cs
2,313
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
47.725806
178
0.683677
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/InvalidDBClusterStateException.cs
5,918
C#
using System; using System.Runtime.InteropServices; namespace LibHac.FsSystem.Save { internal ref struct SaveEntryKey { public ReadOnlySpan<byte> Name; public int Parent; public SaveEntryKey(ReadOnlySpan<byte> name, int parent) { Name = name; ...
26.973684
81
0.6
[ "BSD-3-Clause" ]
CaitSith2/libhac
src/LibHac/FsSystem/Save/SaveFsEntry.cs
990
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
36.636364
121
0.633251
[ "Apache-2.0" ]
AppliedSystems/IdentityServer3
source/Core/Extensions/CookieOptionsExtensions.cs
2,017
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.Diagnostics; namespace System.Threading { internal partial class PortableThreadPool { private CountsOfThreadsProcessingUserCallbacks _countsOfThreadsPro...
39.448819
125
0.586826
[ "MIT" ]
ANISSARIZKY/runtime
src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerTracking.cs
5,010
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace System.Reactive.Linq.ObservableImpl { internal sealed clas...
30.322581
129
0.56383
[ "Apache-2.0" ]
NickDarvey/reactive
Rx.NET/Source/src/System.Reactive/Linq/Observable/Case.cs
1,882
C#
// Copyright (c) Terence Parr, Sam Harwell. All Rights Reserved. // Licensed under the BSD License. See LICENSE.txt in the project root for license information. using System.Collections.Generic; using System.Collections.ObjectModel; using Antlr4.Runtime.Misc; using Antlr4.Runtime.Sharpen; namespace Antlr4.Runtime.Dfa...
21.212766
95
0.57673
[ "BSD-3-Clause" ]
ProphetLamb-Organistion/antlr4cs
runtime/CSharp/Antlr4.Runtime/Dfa/IEdgeMap`1.cs
997
C#
namespace Schema.NET { using System; using System.Runtime.Serialization; using Newtonsoft.Json; /// <summary> /// A sub-grouping of food or drink items in a menu. E.g. courses (such as 'Dinner', 'Breakfast', etc.), specific type of dishes (such as 'Meat', 'Vegan', 'Drinks', etc.), or some o...
40.84
232
0.596964
[ "MIT" ]
candela-software/Schema.NET
Source/Schema.NET/core/MenuSection.cs
2,044
C#
using System; using System.Linq; using LanguageExt.UnitsOfMeasure; using static LanguageExt.Prelude; using System.Reflection; namespace LanguageExt { public static class Strategy { /// <summary> /// Compose a sequence of state computations /// </summary> public static State<Str...
49.94362
153
0.616006
[ "MIT" ]
jonny-novikov/language-ext
LanguageExt.Process/Strategy/Strategy.cs
16,833
C#
using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using Torque3D.Engine; using Torque3D.Util; namespace Torque3D { public unsafe class ScriptObject : SimObject { public ScriptObject(bool pRegister = false) : base(pRegister) { } public ScriptObject(st...
21.613636
136
0.656677
[ "MIT" ]
lukaspj/T3D-CSharp-Tools
BaseLibrary/Torque3D/Engine/ScriptObject.cs
1,902
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Blazored.LocalStorage; using Syncfusion.Blazor; using Microsoft.Extensions.Hosting; using Common.Web; using Common.Application; using System.Net.Http; ...
27.344262
106
0.627098
[ "Unlicense" ]
kristof12345/Common
Demo.Server/Startup.cs
1,670
C#
using Microsoft.AspNetCore.Mvc; using Sepes.Infrastructure.Service.Interface; using Sepes.RestApi.ApiEndpoints.Base; using System.Net.Mime; using System.Threading; using System.Threading.Tasks; namespace Sepes.RestApi.ApiEndpoints.StudiesDatasets { [Route("api/studies")] public class GetDatasetResources : End...
35.862069
128
0.743269
[ "MIT" ]
equinor/sepes
src/Sepes.RestApi/ApiEndpoints/StudiesDatasets/GetDatasetResources.cs
1,042
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Storage.Models; using Azure.ResourceManager.St...
49.036935
211
0.634155
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs
88,955
C#
namespace ClassLib018 { public class Class039 { public static string Property => "ClassLib018"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib018/Class039.cs
120
C#
using System; using System.Windows.Forms; namespace EfficientlyLazy.Crypto.Demo.UserControls { public class CryptoUserControl : UserControl { public virtual string DisplayName { get { throw new InvalidOperationException("Method needs to be ove...
27.967213
86
0.531067
[ "Apache-2.0" ]
jasonlaflair/EfficientlyLazy.Crypto
src/EfficientlyLazy.Crypto.Demo/UserControls/CryptoControl.cs
1,708
C#
using Bonos.Models; using Bonos.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Bonos.Controllers { public class UsuarioController : Controller { public ActionResult Login() { return View(); } ...
29.213115
127
0.482604
[ "MIT" ]
hyg1997/FinanzasBonos
Bonos/Bonos/Controllers/UsuarioController.cs
1,785
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class TriggerSubscriptionOperationStatus { internal sta...
32.045455
125
0.540426
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/TriggerSubscriptionOperationStatus.Serialization.cs
1,410
C#
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // 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, inclu...
43.711111
77
0.682766
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/nunitlite/src/framework/Api/ITestFilter.cs
1,967
C#
using UnityEngine; using System; using System.Collections.Generic; using System.Linq; public class GlobalSystemsExecutor : MonoBehaviour { void OnEnable() { sendMessage("orderedOnEnable"); } //void OnDisable() //{ // reversesendMessage("orderedOnDisable"); //} void FixedUp...
20.270833
97
0.587873
[ "MIT" ]
pointcache/uECS
uECS/Assets/uECS/uECS/Core/Monos/GlobalSystemsExecutor.cs
975
C#
using UnityEngine; using BansheeGz.BGSpline.Curve; namespace BansheeGz.BGSpline.Editor { public class BGTransformMonitor { private Vector3 position; private Quaternion rotation; private Vector3 scale; private readonly BGCurve curve; public BGTransformMonitor(BGCurve c...
23.97561
114
0.549339
[ "MIT" ]
Margeli/IA_exercises
Exercises/Tanks3/Assets/BansheeGz/BGCurve/Scripts/Editor/Infra/BGTransformMonitor.cs
985
C#