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
// 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 Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Documents; namespace Unicord.Universal.Controls.Markdown.Rend...
38.433333
88
0.658283
[ "MIT" ]
UnicordDev/Unicord
Unicord.Universal/Controls/MarkdownTextBlock/Render/ILinkRegister.cs
1,153
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.Runtime.InteropServices; namespace Microsoft.Diagnostics.Runtime.ICorDebug { [ComImport] [Guid...
31.733333
71
0.754202
[ "MIT" ]
DamirAinullin/clrmd
src/Microsoft.Diagnostics.Runtime/src/ICorDebug/CorDebugWrappers/EmbeddedCLRCorDebug.cs
476
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MediatR; namespace TestData.Interface.MediatR { public class MediatRDispatcher: IDispatcher { private readonly IMediator _mediator; public MediatRDispatcher(IMediator media...
23.633333
79
0.624824
[ "MIT" ]
kiandra-it/test-data
src/TestData.Interface.MediatR/MediatRDispatcher.cs
711
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
38.744898
188
0.581117
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/X86/Sse2/ShiftLeftLogical.UInt64.1.cs
15,188
C#
using System; namespace WaterOverflow { class Program { static void Main(string[] args) { int number = int.Parse(Console.ReadLine()); int capacity = 255; int sum = 0; for (int i = 0; i < number; i++) { int litersToPour...
21.774194
65
0.407407
[ "MIT" ]
hidden16/SoftUni-Fundamentals
DataTypesAndVariables/WaterOverflow/Program.cs
677
C#
namespace WebApp.Etc.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; public abstract cl...
33.798077
178
0.549929
[ "MIT" ]
0xF6/aspcore-example
WebApp/Etc/EF/Repository.cs
3,517
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayAssetPointOrderCreateResponse. /// </summary> public class AlipayAssetPointOrderCreateResponse : AopResponse { /// <summary> /// 支付宝集分宝发放流水号 /// </summary> ...
23.055556
67
0.59759
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayAssetPointOrderCreateResponse.cs
437
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace DisplayQort { [Serializable] [StructLayout(LayoutKind.Sequential)] public struct RECT { public int Left; public int Top; ...
33.010152
131
0.604336
[ "MIT" ]
tibigame/Displayqort
DisplayQort/Common.cs
6,903
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 * ...
30.529412
86
0.646114
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ie/V20200304/Models/MediaQualityRestorationTaskResult.cs
1,599
C#
namespace P01.OverideOperators { public struct Point { public Point(decimal x, decimal y) { this.X = x; this.Y = y; } public decimal X { get; private set; } public decimal Y { get; private set; } public static Point operator +(Point a, ...
21.5125
88
0.443928
[ "MIT" ]
PetarKTodorov/CSharp-OOP-Course
09.Exercise/src/Exercises/P01.OverideOperators/Point.cs
1,723
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
31.287037
159
0.589819
[ "Apache-2.0" ]
Cadcorp/swagger-codegen
samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AnimalFarm.cs
3,379
C#
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; namespace TiendaServicios.Apil.Libro.Tests { public class AsyncEnumerable<T> : EnumerableQuery<T>, IAsyncEnumerable<T>, IQueryable<T> { public AsyncEnumerable(IEnumerable<T> enumerable) : base(e...
27.214286
100
0.671916
[ "MIT" ]
farenasmz/MicroServiceCourse
TiendaServicios/TiendaServicios.Apil.Libro.Tests/AsyncEnumerable.cs
764
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/d2d1effects.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Dire...
61.15625
163
0.794584
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d2d1effects/D2D1_SPOTDIFFUSE_SCALE_MODE.cs
1,959
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using System; u...
31.60355
117
0.471447
[ "MIT" ]
KevinDockx/AngularASPNetCoreBusinessApplications
Finished sample/TourManagement.API/Migrations/20180109144623_InitialMigration.Designer.cs
5,343
C#
using System; using System.IO; namespace Microsoft.NetMicroFramework.Tools { /// <summary> /// Summary description for SrecUtility /// </summary> public class SrecUtility { public static bool CreateSrec(string szfile, string szOutfile, uint nBaseAddress) { re...
31.547368
114
0.432933
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Framework/Tools/SRECUtility/SrecUtility.cs
5,994
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.Linq...
36.47479
237
0.577583
[ "MIT" ]
PKRoma/ReactiveUI
src/ReactiveUI.Uwp/SingleWindowDispatcherScheduler.cs
8,681
C#
using System; namespace BitMiracle.LibTiff.Classic { /// <summary> /// Jpeg Tables Mode.<br/> /// Possible values for <see cref="TiffTag"/>.JPEGTABLESMODE tag. /// </summary> [Flags] #if EXPOSE_LIBTIFF public #endif enum JpegTablesMode { /// <summary> ///...
20.096774
70
0.463884
[ "MIT" ]
shahareldad/EcoScan
LibTiff/Enums/JpegTablesMode.cs
625
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\wincodec.h(2097,5) using System; using System.Runtime.InteropServices; using WICPixelFormatGUID = System.Guid; namespace DirectN { [Guid("00000123-a8f2-4877-ba0a-fd2b6645fb94"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public partia...
36.666667
131
0.676136
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/IWICBitmapLock.cs
882
C#
using System; namespace TriangleArea { class TriangleArea { static void Main() { var x1 = int.Parse(Console.ReadLine()); var y1 = int.Parse(Console.ReadLine()); var x2 = int.Parse(Console.ReadLine()); var y2 = int.Parse(Console.ReadLine()); ...
23.8
51
0.494118
[ "MIT" ]
pirocorp/Programming-Basics
ProgrammingBasicsExamPreparation/TriangleArea/TriangleArea.cs
597
C#
namespace TeamCityManager.Entities.BuildSteps { using System.Collections.Generic; public class NUnitBuildStep : IBuildStep { public List<string> AssembliesToTest { get; set; } public string DotNetVersion { get; set; } public string Platform { get; set; } public string Ty...
26.974359
85
0.537072
[ "MIT" ]
tombuildsstuff/teamcitymanager
TeamCityManager/Entities/BuildSteps/NUnitBuildStep.cs
1,054
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> //---...
37.380952
80
0.598726
[ "Apache-2.0" ]
fahelmoreira/EasyManagerERP
src/EasyManager.Domain.Core/obj/Debug/netcoreapp2.1/EasyManager.Domain.Core.AssemblyInfo.cs
785
C#
using System.Collections.ObjectModel; namespace Khernet.UI.IoC { public interface IChatList { /// <summary> /// Adds a chat list for given token. /// </summary> /// <param name="token">The token of user.</param> /// <param name="chatList">The chat list.</param> ...
36.642857
123
0.609487
[ "MIT" ]
lemalcs/Khernet
Khernet.UI/Khernet.UI.Presentation/IoC/IChatList.cs
1,541
C#
using System; using Legacy.Game.HUD; using UnityEngine; namespace Legacy.Game.MMGUI { public abstract class BaseDragObject { protected UISprite m_sprite; protected UISprite m_actionSprite; protected UISprite m_scrollSprite; protected UISprite m_brokenSprite; protected UISprite m_itemBackground; pro...
19.045455
63
0.705847
[ "MIT" ]
Albeoris/MMXLegacy
Legacy.Game/Game/MMGUI/BaseDragObject.cs
1,678
C#
using System; using MonoGame.Extended.TextureAtlases; namespace MonoGame.Extended.Gui.Controls { public class GuiButton : GuiControl { public GuiButton() { } public GuiButton(TextureRegion2D backgroundRegion) : base(backgroundRegion) { } pu...
24.741935
75
0.500652
[ "MIT" ]
stefanrbk/MonoGame.Extended
Source/MonoGame.Extended.Gui/Controls/GuiButton.cs
2,303
C#
using System; using Meadow.Foundation; using Meadow.Foundation.Audio; using Meadow.Foundation.Graphics; namespace Juego.Games { public partial class LanderGame { readonly byte cellSize = 8; DrawPixelDel DrawPixel; public void Init(MicroGraphics gl) { gl.Clear(); ...
26.402439
113
0.48776
[ "Apache-2.0" ]
WildernessLabs/Juego
Source/Juego/Juego/Games/Lander/LanderGame.Renderer.cs
2,167
C#
namespace LiveBot.Core.Contracts.Discord { public interface IDiscordRoleUpdate { public ulong GuildId { get; set; } public ulong RoleId { get; set; } public string RoleName { get; set; } } }
25.222222
44
0.625551
[ "MIT" ]
bsquidwrd/LiveBot
LiveBot.Core/Contracts/Discord/IDiscordRoleUpdate.cs
229
C#
using Clocks.Clients.Core.Controls; using Clocks.Clients.iOS.Renderers; using CoreAnimation; using CoreGraphics; using System; using System.ComponentModel; using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(ExtendedEntry), typeof(ExtendedEntryRenderer))] namespa...
29.5
134
0.594797
[ "MIT" ]
AlexeyBuryanov/Clocks.Clients
Source/Clocks.Clients/Clocks.Clients.iOS/Renderers/ExtendedEntryRenderer.cs
2,539
C#
using System.Collections.Generic; using Microsoft.WebTools.Languages.Html.Editor.Completion.Def; using Microsoft.VisualStudio.Utilities; namespace UmbSense.Completion.Directives { [HtmlCompletionProvider(CompletionTypes.Attributes, TagName)] [ContentType("htmlx")] class UmbGenerateAlias : BaseCompletion ...
40.272727
119
0.650865
[ "MIT" ]
KevinJump/UmbSense
UmbSense/Completion/Directives/UmbGenerateAlias.cs
1,331
C#
#region BSD 3-Clause License // <copyright file="IGraphWorker.cs" company="Edgerunner.org"> // Copyright 2020 Thaddeus Ryker // </copyright> // // BSD 3-Clause License // // Copyright (c) 2020, Thaddeus Ryker // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modific...
39.465347
102
0.688911
[ "BSD-3-Clause" ]
wiredwiz/Grun.Net
GunWin/Graphing/IGraphWorker.cs
3,988
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
44.275862
85
0.541277
[ "MIT" ]
TataDvd/G
2012/Tempo2012/Tempo2012.UI.WPF/Quickstarts/State-Based Navigation/State-Based Navigation/Views/ChatView.xaml.cs
1,284
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.Diagnostics; using System.Diagnostics.CodeAnalysis; namespace System.Runtime.Serialization.Formatters....
35.188976
136
0.563213
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/ObjectProgress.cs
4,469
C#
namespace Merchello.Web { using Core.Gateways; using Core.Models; using Merchello.Core.Models.Interfaces; using Merchello.Core.Strategies.Itemization; using Merchello.Web.Models.SaleHistory; using Models.ContentEditing; using Models.MapperResolvers; /// <summary> /// Binds Merche...
46.887097
193
0.621431
[ "MIT" ]
HiteshMah-Jan/Merchello
src/Merchello.Web/AutoMapperMappings.cs
5,816
C#
/* Copyright (C) 2018-2019 de4dot@gmail.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 limitation the rights to use, copy, modify, merge, publish, distr...
46.858974
150
0.769631
[ "MIT" ]
NIKJOO/iced
src/csharp/Intel/Iced.UnitTests/Intel/InstructionInfoTests/MemorySizeExtensionsTests.cs
3,655
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace HomePage.Web.IdentityServer.UI { public class ExternalProvider { public string DisplayName { get; set; } pu...
31.166667
107
0.708556
[ "Apache-2.0" ]
avaxxx/homepage
src/HomePage.Web/IdentityServer/Account/ExternalProvider.cs
376
C#
using System.Web.Http; using WebActivatorEx; using SampleWebApi; using Swashbuckle.Application; using SampleWebApi.Filters; [assembly: PreApplicationStartMethod(typeof(SwaggerConfig), "Register")] namespace SampleWebApi { public class SwaggerConfig { public static void Register() { ...
67.352
133
0.535396
[ "MIT" ]
marcominerva/RestLibrary
Samples/SampleWebApi/App_Start/SwaggerConfig.cs
16,838
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/msctf.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
35.961538
145
0.625668
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/msctf/ITfThreadMgrTests.cs
1,872
C#
namespace EOSNewYork.EOSCore.Serialization { public class PermissionName : BaseName { public PermissionName() { } public PermissionName(string value) : base(value) { } } }
17.615385
43
0.576419
[ "CC0-1.0" ]
HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.Providers.EOSIOOASIS/EOSNewYork.EOSCore/Serialization/PermissionName.cs
229
C#
#region License //MIT License //Copyright(c) [2020] //[Xylex Sirrush Rayne] // //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 //...
35.6
80
0.725281
[ "MIT" ]
Deer-Spangle/DreadBot
source/Contracts/Payments/ShippingOption.cs
1,780
C#
using System; using System.Collections.Generic; using System.Text; namespace OCTO.BLL.Models.Filters { public class ContactFilterModel { } }
14.090909
35
0.729032
[ "MIT" ]
narekye/diploma-octo
OCTO/OCTO.BLL.Models/Filters/ContactFilterModel.cs
157
C#
using BlogService.Data; using BlogService.Features.Core; using MediatR; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; using System; namespace BlogService.Features.Authors { public class GetAuthorsQuery { public class GetAuthorsRequest : IRe...
29.431373
101
0.586942
[ "MIT" ]
QuinntyneBrown/BlogService
src/BlogService/Features/Authors/GetAuthorsQuery.cs
1,501
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.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.SqlServer.Management.S...
38.465649
144
0.590792
[ "MIT" ]
ConnectionMaster/sqltoolsservice
src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingExtensionMethods.cs
5,041
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.Globalization; using System.Runtime.InteropServices; #pragma warning disable 436...
30.04
161
0.614292
[ "MIT" ]
2E0PGS/corefx
src/System.Runtime.WindowsRuntime.UI.Xaml/src/System/Windows/Controls/Primitives/GeneratorPosition.cs
2,253
C#
using System; using System.Collections; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Asn1 { public class Asn1EncodableVector : IEnumerable { private IList v = Platform.CreateArrayList(); public static Asn1EncodableVector FromEnumerable( IEnumerable e) { Asn1EncodableVector...
15.382979
53
0.59751
[ "Apache-2.0" ]
Arthurvdmerwe/-ISO-TC-68-SC-2-ISO20038
Crypto/src/asn1/Asn1EncodableVector.cs
1,446
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using data.context; namespace data.Migrations { [DbContext(typeof(FSPropertyManage...
35.863322
125
0.435525
[ "MIT" ]
Ctrl-Tech-Crop/property-management
src/app/data/Migrations/FSPropertyManagementIdentityContextModelSnapshot.cs
20,731
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Medical.GUI.AnomalousMvc; using Engine.Saving; using Medical.Controller.AnomalousMvc; using Medical; using Anomalous.GuiFramework; namespace Lecture.GUI { class SlideTaskbarView : MyGUIView { publ...
23.333333
124
0.516327
[ "MIT" ]
AnomalousMedical/Medical
Lecture/GUI/SlideTaskbar/SlideTaskbarView.cs
1,472
C#
using AntShares.Core.Scripts; using AntShares.Cryptography; using AntShares.Cryptography.ECC; using AntShares.IO; using AntShares.Wallets; using System; using System.Collections.Generic; using System.Linq; namespace AntShares.Core { /// <summary> /// 实现区块链功能的基类 /// </summary> public abst...
36.436709
168
0.525737
[ "MIT" ]
DavidthePangwaer/AntShares
AntSharesCore/Core/Blockchain.cs
19,263
C#
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 LevelThree3 { public partial class levelThree : Form { static int playPause; ...
24.816176
73
0.482074
[ "MIT" ]
AsifNoman/SpellAndSave
LevelThree3/PlayPause3.cs
3,377
C#
using System; using System.IO; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Internal; namespace HttpMultipartFormDataFactory.Tests; internal static class TestValues { public static IFormFile File { get; } = new FormFile(new MemoryStream(Encoding.Default.GetBytes("tes...
46.604167
114
0.649084
[ "MIT" ]
hell03end/HttpMultipartFormDataFactory
HttpMultipartFormDataFactory.Tests/TestValues.cs
2,237
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/resourcemanager/v3/folders.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collecti...
37.567301
565
0.669463
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/resourcemanager/v3/google-cloud-resourcemanager-v3-csharp/Google.Cloud.ResourceManager.V3/Folders.g.cs
152,110
C#
using System; using System.Linq; using System.Threading.Tasks; using HotChocolate.Types; namespace HotChocolate.Stitching.Schemas.Contracts { public class LifeInsuranceContractType : ObjectType<LifeInsuranceContract> { protected override void Configure( IObjectTypeDescriptor<LifeInsuranceCo...
37.647887
78
0.483726
[ "MIT" ]
Asshiah/hotchocolate
src/HotChocolate/Stitching/test/Stitching.Tests/Schemas/Contracts/LifeInsuranceContractType.cs
2,673
C#
using FGD.Bussines.Model; using FGD.Configuration; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace FGD.Data.Service { public class AccountSubscriptionRepository : IAccountSubscriptionRepository<AccountSubscriptionModelBussines<int>, int>...
33.825581
129
0.669302
[ "MIT" ]
VladyslavYakymenkoCom/Fake-Google-Drive
FGD.Data.Service/Implementation/AccountSubscriptionRepository.cs
2,911
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...
48.69697
157
0.617922
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.461
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Component/KryptonPaletteRibbonGroupButtonText.cs
1,610
C#
/* Copyright 2019 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
48.934959
157
0.712743
[ "Apache-2.0" ]
Esri/arcobjects-sdk-community-samples
Net/Controls/EditingVertexCommands/CSharp/Application/EditingForm.cs
6,019
C#
using Data; using DesafioFULL.Domain.Interfaces.Repositorys; using DesafioFULL.Domain.Models; using System.Collections.Generic; using System.Linq; namespace DesafioFULL.Data.Repository { public class RepositoryParcela : RepositoryBase<Parcela>, IRepositoryParcela { private readonly SqlContext _context...
25.763158
88
0.529111
[ "MIT" ]
t-tozatto/DesafioFULL
api/Data/Repository/RepositoryParcela.cs
981
C#
using System; namespace LibVLCSharp.Shared { internal class MediaEventManager : EventManager { readonly object _lock = new object(); #if IOS static EventHandler<MediaMetaChangedEventArgs> _mediaMetaChanged; static EventHandler<MediaParsedChangedEventArgs> _mediaParsedChanged; s...
46.384615
121
0.587414
[ "Unlicense" ]
944095635/DMSkin-Wallpaper-Maker
Wallpaper.Maker/LibVLCSharp/Shared/Events/MediaEventManager.cs
11,459
C#
using System.Threading; using Android.AccessibilityServices; using Android.Graphics; using CoreAutomata; namespace FateGrandAutomata { public class AccessibilityGestureService : IGestureService { AccessibilityService _accessibilityService; readonly ManualResetEventSlim _gestureWaitHandle = new...
31.727273
142
0.643266
[ "MIT" ]
echoscrip/Fate-Grand-Automata
FateGrandAutomata/Gestures/AccessibilityGestureService.cs
2,096
C#
// // Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // using System; using Windows.Storage; namespace FileAccess { class Scenario5_CreateMultiLevelFolders { public static void Execute(StorageFolder device) { Co...
36.258065
122
0.627224
[ "MIT" ]
fluent-software/Samples
samples/Storage/FileAccess/Scenario5_CreateMultiLevelFolders.cs
2,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NPC.Runtime { public class NeoTrace /* Level *all* */ { public static void Trace(params object[] args) { Neo.SmartContract.Framework.Services.Neo.Runtime.No...
20.588235
74
0.66
[ "MIT" ]
mwherman2000/neo-npcc
neo-npcc/PartialClassTest1/NeoTrace.cs
352
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nucleus.Gaming.Windows.Interop { public static class User32_WS { /*GWL_ID = (-12) GWL_STYLE = (-16) GWL_EXSTYLE = (-20)*/ public const int GWL_EXSTYLE = -20; public const in...
44.568182
111
0.686639
[ "MIT" ]
jackxriot/nucleuscoop
Master/Nucleus.Gaming/Platform/Windows/Interop/User32/User32_WS.cs
3,924
C#
namespace Xilium.CefGlue; using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Xilium.CefGlue.Interop; /// <summary> /// Class used to implement render process callbacks. The methods of this class /// will be called on the render process main thread (T...
34.839024
207
0.703584
[ "MIT" ]
ClrsDream/NanUI
src/NetDimension.NanUI/third_party_libraries/CefGlue-90.6.7_g19ba721_chromium_90.0.4430.212/Classes.Handlers/CefRenderProcessHandler.cs
7,144
C#
//using Moralis.Platform.Objects; //using System; //using System.Collections.Generic; //using System.Text; //namespace Moralis.Platform.Services.Infrastructure //{ // public class PointerOrLocalIdEncoder : DataEncoder // { // public static PointerOrLocalIdEncoder Instance { get; } = new PointerOrLocalIdE...
31.833333
115
0.571728
[ "MIT" ]
AllTrueVision/ethereum-unity-boilerplate
Assets/MoralisWeb3ApiSdk/Moralis/MoralisDotNet/Platform/Services/Infrastructure/PointerOrLocalIdEncoder.cs
957
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Uno.Extensions; using Uno.UI.Views.Controls; using Windows.UI.Xaml.Data; using Uno.UI.Converters; using Uno.Client; using System.Threading.Tasks; using Uno.Diagnostics.Eventing; using Uno.UI.Co...
32.535183
230
0.728128
[ "Apache-2.0" ]
ArchieCoder/uno
src/Uno.UI/UI/Xaml/Controls/ListViewBase/ListViewBaseSource.iOS.cs
32,828
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using FluentAssertions; using IdentityModel; using IdentityModel.Client; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestH...
37.334873
110
0.556353
[ "Apache-2.0" ]
Aratirn/IdentityServer4
test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs
16,168
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Text.Json; using FluentAssertions; using Microsoft.DotNet.Interactive.Jupyter.ZMQ; using Microsoft.DotNet.Interactive.Notebook; usi...
37.098361
101
0.6403
[ "MIT" ]
AngleQian/interactive
src/Microsoft.DotNet.Interactive.Jupyter.Tests/CustomMetadataParsingTests.cs
2,265
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Dfe.Edis.SourceAdapter.Ukrlp.Infrastructure.UkrlpSoapApi.UnitTests")]
46.666667
100
0.857143
[ "MIT" ]
DFE-Digital/edis-source-adapter-ukrlp
src/Dfe.Edis.SourceAdapter.Ukrlp.Infrastructure.UkrlpSoapApi/Properties/AssemblyInfo.cs
140
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Nucs.JsonSettings.Examples { static class JsonProgram { /// <summary> /// The main entry point for the application. /// </summar...
39.56
124
0.490394
[ "MIT" ]
BridgerPhotonics/JsonSettings
examples/JsonSettings.Examples/JsonSettings.cs
1,980
C#
namespace RPGStoreSimulator { class Sword : BaseItem { public int sharpness = 0; // How much it pierces armour. public float crit = 0.1f; // Chance of critting. public Sword() { } public override void Setup() // Just adding stats cuz why not. { str...
33.875
92
0.5369
[ "MIT" ]
JacobsReturn/RPGStoreFront
RPGStoreSimulator/Classes/Inventory/Sword.cs
544
C#
/* _BEGIN_TEMPLATE_ { "id": "GIL_618e", "name": [ "鸦羽的召唤", "Glinda's Call" ], "text": [ "获得<b>回响</b>。", "Has <b>Echo</b>." ], "cardClass": "WARLOCK", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "GILNEAS", "collectible": null, "dbfId": 52780 } _END_TEMPLATE_ */ na...
14.592593
36
0.538071
[ "MIT" ]
chi-rei-den/Silverfish
cards/GILNEAS/GIL/Sim_GIL_618e.cs
414
C#
// Copyright © 2017 Chocolatey Software, Inc // Copyright © 2011 - 2017 RealDimensions Software, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // // You may obtain a copy of the License at // // http://www.apach...
33.933002
175
0.534625
[ "Apache-2.0" ]
Apteryx0/choco
src/chocolatey.tests/infrastructure.app/commands/ChocolateySourceCommandSpecs.cs
13,679
C#
using CommunityBot.Extensions; using CommunityBot.Features.Lists; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using static CommunityBot.Features.Lists.ListException; namespace CommunityBot.Helpers { public static class ListHelper ...
38.872093
170
0.564313
[ "MIT" ]
Charly6596/Community-Discord-BOT
CommunityBot/Helpers/ListHelper.cs
6,694
C#
// // EngineSettings.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2006 Alan McGovern // // 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 restrict...
38.272358
215
0.63197
[ "MIT" ]
kanggaogang/BitTorrent
src/BitTorrent/Client/Settings/EngineSettings.cs
9,415
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Structure.UIClass { internal class WindowSettings { internal double NormalHeight { get; set; } internal double NormalWidth { get; set; } internal double MaxHeigh...
19.142857
50
0.664179
[ "MIT" ]
avinash1203/Structure
Structure/UIClass/WindowSettings.cs
404
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipaySecurityRiskBackgroundQueryModel Data Structure. /// </summary> [Serializable] public class AlipaySecurityRiskBackgroundQueryModel : AopObject { /// <summary> /// params+用于背调查询的输入信息+...
24.28
67
0.599671
[ "MIT" ]
BJDIIL/DiiL
Sdk/AlipaySdk/Domain/AlipaySecurityRiskBackgroundQueryModel.cs
673
C#
namespace G09projectenII.Models.ViewModels { public class ProfilePicViewModel { public int Size { get; set; } public bool Rounded { get; set; } public string ProfilePicPath { get; set; } public string CssClass { get; set; } } }
24.818182
50
0.619048
[ "MIT" ]
DanteDeRuwe/lorem-web
G09projectenII/Models/ViewModels/ProfilePicViewModel.cs
275
C#
using Aveva.ApplicationFramework; using Aveva.ApplicationFramework.Presentation; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aveva.Presentation.AttributeBrowserAddin { class ExportModelAddin : IAddin { public string Description { get { return "Export PDMS m...
26.846154
113
0.776504
[ "Apache-2.0" ]
icedream2linxi/PDMS_ExportModel
ExportModel/ExportModelAddin.cs
1,049
C#
using System; using System.Collections.Generic; using System.Linq; namespace p04_LongestIncreasingSubsequence { class p04_LongestIncreasingSubsequence { static void Main(string[] args) { var sequence = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntri...
29.473684
147
0.455357
[ "MIT" ]
Packo0/SoftUniProgrammingFundamentals
exercise/t09_Lists/p04_LongestIncreasingSubsequence/p04_LongestIncreasingSubsequence.cs
1,682
C#
using System.ComponentModel.DataAnnotations; using MediatR; namespace WellBot.UseCases.Users.AuthenticateUser { /// <summary> /// Refresh token command. /// </summary> public record RefreshTokenCommand : IRequest<TokenModel> { /// <summary> /// User token. /// </summary> ...
21.555556
60
0.603093
[ "MIT" ]
ko-vasilev/WellBot
src/WellBot.UseCases/Users/AuthenticateUser/RefreshTokenCommand.cs
390
C#
using BenchmarkDotNet.Attributes; using GBX.NET.Engines.MwFoundations; namespace GBX.NET.Benchmarks; [MemoryDiagnoser] public class LzoBenchmark : Benchmark { public MemoryStream MapCompressed { get; set; } = new(); public MemoryStream MapUncompressed { get; set; } = new(); [GlobalSetup] public void...
24.487805
82
0.668327
[ "Unlicense" ]
ArkadySK/gbx-net
Benchmarks/GBX.NET.Benchmarks/LzoBenchmark.cs
1,006
C#
using Signum.Engine.Maps; using Signum.Entities.Basics; using Signum.Engine.DynamicQuery; using Signum.Utilities.Reflection; namespace Signum.Engine.Basics; public static class TypeLogic { public static Dictionary<PrimaryKey, Type> IdToType { get { return Schema.Current.typeCachesLazy.Val...
37.65625
165
0.577697
[ "MIT" ]
goldenauge/framework
Signum.Engine/Basics/TypeLogic.cs
9,640
C#
using System.Configuration; namespace Lithnet.GoogleApps.MA { internal class ContactsApiElement : ConfigurationElement { private const string PropRateLimit = "rate-limit"; private const string PropPoolSize = "pool-size"; [ConfigurationProperty(ContactsApiElement.PropRateLimit, IsRequi...
27.833333
106
0.555888
[ "MIT" ]
leoerlandsson/googleapps-managementagent
src/Lithnet.GoogleApps.MA/ConfigSections/ContactsApiElement.cs
1,004
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Toolbox.Extension.UI.Scaffolding.Converters { public class StepNumberToOkButtonVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo...
27.884615
103
0.648276
[ "MIT" ]
ilchenkob/ef-core-toolbox
src/Toolbox.Extension/UI/Scaffolding/Converters/StepNumberToOkButtonVisibilityConverter.cs
727
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. namespac...
38.6125
301
0.606021
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/SqlManagement/Management.Sql/Generated/Models/ImportExtensionRequest.cs
6,178
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.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.IO; using Xunit; names...
60.446565
145
0.671466
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs
15,837
C#
using Crash; using System.Collections.Generic; using System.Windows.Forms; namespace CrashEdit { public sealed class ColoredFrameController : Controller { public ColoredFrameController(ColoredAnimationEntryController cutsceneanimationentrycontroller,OldFrame oldframe) { CutsceneAnim...
41.508772
167
0.666103
[ "MIT", "BSD-3-Clause" ]
Hatry1337/CrashEdit
CrashEdit/Controllers/Animation/ColoredFrameController.cs
2,366
C#
// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.AntiCheatClient { public class EndSessionOptions { } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential,...
21.90625
110
0.74465
[ "MIT" ]
CreepyAnt/EpicOnlineTransport
Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/AntiCheatClient/EndSessionOptions.cs
701
C#
namespace Nancy.Demo.PostSharp { using global::PostSharp.Aspects; using System; [Serializable] public class CacheViewModelAttribute : MethodInterceptionAspect { /// <summary> /// Cache name. /// </summary> public string Name { get; set; } /// <summary> ...
27.875
77
0.518386
[ "MIT" ]
fagnercarvalho/Nancy.Demo.PostSharp
Nancy.Demo.PostSharp/CacheViewModelAttribute.cs
1,117
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.ComponentModel; using System.Globalization; using Microsoft.AspNetCore.Testing; namespace Microsoft.AspNetCore.Http; public class PathStringTests { [Fact] publ...
38.189655
175
0.652445
[ "MIT" ]
3ejki/aspnetcore
src/Http/Http.Abstractions/test/PathStringTests.cs
13,312
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.Threading.Tasks; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.VisualStudio.IntegrationTest.Utilities; using Microsoft.VisualSt...
44.347368
161
0.679563
[ "Apache-2.0" ]
DongchengWang/roslyn
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplIntellisense.cs
4,215
C#
using Dutiful.ViewModels.User; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dutiful.Services.Rules; public interface IAccountRules : IAsyncDisposable { Task<UserViewModel?> GetUserAsync(HttpContext h...
22.333333
63
0.814925
[ "Apache-2.0" ]
Ftmco/Dutiful
Dutiful/Dutiful.Services/Rules/IAccountRules.cs
337
C#
namespace Digimezzo.Foundation.Core.Win32 { internal enum SHFileOperationReturnCode : ulong { /// <summary> /// Operation completed successfully. /// </summary> SUCCESSFUL = 0L, /// <summary> /// The process cannot access the file because it is being used by ano...
26.88
91
0.566964
[ "MIT" ]
digimezzo/Foundation
Digimezzo.Foundation.Core/Win32/SHFileOperationReturnCode.cs
674
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using dal.Models.Entities; namespace dal.Repositories.Abstract { public interface ICompanyRepository : IEntitiesRepository<Company> { IEnumerable<Company> GetByDealerId(int dealerId); ...
22.625
68
0.759669
[ "MIT" ]
MarinTerentiev/mag
dal/Repositories/Abstract/ICompanyRepository.cs
364
C#
/* * Copyright 2013 Outercurve Foundation * * 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 ...
39.789474
139
0.71627
[ "Apache-2.0" ]
Acidburn0zzz/PclUnit
Contrib/PclUnit.Style.Xunit/Exceptions/PropertyChangedException.cs
1,514
C#
using System; using System.Runtime.InteropServices; using Windows.ApplicationModel.Resources; namespace EAShow.Core.Helpers { internal static class ResourceExtensions { private static ResourceLoader _resLoader = new ResourceLoader(); public static string GetLocalized(this string resourceKey)...
22.388889
72
0.707196
[ "MIT" ]
MikelThief/EAShow
EAShow.Core/Helpers/ResourceExtensions.cs
405
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClashRoyaleDashBoard { class ClashWar { public int SeasonId { get; set; } public string CreatedDate { get; set; } public List<ClashWarParticipant> Partici...
20.6
67
0.674757
[ "MIT" ]
rcornejo/clashRoyaleDashBoard
ClashRoyaleDashBoard/ClashRoyaleDashBoard/ClashWar.cs
414
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Configuration; using osuTK; using osu.Game.Rulesets.J...
31
136
0.574381
[ "MIT" ]
AaqibAhamed/osu
osu.Game.Rulesets.Osu/Objects/Drawables/DrawableOsuJudgement.cs
3,093
C#
using System.Collections.Immutable; using TPP.ArgsParsing; namespace TPP.Core.Commands { public readonly struct CommandContext { public Message Message { get; } public IImmutableList<string> Args { get; } public ArgsParser ArgsParser { get; } public CommandContext(Message messa...
24.85
98
0.629779
[ "MIT" ]
Dnantz/tpp-core
TPP.Core/Commands/CommandContext.cs
497
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Tigerbox.Exceptions; using Tigerbox.Spec; namespace Tigerbox.Objects { public class TigerSharedData { private int _credits; public...
24.372222
130
0.490084
[ "MIT" ]
dynagita/Jukebox-Tigerbox
TigerboxPlayer/TigerSharedData.cs
4,389
C#
using System.Threading.Tasks; using AspnetboilerplateDemo.Models.TokenAuth; using AspnetboilerplateDemo.Web.Controllers; using Shouldly; using Xunit; namespace AspnetboilerplateDemo.Web.Tests.Controllers { public class HomeController_Tests: AspnetboilerplateDemoWebTestBase { [Fact] public asyn...
26.827586
71
0.618252
[ "MIT" ]
arvindaspnetdev/AspNetZeroDemo
aspnet-core/test/AspnetboilerplateDemo.Web.Tests/Controllers/HomeController_Tests.cs
780
C#
#region Licence /* The MIT License (MIT) Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limitat...
37.926829
77
0.760129
[ "MIT" ]
DejanMilicic/Brighter
tests/Paramore.Brighter.Tests/CommandProcessors/TestDoubles/MyPostLoggingHandlerAttribute.cs
1,564
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace a { class Program { static void Main(string[] args) { int s = int.Parse(Console.ReadLine()); double ans = 50.0 / s; Console.WriteLine(ans); } } }
17.555556
50
0.553797
[ "MIT" ]
yu3mars/procon
atcoder/others/code_festival/2014/final/a/a/Program.cs
318
C#