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; using System.Runtime.InteropServices; #if NET4 namespace System.Runtime.CompilerServices { [StructLayout(LayoutKind.Sequential, Size = 1)] internal struct VoidTaskResult { } } #endif
16.75
48
0.78607
[ "MIT" ]
19900623/X
NewLife.Core/Threading/VoidTaskResult.cs
201
C#
using System.Drawing; using ArtrointelPlugin.Utils; namespace ArtrointelPlugin.SDGraphics.Renderer.AnimatedEffects { /// <summary> /// Flashes with input color with animated alpha value. /// </summary> class FlashRenderer : CanvasRendererBase, IAnimatableRenderer { // input data pr...
32.564356
113
0.555488
[ "MIT" ]
artrointel/streamdeck-avengers
ArtrointelPlugin/SDGraphics/Renderer/AnimatedEffects/FlashRenderer.cs
3,291
C#
using System; using Exiled.API.Features; using Exiled.API.Enums; using ServerHandler = Exiled.Events.Handlers.Server; using PlayerHandler = Exiled.Events.Handlers.Player; namespace MegaUtils { public class MegaUtils : Plugin<Config> { public static MegaUtils instance; private EventHandler ev { get; set; } pu...
23.979167
86
0.701129
[ "MIT" ]
AtomSnow/MegaUtils
MegaUtils/Plugin.cs
1,151
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...
50.379121
152
0.612117
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20160601/ExpressRouteCircuit.cs
18,338
C#
using System.Collections.Generic; using System.Threading.Tasks; using Codice.Client.BaseCommands; using Codice.Client.BaseCommands.EventTracking; using Codice.CM.Common; using GluonGui.WorkspaceWindow.Views.Checkin.Operations; using PlasticGui; using Unity.PlasticSCM.Editor.AssetUtils; using Unity.PlasticSCM.Editor.U...
31.8
96
0.580503
[ "Apache-2.0" ]
ASlugin/Homework-2sem
SCP-087/Library/PackageCache/com.unity.collab-proxy@1.15.16/Editor/PlasticSCM/Views/PendingChanges/PendingChangesTab_Operations.cs
7,952
C#
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace SyncTrayzor.Services { public interface IUserActivityMonitor { bool IsWindowFullscreen(); } // Taken from http://www.richard-banks.org/2007/09/how-to-detect-if-another-application-is.html ...
35.056338
143
0.557654
[ "MIT" ]
Bararie/SyncTrayzor
src/SyncTrayzor/Services/UserActivityMonitor.cs
2,421
C#
using ProtoBuf; namespace ThreeKingdoms { [ProtoContract] public class CTS_L_LotteryConfigMsg { /// <summary> /// /// </summary> [ProtoMember(1)] public long userId { get; set; } } }
15.125
40
0.533058
[ "MIT" ]
liuruoyu1981/IukerTech
IukerTech_ThreeKingdoms/CSharp/.BackProtobuf/CTS_L_LotteryConfigMsg.cs
242
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using Innofactor.EfCoreJsonValueConverter; using our.orders.Helpers; namespace our.orders.Models { public class ProductOption { public string Title { get; set; } public string Id { get; set...
21.73913
51
0.658
[ "MIT" ]
Our-Company-Ltd/our.orders
core/lib/Models/ProductOption.cs
500
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace AutoRest.Java.Azure.Fluent.Model { public interface IFluentModel { ISegmentFluentMethodGroup FluentMethodGroup { get; } ModelLo...
34.5
95
0.708333
[ "MIT" ]
MariusVolkhart/autorest.java
src/azurefluent/Model/FluentCommon/Model/IFluentModel.cs
554
C#
using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Security; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Input; using System.Windows.Media; using HandyControl.Data; using HandyC...
37.096203
173
0.599536
[ "MIT" ]
GF-Huang/HandyControls
src/Shared/HandyControl_Shared/Controls/Input/PasswordBox.cs
14,709
C#
using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Links; using Sitecore.MediaFramework; using Sitecore.MediaFramework.Diagnostics; using Sitecore.Shell.Framework; using Sitecore.Shell.Framework.Commands; using Sitecore.Text; using System; using System.Collections.Generic; using System.Linq; usi...
41.54386
219
0.629645
[ "Apache-2.0" ]
BrightcoveOS/Sitecore-8.x-Media-Framework-2.x-Connector
src/Brightcove.MediaFramework.Brightcove/Commands/CustomFields.cs
2,370
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 ...
26.62931
146
0.683069
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-dataworks-public/Dataworks_public/Model/V20200518/GetQualityEntityRequest.cs
3,089
C#
using System; using Server.Mobiles; using Server.Items; using Server.Spells; using Server.Engines.VeteranRewards; namespace Server.Items { public class RideableBoura : EtherealMount { public override int LabelNumber { get { return 1150006; } } [Constructable] public RideableBoura() ...
21.625
67
0.579191
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Vivre/Mobiles/Misc/RidableBoura.cs
865
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Studio.JZY.WorkAsp.RelationTree { p...
27.057692
81
0.448472
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/WorkAsp/RelationTree/RelationDeptTree.aspx.designer.cs
1,833
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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 of the License at // http://w...
34.875
92
0.572879
[ "MIT" ]
3quanfeng/azure-powershell
src/CosmosDB/CosmosDB/Models/MongoDB/PSMongoIndexKeys.cs
1,629
C#
// Copyright 2007-2011 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...
34.157895
112
0.487417
[ "Apache-2.0" ]
doowb/MassTransit
src/MassTransit/Subscriptions/Coordinator/PeerCache.cs
5,841
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.Goog...
29.685714
162
0.642926
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Dataproc/V1/Inputs/RegexValidationArgs.cs
1,039
C#
using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using SimpleIdentityServer.Scim.Host.Controllers; using SimpleIdentityServer.Scim.Host.Extensions; using SimpleIdentityServer.Module; using...
41.847826
114
0.720519
[ "Apache-2.0" ]
appkins/SimpleIdentityServer
SimpleIdentityServer/src/Apis/Scim/SimpleIdentityServer.Scim.Host/ScimHostModule.cs
1,927
C#
using System.Collections.Generic; using SamplePrism.Domain.Models.Menus; using SamplePrism.Domain.Models.Tickets; namespace SamplePrism.Domain.Builders { public class OrderBuilderFor<T> : ILinkableToMenuItemBuilder<OrderBuilderFor<T>> where T : ILinkableToOrderBuilder<T> { private readonly T _parent; ...
28.47619
121
0.598662
[ "Apache-2.0" ]
XYRYTeam/SimplePrism
SamplePrism.Domain/Builders/OrderBuilderFor.cs
2,394
C#
/* * Copyright 2010-2013 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...
66.883503
199
0.713496
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancing.cs
78,655
C#
using System; using Rhino.ServiceBus.Impl; namespace Rhino.ServiceBus.Internal { public interface ITransport : IDisposable { void Start(); Endpoint Endpoint { get; } int ThreadCount { get; } /// <summary> /// The information for the message currently being...
33.25
101
0.701299
[ "BSD-3-Clause" ]
EzyWebwerkstaden/rhino-esb
Rhino.ServiceBus/Internal/ITransport.cs
1,463
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pokladna { public interface IRepos { List<PokladniZaznam> NactiVse(); List<PokladniZaznam> NactiMesic(int rok, int mesic, string sloupecTrideni, bool sestupne); ...
29.473684
98
0.742857
[ "MIT" ]
SmurFoun/Pokladna
Pokladna/Pokladna/IRepos.cs
562
C#
// Copyright (c) 2017 Andrew Vardeman. Published under the MIT license. // See license.txt in the FileSharper distribution or repository for the // full text of the license. using System; using System.Collections.Generic; using System.IO; using System.Threading; using FileSharperCore.Util; using Xceed.Wpf.Toolkit.Pr...
33
124
0.655367
[ "MIT" ]
adv12/FileSharper
src/FileSharper/FileSharperCore/Conditions/Text/WordCountCondition.cs
1,949
C#
using System; namespace Cybtans.Services.DependencyInjection { public interface ITypeResolver { Type ResolveImplementer(Type contract, out LifeType? lifeType); } }
15.666667
71
0.718085
[ "MIT" ]
ansel86castro/cybtans-sdk
CybtansSDK/Cybtans.Services/DependencyInjection/ITypeResolver.cs
190
C#
using Autofac; using Autofac.Extensions.DependencyInjection; using Basket.API.Infrastructure.Filters; using Basket.API.Infrastructure.Middlewares; using Basket.API.IntegrationEvents.EventHandling; using Basket.API.IntegrationEvents.Events; using HealthChecks.UI.Client; using Microsoft.AspNetCore.Authentication.JwtBear...
41.07337
167
0.587297
[ "MIT" ]
AZ2021lab/mslearn-aspnet-core
modules/microservices-logging-aspnet-core/src/src/Services/Basket/Basket.API/Startup.cs
15,117
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
72.717149
451
0.652925
[ "MIT" ]
Arsasana/azure-powershell
src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity.cs
32,202
C#
[Serializable] public class SharedPartnerNPCActionBehaviorType : SharedVariable<PartnerNPCActionBehaviorType> // TypeDefIndex: 6443 { // Methods // RVA: 0x1C8E900 Offset: 0x1C8EA01 VA: 0x1C8E900 Slot: 3 public override string ToString() { } // RVA: 0x1C8E990 Offset: 0x1C8EA91 VA: 0x1C8E990 public static SharedPa...
29.9375
116
0.778706
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/SharedPartnerNPCActionBehaviorType.cs
479
C#
using System; using System.Collections.Generic; using System.Linq; using RogueSheep.RandomNumbers; namespace RogueSheep.Maps.Generation { public class CellularAutomaton : IMapGenerator<bool> { private readonly IRandom rng; private readonly CellularAutomatonOptions options; public Cellu...
34.288973
113
0.465181
[ "MIT" ]
KarbonKitty/rogue-sheep
RogueSheep/Maps/Generation/CellularAutomaton.cs
9,018
C#
using System; using System.Collections.Generic; using System.Text; namespace LogJoint.Extensibility { public class Model : IModel, IPostprocessingModel { public Model( IInvokeSynchronization threadSync, Telemetry.ITelemetryCollector telemetryCollector, Persistence.IWebContentCache webCache, ...
51.44898
124
0.808409
[ "MIT" ]
logjointfork/logjoint
trunk/extensibility/Model.cs
5,044
C#
namespace HtmlGenerator { public class HtmlObjectElement : HtmlElement { public HtmlObjectElement() : base("object") { } public HtmlObjectElement WithData(string value) => this.WithAttribute(Attribute.Data(value)); public HtmlObjectElement WithForm(string value) => this.WithAttribute(A...
40.75
105
0.738241
[ "MIT" ]
hughbe/HtmlGenerator
src/Elements/HtmlObjectElement.cs
978
C#
// Animancer // https://kybernetik.com.au/animancer // Copyright 2021 Kybernetik // using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Animations; using UnityEngine.Audio; using UnityEngine.Playables; using Object = UnityEngine.Object; namespace Animancer { /// <summary>[Pro-Only...
38.880309
130
0.399801
[ "MIT" ]
malering/ET
Unity/Assets/VCFrame/EngineCode/ThirdParty/Animancer/Internal/Core/PlayableAssetState.cs
10,070
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
39.840426
321
0.640854
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/monitor/Microsoft.Azure.Management.Monitor/src/Generated/Models/DataCollectionRuleAssociation.cs
3,745
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.Metadata.Profiles.Icc; using Xunit; namespace SixLabors.ImageSharp.Tests.Metadata.Profiles.ICC.DataReader { [Trait("Profile", "Icc")] public class IccDataReaderMatrixTests { [Theory] ...
31.775
115
0.654603
[ "Apache-2.0" ]
0xced/ImageSharp
tests/ImageSharp.Tests/Metadata/Profiles/ICC/DataReader/IccDataReaderMatrixTests.cs
1,271
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...
43.612903
151
0.611563
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.Route53/Model/ListResourceRecordSetsRequest.cs
8,112
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace EventCloud.Migrations { public partial class _27Feb1addPackage : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "Value", ...
35.043189
82
0.4781
[ "MIT" ]
HealthPro-Alborg-Demo/alborg_project
aspnet-core/src/EventCloud.EntityFrameworkCore/Migrations/20190227091233_27-Feb-1-addPackage.cs
10,550
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Excellent_Or_Not_Book { class Program { static void Main(string[] args) { var grade = double.Parse(Console.ReadLine()); if (grade >= 5.50) ...
19.576923
57
0.514735
[ "MIT" ]
Radostta/Programming-Basics-And-Fundamentals-SoftUni
Simple-Conditions/Excellent-Or-Not-Book/Program.cs
511
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class animImportFacialInitialPoseEntryDesc : CVariable { [Ordinal(0)] [RED("id")] public CInt16 Id { get; set; } [Ordinal(1)] [RED("initAnimationPoseMax")]...
43.25
123
0.683044
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/animImportFacialInitialPoseEntryDesc.cs
1,015
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace OpenActive.NET { /// <summary> /// /// ## **EARLY RELEASE NOTICE** /// In order to expedite the OpenActive tooling work, this class has been added to the model for the purposes of test...
38.440994
213
0.589594
[ "MIT" ]
shervinw/OpenActive.NET
OpenActive.NET/models/WebAPI.cs
6,189
C#
using OneData.Exceptions; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Globalization; namespace OneData.Tools { public class SimpleConverter { /// <summary> /// Convierte un objeto de tipo String al tipo proporcionado. ...
36.217391
129
0.502734
[ "MIT" ]
jorgemk85/OneData
Tools/SimpleConverter.cs
7,499
C#
#if !NETSTANDARD13 /* * 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 ...
38.958763
160
0.665255
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/src/Services/IoTThingsGraph/Generated/Model/_bcl45+netstandard/ListTagsForResourcePaginator.cs
3,779
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace ZDevTools.Utilities { /// <summary> /// 哈希工具 /// </summary> public static class HashTools { /// <summary> /// 使用UTF8编码计算...
28.478261
113
0.596947
[ "Apache-2.0" ]
zhyy2008z/ZDevTools
ZDevTools/Utilities/HashTools.cs
1,432
C#
namespace _07.Sum_Big_Numbers { using System; using System.Text; public class SumBigNumbers { public static void Main() { string firstNum = Console.ReadLine(); string secondNum = Console.ReadLine(); int numInMind = 0; int remainder = 0; ...
31.375
130
0.513147
[ "MIT" ]
ELalkovski/Software-University
04. C# Advanced/04. Manual String Processing Exercises/07. Sum Big Numbers/SumBigNumbers.cs
1,257
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System.Collections.Generic; using Dawn; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.Caching.Events; namespace Sportradar.OddsFeed.SDK.Entiti...
41.212389
139
0.625295
[ "Apache-2.0" ]
sportradar/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/EntitiesImpl/MatchStatus.cs
4,659
C#
/* * Copyright 2010-2013 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...
35.533333
197
0.627767
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.ElasticBeanstalk/Model/Internal/MarshallTransformations/CreateStorageLocationResultUnmarshaller.cs
2,665
C#
// Copyright (c) zhenlei520 All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using EInfrastructure.Core.Configuration.Enumerations.SeedWork; namespace EInfrastructure.Core.Configuration.Enumerations { /// <summary> /// 性别 /// </summary> ...
24.710526
95
0.533546
[ "MIT" ]
Hunfnfmvkvllv26/System.Extension.Core
src/Configuration/src/EInfrastructure.Core.Configuration/Enumerations/Gender.cs
963
C#
using System.Linq; using AspNetUpgrade.Model; using Newtonsoft.Json.Linq; namespace AspNetUpgrade.UpgradeContext { public class ProjectJsonWrapper { JObject JsonObject { get; set; } public ProjectJsonWrapper(JObject jsonObject) { JsonObject = jsonObject; } ...
37.497382
114
0.544541
[ "MIT" ]
dazinator/AspNetRC1toRC2UpgradeTool
src/AspNetUpgrade/AspNetUpgrade/UpgradeContext/ProjectJsonWrapper.cs
7,164
C#
using System; using System.ComponentModel.DataAnnotations; namespace RouteDelivery.Models { public class DeliverySchedule: IEntity { [Display(Name = "Optimization Request ID")] public int OptimizationRequestID { get; set; } [Display(Name = "Customer No")] public int C...
34.636364
57
0.598425
[ "MIT" ]
codeyu/RouteDelivery
src/RouteDelivery.Models/DeliverySchedule.cs
764
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...
35.977273
147
0.6494
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/ConfigService/Generated/Model/Internal/MarshallTransformations/DeleteConfigRuleRequestMarshaller.cs
3,166
C#
namespace RemoteKeys; public interface IPathParser { IEnumerable<string> Parse( string path ); }
17.333333
43
0.740385
[ "MIT" ]
palpha/remotekeys
src/RemoteKeys/IPathParser.cs
106
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.ContractsLight; using System.Globalization; using System.IO; using BuildXL.Pips.Filter; using BuildXL.Storage; using BuildXL.Utilities; using BuildXL.Utilities.Collections; using BuildXL.Utiliti...
35.722408
200
0.590769
[ "MIT" ]
Microsoft-Android/BuildXL
Public/Src/Engine/UnitTests/Scheduler/SchedulerTestBase.cs
10,681
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace game_Simulation.Enums { public enum LoanLevel : int { Category1Loan = 1, Category2Loan = 2, Category3Loan = 3, Category4Loan = 4, ...
37.435115
95
0.559747
[ "MIT" ]
michael-kamel/BankSim
game_Simulation/Enums/Bank.cs
4,906
C#
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Security; namespace SliceIsRightTracker.Overlay { internal static class Constants { // ReSharper disable InconsistentNaming public const uint SWP_NOSIZE = 0x0001; public const uint SWP_NOMOVE = 0x00...
40.466667
132
0.676936
[ "MIT" ]
Ilyatk/FFXIVSliceIsRightTracker
Overlay/Imports.cs
6,072
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
33
85
0.522727
[ "Unlicense" ]
Polimat/Gamma
Entities/GetCharacteristicsForPM_Result.cs
660
C#
using Ancheta.Model.Data; using Microsoft.EntityFrameworkCore; namespace Ancheta.WebApi.Contexts { public class ApplicationDbContext : DbContext { public DbSet<Poll> Polls { get; set; } public DbSet<Answer> Answers { get; set; } public DbSet<Vote> Votes { get; set; } public Ap...
28.472222
83
0.531707
[ "MIT" ]
Mehigh17/Ancheta
Ancheta.WebApi/Contexts/ApplicationDbContext.cs
1,025
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Security.Crypt...
33
132
0.586517
[ "MIT" ]
ARhj/corefx
src/Common/src/System/Security/Cryptography/Asn1/Pbkdf2Params.xml.cs
4,556
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace OdbcQueryTool.Converters { [ValueConversion(typeof(bool), typeof(Visibility))] public class BooleanToVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, obj...
33.833333
103
0.623645
[ "Unlicense" ]
jehugaleahsa/OdbcQueryTool
OdbcQueryTool/Converters/BooleanToVisibilityConverter.cs
1,017
C#
/* M2Mqtt Project - MQTT Client Library for .Net and GnatMQ MQTT Broker for .NET Copyright (c) 2014, Paolo Patierno, All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; ...
30.892857
94
0.603854
[ "MIT" ]
JadeCong/AvatarGame_Unity
Assets/Plugins/MQTT/scripts/Messages/MqttMsgSubscribeEventArgs.cs
2,595
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.542857
84
0.756059
[ "MIT" ]
moonmile/PazzleDrag
PazzleDrag/PazzleDrag.Droid/Properties/AssemblyInfo.cs
1,282
C#
namespace SuperCharactersApp.ViewModels.DTO.SuperPowerViewModels { using SuperCharacters.Models; using SuperCharacters.Services.Mapping.Contracts; using SuperCharactersApp.ViewModels.Contracts; using SuperCharactersApp.ViewModels.DTO.ReusableModalModel; using System.ComponentModel.DataAnnotations; ...
31.925926
65
0.664733
[ "MIT" ]
pavsavov/SuperCharacterApp
src/Data/SuperCharactersApp.ViewModels/DTO/SuperPowerViewModels/SuperPowerListingViewModel.cs
864
C#
using System; using System.Collections.Generic; using System.Linq; namespace ForgedOnce.TsLanguageServices.FullSyntaxTree.AstBuilder { public static partial class StNonNullExpressionExtensions { public static ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StNonNullExpression WithExpressi...
56.606061
355
0.769807
[ "MIT" ]
YevgenNabokov/ForgedOnce.TSLanguageServices
ForgedOnce.TsLanguageServices.FullSyntaxTree/AstBuilder/Generated/StNonNullExpressionExtensions.cs
1,868
C#
using FluentValidation; namespace Gear.Manager.Core.EntityServices.ApplicationUsers.Commands.AddToRoles { public class AddToRolesCommandValidator : AbstractValidator<AddToRolesCommand> { public AddToRolesCommandValidator() { RuleFor(x => x.UserId).NotNull().NotEmpty(); } ...
25.076923
82
0.693252
[ "MIT" ]
indrivo/bizon360_pm
IndrivoPM/IndrivoPM.Application/EntityServices/ApplicationUsers/Commands/AddToRoles/AddToRolesCommandValidator.cs
328
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.Reflection; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.JsonPatch.Operations; using Microsoft.AspNetCor...
37.892308
156
0.630126
[ "Apache-2.0" ]
erravimishracse/Mvc
src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchOperationsArrayProvider.cs
2,465
C#
using System.Collections.Generic; namespace MvcFramework.Identity { public class Principal { public Principal() { this.Roles = new List<string>(); } public string Id { get; set; } public string Username { get; set; } public string Email { get; set...
18.142857
47
0.553806
[ "MIT" ]
emilia98/CSharpWebSoftUni
C# Web Basics/10. MVC Introduction - Exercise/SIS/WebServer/Identity/Principal.cs
383
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.34209 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
68.129534
293
0.633965
[ "Apache-2.0" ]
sosan/msgpack-cli
test/MsgPack.UnitTest/gen/map/MsgPack_Serialization_PolymorphicMemberTypeKnownType_Tuple_Tuple7MidPolymorphicGetOnlyPropertyAndConstructorSerializer.cs
13,323
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class L2010AA_837IMap : X12LayoutMap<L2010AA_837I, X12Entity> { public L2010AA_837IMap() { Id = "2010AA"; Name = "Billing Provider Name"; Segmen...
29.090909
74
0.5375
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.X12Schema/Generated/V5010/Layouts/Maps/L2010AA_837IMap.cs
642
C#
using System; using System.Collections.Generic; using System.Text; using MedliSystem = Medli.System; using System.IO; using Medli.System; namespace Medli.Apps { public class rm : Command { public override string Name { get { return "rm"; } } public override string Summary { get { r...
14.136364
49
0.599678
[ "BSD-3-Clause-Clear" ]
Siaranite-Solutions/Medli
Medli/Kernel/Utils/Filesystem/rm.cs
624
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using UMA.CharacterSystem; namespace UMA { public class SkeletonDNAConverterPlugin : DynamicDNAPlugin { #region FIELDS [SerializeField] private List<SkeletonModifier> _skeletonModifiers =...
41.28976
310
0.706205
[ "MIT" ]
DigitalPainting/UMA
UMAProject/Assets/UMA/Core/Scripts/DNAPlugins/SkeletonDNAConverterPlugin.cs
18,954
C#
using Cake.Core; using Cake.Core.IO; namespace Cake.Bower { /// <summary> /// Bower link settings /// </summary> public class BowerLinkSettings : BowerRunnerSettings { /// <summary> /// Bower link settings /// </summary> public BowerLinkSettings() : base("link") { }...
25.967742
73
0.48882
[ "MIT" ]
cake-contrib/Cake.Bower
src/Cake.Bower/BowerLinkSettings.cs
1,612
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.811321
127
0.615792
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190601/Outputs/ApplicationGatewayRequestRoutingRuleResponse.cs
3,584
C#
using System.Drawing; namespace ElephantStarter.Domain.Services; /// <summary> /// Image service. /// </summary> public interface IImageService { /// <summary> /// Auto start bitmap. /// </summary> public Bitmap AutoStart { get; } /// <summary> /// Exit bitmap. /// </summary> Bitmap Exit { get; } /// <sum...
16.615385
42
0.608025
[ "MIT" ]
SquirtingElephant/ElephantStarter
ElephantStarter.Domain/Services/IImageService.cs
650
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// StationDetailInfo Data Structure. /// </summary> public class StationDetailInfo : AlipayObject { /// <summary> /// 站点编码 /// </summary> [JsonPropertyName("code")] ...
22.551724
49
0.525994
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/StationDetailInfo.cs
688
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("Ref...
39.459459
84
0.756849
[ "MIT" ]
rstm-sf/reference-conflicts-analyzer
ReferenceConflictAnalyzer.CommandLine/Properties/AssemblyInfo.cs
1,463
C#
namespace BovineLabs.Event.Samples.MultiWorld { using Unity.Entities; using UnityEngine.Scripting; public class FixedSystemGroup : ComponentSystemGroup { [Preserve] public FixedSystemGroup() { #if UNITY_ENTITIES_0_16_OR_NEWER this.FixedRateManager = new UpdateTimeFou...
22.425926
70
0.464079
[ "MIT" ]
tertle/com.bovinelabs.event
Samples~/MultiWorld/FixedSystemGroup.cs
1,211
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using AutoMapper; using Microsoft.AspNetCore.Mvc; using Stock.Api.DTOs; using Stock.Api.Extensions; using Stock.AppService.Services; using Stock.Model.Entities; namespace Stock.Api.Controllers { [Produces("application...
29.338843
92
0.528732
[ "Apache-2.0" ]
nicomontes0/HexactaLabs-NetCore_React-Initial
Stock.Api/Controllers/ProviderController.cs
3,550
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
46.337859
354
0.560364
[ "MIT" ]
hosunmsft/azure-sdk-for-net
src/SDKs/ServiceBus/Management.ServiceBus/Generated/NamespacesOperations.cs
177,474
C#
using System; using Mirage.SocketLayer; using NanoSockets; namespace Mirage.Sockets.Udp { // todo Create an Exception in mirage that can be re-used by multiple sockets (makes it easier for user to catch) public class NanoSocketException : Exception { public NanoSocketException(string message) : bas...
26.666667
117
0.554032
[ "MIT" ]
GTextreme169/Mirage
Assets/Mirage/Runtime/Sockets/Udp/NanoSocket.cs
2,480
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataCenter.Data { public class DataContainer { // Products public List<Product> Products { get; set; } // Data public SortedDictionary<Da...
26.868852
79
0.47834
[ "MIT" ]
mastercs999/fn-trading
src/DataCenter/Data/DataContainer.cs
1,641
C#
namespace RestKit { public class XmlConventions { public static readonly XmlConventions Default = new XmlConventions() { AttributeContainerName = "Attributes", ElementValueName = "Value", Casing = CasingConvention.AsIs }; public string Attrib...
24.578947
76
0.61242
[ "MIT" ]
bkjuice/RestKit
src/RestKit/XmlConventions.cs
469
C#
using System; // using System.Collections; using System.Collections.Generic; public class Person { public string Name { get; set; } public override string ToString() { return Name; } } public class People : IEnumerable<Person> { public List<Person> list { get; set; } public IEnumerable<Person> GetEnumerato...
26.516129
77
0.650852
[ "MIT" ]
Neto1235678/CSharp2019
IEnumerable-2-Hot-to-make-froeachble/main.cs
822
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...
34.27957
159
0.61606
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Outputs/GreenplumTableDatasetResponse.cs
3,188
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Minedraft.Entities.Providers { public class SolarProvider : Provider { public SolarProvider(int id, double energyOutput) : base(id, energyOutput) { ...
20.388889
58
0.651226
[ "MIT" ]
bobo4aces/04.SoftUni-CSharpFundamentals
03. CSharp OOP Advanced - 08. Exam Preparation/2017.09.07/Structure_Skeleton/Entities/Providers/SolarProvider.cs
369
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace FileHelpers { /// <summary> /// Engine used to create diff files based on the /// <see cref="IComparable{T}"/> interface. /// </summary> /// <typeparam name="T">The record type.</typeparam> [DebuggerD...
37.026738
136
0.539861
[ "MIT" ]
3dsoft/FileHelpers
FileHelpers/Engines/FileDiffEngine.cs
6,924
C#
// ReSharper disable CheckNamespace #region using LibSharpRetro; #endregion namespace DamageCore; public partial class Interpreter { public bool Interpret(Span<byte> insnBytes, ref ushort pc) { unchecked { /* LD-rd-rs */ if((insnBytes[0] & 0xC0) == 0x40) { var rd...
50.402155
120
0.317233
[ "Apache-2.0" ]
daeken/SharpRetro
DamageCore/Generated/Interpreter.cs
88,859
C#
namespace RemoteDebugger { partial class SpriteView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.793478
161
0.579121
[ "MIT" ]
Ckirby101/Remote-Debugger
RemoteDebugger/Docks/SpriteView.Designer.cs
3,939
C#
// $Id: StylusModel.cs 990 2006-07-06 00:53:49Z julenka $ using System; using Microsoft.Ink; namespace UW.ClassroomPresenter.Model.Stylus { public abstract class StylusModel : PropertyPublisher { private readonly Guid m_Id; protected DrawingAttributes m_DrawingAttributes; protec...
31.148148
105
0.631391
[ "Apache-2.0" ]
ClassroomPresenter/CP3
UW.ClassroomPresenter/Model/Stylus/StylusModel.cs
841
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4927 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
31
81
0.520161
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Groups/Tools/Polls/Polls_New.aspx.designer.cs
746
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Structr.AspNetCore.Validation { [AttributeUsage(AttributeTargets.Property)] public abstract class ModelAwareValidationAttribute : ValidationAttribute { public override string Fo...
31.160714
112
0.629799
[ "MIT" ]
askalione/Structr
src/Structr.AspNetCore.Validation/ModelAwareValidationAttribute.cs
1,745
C#
namespace test_interface { partial class ANNCreate { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
40.97541
152
0.565913
[ "Apache-2.0" ]
huangweiboy/EasyPR-DLL-CSharp
test_interface/ANNCreate.Designer.cs
5,095
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.230769
81
0.648246
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20201201/Outputs/AutoHealRulesResponse.cs
1,140
C#
using System; using System.Collections.Generic; using System.Text; public interface IEmployee { string Name { get; set; } int WorkHoursPerWeek { get; } }
16.4
33
0.713415
[ "Apache-2.0" ]
KostadinovK/CSharp-OOP
12-Object-Communication-And-Events/Homework/04-Work-Force/Contracts/IEmployee.cs
166
C#
using System; using System.Net; using System.Threading.Tasks; using DnsClient.Windows; using Xunit; namespace DnsClient.Tests { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] public class NameServerTest { #if !NET461 [Fact] public void NativeDnsServerResolution() { ...
35.183099
150
0.645717
[ "Apache-2.0" ]
BorisDog/DnsClient.NET
test/DnsClient.Tests/NameServerTest.cs
2,500
C#
/* * Quickpay API v10 * * <h2 id=\"authorization\">Authorization</h2> Authorization is done using basic-auth. Authorization can be done with a user or an agreement. <ul> <li>When authorized with a user one is able to edit own settings, create new merchant or request access to existing merchant.</li> <li>When ...
28.72381
418
0.596154
[ "MIT" ]
mattgenious/QuickPaySharp
csharp-client-generated/csharp-client/src/IO.Swagger.Test/Model/AcquirerSettingsCoinifyTests.cs
3,016
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...
35.444444
141
0.615867
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/AppStream/Generated/Model/Internal/MarshallTransformations/DescribeUsersRequestMarshaller.cs
4,147
C#
// <auto-generated> using KyGunCo.Counterpoint.Sdk.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace KyGunCo.Counterpoint.Sdk.Configuration { // USER_ORDER_INFO public class UserOrderInfoConfiguration : IEntityTypeConfiguration<UserOrderInfo> {...
63.40625
160
0.712173
[ "MIT" ]
kygunco/KyGunCo.Counterpoint
Source/KyGunCo.Counterpoint.Sdk/Configuration/UserOrderInfoConfiguration.cs
2,029
C#
using System; namespace _06.ReplaceRepeatingChars { class Program { static void Main(string[] args) { string text = Console.ReadLine(); for (int i = 0; i < text.Length - 1; i++) { if (text[i] == text[i + 1]) { ...
20.130435
53
0.38013
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/02. Technology Fundamentals - C#/15. Strings and Text Processing/Exercises/06.ReplaceRepeatingChars/06.cs
465
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.34209 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ names...
38.265625
169
0.587995
[ "MIT" ]
ryans610/CSharp-UFOGame
UFO/Properties/Resources.Designer.cs
2,831
C#
using Newtonsoft.Json; namespace Notion.Client { public class TableOfContentsBlock : Block, IColumnChildrenBlock, INonColumnBlock { public override BlockType Type => BlockType.TableOfContents; [JsonProperty("table_of_contents")] public Data TableOfContents { get; set; } publi...
21.235294
84
0.65651
[ "MIT" ]
Titaye/notion-sdk-net
Src/Notion.Client/Models/Blocks/TableOfContentsBlock.cs
363
C#
using System; using Bridge.Html5; using Philadelphia.Common; using Philadelphia.Web; namespace Philadelphia.Demo.Client { class NavigationProgram : IFlow<HTMLElement> { private readonly SomeChoicesForm _dataEntry; private readonly InformationalMessageForm _msg; public NavigationProgram() ...
32.82
86
0.532602
[ "Apache-2.0" ]
todo-it/philadelphia
Philadelphia.Demo.Client/FormsNavigation/NavigationProgram.cs
1,643
C#
using UptimeHippoApi.Data.DataContext; namespace UptimeHippoApi.Data.DataAccessLayer { public abstract class BaseRepository { protected UptimeHippoDataContext DataContext; } }
21.888889
53
0.766497
[ "MIT" ]
joshuakaluba/UptimeHippoApi
src/UptimeHippoApi.Data/DataAccessLayer/BaseRepository.cs
199
C#
namespace Styr.Windows { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resou...
24.325
102
0.651593
[ "MIT" ]
villor/Styr
Styr.Windows/MainForm.Designer.cs
975
C#