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 HarmonyLib; using RimWorld; using System.Collections.Generic; using System.Linq; using System.Reflection; using Verse; namespace WallStuff { [StaticConstructorOnStartup] static class HarmonyPatches { // this static constructor runs to create a HarmonyInstance and install a patch. sta...
45.666667
139
0.751161
[ "Unlicense" ]
JohnCannon87/RimworldWallStuff
1.1/Source/HarmonyPatches.cs
1,509
C#
using System.Collections.Generic; using JetBrains.Annotations; using Newtonsoft.Json; namespace Modding { /// <summary> /// Class to hold GlobalSettings for the Modding API /// </summary> [PublicAPI] public class ModHooksGlobalSettings { // now used to serialize and deserialize the ...
29.894737
98
0.610915
[ "MIT" ]
HollowKnight-Modding/HollowKnight.Modding
Assembly-CSharp/ModHooksGlobalSettings.cs
1,136
C#
using FoxTunes.Interfaces; using System; using System.Collections.Generic; using System.Linq; namespace FoxTunes { public class Core : BaseComponent, ICore { public static bool IsShuttingDown { get; set; } private Core() { ComponentRegistry.Instance.Clear(); ...
30.097674
151
0.46917
[ "MIT" ]
DJCALIEND/FoxTunes
FoxTunes.Core/Core.cs
6,473
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
39.479751
164
0.607591
[ "MIT" ]
rifraf/IronRuby_Framework_4.7.2
Languages/Ruby/Ruby/Runtime/Calls/RubyMemberInfo.cs
12,673
C#
using EasyModular.Auth; using EasyModular.Utils; using Demo.Admin.Application; using Demo.Admin.Application.OrganizeService; using Demo.Admin.Domain; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using System; using System.Collections.Generic; us...
24.125
89
0.612435
[ "MIT" ]
doordie1991/EasyModular
simple/01_Admin/Demo.Admin.Web/Controllers/OrganizeController.cs
1,972
C#
using System; using System.Collections.Generic; using System.Text; using ProtocolSharp.Types; namespace ProtocolSharp.Entities { public enum BoatType { Oak = 0, Spruce = 1, Birch = 2, Jungle = 3, Acacia = 4, DarkOak = 5 } }
13.388889
33
0.684647
[ "MIT" ]
CopperPenguin96/Redstone
ProtocolSharp/Entities/BoatType.cs
243
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ANTLR Version: 4.7.2 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------...
34.997416
169
0.630759
[ "MIT" ]
andy-williams/FilterExpressionParser
src/FilterExpressionParser/Generated/FilterExpressionDslParser.cs
13,544
C#
using System.Threading.Tasks; using Bittrex.Net.Interfaces; using Bittrex.Net.Objects; using CryptoExchange.Net.Objects; using CryptoExchange.Net.OrderBook; using CryptoExchange.Net.Sockets; namespace Bittrex.Net { /// <summary> /// Order book implementation /// </summary> public class BittrexSymbolOr...
36.864865
150
0.634531
[ "MIT" ]
ridicoulous/Bittrex.Net
Bittrex.Net/BittrexSymbolOrderBook.cs
2,730
C#
// ***************************************************** // Copyright 2007, Charlie Poole // // Licensed under the Open Software License version 3.0 // ***************************************************** using System; using NUnit.Framework; using NUnit.Framework.Constraints; namespace NUnitLite.Tests { [TestFix...
27.594203
67
0.537815
[ "MIT" ]
redarrowlabs/pubnub-c-sharp
pocketpc/PubNub-Messaging/NUnitLite-0.2.0/src/NUnitLiteTests/Constraints/ComparisonConstraintTests.cs
1,904
C#
// Licensed under the Apache 2.0 License. See LICENSE.txt in the project root for more information. using ElasticLinq.Logging; using ElasticLinq.Mapping; using ElasticLinq.Request; using ElasticLinq.Retry; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Ela...
39.418803
131
0.593018
[ "Apache-2.0" ]
tecan/ElasticLINQ
Source/ElasticLINQ/Test/TestableElasticContext.cs
4,614
C#
// Copyright (c) Kris Penner. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using KodeAid; using Microsoft.Extensi...
47.674419
180
0.643659
[ "Apache-2.0" ]
MultiTenancyServer/MultiTenancyServer
src/Stores/InMemoryTenantStore.cs
8,202
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("Int...
38.888889
84
0.757143
[ "MIT" ]
gabrielsimas/SistemasExemplo
DDD/ControleLivros/InterfaceUsuario.Mvc5.Tests/Properties/AssemblyInfo.cs
1,403
C#
namespace Octokit.GraphQL.Model { using System; using System.Linq; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// The results of a search. /// </summary> public class SearchResultItem : QueryableValue<SearchResultIte...
35.637931
113
0.584422
[ "MIT" ]
ChilliCream/octokit.graphql.net
Octokit.GraphQL/Model/SearchResultItem.cs
2,067
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using AutoMapper; using MediatR; using Microsoft.Extensions.Logging; using ServiceBusDriver.Core.Components.Search; using ServiceBusDriver.Core.Models.Features.Search; using ServiceBusDriver.Server.Services.Validations; using Servi...
36.53125
135
0.667665
[ "MIT" ]
beaudeanadams/ServiceBusDriver
Server/Features/Message/Search/SearchHandler.cs
2,340
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
38.0625
155
0.572836
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
common/ASC.Data.Backup.Console/Program.cs
4,263
C#
using System.Net; using System.Web.Mvc; namespace WebForLink.Web.Areas.ConfiguracaoInicial.Controllers { [AllowAnonymous] public class VendorListController : Controller { // GET: ConfiguracaoInicial/VendorList public ActionResult Index() { return View(); } ...
32.790698
203
0.608511
[ "MIT" ]
nelson1987/ProjetoPadraoTDD
Code/1_Presentation/WebForLink.Web/Areas/Administracao/Controllers/VendorListController.cs
1,412
C#
namespace BeUtl; [Flags] public enum PropertyObservability { None = 0b0000, Changed = 0b0001, DoNotNotifyLogicalTree = 0b0011, }
14.3
36
0.706294
[ "MIT" ]
YiB-PC/BeUtl
src/BeUtl.Core/PropertyObservability.cs
145
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.Text; namespace VBSourceEmitter { public interface ISourceEmitterOutput { void WriteLine(string str,...
28.310345
101
0.704019
[ "MIT" ]
Bhaskers-Blu-Org2/cci
SourceEmitters/VB/VBSourceEmitter/ISourceEmitterOutput.cs
821
C#
namespace Coevery.ContentManagement.Drivers { public class ContentLocation { public string Zone { get; set; } public string Position { get; set; } } }
29.166667
46
0.651429
[ "BSD-3-Clause" ]
Coevery/Coevery-Framework
src/Coevery/ContentManagement/Drivers/ContentLocation.cs
177
C#
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using LoggerLibrary; using Xunit.Abstractions; using MonotonicContext = HpTimeStamps.MonotonicStampContext; u...
35.475155
120
0.464239
[ "MIT" ]
cpsusie/codegen-experiment
src/SourceGeneratorUnitTests/AlternateLogger.cs
11,425
C#
using System; using System.Threading.Tasks; using Discord.Commands; using WizBot.Modules.Administration.Services; using WizBot.Core.Common.TypeReaders; using Discord.WebSocket; using Microsoft.Extensions.DependencyInjection; namespace WizBot.Common.TypeReaders { public class GuildDateTimeTypeReader : WizBotTypeRe...
34.350877
136
0.665986
[ "MIT" ]
fossabot/WizBot
WizBot.Core/Common/TypeReaders/GuildDateTimeTypeReader.cs
1,960
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using StaticAssets; using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; namespace Authorization.Services { public class JWTDecryptor { public ...
38.27907
187
0.636087
[ "MIT" ]
cryoelite/ChoicesRemake-Backend
ChoicesRemake/Authorization/Services/JWTDecryptor.cs
1,648
C#
// ************************************************************************************* // SCICHART® Copyright SciChart Ltd. 2011-2021. All rights reserved. // // Web: http://www.scichart.com // Support: support@scichart.com // Sales: sales@scichart.com // // SciTraderView.xaml.cs is part of the SCICHART® Ex...
38.703704
89
0.593301
[ "MIT" ]
SHAREVIEW/SciChart.Wpf.Examples
Examples/SciChart.Examples/Examples/SeeFeaturedApplication/SciTrader/SciTraderView.xaml.cs
1,050
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NServiceBus; using Shared; namespace ApiApplication.Controllers { [Route("api/[controller]")] [ApiController] public class TestController : ControllerBase { private readonly IMessageSession _messageSession; public Tes...
27.142857
104
0.623158
[ "MIT" ]
oddbear/NServiceBusContext
ApiApplication/Controllers/TestController.cs
952
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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading....
36.812298
140
0.512967
[ "Apache-2.0" ]
0b01/efcore
src/ef/CommandLineUtils/CommandLineApplication.cs
22,750
C#
#define Graph_And_Chart_PRO using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.Serialization; using UnityEngine.UI; namespace ChartAndGraph { /// <summary> /// base class for all axis monobehaviours. This class contains paramets for defini...
46.623549
253
0.533364
[ "MIT" ]
FrozenSonar/Fencing3DNEAT
Assets/Chart And Graph/Script/Axis/AxisBase.cs
28,114
C#
//----------------------------------------------------------------------- // <copyright file="OwnershipAnalysisPass.cs"> // Copyright (c) Microsoft Corporation. All rights reserved. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO...
41.546448
115
0.588189
[ "MIT" ]
chandramouleswaran/PSharp
Source/StaticAnalysis/Analyses/Ownership/OwnershipAnalysisPass.cs
15,208
C#
using System; namespace GrandPrix.CustomExceptions { public class BlownTyreException : Exception { public BlownTyreException(string message) : base(message) { } } }
16.916667
65
0.64532
[ "MIT" ]
kovachevmartin/SoftUni
CSharp-OOP/Exams/Basics_05-Sept-2017_GrandPrix/GrandPrix/CustomExceptions/BlownTyreException.cs
205
C#
using System.Text.Json.Serialization; namespace Pandorax.UKVehicleData.Models { public class FirstYear { /// <summary> /// Six month VED rate for first year after a new vehicle is registered. /// </summary> [JsonPropertyName("SixMonth")] public double? SixMonth { get; se...
27.7
83
0.604693
[ "MIT" ]
Pandorax100/UKVehicleData
src/Pandorax.UKVehicleData/Models/FirstYear.cs
554
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...
33.104651
153
0.621005
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/MachineLearningServices/V20181119/Outputs/DataFactoryResponse.cs
2,847
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
30.5375
134
0.688498
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-dg/Dg/Model/V20190327/CreateGatewayRequest.cs
2,443
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.613924
130
0.571585
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Neptune/Generated/Model/CopyDBParameterGroupRequest.cs
5,469
C#
using System; using Abp; using Abp.Authorization; using Abp.Dependency; using Abp.UI; namespace MellowoodMedical.MyTest.Authorization { public class AbpLoginResultTypeHelper : AbpServiceBase, ITransientDependency { public AbpLoginResultTypeHelper() { LocalizationSourceName = MyTest...
53.446154
143
0.645941
[ "MIT" ]
ravvikt/MellowoodMedical.MyTest
src/MellowoodMedical.MyTest.Application/Authorization/AbpLoginResultTypeHelper.cs
3,476
C#
using System; using Common.Log; using Lykke.Common.Log; namespace Lykke.Service.PaySign.Client { public class PaySignClient : IPaySignClient, IDisposable { private readonly ILog _log; public PaySignClient(string serviceUrl, ILogFactory logFactory) { _log = logFactory.Creat...
21.12
71
0.5625
[ "MIT" ]
LykkeCity/Lykke.Service.PaySign
client/Lykke.Service.PaySign.Client/PaySignClient.cs
530
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.83871
151
0.586111
[ "MIT" ]
sourcechord/ResponsiveGrid
Sample/ResponsiveGridSample2.Wpf/Properties/Settings.Designer.cs
1,082
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// MybankCreditUserRoleCreateResponse. /// </summary> public class MybankCreditUserRoleCreateResponse : AlipayResponse { /// <summary> /// 参与者 /// </summary> ...
24
68
0.583333
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditUserRoleCreateResponse.cs
576
C#
using System; using System.Windows; using static System.Math; namespace VSimulator { public sealed class VPlotterModel { public Size DrawingArea { get; } public Point GondolaPosition { get; private set; } public event EventHandler GondolaPositionChanged; public double StepLength { get; set; } = 1...
29.493976
147
0.674837
[ "MIT" ]
controlflow/vplotter
vsimulator/VPlotterModel.cs
2,448
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.Authorization; namespace Don2018.PhonebookSpa.Roles.Dto { [AutoMapFrom(typeof(Permission))] public class PermissionDto : EntityDto<long> { public string Name { get; set; } public string DisplayName { get; set; } p...
21.588235
48
0.678474
[ "MIT" ]
antgerasim/DonPhonebookSpaCore2018
aspnet-core/src/Don2018.PhonebookSpa.Application/Roles/Dto/PermissionDto.cs
367
C#
using System.Collections.Generic; namespace ET { /// <summary> /// When the server is in this state, the server make preparation that the game needs. /// The playerIndex is arranged in this state, so is the settings. Messages will be sent to clients to inform the information. /// Transfers to RoundStar...
34.141176
130
0.548587
[ "MIT" ]
wryl/MahjoneET
Server/Model/Mahjone/Controller/GameState/GamePrepareState.cs
2,902
C#
using System; namespace Xms.Plugin { public interface IEntityPluginDeleter { bool DeleteById(params Guid[] id); bool DeleteByEntityId(Guid entityId); } }
16.727273
45
0.663043
[ "MIT" ]
861191244/xms
Libraries/Plugin/Xms.Plugin/IEntityPluginDeleter.cs
186
C#
//------------------ //-- Create By lookchem 3.0 //-- File: Dal/Base/DalW_Intention.cs //-- 2020/5/8 16:32:13 //------------------ using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using Model; using DBUtility; namespace Dal.Base.HardwareMall { pub...
35.757493
277
0.559704
[ "Apache-2.0" ]
THAyou/HardWareMall
HardwareMall.DAL/Base/HardwareMall/W/DalW_Intention.cs
13,515
C#
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using Abp.Organizations; using Senior.Boilerplate.Authorization.Roles; namespace Senior.Boilerplate.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public UserStore( ...
36.555556
85
0.651976
[ "MIT" ]
seniorpe/dotnet-angular-react-vue
aspnet-core/src/Senior.Boilerplate.Core/Authorization/Users/UserStore.cs
1,316
C#
using System; using System.Buffers; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using HedgeModManager.Annotations; using Microsoft.CodeAnalysis; using Microsof...
37.680328
186
0.55471
[ "MIT" ]
Ahremic/HedgeModManager
HedgeModManager/Misc/Extensions.cs
9,196
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("Cu...
38.027778
84
0.750913
[ "MIT" ]
Kentico/Samples
Events/EventsAsProductsKentico/CustomEventManager/Properties/AssemblyInfo.cs
1,372
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DragonFly.Core.WebHooks.Types { public class WebHookResult { public string? Message { get; set; } } }
17.857143
44
0.716
[ "MIT" ]
usercode/DragonFly
src/DragonFly.Core/WebHooks/Types/WebHookResult.cs
252
C#
using System.Threading; using Microsoft.SPOT; using Netduino.Foundation.Sensors.Motion; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace ADXL335PollingSample { public class Program { public static void Main() { var adxl335 = new ADXL335(AnalogChannels.ANALOG_PIN_A0, AnalogCh...
35.967742
97
0.540807
[ "Apache-2.0" ]
WildernessLabs/Netduino.Foundation
Source/Peripheral_Libs/Sensors.Motion.ADXL335/Samples/ADXL335PollingSample/Program.cs
1,117
C#
using System; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using SuperheroesUniverse.Authentication; namespace SuperheroesUniverse.Account { public partial class Manage : System.Web.UI.Page { protected string SuccessMessage { get; ...
36.295082
101
0.576784
[ "MIT" ]
pavelhristov/ASP.NETWebForms
SuperheroesUniverse/SuperheroesUniverse/Account/Manage.aspx.cs
4,430
C#
// MIT License (MIT) - Copyright (c) 2014 jakevn - Please see included LICENSE file using MassiveNet; using UnityEngine; namespace Massive.Examples.NetAdvanced { [RequireComponent(typeof(NetSocket), typeof(NetViewManager))] public class ClientModel : MonoBehaviour { private NetConnection server; ...
27.119048
84
0.665496
[ "MIT" ]
RainsSoft/MassiveNet
Unity3d.Examples/Assets/MassiveNet/Examples/NetAdvanced/Client/Scripts/ClientModel.cs
1,141
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Xml.Linq; using HtmlAgilityPack; namespace pRoom.Models { public class vPlayerModel { public dynamic m=null; public int isActive = 0; public userMD ad...
33.982456
155
0.487093
[ "Apache-2.0" ]
torkashvand630/room
Models/vPlayer.cs
3,876
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Authentication.Facebook; using Microsoft.AspNet.Authentication.Google; using Microsoft.AspNet.Authentication.MicrosoftAccount; using Microsoft.AspNet.Authentication.Twitter; using Microsoft.AspNet.Bu...
42.640288
150
0.649907
[ "Apache-2.0" ]
Acidburn0zzz/Docs-6
aspnet/tutorials/your-first-aspnet-application/sample/src/WebApplication1/Startup.cs
5,929
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ILatestPackageVersionCommand.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full l...
44.529412
120
0.593791
[ "MIT" ]
hugener/Sundew.Packaging.Publish
Source/Sundew.Packaging/Versioning/Commands/ILatestPackageVersionCommand.cs
1,516
C#
namespace System.Threading.Tasks { public static partial class TaskFactoryExtensions { public static Task StartNewDelayed( this TaskFactory factory, int millisecondsDelay) { return StartNewDelayed(factory, millisecondsDelay, CancellationToken.None); } public static ...
54.817164
162
0.653189
[ "Apache-2.0" ]
FoundatioFx/Foundatio.Skeleton
api/src/Core/Extensions/TaskFactoryExtensions.cs
14,693
C#
using System.CodeDom.Compiler; using System.Runtime.Serialization; namespace SolidRpc.Test.Vitec.Types.BusinessIntelligense.Models { /// <summary> /// /// </summary> [GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")] public class EconomicAddress { /// <summary> /// Gatuadress ...
29.5
65
0.585956
[ "MIT" ]
aarrgard/solidrpc
SolidRpc.Test.Vitec/Types/BusinessIntelligense/Models/EconomicAddress.cs
826
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using Multimus.Plugin; namespace Multimus.Models { static class CurrentPlayer { private static IMediaPlayer currendMediaPlayer = new NullPlayer(); public static ReaderWriterLockSlim readerWriterLock = n...
25.1875
89
0.468156
[ "MIT" ]
chris-pie/Multimus
Multimus/Multimus/Models/CurrentPlayer.cs
1,211
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // David Stephensen (mailto:David.Stephensen@pdfsharp.com) // // Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of cha...
26.766304
104
0.579086
[ "MIT" ]
XpsToPdf/XpsToPdf
XpsToPdf/PdfSharp.Pdf.Filters/LzwDecode.cs
4,925
C#
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of the Griffin+ common library suite (https://github.com/griffinplus/dotnet-libs-codegen) // The source code is licensed under the MIT license. //////////////////////////////////...
43.900729
178
0.709378
[ "MIT" ]
GriffinPlus/dotnet-libs-codegen
src/GriffinPlus.Lib.CodeGeneration/TypeDefinition.cs
108,349
C#
using System.Text; using System.Web.Mvc; namespace ChilliSource.Cloud.Web.MVC.Misc { /// <summary> /// Contains extension methods for System.Web.Mvc.HtmlHelper. /// </summary> public static class BlueChilliMotifHtmlHelper { /// <summary> /// Returns HTML string for BlueC...
70.883721
114
0.384843
[ "MIT" ]
BlueChilli/ChilliSource.Cloud.Web.MVC
src/ChilliSource.Cloud.Web.MVC/Extensions/Helpers/Misc/BlueChilliMotif.cs
3,050
C#
using ITSWebMgmt.Caches; using Microsoft.AspNetCore.Mvc; using System; using System.Net; namespace ITSWebMgmt.Controllers { public class ManagedByController : Controller { public string ErrorMessage; [HttpPost] public ActionResult SaveEditManagedBy([FromBody]string email) { ...
29.72549
121
0.511214
[ "BSD-2-Clause" ]
mathgaming/AAUWebMgmt
ITSWebMgmt/Controllers/ManagedByController.cs
1,518
C#
using MonkeyButler.Abstractions.Data.Api.Models.XivApi.Character; using MonkeyButler.Abstractions.Data.Api.Models.XivApi.Enumerations; using MonkeyButler.Business.Engines; using Xunit; namespace MonkeyButler.Business.Tests.Engines; public class CharacterResultEngineTests { [Theory] [InlineData(null, null)] ...
31.398374
85
0.603832
[ "MIT" ]
Foshkey/MonkeyButler
tests/MonkeyButler.Business.Tests/Engines/CharacterResultEngineTests.cs
3,864
C#
using System.Runtime.Serialization; namespace Service.Liquidity.Portfolio.Grpc.Simulation.Models { [DataContract] public class DeleteSimulationRequest { [DataMember(Order = 1)] public long SimulationId { get; set; } } }
22.363636
70
0.711382
[ "MIT" ]
MyJetWallet/Service.Liquidity.Portfolio
src/Service.Liquidity.Portfolio.Grpc/Simulation/Models/DeleteSimulationRequest.cs
248
C#
using System; using System.IO; using System.Linq; namespace ScsSitecoreResourceManager.Pipelines.SitecoreResourceManager { public class InsertNewCsMethod { private readonly string _fileName; private readonly string _template; private readonly string _applicableTemplateZip; public InsertNewCsMethod(string ...
31.097561
197
0.740392
[ "MIT" ]
aevanommen/SitecoreSidekick
ScsSitecoreResourceManager/Pipelines/SitecoreResourceManager/InsertNewCsMethod.cs
1,277
C#
using System; using System.IO; using System.Reflection; using Unicorn.ControlPanel.Headings; namespace Helixbase.Feature.Fun.Unicorn.Pipelines { /// <summary> /// https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/ControlPanel/Headings/HeadingService.cs /// </summary> public class Head...
34.355556
140
0.633894
[ "MIT" ]
muso31/Helixbase-modules
src/Feature/Fun/website/Unicorn/Pipelines/HeadingServiceFun.cs
1,548
C#
using System; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; namespace ClearHl7.V281.Types { /// <summary> /// HL7 Version 2 DDI - Daily Deductible Information. /// </summary> public class DailyDeductibleInformation : IType { /// <inheritdoc/> publ...
39.477612
143
0.589414
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7/V281/Types/DailyDeductibleInformation.cs
2,647
C#
// ----------------------------------------------------------------------- // <copyright file="InlineAutoMoqDataAttribute.cs" company="Piotr Xeinaemm Czech"> // Copyright (c) Piotr Xeinaemm Czech. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information....
38.05
101
0.579501
[ "MIT" ]
Xeinaemm/Xeinaemm.Standard
src/Xeinaemm.Tests.Common/Attributes/InlineAutoMoqDataAttribute.cs
763
C#
using JsonValidatorTool; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace Kooboo.Json.Test { [TestClass] public class IgnoreDefaultValue { [IgnoreDefaultValue] class User { public int? Num { get; set; } public ...
25.595745
89
0.571072
[ "MIT" ]
Kooboo/Json
Kooboo.Json.Test/Test/Feature/IgnoreDefaultValue.cs
1,205
C#
using UnityEngine; using System.Collections; namespace Babbel { public enum FilterMatching { Never = 0, Case = 1 << 0, Name = 1 << 1, Description = 1 << 2, Both = (1 << 1) | (1 << 2), Any = (1 << 1) | (1 << 2) | (1 << 3) }; public static class FilterM...
28.376812
107
0.47855
[ "MIT" ]
local-minimum/babbel
Assets/Addons/Babbel/Scripts/ScriptableObjects/Tag.cs
1,960
C#
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
42.739726
143
0.649038
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.MediaTranslation.V1Beta1/Google.Cloud.MediaTranslation.V1Beta1.Snippets/SpeechTranslationServiceClientSnippets.g.cs
3,120
C#
using Circle.Game.Beatmaps; using Circle.Game.Screens.Select; using osu.Framework.Allocation; namespace Circle.Game.Tests.Visual.SongSelect { public class TestSceneBeatmapCarousel : CircleTestScene { [BackgroundDependencyLoader] private void load(BeatmapStorage beatmaps) { ...
33.057143
78
0.57822
[ "MIT" ]
ojh050118/Circle
Circle.Game.Tests/Visual/SongSelect/TestSceneBeatmapCarousel.cs
1,159
C#
using System.Collections.Generic; using Cicee.Commands.Lib; namespace Cicee.Commands.Template.Lib { public record TemplateLibResult( string ProjectRoot, LibraryShellTemplate ShellTemplate, string LibPath, bool OverwriteFiles, DirectoryCopyResult CiLibraryCopyResult, IReadOnlyCollection<FileCo...
25.294118
61
0.795349
[ "MIT" ]
JeremiahSanders/cicee
src/Commands/Template/Lib/TemplateLibResult.cs
430
C#
using LLBLGenPro.OrmCookbook.EntityClasses; using Microsoft.VisualStudio.TestTools.UnitTesting; using Recipes.ModelWithLookup; namespace Recipes.LLBLGenPro.ModelWithLookup { [TestClass] public class ModelWithLookupSimpleTests : ModelWithLookupSimpleTests<EmployeeEntity> { protected override IModel...
28.6875
88
0.760349
[ "Unlicense" ]
FransBouma/DotNet-ORM-Cookbook
ORM Cookbook/Recipes.LLBLGenPro/Recipes/ModelWithLookup/ModelWithLookupSimpleTests.cs
461
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.483333
86
0.54663
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_DotNet5_bin/Gen/ai/UeTimeLimit.cs
1,469
C#
using DCSoft.Drawing; using System; using System.Drawing; using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [ComVisible(false)] public class GClass443 { private float float_0; private float float_1; private float float_2; private FontWidthStyle fontWidthStyle_0; private Font font_0; ...
21.198473
134
0.637018
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass443.cs
2,837
C#
#region using Bimface.SDK.Attributes.Http; using Bimface.SDK.Entities.Parameters.Base; #endregion namespace Bimface.SDK.Entities.Parameters.Data.File { [BimfaceDataApiHttpRequest("/files/{fileId}/areas/{areaId}")] public class LookupFileAreaParameter : FileParameter { #region Constructors ...
20.275862
81
0.651361
[ "MIT" ]
KennanChan/Bimface.SDK
Bimface.SDK.Standard/Bimface.SDK/Entities/Parameters/Data/File/LookupFileAreaParameter.cs
590
C#
using NLog; using System; using System.Diagnostics; using static NLazyToString.LazyToString; namespace NLazyToStringNLogConsole { internal static class Program { private const int LoopCounter = 1_000_000; private static readonly string LongString = new('9', 20); private st...
38.092857
136
0.552222
[ "MIT" ]
r-pankevicius/NLazyToString
src/NLazyToStringNLogConsole/Program.cs
5,335
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Rebar.Core.Query; namespace sample.Queries { public class SampleQueryHandler : IQueryHandler<SampleQuery, SampleResponse> { public Task<SampleResponse> ExecuteAsync(SampleQue...
28.909091
104
0.696541
[ "MIT" ]
Hoodster/rebar.core
sample/sample/Queries/SampleQueryHandler.cs
638
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure; namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters; internal cla...
33.54
159
0.70483
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.ViewFeatures/src/Filters/TempDataApplicationModelProvider.cs
1,679
C#
using System; using System.Collections; using System.Collections.Generic; namespace OmiyaGames { ///----------------------------------------------------------------------- /// <remarks> /// <copyright file="ListSet.cs" company="Omiya Games"> /// The MIT License (MIT) /// /// Copyri...
33.564612
113
0.500207
[ "MIT" ]
OmiyaGames/omiya-games-common
Runtime/ListSet.cs
16,885
C#
using QFramework; public class UpdataAvatarUICommand : AbstractCommand { private readonly int mAid; public UpdataAvatarUICommand(int aid) { mAid = aid; } protected override void OnExecute() { this.SendEvent(new UpdataAvatarUIEvent(mAid)); } }
20.214286
54
0.681979
[ "MIT" ]
TastSong/CrazyCar
CrazyCar/Assets/Scripts/Command/UpdataAvatarUICommand.cs
285
C#
// ----------------------------------------------------------------------- // <copyright file="IRealTimeDataSource.cs" company=""> // Copyright 2013 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System; using System.ComponentModel; name...
28.857143
80
0.519307
[ "BSD-3-Clause" ]
santoch/qdms
QDMS/Interfaces/IRealTimeDataSource.cs
2,022
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace TennApp.Models.AccountViewModels { public class RegisterViewModel { [Required] [EmailAddress] [Display(Name = "Email")] public...
30.678571
125
0.650757
[ "MIT" ]
leinadpb/TENNAPP
TennApp/Models/AccountViewModels/RegisterViewModel.cs
861
C#
using Speckle.Newtonsoft.Json; using Speckle.Core.Kits; using Speckle.Core.Models; using System.Collections.Generic; using Objects.Structural.Analysis; using Objects.Structural.Loading; namespace Objects.Structural.Results { public class ResultGlobal : Result { [DetachProperty] public Model mo...
46.346939
434
0.616469
[ "Apache-2.0" ]
OswaldoHernandezB/speckle-sharp
Objects/Objects/Structural/Results/ResultGlobal.cs
4,544
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
54.168142
258
0.676115
[ "MIT" ]
AhmedLeithy/azure-sdk-for-net
sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/MhsmPrivateEndpointConnection.cs
12,242
C#
using System; using System.Collections.Generic; using System.Text; namespace Line.Messaging { public enum ButtonHeight { Sm, Md, } }
12.538462
33
0.631902
[ "MIT" ]
EvanceKao/LineMessagingApi
src/Line.Messaging/Messages/Flex/ParameterTypes/ButtonHeight.cs
165
C#
using System; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Crypto.Parameters { public class KdfCounterParameters : IDerivationParameters { private byte[] ki; private byte[] fixedInputDataCounterPrefix; private byte[] fixedInputDataCounterSuffix; private int r; ...
31.445652
138
0.557553
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/crypto/parameters/KDFCounterParameters.cs
2,895
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FastSQL.Core; using FastSQL.Sync.Core; using FastSQL.Sync.Core.Indexer; using FastSQL.Sync.Core.Puller; using FastSQL.Sync.Core.Repositories; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc;...
46.153846
169
0.656
[ "MIT" ]
st2forget/fastSQL
src/api/FastSQL.API/Controllers/PullersController.cs
3,002
C#
using GraphQL.Types; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace {{cookiecutter.library_name}}.Types { public class Base64DataType : ObjectGraphType<Models.Base64Data> { public Base64DataType() { Name = "Base64Data"; Field(d...
23.4
76
0.739316
[ "MIT" ]
lou-parslow/graphql-framework-library
{{cookiecutter.library_name}}/{{cookiecutter.library_name}}/Types/Base64DataType.cs
470
C#
using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Linq; using SkdRefSiteAPI.DAO.Models; using SkdRefSiteAPI.DAO.Models.Animals; using SkdRefSiteAPI.DAO.Models.People; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; namespace SkdRefSiteAPI....
40.2
169
0.671089
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
faintpixel/skdRefSite
API/SkdRefSiteAPI.DAO/Queryables/AnimalsQueryable.cs
1,811
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Threading.Tasks; using VkNet.Model; namespace VkNet.Abstractions.Category { /// <summary> /// Secure В этой секции представлены административные методы, /// предназначенные для вызова от имени приложения с использован...
41.87037
127
0.710217
[ "MIT" ]
Azrael141/vk
VkNet/Abstractions/Category/Async/ISecureCategoryAsync.cs
16,514
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/Shlwapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
41.457447
145
0.78291
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/Shlwapi/URL.cs
3,899
C#
namespace NOBuildTools.SourceUpdater { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.301887
126
0.581699
[ "MIT" ]
igoreksiz/NetOffice
BuildTools/SourceUpdater/Form1.Designer.cs
6,887
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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...
39.444444
157
0.726448
[ "Apache-2.0", "MIT" ]
Grimace1975/bclcontrib
Extents/Digital.Nant.Hosting.Tasks/Nant/Hosting/Tasks+Web/ManageIisTask.cs
3,197
C#
using System.Reflection; using System.Runtime.CompilerServices; namespace NeinLinq; /// <summary> /// Expression visitor for making member access null-safe. /// </summary> public class NullsafeQueryRewriter : ExpressionVisitor { private static readonly ObjectCache<Type, Expression?> Cache = new(); /...
34.4
116
0.637597
[ "MIT" ]
rostunic/nein-linq
src/NeinLinq/NullsafeQueryRewriter.cs
4,130
C#
using FaasNet.Runtime.Domains.Definitions; using FaasNet.Runtime.Extensions; using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace FaasNet.Runtime.Persistence.InMemory { public class InMemoryWorkflowDefinitionRepository : IWorkflowDefinitionReposit...
29.25
104
0.679876
[ "Apache-2.0" ]
simpleidserver/FaasNet
src/FaasNet.Runtime/Persistence/InMemory/InMemoryWorkflowDefinitionRepository.cs
1,289
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CGlabalTicketSourceProvider : CObject { public CGlabalTicketSourceP...
31
139
0.748948
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CGlabalTicketSourceProvider.cs
691
C#
using System; using SaaSOvation.Common.Domain.Model; using SaaSOvation.Collaboration.Domain.Model.Tenants; namespace SaaSOvation.Collaboration.Domain.Model.Forums { public class DiscussionClosed : IDomainEvent { public DiscussionClosed(Tenant tenantId, ForumId forumId, DiscussionId discussionId, strin...
30.346154
115
0.66033
[ "Apache-2.0" ]
GermanKuber-zz/IDDD_Samples_NET
iddd_collaboration/Domain.Model/Forums/DiscussionClosed.cs
791
C#
// ---------------------------------------------------------------------------- // <auto-generated> // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // </auto-generated> // --------------------------------------------------------------------------...
41.463734
407
0.690832
[ "MIT" ]
roscopecoltran/SniperKit-Core
Toolkits/Interop/CppSharp/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs
34,871
C#
using System; namespace AvScan.EsetScanner { using System.Diagnostics; using System.IO; using Core; public class EsetScanner: IScanner { private readonly string esetClsLocation; /// <summary> /// Creates a new scanner /// </summary> /// <param name="esetCl...
29.316456
143
0.51209
[ "MIT" ]
Cliov/AvScan
src/AvScan.EsetScanner/EsetScanner.cs
2,318
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. /****************************************************************************** * This file is auto-generated from ...
42.573013
187
0.584621
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftRightLogicalAdd.Vector128.Int16.1.cs
23,032
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("VV...
37.756757
84
0.740873
[ "MIT" ]
StudioLE/VVD
VVD-GH-To-CG/VVD-GH-To-CG/Properties/AssemblyInfo.cs
1,400
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using NUnit.Framework; using Rebus.Activation; using Rebus.Config; using Rebus.Logging; using Rebus.Messages; using Rebus.Routing.TypeBased; using Rebus.Tests.Contracts; using Rebus.Tests.Contracts.Utilities; using ...
36.016667
199
0.649005
[ "MIT" ]
bog1978/Rebus
Rebus.Tests/Integration/TestMessageDeferralAndRequestReply.cs
4,324
C#