content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Collections.Generic; using Orchard.AuditTrail.Models; using Orchard.Localization; namespace Orchard.AuditTrail.Services.Models { public class AuditTrailCategoryDescriptor { public string Category { get; set; } public LocalizedString Name { get; set; } public IEnumerable<AuditTr...
33.454545
74
0.736413
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.AuditTrail/Services/Models/AuditTrailCategoryDescriptor.cs
368
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Web.Mvc; namespace WebNoteNoSQL.Code.HtmlHelperExtensions { /// <summary> /// Some HTML + CSS3 == Sexy /// </summary> public static class SexyDateExtension { private const string Forma...
31.230769
140
0.62931
[ "MIT" ]
JohannesHoppe/WebNoteNoSQL
WebNoteNoSQL/WebNoteNoSQL/Code/HtmlHelperExtensions/SexyDateExtension.cs
814
C#
using System.Xml.Linq; using DomainObjects; namespace XMLMappers { public class ImportOrderMapper : Mapper<ImportOrder> { public override ImportOrder FromElement(XElement e) => new() { Confirmed = e.BoolValue("confirmed") }; public ImportOrderMapper() : base("order") {} public override void ToElement(ImportOr...
28
104
0.719048
[ "Apache-2.0" ]
Matej-Chmel/vis-chm0065
src/XMLMappers/ImportOrderMapper.cs
420
C#
namespace WebbShop.Views.HomePageView { using System; using System.Collections.Generic; using System.Windows.Forms; using WebbShop.Controllers; using WebbShopAPI.Models; /// <summary> /// Defines the <see cref="SearchBook" />. /// </summary> public partial class SearchBook : Form ...
32.210145
79
0.513386
[ "MIT" ]
marcusjobb/NET20D
OOPA/WebbshopProjekt/Farzaneh/NewRepo2-master/WebbShop/Views/HomePageView/SearchBook.cs
4,447
C#
namespace Records { class RecordEquality { public bool Equal() { Movie one = new() { Title = "Jurassic Park", Director = "Spielberg" }; Movie two = new() { Title = "Jurassic Park", Director = "Spielberg" }; Film uno = new() { Title = "Jurassic Park", Directo...
26.923077
82
0.542857
[ "MIT" ]
diggingforfire/csharp9funsies
Records/RecordEquality.cs
702
C#
using System.Reflection; 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("AWSSDK.SimpleWorkflow")] [assembly: Assemb...
49.4375
313
0.754741
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SimpleWorkflow/Properties/AssemblyInfo.cs
1,582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; namespace MVVMJSON.Converters { public class ObjectExistsToVisible : IValueConverter { public object Convert(object value, Type targetType, object parameter, ...
26.92
94
0.66419
[ "MIT" ]
thomas995/MobileApps3
Converters/ObjectExistsToVisible.cs
675
C#
using FileForensiq.Database.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace FileForensiq.UI { public partial class ChartForm : For...
24.425926
86
0.557998
[ "MIT" ]
Hazaaa/File-Forensiq
FileForensiq.UI/ChartForm.cs
1,321
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UAlbion.Api; using UAlbion.Config; namespace UAlbion.CodeGenerator { public class Assets { public string BaseDir { get; } public AssetConfig AssetConfig { get; } public AssetIdConfig AssetIdConfig...
44.791262
152
0.537878
[ "MIT" ]
csinkers/ualbion
src/Tools/GenerateEnums/Assets.cs
9,229
C#
using System.ComponentModel.Composition; namespace NuGet.VisualStudio { [Export(typeof(IVsPackageInstallerEvents))] [Export(typeof(VsPackageInstallerEvents))] public class VsPackageInstallerEvents : IVsPackageInstallerEvents { public event VsPackageEventHandler PackageInstalled; ...
33.365079
100
0.629401
[ "ECL-2.0", "Apache-2.0" ]
Barsonax/NuGet2
src/VisualStudio/Extensibility/VsPackageInstallerEvents.cs
2,104
C#
using System; using System.Runtime.Serialization; namespace Common.Exceptions { [Serializable] public class ArgumentNullOrWhiteSpaceException : ArgumentNullException { [NonSerialized] private const string CanNotBeNullOrWhiteSpace = "Value cannot be NullOrWhiteSpace."; public ArgumentNullO...
34.269231
108
0.725028
[ "Unlicense" ]
michaelvolz/OpenGraphTilemaker
src/Common/Exceptions/ArgumentNullOrWhiteSpaceException.cs
893
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("Lis...
37.675676
84
0.748207
[ "MIT" ]
whymatter/weasel
WikiParser/ListSpeedTest/Properties/AssemblyInfo.cs
1,397
C#
/* XML-RPC.NET library Copyright (c) 2001-2006, Charles Cook <charlescook@cookcomputing.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limit...
27.6
79
0.636594
[ "MIT" ]
VQComms/XMLRPC
src/util.cs
2,760
C#
namespace ME.ECS.Views { #if ECS_COMPILE_IL2CPP_OPTIONS [Unity.IL2CPP.CompilerServices.Il2CppSetOptionAttribute(Unity.IL2CPP.CompilerServices.Option.NullChecks, false), Unity.IL2CPP.CompilerServices.Il2CppSetOptionAttribute(Unity.IL2CPP.CompilerServices.Option.ArrayBoundsChecks, false), Unity.I...
33.768194
136
0.6072
[ "MIT" ]
Comelyes/ECSExample
Assets/ECS/ECS/Modules/ViewsModule/ViewsProvider.cs
12,530
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Dom...
46
132
0.642105
[ "Apache-2.0" ]
3plcoins/coin-exchange-backend
src/Trades/CoinExchange.Trades.ReadModel/EventHandlers/OrderEventListener.cs
4,372
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
42.244444
167
0.719095
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_04_02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_02/Interaction/AddNoteToRecordRequestAccepted.cs
1,901
C#
using System; using System.Linq; using System.Text; namespace GraphQLParser.Exceptions { public class GraphQLSyntaxErrorException : Exception { public GraphQLSyntaxErrorException(string description, ISource source, int location) : base(ComposeMessage(description, source, location)) ...
32.645161
133
0.523057
[ "MIT" ]
almazik/parser
src/GraphQLParser/Exceptions/GraphQLSyntaxErrorException.cs
3,036
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.Threading.Tasks; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Que...
37.341516
211
0.581906
[ "Apache-2.0" ]
ivaylokenov/EntityFrameworkCore
test/EFCore.SqlServer.FunctionalTests/Query/NorthwindAggregateOperatorsQuerySqlServerTest.cs
51,724
C#
using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using System; using System.Collections.Generic; using System.ServiceModel; namespace FakeXrmEasy.FakeMessageExecutors { public class AssignRequestExecutor : IFakeMessageExecutor { public bool CanExecute(OrganizationRequest request) { ...
31.790323
134
0.583968
[ "MIT" ]
AK-RenegadeX/fake-xrm-easy
FakeXrmEasy.Shared/FakeMessageExecutors/AssignRequestExecutor.cs
1,973
C#
using TARGET = UnityEngine.Transform; namespace Lean.Transition.Method { /// <summary>This component allows you to transition the Transform's localScale.y value.</summary> [UnityEngine.HelpURL(LeanTransition.HelpUrlPrefix + "LeanTransformLocalScale_y")] [UnityEngine.AddComponentMenu(LeanTransition.MethodsMenu...
30.058824
170
0.710763
[ "MIT" ]
pannapat/flow-chart-tool
FlowChartTool/Assets/Lean/Transition/Methods/Transform/LeanTransformLocalScale_y.cs
2,555
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace DbMigrator.Migrations { public partial class user_table_enhancements : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.EnsureSchema( name: "account"); ...
29.810127
71
0.474735
[ "MIT" ]
bilalyasin1616/stripe-integration-dotnet
backend/DbMigrator/Migrations/20210727045557_user_table_enhancements.cs
2,357
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("In...
37.896552
84
0.749773
[ "Apache-2.0" ]
forki/Labs
Interviewer.Xamarin/Interviewer.Xamarin.WinPhone/Properties/AssemblyInfo.cs
1,102
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("Alm...
37.540541
84
0.74658
[ "MIT" ]
vestergaardj/Analysis-Services
BismNormalizer/AlmToolkit/Properties/AssemblyInfo.cs
1,392
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipaySecurityProdFingerprintDeleteModel Data Structure. /// </summary> [Serializable] public class AlipaySecurityProdFingerprintDeleteModel : AopObject { /// <summary> /// IFAA...
29.258065
119
0.631753
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/AlipaySecurityProdFingerprintDeleteModel.cs
1,143
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Localization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Security.Claims; using System.Threading.Tasks; using VueCoreFramework.API...
37.322738
134
0.617294
[ "MIT" ]
WilStead/VueCoreFramework
VueCoreFramework.Test/Data/RepositoryTest.cs
15,267
C#
using System.Collections.Generic; using System.Collections; using System.Diagnostics; using UnityEngine; namespace Hugula.Profiler { [XLua.LuaCallCSharp] public class StopwatchProfiler : System.IDisposable { #region Static public static readonly Stack<StopwatchProfiler> ProfilerStack = new...
26.91791
142
0.569726
[ "MIT" ]
tenvick/hugula
Client/Assets/Hugula/Profiler/StopwatchProfiler.cs
3,609
C#
using FluentValidation; namespace NetCore_GigHub.ViewModels { public class ViewModelRegister { public string Email { get; set; } public string Username { get; set; } public string Password { get; set; } public string PasswordRepeat { get; set; } } public class VmRegist...
30.804878
93
0.526524
[ "MIT" ]
Dreemsuncho/NetCore-GigHub
NetCore-GigHub/ViewModels/ViewModelRegister.cs
1,265
C#
using Avalonia.Controls; using Avalonia.Controls.Metadata; using Avalonia.Extensions.Styles; using Avalonia.Input; using Avalonia.Layout; namespace Avalonia.Extensions.Controls { /// <summary> /// the control:<see cref="GridView"/> used. /// it just a uwp like "GridViewItem" /// </summary> [Pseudo...
45.564516
121
0.682124
[ "MIT" ]
DrewNaylor/Avalonia.Extensions
Avalonia.Extensions.Controls/Controls/GridView/GridViewItem.cs
2,827
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Microshaoft.Net; [assembly: AssemblyDescription(AssemblyInfoManager.AssemblyDescription)] namespace Microshaoft.Net { using System; using System.Reflection; public static class AssemblyInfoManager ...
19.884615
72
0.698259
[ "MIT" ]
Microshaoft/Microshaoft.WorkFlows
CommonUtilities/CommonUtilities.Full/CommonUtilities.NET.Framework.4.5.x/Properties/AssemblyInfo.cs
519
C#
namespace CopperSharp.Entity.Impl; /// <summary> /// Represents a pig entity /// </summary> public sealed class Pig : BreedableEntity { internal Pig() : base(EntityType.Pig) { } /// <summary> /// Sets whether this pig has saddle /// </summary> /// <param name="has">Marker</param> ...
21
44
0.573593
[ "MIT" ]
Maxuss/CopperSharp
CopperSharp/Entity/Impl/Pig.cs
462
C#
// License text here using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using ZigBeeNet.DAO; using ZigBeeNet.ZCL.Protocol; using ZigBeeNet.ZCL.Field; namespace ZigBeeNet.ZCL.Clusters { //...
28
100
0.6469
[ "EPL-1.0" ]
AutomationGarage/ZigbeeNet
libraries/ZigBeeNet/ZCL/Clusters/ZclGenericTunnelCluster.cs
1,486
C#
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. function CheetahCar::onAdd(%this, %obj) { Parent::onAdd(%this, %obj); %obj.setWheelTire(0,CheetahCarTire); %obj.setWheelTire(1,CheetahCarTire); %obj.setWheelTire(2,CheetahCarTire...
28.201389
81
0.590002
[ "MIT" ]
fr1tz/alux3d
My Projects/Alux3D/game/alux3d/server/dm/cheetah.cs
3,918
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.ComponentModel; namespace net.elfmission.WindowsApps.Controls { /// <summary> /// DynamicViewのコンテナパネルを表します。 /// </summary> public class elfDynamicViewContain...
22.804124
104
0.70434
[ "Apache-2.0" ]
YouseiSakusen/elfApp
net.elf-mission/WindowsApps/elfWindowsAppControlLibrary/Controls/elfDynamicViewContainerPanel.cs
2,772
C#
namespace SIS.HTTP.Extensions { using SIS.HTTP.Enums; public static class HttpResponseStatusExtensions { public static string GetResponseLine(this HttpResponseStatusCode statusCode) => $"{(int)statusCode} {statusCode}"; } }
23.909091
85
0.684411
[ "MIT" ]
MihailDobrev/SoftUni
C# Web/C# Web Development Basics/05. Asynchronous Processing - Exercise/Server from This Course - SIS/SIS.HTTP/Extensions/HttpResponseStatusExtensions.cs
265
C#
namespace Songbird.Web.Models { public record SlackMessage { public string Webhook { get; init; } public string Message { get; init; } } }
23.285714
44
0.625767
[ "MIT" ]
karl-sjogren/songbird
src/Songbird.Web/Models/SlackMessage.cs
163
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.Impact { public class AcceleratedCollisionCardController : CardController { public AcceleratedCollisionC...
34.707317
213
0.628953
[ "MIT" ]
qoala/CauldronMods
Controller/Heroes/Impact/Cards/AcceleratedCollisionCardController.cs
1,423
C#
using RavenBot.Core.Handlers; using RavenBot.Core.Ravenfall.Commands; using ROBot.Core.GameServer; using System.Threading.Tasks; namespace ROBot.Core.Twitch.Commands { public class Gift : TwitchCommandHandler { public override async Task HandleAsync(IBotServer game, ITwitchCommandClient twitch, IComma...
33.606061
108
0.537421
[ "MIT" ]
AbbyTheRat/RavenBot
src/ROBot.Core/Twitch/Commands/Gift.cs
1,111
C#
using NUnit.Framework; using SlimJim.Model; using System.IO; namespace SlimJim.Test.Model { [TestFixture] public class SlnGenerationOptionsTests : TestBase { private SlnGenerationOptions options; [Test] public void SolutionOutputPathDefaultsToProjectsRootPath() { options = new SlnGeneratio...
33.684211
142
0.723828
[ "MIT" ]
Wind010/SlimJim
src/SlimJim.Test/Model/SlnGenerationOptionsTests.cs
2,560
C#
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_TextMesh : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.TextMesh o; o=new UnityEngine.TextMesh(); ...
25.570201
97
0.706634
[ "MIT" ]
LunaFramework/Luna
luna/Assets/LuaObject/Unity/Lua_UnityEngine_TextMesh.cs
8,926
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.089888
153
0.604197
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsMinuteRequest.cs
3,479
C#
// Copyright 2017 the original author or 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...
36.338462
164
0.715072
[ "ECL-2.0", "Apache-2.0" ]
spring-operator/CircuitBreaker
src/Steeltoe.CircuitBreaker.HystrixBase/Metric/HystrixCollapserEventStream.cs
2,364
C#
namespace GamersHub.Web.ViewModels.Parties.InputModels { public class PartyApplyInputModel { public int PartyId { get; set; } public string UserId { get; set; } } }
19.5
55
0.646154
[ "MIT" ]
StoyanRangelov/GamersHub
src/Web/GamersHub.Web.ViewModels/Parties/InputModels/PartyApplyInputModel.cs
197
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Iam.V3.Model { /// <summary> /// /// </summary> public class RoleAssi...
32.609589
84
0.47469
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net
Services/Iam/V3/Model/RoleAssignmentBody.cs
4,783
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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
35.921569
145
0.694323
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement3Tests.cs
1,834
C#
using System.Threading.Tasks; using Tomato.Gateway; using Tomato.Rpc; namespace MathService.Definition { /// <summary> /// 数学服务 /// </summary> [RpcService(100)] public interface IMathService { /// <summary> /// 加法服务 /// </summary> /// <param name="req">请求参数req</p...
21.5
53
0.56871
[ "MIT" ]
Soho-Rab/tomato
samples/MathService.Definition/IMathService.cs
503
C#
using System; namespace Entitas.VisualDebugging.Unity { [Flags] public enum SystemInterfaceFlags { None = 0, IInitializeSystem = 1 << 1, IExecuteSystem = 1 << 2, ICleanupSystem = 1 << 3, ITearDownSystem = 1 << 4, IReactiveSystem = 1 << 5 } pub...
42.030303
160
0.649603
[ "MIT" ]
CCludts/EntitasCSharpClone
Addons/Entitas.VisualDebugging.Unity/Entitas.VisualDebugging.Unity/DebugSystems/SystemInfo.cs
5,548
C#
namespace Promitor.Core.Scraping.Configuration.Model.Metrics { public abstract class MetricDefinition { /// <summary> /// Configuration about the Azure Monitor metric to scrape /// </summary> public AzureMetricConfiguration AzureMetricConfiguration { get; set; } ///...
35.25
98
0.603723
[ "MIT" ]
michellemcone/promitor
src/Promitor.Core.Scraping/Configuration/Model/Metrics/MetricDefinition.cs
1,130
C#
using MarvelvsCapcom.DTO.ModelsDTO; namespace MarvelvsCapcom.ViewModels { public class CharacterViewModel { public int Id { get; set; } public string CharName { get; set; } = null!; public string? Side { get; set; } public AbilityDTO Ab1 { get; set; } public AbilityDTO...
24.653846
53
0.574103
[ "MIT" ]
OUMLIL/marvelvCAPCOMBack
MarvelvsCapcom/ViewModels/CharacterViewModel.cs
643
C#
using System.Collections.Generic; using System.IO; namespace SAModel.SAEditorCommon.ModManagement { public class ModInfo { public string Name { get; set; } public string Author { get; set; } public string Version { get; set; } public string Description { get; set; } public string DLLFile { get; set; } p...
24.790698
76
0.678236
[ "MIT", "BSD-3-Clause" ]
X-Hax/sa_tools
Libraries/SAEditorCommon/ModManagement/ModInfo.cs
1,068
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net.Http { internal enum Http3FrameType : long { Data = 0x0, Headers = 0x1, CancelPush = 0x3, Settings = 0x4, PushPro...
23.055556
71
0.6
[ "Apache-2.0" ]
1n5an1ty/aspnetcore
src/Shared/runtime/Http3/Frames/Http3FrameType.cs
415
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("UnitTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("UnitTest")] [assembly: AssemblyCopyright("Cop...
29.333333
56
0.751623
[ "Apache-2.0" ]
takubokudori/LineFormatter
UnitTest/Properties/AssemblyInfo.cs
617
C#
namespace CyberCAT.Core.DumpedEnums { public enum WeaponPartType { Scope = 0, Magazine = 1, Silencer = 2 } }
11.8
35
0.677966
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Core/Enums/Dumped Enums/WeaponPartType.cs
118
C#
// ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedMember.Global using System; using System.Diagnostics; using System.Threading; namespace Cli.General.IO { public static class ConsoleReadLine { /// <summary> /// Última resposta de Console.ReadLine() /// </su...
31.693878
119
0.554411
[ "MIT" ]
sergiocabral/Cabrones.Cli
Cli/General/IO/ConsoleReadLine.cs
3,110
C#
using System.Collections.Generic; using System.ComponentModel; namespace QFramework.GraphDesigner { public class ViewModel<TData> : ViewModel { public TData Data { get; set; } } public class ViewModel : INotifyPropertyChanged { private object _dataObject; pub...
28.567164
130
0.564786
[ "MIT" ]
DiazGames/oneGame
Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/uFrame.Editor/Systems/GraphUI/ViewModels/ViewModel.cs
1,914
C#
// CountdownEvent.cs // // Authors: // Marek Safar <marek.safar@gmail.com> // // Copyright (c) 2008 Jérémie "Garuma" Laval // Copyright 2011 Xamarin Inc (http://www.xamarin.com). // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
21.533333
109
0.66754
[ "Apache-2.0" ]
KKL1982/msgpack-cli
test/MsgPack.UnitTest/Mono/System/Threading/CountdownEvent.cs
4,201
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; using UniRx.Operators; using UniRx.Triggers; using System; namespace Sample2 { /// <summary> /// LogOutputのインタフェース /// </summary> public interface ILogOutput { /// <summary> ...
23.603175
58
0.496974
[ "MIT" ]
YanaPIIDXer/ZenjectTest
Assets/Scripts/Sample2/LogOutput.cs
1,619
C#
using System.Threading; using System.Threading.Tasks; using MediatR; using SFA.DAS.FindApprenticeshipTraining.InnerApi.Requests; using SFA.DAS.SharedOuterApi.Configuration; using SFA.DAS.SharedOuterApi.Interfaces; namespace SFA.DAS.FindApprenticeshipTraining.Application.Shortlist.Commands.DeleteShortlistItemForUser {...
43.36
138
0.785055
[ "MIT" ]
SkillsFundingAgency/das-apim-endpoints
src/SFA.DAS.FindApprenticeshipTraining/Application/Shortlist/Commands/DeleteShortlistItemForUser/DeleteShortlistItemForUserCommandHandler.cs
1,086
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace BindingSample2 { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18.222222
42
0.707317
[ "MIT" ]
robyscar/C-_10_AllInOne4Dummies_sourcecode
source/BK05/CH03/BindingSample2/App.xaml.cs
330
C#
using System; using System.Drawing; namespace Cyotek.Windows.Forms { // Cyotek TabList // Copyright (c) 2012-2017 Cyotek. // https://www.cyotek.com // https://www.cyotek.com/blog/tag/tablist // Licensed under the MIT License. See LICENSE.txt for the full text. // If you use this control in your applicati...
36.569892
138
0.666569
[ "MIT" ]
cyotek/Cyotek.Windows.Forms.TabList
Cyotek.Windows.Forms.TabList/TabListRenderer.cs
3,401
C#
using Harmonic.Buffers; using System; using System.Collections.Generic; using System.Text; namespace Harmonic.Networking.Amf.Serialization.Amf0 { public class SerializationContext : IDisposable { public ByteBuffer Buffer { get; private set; } public List<object> ReferenceTable { get; set; } = ...
22.790698
65
0.565306
[ "MIT" ]
Psynosaur/Harmonic
Harmonic/Networking/Amf/Serialization/Amf0/SerializationContext.cs
982
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
34.038576
157
0.486706
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawScrollBar.cs
11,474
C#
namespace MilitaryElite.Enums { public enum Corps { Airforces = 1, Marines = 2 } }
12.444444
29
0.535714
[ "MIT" ]
VeselinBPavlov/csharp-oop-basics
10. Interfaces and Abstraction - Exercise/MilitaryElite/Enums/Corps.cs
112
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using MoreMountains.Tools; #if UNITY_EDITOR using UnityEditor.Animations; #endif namespace MoreMountains.CorgiEngine { /// <summary> /// A struct used to store character animation parameter definitions, to be used by the CharacterA...
57.763889
137
0.733109
[ "Apache-2.0" ]
CrayonScript/CrayonScriptPluginUnityProject
Assets/CorgiEngine/Common/Scripts/Agents/Animations/CharacterAnimationParametersInitializer.cs
8,320
C#
using System; using System.ComponentModel; using System.Linq; using Android.App; using Android.Content.Res; using Android.Text; using Android.Widget; using Object = Java.Lang.Object; namespace Xamarin.Forms.Platform.Android.AppCompat { public class PickerRenderer : ViewRenderer<Picker, EditText> { AlertDialog _dia...
24.335526
127
0.706137
[ "MIT" ]
datasprings/xamarin
Xamarin.Forms.Platform.Android/AppCompat/PickerRenderer.cs
3,699
C#
// // DO NOT MODIFY! THIS IS AUTOGENERATED FILE! // #pragma warning disable 1591 namespace Xilium.CefGlue { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Xilium.CefGlue.Interop; // Role: HANDLER public abstract uns...
37.169492
116
0.611263
[ "MIT", "BSD-3-Clause" ]
NovusTheory/Chromely
src/Chromely.CefGlue/CefGlue/Classes.g/CefJSDialogHandler.g.cs
4,388
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// AUTOGENERATED: DO NOT EDIT! /// </summary> public partial class TdApi { public class Text : Object { [JsonProperty("@type")] public override string DataType { get; set; } = "text"; [Jso...
24.090909
91
0.55283
[ "MIT" ]
Behnam-Emamian/tdsharp
TDLib.Api/Objects/Text.cs
530
C#
using UnityEngine; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { public static GameManager instance { get; private set; } void Awake() { if (instance == null) { instance = this; } else if (instance != this) { D...
21
86
0.602627
[ "MIT" ]
AlexandreLadriere/RetroSpaceShooter
Assets/Scripts/Managers/GameManager.cs
609
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// BusinessPoint Data Structure. /// </summary> [Serializable] public class BusinessPoint : AopObject { /// <summary> /// 点位描述 /// </summary> [XmlElement("point_des...
21.744186
45
0.490909
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/BusinessPoint.cs
975
C#
using System; namespace XMPPEngineer.Extensions { /// <summary> /// Represents an item of an XMPP entity as defined in XEP-0030. /// </summary> [Serializable] internal class Item { /// <summary> /// The JID of the item. /// </summary> public Jid Jid { ...
29.826772
139
0.500264
[ "MIT" ]
ParamountVentures/Sharp.Xmpp
Extensions/XEP-0030/Item.cs
3,790
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/d2d1_3.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
34.137255
145
0.678346
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5Tests.cs
1,743
C#
namespace _05_ParkValid { using System; using System.Collections.Generic; using System.Linq; public class StartUp { public static void Main() { var database = new Dictionary<string, string>(); int numberOfComands = int.Parse(Console.ReadLine()); ...
27.466019
124
0.420997
[ "MIT" ]
MrPIvanov/SoftUni
02-Progr Fundamentals/18-Dictionaries, Lambda Expressions and LINQ - Exercises/18-DictLamMor/05-ParkValid/StartUp.cs
2,831
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Discord { public static class GuildUserExtensions { public static Task AddRolesAsync(this IGuildUser user, params IRole[] roles) => AddRolesAsync(user, (IEnumerable<IRole>)roles); public st...
39.75
91
0.69434
[ "MIT" ]
Joe4evr/Discord.Net
src/Discord.Net/Extensions/GuildUserExtensions.cs
797
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using OLEDB.Test.ModuleCore; using System.IO; using XmlCoreTest.Common; //This file loads the specified new control file and executes the variations. namespace System.Xml.Tests { ...
30.09434
99
0.523511
[ "MIT" ]
belav/runtime
src/libraries/System.Private.Xml/tests/Writers/RwFactory/CRWFactory.cs
15,950
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace PhantomNet.AspNetCore.Mvc.ViewComponents.Compozr { public class EmptyCompozrBodyViewComponent : ViewComponent { public async Task<IViewComponentResult> InvokeAsync() { await Task.FromResult(0); retu...
23.266667
62
0.670487
[ "MIT" ]
green-grass/PhantomNet-Mvc
src/PhantomNet.AspNetCore.Mvc/ViewComponents/Compozr/EmptyCompozrBodyViewComponent.cs
351
C#
using Microsoft.AspNetCore.Mvc; namespace Howatworks.Assistant.WebSockets.Controllers { public class HomeController : ControllerBase { public IActionResult Index() { return Ok("Return some default content"); } } }
20.307692
53
0.647727
[ "MIT" ]
johnnysaucepn/SubEtha.Apps
src/Assistant/Howatworks.Assistant.WebSockets/Controllers/HomeController.cs
266
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.361905
151
0.607591
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/OpsWorks/Generated/Model/UpdateRdsDbInstanceRequest.cs
3,188
C#
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Reac...
32.884615
80
0.642105
[ "MIT" ]
PKRoma/ReactiveUI
src/ReactiveUI.Testing/MessageBusExtensions.cs
2,565
C#
namespace TraktNet.Objects.Basic.Tests.Json.Writer { using FluentAssertions; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Enums; using TraktNet.Objects.Basic; using TraktNet.Object...
43.227723
119
0.562758
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Basic.Tests/Json/Writer/MetadataArrayJsonWriter/MetadataArrayJsonWriter_StringWriter_Tests.cs
4,368
C#
// <auto-generated /> namespace Vidly.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class DropGen...
29
114
0.643678
[ "MIT" ]
tmarquis887/Vidly
Vidly/Migrations/201809142016216_DropGenreType_IdTableFromMovie1.Designer.cs
870
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Runtime.Serialization.Formatters.Binary; namespace MyContacts { public static class SaveManager { //Variables private const string filePath = "Data.bin"; //Sauvegarder les donnée...
28.647887
97
0.460669
[ "MIT" ]
AdmanDev/MyContacts
MyContacts/Scripts/SaveManager.cs
2,049
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using Reactive.Bindings; using Reactive.Bindings.Extensions; using SandBeige.MediaBox.Composition.Bases; using SandBeige.MediaBox.Composition.Interfaces.Models.Album.Filter; using SandBeige.MediaBox.ViewModels.Album.Filter....
27.270588
124
0.750647
[ "MIT" ]
southernwind/MediaBox
MediaBox/ViewModels/Album/Filter/FilteringConditionViewModel.cs
2,448
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BattleUnit : MonoBehaviour { Transform _spawnPosition; public string Name { get; private set; } // faking constructor on a MonoBehaviour public void Initialize(BattleUnitData data, Transform spawnPosition) ...
23.352941
72
0.717884
[ "MIT" ]
metalac190/RPGFighter
Assets/_Game/Scripts/Units/BattleUnits/BattleUnit.cs
399
C#
// <copyright file="ScapeSession.cs" company="Scape Technologies Limited"> // // ScapeSession.cs // ScapeKitUnity // // Created by nick on 1/5/2019. // Copyright © 2019 Scape Technologies Limited. All rights reserved. // </copyright> namespace ScapeKitUnity { using System; using System.Collections; ...
34.573816
114
0.57952
[ "Apache-2.0" ]
emmaChristine/scapekit-samples-unity
Assets/ScapeKitPlugin/Scripts/Public/ScapeSession.cs
12,415
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> //---...
42.458333
81
0.654563
[ "MIT" ]
smholvoet/promitor-docs-poc
src/Promitor.Core.Contracts/obj/Debug/netcoreapp3.1/Promitor.Core.Contracts.AssemblyInfo.cs
1,019
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.ComponentModel.Design; using System.Runtime.InteropServices; namespace Microsoft.VisualStudio.FSharp.Projec...
76.965517
214
0.794355
[ "Apache-2.0" ]
AliBaghernejad/visualfsharp
vsintegration/src/vs/FsPkgs/FSharp.Project/Common.Source.CSharp/Project/VSProjectConstants.cs
2,232
C#
// HO=False using System; // using System; using System.Collections.Generic; // using System.Collections.Generic; using System.Linq; // using System.Linq; using System.Text; // using System.Text; using DxLibDLL; // using DxLibDLL; // namespace Charlotte // namespace Charlotte { // { public class ChooseTemporaryGerm...
65.341304
619
0.832651
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_01/tmpsol_mid/Elsa20200001/GameCommons/DDPad.cs
30,059
C#
#pragma checksum "..\..\VideoManipulationWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F4AB4B5AF5E004AE0B7F32DE6B75E980" //------------------------------------------------------------------------------ // <auto-generated> // Il codice è stato generato da uno strumento. // Versione runtime:4.0.3031...
40.317829
144
0.62911
[ "MIT" ]
fabbrin/KinecTool
Kinect_RPS_Game/obj/Debug/VideoManipulationWindow.g.i.cs
5,204
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Xml; namespace SoulsFormats { public partial class PARAM : SoulsFile<PARAM> { /// <summary> /// The layout of cell data within each row in a param. /// </summary> [Obsolete] public ...
36.842105
143
0.424231
[ "MIT" ]
NamelessHoodie/AniBNDRegister
SoulsFormats/Formats/PARAM/Deprecated/Layout.cs
18,202
C#
using EventManager.WebAPI.Model; using EventManager.WebAPI.Validators; using FluentAssertions; using Xunit; namespace Munro.UnitTests.Functional_Tests { public class JobRequestValidationTest { [Fact] public void when_valid_jobrequest_should_pass_validation() { // Arrange ...
24.957447
78
0.459506
[ "MIT" ]
MunroRaymaker/eventmanager-webapi
tests/Munro.UnitTests/Functional Tests/JobRequestValidationTest.cs
2,348
C#
// Copyright(c) Microsoft Corporation. // All rights reserved. // // Licensed under the MIT license. See LICENSE file in the solution root folder for full license information. using System; using System.Threading.Tasks; using System.Collections.Generic; using Owin; using System.Data.SqlClient; using Microsoft.Azure;...
40.653846
142
0.718543
[ "MIT" ]
kulado/ProposalManager
SmartLink/SmartLink.Web/Startup.cs
2,116
C#
using System; using System.Diagnostics; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TensorShaderAvxBackend; namespace TensorShaderAvxBackendTest.ElementwiseLogicalArithmetric { [TestClass] public class LessThanOrEqualTest { [TestMethod] public void ExecuteTest()...
30
100
0.521818
[ "MIT" ]
tk-yoshimura/TensorShaderAVX
TensorShaderAvxBackendTest/Elementwise/LogicalArithmetric/LessThanOrEqualTest.cs
1,650
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
43.390625
173
0.612171
[ "MIT" ]
undersoft-org/NET.Undersoft.Picatch.Devel
NET.Undersoft.Picatch.Agent.Win/Undersoft.Picatch.Agent.Cpt.Inventory/Properties/Resources.Designer.cs
2,779
C#
using System.Web.Routing; using Microsoft.AspNet.FriendlyUrls; namespace App.WebForms { public static class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { var settings = new FriendlyUrlSettings(); settings.AutoRedirectMode = RedirectMode.Perman...
24.5
65
0.668367
[ "MIT" ]
bitelligent/WebFormAssignmentTask
ClientApps/App.WebForms/App_Start/RouteConfig.cs
392
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System.IO; using M...
40.468657
168
0.575053
[ "Apache-2.0" ]
URIS-2021-2022/tim-10---cloudscribe-tim-10-cloudscribe
src/sourceDev.WebApp/Startup.cs
13,559
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace AdvocacyPlatformInstaller { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// C...
28.350649
98
0.576271
[ "MIT" ]
Bhaskers-Blu-Org2/AdvocacyPlatform
Installer/AdvocacyPlatformInstaller/DataModel/PowerApps/DynamicsCrmConfiguration.cs
2,185
C#
// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace XamBindingSample { [Register (...
20.5
84
0.684211
[ "MIT" ]
dr-aryone/sample-2016-vslive-crossplatform
Binding Sample/XamBindingSample/XamBindingSample.iOS/Bindings6ViewController.designer.cs
779
C#
/*=============================================================================== Copyright (C) 2020 Immersal Ltd. All Rights Reserved. This file is part of the Immersal SDK. The Immersal SDK cannot be copied, distributed, or made available to third-parties for commercial purposes without written permission of Immer...
25.9625
82
0.624458
[ "MIT" ]
UetaKento/arcloud-sdk-samples
Assets/ImmersalSDK/Samples/Scripts/Mapping/MappingUIComponent.cs
2,079
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Bicep.Core.Parsing; using Bicep.Core.Samples; using Bicep.Core.Semantics; using Bicep.Core.Syntax; using Bicep.Core...
47.593939
180
0.65822
[ "MIT" ]
aliami13/bicep
src/Bicep.LangServer.IntegrationTests/DefinitionTests.cs
7,855
C#
using Inventor; using InventorEvents2011.Interfaces; namespace InventorEvents2011 { public class SelectEventsLib : ISelectEventsLib { private readonly Application invApp; private InteractionEvents localInteractionEvents; private SelectEvents selectEvents; public Sel...
34.518072
108
0.631763
[ "MIT" ]
Hallmanac/Adsk-Inv-Evts-Wrapper
InventorEvents2011/SelectEventsLib.cs
2,867
C#
using System.Collections.Generic; using RollingRetention.Core.Entities; using RollingRetention.Shared.Models; namespace RollingRetention.Core.Interfaces { public interface IRollingRetentionService { float CalculateRollingRetention(IList<ApplicationUser> users, int day); IEnumerable<UserRetent...
28.642857
102
0.78803
[ "MIT" ]
suxrobGM/RollingRetention
src/RollingRetention.Core/Interfaces/IRollingRetentionService.cs
403
C#