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.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
30.12766
134
0.701977
[ "MIT" ]
306739889/guessGame
Unity/Assets/Mono/ILRuntime/Generate/ET_AcceptAllCertificate_Binding.cs
1,416
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/IContact.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
36.636364
145
0.708437
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/IContact/ContactManagerTests.cs
1,614
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ namespace AspNet.Security.OAuth.ServiceChann...
38.521739
118
0.704853
[ "Apache-2.0" ]
AnthonyYates/AspNet.Security.OAuth.Providers
src/AspNet.Security.OAuth.ServiceChannel/ServiceChannelAuthenticationDefaults.cs
1,774
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.OpenApi.Models; using System; using Sy...
36.364286
306
0.533883
[ "MIT" ]
AprenderIT/ColoursApp-AM101A
src/ColoursAPI/Startup.cs
5,093
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("Li...
37.517241
93
0.746324
[ "MIT" ]
anaisbetts/LinqToAwait
LinqToAwait/Properties/AssemblyInfo.cs
1,091
C#
using ControlzEx.Theming; using MahApps.Metro.Controls; using Microsoft.Win32; using System.Diagnostics; using System.Globalization; using System.IO; using System.Reflection; using System.Windows; using System.Windows.Navigation; using WPFLocalizeExtension.Engine; namespace NotEnoughAV1Encodes.Views { public part...
39.077465
122
0.611101
[ "MIT" ]
dramspro/NotEnoughAV1Encodes
NotEnoughAV1Encodes/Views/ProgramSettings.xaml.cs
5,551
C#
namespace ProductShop.Import { using System; using System.Collections.Generic; using System.IO; using AutoMapper; using Data; using Models; using Newtonsoft.Json; public class StartUp { public static void Main(string[] args) { var config = new MapperCon...
29.313131
87
0.564094
[ "MIT" ]
RosenBobchev/CSharp-DB-Fundamentals
Database Advanced/JSON Processing - Exercise/ProductShop.ImportData/StartUp.cs
2,904
C#
#if !NETSTANDARD13 /* * 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 ...
33.057143
100
0.713051
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CostExplorer/Generated/Model/_bcl45+netstandard/IListCostCategoryDefinitionsPaginator.cs
1,157
C#
// Copyright 2021 Yubico AB // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
34.692708
114
0.645549
[ "Apache-2.0" ]
Yubico/Yubico.NET.SDK
Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/VerifyPinCommandTests.cs
6,663
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("Con...
37.513514
84
0.747118
[ "MIT" ]
ClairG/ChatApp
ClairG.ChatApp/ConsoleApp/Properties/AssemblyInfo.cs
1,391
C#
using System; using System.Threading.Tasks; using Convey.CQRS.Commands; using CourseLibrary.Application.Exceptions; using CourseLibrary.Application.Services; using CourseLibrary.Core.Repositories; namespace CourseLibrary.Application.Commands.Student.Handlers { public class CreateStudentHandler : ICommandHandler<Cr...
33.925
113
0.676492
[ "MIT" ]
ktutak1337/CourseLibrary
src/CourseLibrary.Application/Commands/Student/Handlers/CreateStudentHandler.cs
1,357
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...
37.15748
163
0.62704
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/AdminLinkProviderForUserRequestMarshaller.cs
4,719
C#
using MTSC.Common.WebSockets.RoutingModules; namespace MTSC.UnitTests { public class EchoWebsocketModule2 : WebsocketRouteBase<byte[], byte[]> { public override void ConnectionClosed() { } public override void ConnectionInitialized() { } public overrid...
19.56
74
0.582822
[ "MIT" ]
AlexMacocian/MTSC
MTSC.UnitTests/EchoWebsocketModule2.cs
491
C#
using System; using System.Collections.Generic; namespace EnternetMagazine { class Program { public static void Main(string[] args) { var productName = new List<string>(); var productPrice = new List<double>(); var productWeight = new List<double>(); ...
29.105263
93
0.570524
[ "MIT" ]
Egor-kl/TMS-DotNet
src/EnternetStore/Program.cs
1,152
C#
using System; using System.Security.Claims; using System.Threading.Tasks; using Lern.Core.Models.Users.Settings; using Lern.Infrastructure.Database.Interfaces; using MediatR; using Microsoft.AspNetCore.Mvc; namespace Lern.Api.Controllers.Users.Settings { [ApiController] [Route("user/options/[controller]")] ...
29.473684
107
0.666964
[ "MIT" ]
MRmlik12/lern
backend/src/Lern.Api/Controllers/Users/Settings/ChangeUsernameController.cs
1,120
C#
namespace MyApp.Infrastructure; public class Power { public int Id { get; set; } [StringLength(50)] public string Name { get; set; } public ICollection<Character> Characters { get; set; } = new HashSet<Character>(); public Power(string name) { Name = name; } }
17.705882
86
0.621262
[ "MIT" ]
antonPalmFolkmann/BDSA2021
MyApp.Infrastructure/Power.cs
301
C#
using System.Collections.Generic; using System.Runtime.Serialization; using Umbraco.Cms.Core.Models.ContentEditing; namespace Umbraco.Cms.Core.Models { [DataContract(Name = "contentTypeImportModel")] public class ContentTypeImportModel : INotificationModel { [DataMember(Name = "alias")] pu...
29.826087
104
0.669096
[ "MIT" ]
Lantzify/Umbraco-CMS
src/Umbraco.Core/Models/ContentTypeImportModel.cs
688
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xamarin.Forms.TestingLibrary.FormsProxies; namespace Xamarin.Forms.TestingLibrary.Extensions { internal static class BindableObjectExtensions { private static IEnumerable<LocalValueEntry> GetLo...
47.804348
120
0.664848
[ "MIT" ]
rodrigoramos/Xamarin.Forms.TestingLibrary
src/Xamarin.Forms.TestingLibrary/Extensions/BindableObjectExtensions.cs
2,199
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Npgsql; namespace Discount.Grpc.Extensions { public static class HostExtensions { public static IHost MigrateDatabase<IContext>(this I...
39.426471
144
0.513987
[ "MIT" ]
edmilsonamancio/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Extensions/HostExtensions.cs
2,683
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.Numerics; using System.Runtime.CompilerServices; namespace System.Buffers.Binary { /// <summary> ...
39.410853
102
0.571794
[ "MIT" ]
3F/coreclr
src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs
5,084
C#
using Orchard.AuditTrail.Services; using Orchard.AuditTrail.Services.Models; using Orchard.Environment.Extensions; namespace Orchard.AuditTrail.Providers.Users { [OrchardFeature("Orchard.AuditTrail.Users")] public class UserAuditTrailEventProvider : AuditTrailEventProviderBase { public const st...
55.857143
147
0.672634
[ "BSD-3-Clause" ]
Lombiq/Associativy
src/Orchard.Web/Modules/Orchard.AuditTrail/Providers/Users/UserAuditTrailEventProvider.cs
1,175
C#
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amazon.CloudFormation; using Amazon.ElasticBeanstalk; using Amazon.ElasticBeanstalk.Model; using AWS.Depl...
51.885057
237
0.665707
[ "MIT" ]
96malhar/aws-dotnet-deploy
src/AWS.Deploy.Orchestration/Utilities/DeployedApplicationQueryer.cs
13,542
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace OpenShift.DotNet.Service.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Mi...
36.666667
280
0.63595
[ "MIT" ]
gbraad/OpenShift.Vsix
OpenShift.DotNet.Service.Netfx/OpenShift API (with Kubernetes)/Models/Iok8sapicorev1Affinity.cs
2,422
C#
namespace Neovolve.Toolkit.Communication { /// <summary> /// The Neovolve.Toolkit.Communication namespace contains classes that provide communication related functionality. /// The communication support includes local, distributed and debugging implementations. /// </summary> internal static clas...
34.8
119
0.732759
[ "MIT" ]
roryprimrose/Neovolve.Toolkit
Neovolve.Toolkit/Communication/NamespaceDoc.cs
350
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; namespace Microsoft.NetCore.Analyzers.InteropServic...
39.758621
160
0.731136
[ "Apache-2.0" ]
LingxiaChen/roslyn-analyzers
src/Microsoft.NetCore.Analyzers/Core/InteropServices/MarkBooleanPInvokeArgumentsWithMarshalAs.Fixer.cs
1,153
C#
#nullable disable namespace PasPasPas.Parsing.SyntaxTree.Standard { /// <summary> /// current class declaration mode /// </summary> public enum ClassDeclarationMode { /// <summary> /// undefined mode /// </summary> Undefined = 0, /// <su...
21.3125
78
0.464809
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPas.Parsing/src/SyntaxTree/Standard/ClassDeclarationMode.cs
684
C#
using System; using System.Collections.Concurrent; namespace KitchenSink { public static partial class Operators { /// <summary> /// Forward function composition. /// </summary> public static Func<A, C> Compose<A, B, C>( Func<A, B> f, Func<B, C> g) => ...
34.100543
105
0.458762
[ "MIT" ]
rkoeninger/KitchenSink
src/KitchenSink/Operators.Functions.cs
12,551
C#
using AoE2Lib; using AoE2Lib.Bots; using AoE2Lib.Bots.GameElements; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using static Unary.Managers.MilitaryManager; namespace Unary.UnitControllers { class ScoutController : U...
28.854701
106
0.482524
[ "MIT" ]
01010100b/AoE2Lib
Unary/UnitControllers/ScoutController.cs
3,378
C#
 using UnityEngine; using DG.Tweening; using System.Collections.Generic; namespace UChart.HeatMap { public enum HeatMapMode { RefreshEachFrame, RefreshByInterval } public class HeatMapComponent : MonoBehaviour { // TODO: set point properties for shader properties. ...
32.214953
119
0.507398
[ "MIT" ]
ll4080333/UChart
UChart/Assets/UChart/Scripts/Solutions/HeatMap/3D/HeatMapComponent.cs
3,515
C#
using System; using System.IO; using Microsoft.Xna.Framework; namespace Nez { public static class EffectResource { // sprite effects internal static byte[] spriteBlinkEffectBytes { get { return getFileResourceBytes( "Content/nez/effects/SpriteBlinkEffect.mgfxo" ); } } internal static byte[] spriteLinesEffect...
46.975
173
0.719177
[ "MIT" ]
jkstrawn/gangsters
Nez/Nez.Portable/Graphics/Effects/EffectResource.cs
5,639
C#
using System; namespace Boolean6 { class Boolean6 { static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; Console.WriteLine("Введите число A"); var a = int.Parse(Console.ReadLine()); Console.WriteLine("Введите чи...
27.4
94
0.553285
[ "MIT" ]
levkovich-polina/CSharpStudy
src/Boolean6/Boolean6.cs
752
C#
using System.Collections.Generic; using WooshiiAttributes; using UnityEngine; using Director.Component; namespace Director { [System.Serializable] public class CameraSettings { public float fov = 60; // Clipping Planes public float clipNear = 0.1f; public float cli...
29.71978
150
0.555556
[ "MIT" ]
WooshiiDev/The-Last-Day
The-Last-Day/Assets/Scripts/Wooshii/CameraDirector/Scripts/Core/CameraBase.cs
5,411
C#
namespace IDisposableAnalyzers { using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using Gu.Roslyn.AnalyzerExtensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.C...
40.495146
163
0.552865
[ "MIT" ]
hackf5/IDisposableAnalyzers
IDisposableAnalyzers/Helpers/Pooled/RecursiveValues.cs
8,344
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.Text; using Xunit; namespace System.Text.EncodingTests { public class TestEncoder : Encoder { public override int GetByteCou...
28.055556
121
0.627723
[ "MIT" ]
bpschoch/corefx
src/System.Text.Encoding/tests/Encoder/EncoderCtor.cs
1,010
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; namespace System.Composition.Convention.Tests { public class ConventionBuilderTests ...
48.156716
170
0.672865
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Composition.Convention/tests/ConventionBuilderTests.cs
6,453
C#
using Newtonsoft.Json; namespace Kasp.Identity.Entities.UserEntities.XEntities { public class TokenRequest { public string Username { get; set; } public string Password { get; set; } [JsonProperty("grant_type")] public GrandType GrandType { get; set; } [JsonProperty("refresh_token")] public string Refre...
21.578947
57
0.712195
[ "MIT" ]
fossabot/Kasp
src/Kasp.Identity/Entities/UserEntities/XEntities/TokenRequest.cs
410
C#
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
38.802632
79
0.671414
[ "MIT" ]
JLA02/Torque2D
toybox/AppCore/1/scripts/defaultPreferences.cs
2,949
C#
using System; using System.Diagnostics.CodeAnalysis; using ILLink.Shared; using Mono.Cecil; namespace Mono.Linker { /// Tracks dependencies created via DynamicDependencyAttribute in the linker. /// This is almost identical to DynamicDependencyAttribute, but it holds a /// TypeReference instead of a Type, and it has...
32.472868
181
0.731439
[ "MIT" ]
Mu-L/linker
src/linker/Linker/DynamicDependency.cs
4,189
C#
// <copyright file="SeleniumOperaDriver.cs"> // Copyright © 2018 Rami Abughazaleh. All rights reserved. // </copyright> namespace SpecBind.Selenium.Drivers { using System; using Configuration; using OpenQA.Selenium; using OpenQA.Selenium.Opera; using TechTalk.SpecFlow; /// <summary> /...
34.811321
123
0.634146
[ "MIT" ]
icnocop/specbind
src/SpecBind.Selenium/Drivers/SeleniumOperaDriver.cs
1,848
C#
#region File Description //----------------------------------------------------------------------------- // GameScreen.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregion #...
32.503937
93
0.549903
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/GSMSample_4_0_PHONE/GameStateManagementSample/ScreenManager/GameScreen.cs
12,384
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper; using ClosedXML.Excel; using Lottery.Data; using Lottery.Helpers; using Lottery.Models.Attendee; using Lottery.Repositories.Interfaces; using Microsoft.AspNetCore.Autho...
35.871951
155
0.572157
[ "MIT" ]
D0683497/Lottery
Controllers/WinnersForItemIdController.cs
5,917
C#
using System; namespace Task1_7_Numbers_to_Words { class Numbers_to_Words { static void Main() { int n = int.Parse(Console.ReadLine()); int[] arr = new int[n]; for (int i = 0; i < n; i++) { arr[i] = int.Parse(Console.ReadLine());...
35.590909
83
0.376391
[ "MIT" ]
naydenhristov/Numbers_to_Words
Numbers_to_Words.cs
5,483
C#
using System; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Owin; using FrontEndASPNETTest.Models; namespace FrontEndASPNETTest.Account { public partial class RegisterExternalLogin : System.Web.UI.Page { protected string P...
37.869231
159
0.525696
[ "Apache-2.0" ]
atombryan/ThaiResortFull
ServiceStackHub/Thai Resort/FrontEndASPNETTest/Account/RegisterExternalLogin.aspx.cs
4,925
C#
using UnityEngine; using System.Collections.Generic; namespace Lean.Transition.Method { /// <summary>This component allows you to delay for a specified duration.</summary> [HelpURL(LeanTransition.HelpUrlPrefix + "LeanDelay")] [AddComponentMenu(LeanTransition.MethodsMenuPrefix + "Delay" + LeanTransition.MethodsMenu...
26.1
114
0.727969
[ "MIT" ]
AbhishekPardhi/GameDev-Project-1
Monkey KickOff/Assets/Lean/Transition/Methods/LeanDelay.cs
1,568
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("Ex...
37.861111
84
0.748349
[ "MIT" ]
wurdum/examples.filler
Src/Examples.Filler/Properties/AssemblyInfo.cs
1,366
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
36.31405
104
0.680246
[ "MIT" ]
TetradogOther/SharpDevelop
src/AddIns/BackendBindings/WixBinding/Test/Document/ChildFilesTestFixture.cs
4,396
C#
namespace WebApi.Modules { using Application.Boundaries.GetAccount; using Application.UseCases; using Domain.Accounts; using Microsoft.Extensions.DependencyInjection; using UseCases.V2.GetAccount; /// <summary> /// The User Interface V2 Extensions. /// </summary> publ...
33.517241
94
0.627572
[ "Apache-2.0" ]
IYoni/imangatest
src/WebApi/Modules/UserInterfaceV2Extensions.cs
972
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...
25.186047
86
0.581717
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/EventHub/Latest/Outputs/SkuResponse.cs
1,083
C#
using System.Collections.Generic; namespace UnityMdDocGenerator { public class MdNode { public string Name { get; private set; } public DocNode Content { get; private set; } public List<MdNode> Childs { get; private set; } public MdNodeType Type { get; set; } public MdNode(string name, Do...
22.105263
51
0.652381
[ "MIT" ]
KonH/UnityMdDocGenerator
Editor/Sctructure/MdNode.cs
422
C#
using RevolutionaryStuff.Core; using System; using System.IO; namespace RevolutionaryStuff.TheLoader { public enum FileFormats { Auto, CSV, Pipe, CustomText, FixedWidthText, FoxPro, Excel, MySqlDump, SqlServerDump, Json, O...
26.545455
84
0.473973
[ "MIT" ]
jbt00000/RevolutionaryStuff
src/RevolutionaryStuff.TheLoader/FileFormats.cs
1,462
C#
using SharpSweeper.Enum; using SharpSweeper.Struct; namespace SharpSweeper { internal class Flag { private Matrix flagMap; private int countOfClosedBoxes; internal int GetCountOfClosedBoxes() => countOfClosedBoxes; internal void Start() { flagMap = new Matr...
28.4375
81
0.558791
[ "MIT" ]
bazuka5801/SharpSweeper
SharpSweeper/SharpSweeper/Flag.cs
1,822
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/wincrypt.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
38.232558
145
0.718978
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/wincrypt/CRYPT_ASYNC_RETRIEVAL_COMPLETIONTests.cs
1,646
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace JS_Ecommerce.Models { public class CompletedOrder { public string TransactionId { get; set; } public SubmittedOrder SubmittedOrder { get; set; } public string Status { get; set; }...
23.3125
58
0.675603
[ "MIT" ]
ecaoile/JS-ecommerce
JS_Ecommerce/JS_Ecommerce/Models/CompletedOrder.cs
375
C#
using System; using MongoDB.Bson.Serialization.Attributes; namespace ETModel { // 分享日志 public class Log_Share : EntityDB { public long Uid { set; get; } } }
16.272727
44
0.653631
[ "MIT" ]
zhangfengqwer/NjmjNew
Server/Model/Njmj/Entity/Db/Log_Share.cs
189
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.Composition; using System.Linq; namespace GitHub.VisualStudio.Menus { [Export(typeof(IMenuProvider))] [PartCreationPolicy(CreationPolicy.Shared)] public class MenuProvider : IMenuProvider { publ...
35
133
0.732143
[ "MIT" ]
uQr/VisualStudio
src/GitHub.VisualStudio/Menus/MenuProvider.cs
842
C#
using UnityEngine; [CreateAssetMenu(menuName = "ScriptableEvents/Conditions/String")] public class StringCondition : Condition<string> { protected override void CheckType() { if (!(VarToCompare is StringVar)) { Debug.Log("You must assign a StringVar."); VarToCompare = n...
20.235294
66
0.622093
[ "MIT" ]
celojevic/ScriptableEventSystem
Assets/Scripts/ScriptableEvents/Conditions/StringCondition.cs
344
C#
// AccountPopupContentAnchors using ClubPenguin; using UnityEngine; [ExecuteInEditMode] public class AccountPopupContentAnchors : MonoBehaviour { public enum VerticalAlignment { Top, Middle, Bottom } public enum HorizontalAlignment { Left, Center, Right } public VerticalAlignment VerticalAlign = V...
25.548387
75
0.753788
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin/AccountPopupContentAnchors.cs
2,376
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. namespa...
27.926829
83
0.59738
[ "MIT" ]
fhoering/autorest
src/generator/AutoRest.CSharp.Tests/Expected/AcceptanceTests/BodyFormData/Models/Error.cs
1,145
C#
using LoESoft.Dungeon.utils; using RotMG.Common.Rasterizer; namespace LoESoft.Dungeon.templates.Difficult_1.Pirate_Cave { internal class Corridor : MapCorridor { public override void Rasterize(Room src, Room dst, Point srcPos, Point dstPos) { Default(srcPos, dstPos, new DungeonTile...
26.5625
86
0.630588
[ "MIT" ]
Devwarlt/LOE-V6-SERVER
dungeon/Templates/Difficult 1/Pirate Cave/Corridor.cs
427
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.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
36.5
145
0.707347
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/SVGStopElementTests.cs
1,608
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.844828
147
0.612554
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/Internal/MarshallTransformations/StopFleetActionsRequestMarshaller.cs
4,158
C#
using Nethereum.Hex.HexTypes; using Nethereum.Util; using Newtonsoft.Json.Linq; using System.Runtime.Serialization; namespace Nethereum.RPC.Eth.DTOs { [DataContract] public class TransactionReceipt { /// <summary> /// DATA, 32 Bytes - hash of the transaction. /// </s...
38.761468
399
0.55503
[ "MIT" ]
rahul0tripathi/MetaNox
Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.RPC/Eth/DTOs/TransactionReceipt.cs
4,225
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.Linq; using FluentAssertions; using Microsoft.Its.Recipes; using NUnit.Framework; using Sample.Domain.Orde...
29.360248
116
0.517453
[ "MIT" ]
gitter-badger/Its.Cqrs
Domain.Sql.Tests/StorableEventTests.cs
4,727
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.OpenGLES { [NativeName("Name", "FogCoordinatePointerType")] public enum FogCo...
23.428571
71
0.676829
[ "MIT" ]
Ar37-rs/Silk.NET
src/OpenGL/Silk.NET.OpenGLES/Enums/FogCoordinatePointerType.gen.cs
492
C#
using System.Linq; using System.Windows.Media; namespace TsNode.Preset.Models { /// <summary> /// ノード操作用のAPI /// </summary> public class NodeService { private readonly PresetNode _model; private readonly Network _network; public NodeService(PresetNode node , Network network...
29.123894
91
0.488605
[ "MIT" ]
p4j4dyxcry/Node
TsNode/Preset/Models/NodeService.cs
3,515
C#
using System; using System.Linq; using Hl7.Fhir.Model; namespace GaTech.Chai.Cbs.CaseNotificationPanelProfile { /// <summary> /// CBS Date Of First Report To Public Health Department Observation Profile /// http://cbsig.chai.gatech.edu/StructureDefinition/cbs-date-reported-to-phd /// </summary> pu...
38.578947
140
0.663711
[ "Apache-2.0" ]
mmg-fhir-ig/cbs-ig-dotnet
src/GaTech.Chai.Cbs/CbsCaseNotificationPanelProfile/CbsDateOfFirstReportToPublicHealthDept.cs
1,468
C#
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
32.133333
83
0.735131
[ "MIT" ]
alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DrawStringFormat.cs
1,446
C#
using System; using System.Threading.Tasks; using Fluid; using Fluid.Values; using OrchardCore.Liquid; namespace OrchardCore.Media.Filters { public class MediaUrlFilter : ILiquidFilter { private readonly IMediaFileStore _mediaFileStore; public MediaUrlFilter(IMediaFileStore mediaFileStore) ...
27.925
110
0.548791
[ "BSD-3-Clause" ]
AlexGuedes1986/FutbolCubano
src/OrchardCore.Modules/OrchardCore.Media/Filters/MediaFilters.cs
2,234
C#
using System; #if ! AZURE_MOBILE_SERVICES namespace Xamarin.Auth #else namespace Xamarin.Auth._MobileServices #endif { public static class FileHelper { public static string GetLocalStoragePath() { throw new NotImplementedException("Portable"); #pragma warning disable 0162 ...
18.684211
58
0.68169
[ "Apache-2.0" ]
Acidburn0zzz/Xamarin.Auth
source/Xamarin.Auth.Portable/PlatformSpecific/FileHelper.cs
355
C#
using System; using System.ComponentModel; using System.Windows.Forms; namespace HolidayLabelsAndLists { /// <summary> /// A popup window to be used by the background worker /// to display summary of progress. /// /// </summary> public partial class frmProgress : Form { public Bac...
24.59596
83
0.482957
[ "MIT" ]
tonyrein/HolidayLabelsAndLists_Public
HolidayLabelsAndLists/frmProgress.cs
2,437
C#
using System; namespace BonusCalcListener.Boundary { public class EntityEventSns { public Guid Id { get; set; } public string EventType { get; set; } public string SourceDomain { get; set; } public string SourceSystem { get; set; } public string Version { get; set; }...
20.571429
64
0.602431
[ "MIT" ]
LBHackney-IT/bonuscalc-listener
BonusCalcListener/Boundary/EntityEventSns.cs
576
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("Sautom.Domain")] [assembly: AssemblyDescr...
37.777778
84
0.740441
[ "MIT" ]
nikaburu/sautom-wpf
src/Sautom.Domain/Properties/AssemblyInfo.cs
1,363
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/codecapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
42.688889
145
0.697553
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/codecapi/CODECAPI_AVEncVideoForceKeyFrameTests.cs
1,923
C#
namespace Ship_Game { public sealed class Message { public string Text; public int Index; public int SetPlayerContactStep; public int SetFactionContactStep; public bool SetWar; public bool EndWar; public Array<Response> ResponseOptions = new Arra...
27.285714
72
0.623037
[ "MIT" ]
UnGaucho/StarDrive
Ship_Game/Message.cs
382
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
44.073281
222
0.616965
[ "MIT-feh" ]
IjaCZECH/UnitsNet
UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
39,095
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Kujikatsu078.Algorithms; using Kujikatsu078.Collections; using Kujikatsu078.Extensions; using Kujikatsu078.Numerics; using Kujikatsu0...
24
73
0.763889
[ "MIT" ]
terry-u16/AtCoder
Kujikatsu078/Kujikatsu078/Kujikatsu078/Questions/QuestionD.cs
578
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p8.Pisp.Models { using Microsoft.Rest; using Newton...
28.177215
137
0.540431
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p8/Pisp/Models/OBWriteFileConsentResponse4.cs
2,226
C#
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Samples.Hyp...
45.504021
152
0.463972
[ "MIT" ]
9578577/Windows-classic-samples
Samples/Hyper-V/Storage/cs/Program.cs
16,601
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/ShObjIdl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
36.818182
145
0.709877
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/ShObjIdl/ExplorerBrowserTests.cs
1,622
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. // // Generated on 2020 October 09 04:45:50 UTC // </auto-generated> //--------------...
34.5
114
0.576993
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/runtime/defs_linux_386_stacktStruct.cs
2,208
C#
using System.Linq; using Sentry.Internals.DiagnosticSource; namespace Sentry { /// <summary> /// The additional Sentry Options extensions from Sentry Diagnostic Listener. /// </summary> public static class SentryOptionsDiagnosticExtensions { /// <summary> /// Attach Sentry to System...
38.814815
119
0.671756
[ "MIT" ]
kanadaj/sentry-dotnet
src/Sentry.DiagnosticSource/SentryOptionsDiagnosticExtensions.cs
1,048
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Models { public class Player : INotifyPropertyChanged { private string _name; private string _characterClass; private int _h...
29
120
0.570565
[ "MIT" ]
ajohnson819/RPG-D-D
Engine/Models/Player.cs
2,815
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
30.757813
84
0.541529
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.FTP.IIs70/Configuration/MessagesElement.cs
3,937
C#
namespace Umbraco.Inception.Converters { using System; using System.ComponentModel; using Umbraco.Core.Models; using Umbraco.Inception.BL; using Umbraco.Inception.Extensions; using Umbraco.Web; /// <summary> /// The model converter. /// </summary> /// <typeparam name="T">The <...
48.762376
150
0.616447
[ "MIT" ]
Qite/Umbraco-Inception
Umbraco.Inception/Converters/ModelConverter.cs
4,927
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
35.542056
93
0.618196
[ "Apache-2.0" ]
allenlooplee/tencentcloud-sdk-dotnet
TencentCloud/Vod/V20180717/Models/ProcessMediaByUrlRequest.cs
4,333
C#
#region License /*** * Copyright © 2018-2021, 张强 (943620963@qq.com). * * 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 r...
33.701357
104
0.528061
[ "Apache-2.0" ]
786744873/ZqUtils
ZqUtils/Helpers/XmlHelper.cs
8,103
C#
using System.Windows; using System.Windows.Controls; namespace Panuon.UI.Silver { public class Loading : Control { #region Fields #endregion #region Ctor static Loading() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Loading), new FrameworkPropertyMetad...
29.463158
118
0.623794
[ "MIT" ]
sillsun/PanuonUI.Silver
SharedResources/Panuon.UI.Silver/Controls/Loading.cs
2,801
C#
using Forge.Enum; using Forge.Packets; using Forge.Packets.Client.Forge.Handshake; namespace Forge.PacketHandlers.Server.Forge.Handshake { public class HandshakeResetHandler : ForgeMessageHandler<HandshakeResetPacket, ForgeClientPacketHandlerContext> { public override PluginMessageSubPacket Handle(Han...
27
115
0.732026
[ "MIT" ]
MineLib/Forge_1.7.10
PacketHandlers/Server/Forge/Handshake/HandshakeResetHandler.cs
461
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; // 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. [...
38.6
100
0.755281
[ "MIT" ]
Nels-P-Olsen/Summoner
NotifyIconWpf/Properties/AssemblyInfo.cs
2,512
C#
using System.Text.RegularExpressions; /** * CSSastrawi is licensed under The MIT License (MIT) * * Copyright (c) 2017 Muhammad Reza Irvanda * * 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...
36.055556
79
0.678993
[ "MIT" ]
muzavan/cssastrawi
CSSastrawi.Source/morphology/defaultimpl/visitor/prefixrules/PrefixRule31b.cs
1,947
C#
namespace RentCar.Services.Mapping { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using AutoMapper; using AutoMapper.Configuration; /// <summary> /// This class configures the Auto Mapper that lets the system use better data controls. ...
40.368421
99
0.469883
[ "MIT" ]
dimitarkole/RentACarManager
Services/RentCar.Services.Mapping/AutoMapperConfig.cs
3,837
C#
namespace nunit.integration.tests.Dsl { using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using System.Xml.XPath; internal class XmlParser { public IEnumerable<IEnumerable<ItemValue>> Parse(string xmlFileName, string xPathExpression) ...
28.638889
104
0.595538
[ "MIT" ]
NikolayPianikov/teamcity-event-listener
src/nunit.integration.tests/Dsl/XmlParser.cs
1,033
C#
using System; using System.Collections.Generic; using System.Linq; using Babylon.Investments.Shared.Notifications; using Babylon.Investments.Shared.Specifications.Base; using Babylon.Investments.Shared.Specifications.Interfaces; namespace Babylon.Investments.Shared.Specifications { public class OrSpecification<T>...
34.2
110
0.60575
[ "MIT" ]
levibrian/ivas-transactions-api
src/Babylon.Investments/Babylon.Investments.Shared/Specifications/OrSpecification.cs
2,054
C#
using Discord; using Discord.Commands; using Discord.WebSocket; using NadekoBot.Services; using NadekoBot.Services.Impl; using NLog; using NLog.Config; using NLog.Targets; using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Collections.Generic; using NadekoBot.Modules.P...
35.674699
195
0.620567
[ "Unlicense" ]
justinkruit/DiscordBot
src/NadekoBot/NadekoBot.cs
5,924
C#
using System.Collections.ObjectModel; using System.Diagnostics; using Octokit.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Globalization; using System.Diagnostics.CodeAnalysis; namespace Octokit { /// <summary> /// Searching Issues /// </summary> [DebuggerD...
31.663551
116
0.526958
[ "MIT" ]
darrelmiller/octokit.net
Octokit/Models/Request/SearchIssuesRequest.cs
10,168
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities.Editor; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using UnityEditor; using...
40.328125
166
0.576908
[ "MIT" ]
ActiveNick/HoloBot
Assets/MixedRealityToolkit/Utilities/BuildAndDeploy/UwpPlayerBuildTools.cs
5,162
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/ocidl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; ...
39.882353
145
0.721239
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ocidl/CTRLINFO.cs
680
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.832 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
39.592593
150
0.582788
[ "MIT" ]
sabatex/URDBTool
NTICS/NTICS_KEY_MANAGER/Properties/Settings.Designer.cs
1,071
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Batch { public partial class AzureBatchJobTask : ExternalProcessTaskBase<AzureBatchJobTask> { /// <summary> ...
21
88
0.630037
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Batch/AzureBatchJobTask.cs
546
C#
// --------------------------------------------------------------------------------------------- #region // Copyright (c) 2005-2015, SIL International. // <copyright from='2005' to='2015' company='SIL International'> // Copyright (c) 2005-2015, SIL International. // // This software is distributed under the ...
41.564706
97
0.275969
[ "MIT" ]
sillsdev/phonology-assistant
src/PaToFdoInterfaces/IPaLexEntry.cs
3,533
C#