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 UnityEngine; namespace Assets.Gameplay.Character.Implementation.Orders { public abstract class Order : ScriptableObject, ICharacterOrder<BasicCharacter> { protected Order(string name) { Name = name; } public void Execute(IOrderArguments<BasicCharacter> argume...
25.5
83
0.634992
[ "MIT" ]
martin-obert/WWI_Trenches
WWI_Trenches_Prototypes/Assets/Gameplay/Character/Implementation/Orders/Order.cs
665
C#
using System.Collections.Generic; using System.Web.Mvc; namespace Orchard.Mvc.ViewEngines { public class CreateThemeViewEngineParams { public string VirtualPath { get; set; } } public class CreateModulesViewEngineParams { public IEnumerable<string> VirtualPaths { get; set; } ...
31.388889
87
0.727434
[ "BSD-3-Clause" ]
mofashi2011/orchardcms
src/Orchard/Mvc/ViewEngines/IViewEngineProvider.cs
565
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("Ba...
37.916667
84
0.748718
[ "Apache-2.0" ]
GoranHalvarsson/Helix.Examples
examples/helix-basic-tds-consolidated/src/BasicCompany.Web/Properties/AssemblyInfo.cs
1,368
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
45.59375
220
0.736806
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementNotStatementStatementRegexPatternSetReferenceStatementTextTransformationArgs.cs
1,459
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> //--...
39.140704
181
0.577353
[ "MIT" ]
DBAJustin/TrackballScroll
TrackballScroll/Properties/Resources.Designer.cs
7,791
C#
using SeleniumWebdriver.Interfaces; using System; namespace SeleniumWebdriver.Configuration { public class XmlReader : IConfig { public BrowserType GetBrowser() { throw new NotImplementedException(); } public int GetElementLoadTimeout() { throw ...
20.410256
48
0.561558
[ "BSD-3-Clause" ]
thaotrant/SeleniumWebdriver
Configuration/XmlReader.cs
798
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using Windows.UI.Xaml; using FindWord.Common; using FindWord.Messaging; using FindWord.Services; using System; namespace FindWord.ViewModels { public cl...
30.047847
135
0.579618
[ "Apache-2.0" ]
EugeneBichel/XAML-Application-For-WindowsRT-Windows8
FindWord/WordFinder/ViewModels/StartPageViewModel.cs
6,282
C#
using Multiplayer.Common; using RimWorld; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Threading; using UnityEngine; using Verse; using Verse.Profile; using Verse.Sound; using Verse.Steam; namesp...
36.732852
204
0.570614
[ "MIT" ]
Nylux/Multiplayer
Source/Client/Windows/HostWindow.cs
10,177
C#
using System; using System.Collections.Generic; namespace Vue2Spa.Models.DB { public partial class CasherLogfile { public int LoginoutId { get; set; } public short OperId { get; set; } public DateTime? LoginDate { get; set; } public DateTime? LogoutDate { get; set; } pu...
25.1875
49
0.615385
[ "MIT" ]
MoeinElwani/Holiday
Models/DB/CasherLogfile.cs
405
C#
using NullGuard; namespace Rothko { public struct SaveDialogResult { readonly bool _success; readonly string _fileName; public static readonly SaveDialogResult Failed = new SaveDialogResult(); public SaveDialogResult(string chosenFileName) { _success = true...
24.307692
100
0.533228
[ "MIT" ]
Haacked/Rothko
src/Rothko/Infrastructure/SaveDialogResult.cs
1,264
C#
namespace IdentityAPI.Configuration { public class JwtBearerTokenSettings { public string SecretKey { get; set; } public string Audience { get; set; } public string Issuer { get; set; } public int ExpiryTimeInSeconds { get; set; } public int RefreshTokenExpiryInDays { ge...
28.166667
57
0.639053
[ "MIT" ]
arhamhamood1306/Dotnet
src/Services/Identity/Identity.API/Configuration/JwtBearerTokenSettings.cs
340
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
32.222222
81
0.663218
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/SamlMetadataResponse.generated.cs
1,740
C#
using System; using Google.Authenticator; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace mfa_web_app.Pages { public class IndexModel : PageModel { private readonly ILogger<Ind...
40.629032
147
0.643509
[ "MIT" ]
michaelringholm/mfa
dotnet/mfa-web-app/Pages/Index.cshtml.cs
2,521
C#
using System; using System.Collections.Generic; using net.r_eg.MvsSln; using Xunit; namespace MvsSlnTest { public class SlnItemsTest { public static IEnumerable<object[]> GetAnSlnItemsAll() { yield return new object[] { SlnItems.All, SlnItems.LoadMinimalDefaultData }; ...
32.54386
94
0.433423
[ "MIT" ]
3F/MvsSln
MvsSlnTest/SlnItemsTest.cs
1,857
C#
using System.Collections.Generic; namespace Algorithms.SortAlgorithms { /// <summary> /// MSD - most significant digit /// Best: O(wn) /// Average: O(wn) /// Worst: O(wn) /// Additional memory: w + n /// where w - word size /// </summary> /// ...
27.242424
67
0.431591
[ "MIT" ]
PranamBhat/Algorithms
Algorithms/SortAlgorithms/NonComparison/MSDRadixSorter.cs
1,800
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...
29.463158
101
0.61129
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/SecurityGroupReference.cs
2,799
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.Collections.Immutable; using Microsoft.CodeAnalysis.DocumentationComments; namespace Microsoft.CodeAn...
39.80916
163
0.676127
[ "MIT" ]
JavierMatosD/roslyn
src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedMethodSymbol.cs
5,217
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22
45
0.716301
[ "MIT" ]
ChrisDiky/MaterialDesignInXaml.Examples
Behaviors/SetFocusBehavior/MainWindow.xaml.cs
640
C#
using RefactoringEssentials.VB.CodeRefactorings; using Xunit; namespace RefactoringEssentials.Tests.VB.CodeRefactorings { public class AddAnotherAccessorTests : VBCodeRefactoringTestBase { [Fact] public void TestAddSet() { Test<AddAnotherAccessorCodeRefactoringProvider>(@" C...
23.081081
68
0.605386
[ "MIT" ]
GrahamTheCoder/RefactoringEssentials
Tests/VB/CodeRefactorings/AddAnotherAccessorTests.cs
2,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LINQtoCSV; namespace DataSciLib.IO { public class Reader { } }
12.714286
33
0.685393
[ "MIT" ]
IntersectTechnologies/portfolio_optimization
DataSciLib.IO/Reader.cs
180
C#
using AutoMapper; namespace Accelerator.GeoLocation; public class AutoMapperProfiles : Profile { public AutoMapperProfiles() { // TODO: Add profiles } }
15.909091
41
0.691429
[ "MIT" ]
lambda-snail/GeolocationAccelerator
Azure.Functions/AutoMapperProfiles.cs
177
C#
using NUnit.Framework; public class Crawler_tests { [Test] public void Should_load_all_cralwers() { var allCrawlers = CrawlerRepo.GetAll(); Assert.That(allCrawlers.Count, Is.GreaterThanOrEqualTo(199)); } }
19.461538
70
0.644269
[ "MIT" ]
memucho/webapp
src/TrueOrFalse.Tests/7 Web/Crawler_tests.cs
255
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.Extensions.Options; namespace StoneAge.TestUtils { public class MockOptions<T> : IOptions<T> where T: class, new() { public T Value { get; } public MockOptions(T value) { Value ...
18.578947
68
0.583569
[ "MIT" ]
StoneAgeTechnologies/DotNetCoreTestUtils
TestUtils/MockOptions.cs
355
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Hatfield.EnviroData.Core; using Hatfield.EnviroData.WQDataProfile; namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Converters { public abstract class MeasurementResultValueMapperBase : ODM2MapperBase<MeasurementResultV...
42.083333
196
0.764356
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
HatfieldConsultants/Hatfield.EnviroData.DataAcquisition
Source/hatfield.envirodata.dataacquisition.esdat/Converters/ODM2MapperBases/MeasurementResultValueMapperBase.cs
1,012
C#
// Copyright (C) 2010, 2011 Zeno Gantner // // This file is part of MyMediaLite. // // MyMediaLite is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any ...
32.607595
88
0.696429
[ "BSD-3-Clause" ]
zenogantner/MML-KDD
src/MyMediaLite/ItemRecommendation/KNN.cs
2,576
C#
using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Rusell.Employees.Application; using Rusell.Employees.Application.SearchAllByType; using Rusell.Employees.Domain; namespace Rusell.Employees.Api.Controllers; [ApiController] [Authorize] [Route("api/employees/companies/{compa...
29.566667
109
0.771139
[ "MIT" ]
cantte/Rusell.Api
apps/Employees.Api/Controllers/GetAllByCompanyAndTypeController.cs
887
C#
using Sharpen; namespace java.net { [Sharpen.NakedStub] public class AddressCache { [Sharpen.NakedStub] public class AddressCacheEntry { } } }
11.142857
32
0.711538
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/java/net/AddressCache.cs
156
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.Collections.Generic; using System.IO; using System.Text; using Microsoft.SqlServer.TDS....
35.315315
112
0.532143
[ "MIT" ]
2E0PGS/corefx
src/System.Data.SqlClient/tests/Tools/TDS/TDS/Row/TDSNBCRowToken.cs
3,922
C#
using Appinion.Domain.Entity; using System; using System.Collections.Generic; using System.Text; namespace Appinion.Domain.Interface { public interface IUsuarioRepository : IRepository<Usuario> { bool UsuarioExiste(string username); bool EmailExiste(string email); string RecuperarSenha...
26.4375
62
0.747045
[ "MIT" ]
eduardosbcabral/appinion-backend
Appinion.Domain/Usuario/IUsuarioRepository.cs
425
C#
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. //------------------------------------------------------------------------------ namespace Microsoft.CodeTalk { using System; using S...
41.162791
120
0.609605
[ "MIT" ]
Bhaskers-Blu-Org2/CodeTalk
src/VisualStudio/CodeTalk/UI/FunctionsListToolWindow.cs
1,772
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/winnt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System....
39.805556
145
0.681089
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/winnt/PPM_IDLE_ACCOUNTING_EXTests.cs
1,435
C#
namespace H8QMedia.Services.Data { using System.Linq; using H8QMedia.Data.Common.Repositories; using H8QMedia.Data.Models; using H8QMedia.Services.Data.Contracts; public class UsersService : IUsersService { private readonly IDbRepository<ApplicationUser, string> users; public ...
26.563636
91
0.572211
[ "MIT" ]
IvoPaunov/Course-Project-ASP.NET-MVC
Source/Services/H8QMedia.Services.Data/UsersService.cs
1,463
C#
using NServiceBus; using NServiceBus.Persistence.Sql; namespace SqlPersistence_1.UsingSaga { #region SqlPersistenceSagaWithNoMessageMapping [SqlSaga] public class SagaWithNoMessageMapping : SqlSaga<SagaWithNoMessageMapping.SagaData> { protected override void ConfigureMapp...
20.791667
89
0.641283
[ "Apache-2.0" ]
Cogax/docs.particular.net
Snippets/SqlPersistence/SqlPersistence_1/UsingSaga/SagaWithNoMessageMapping.cs
478
C#
using ApolloInterop.Classes; using ApolloInterop.Interfaces; using ApolloInterop.Serializers; using ApolloInterop.Structs.MythicStructs; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO.Pipes; using System.Linq; using System.Text; using AI = ApolloInterop; using Apol...
33.716667
118
0.597874
[ "BSD-3-Clause" ]
getshellz/Apollo
Payload_Type/apollo/agent_code/Apollo/Peers/SMB/SMBPeer.cs
4,048
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...
35.743243
199
0.61966
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/BookmarkExpandParameters.cs
2,645
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.725275
153
0.594586
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IUserTranslateExchangeIdsRequest.cs
3,251
C#
using FFXIVClientStructs.FFXIV.Client.Game.Gauge; namespace FFXIVClientStructs.FFXIV.Client.Game; [StructLayout(LayoutKind.Explicit, Size = 0x60)] public unsafe partial struct JobGaugeManager { [FieldOffset(0x00)] public JobGauge* CurrentGauge; [FieldOffset(0x08)] public JobGauge EmptyGauge; [FieldOffs...
37.025
60
0.750169
[ "MIT" ]
AsgardXIV/FFXIVClientStructs
FFXIVClientStructs/FFXIV/Client/Game/JobGaugeManager.cs
1,483
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 * ...
32.683544
149
0.613091
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Scf/V20180416/Models/DeleteTriggerRequest.cs
2,832
C#
namespace MovieDb.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class AnotationAdded : DbMigration { public override void Up() { AlterColumn("dbo.Adresses", "AdressText", c => c.String(nullable: false, maxLength: 200)); } ...
25.105263
102
0.57652
[ "MIT" ]
WorkenWithLopaten/MovieDatabaseServer
WebAPI/Data/MovieDb.Data/Migrations/201706061442005_AnotationAdded.cs
477
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...
36.630952
163
0.663308
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.StorageGateway/Model/Internal/MarshallTransformations/DeleteBandwidthRateLimitRequestMarshaller.cs
3,077
C#
using BenchmarkDotNet.Running; namespace Benchmarks { public static class Program { public static void Main(string[] args) { var summary = BenchmarkRunner.Run<ScheduledProcessorWorkerBehchmark>(); } } }
19.461538
83
0.636364
[ "MIT" ]
IcaroTorres/rabbitmq-billing-processing
src/Utils/Benchmarks/Program.cs
255
C#
using System; using System.Linq; using System.Reflection; using System.Security.Principal; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using System.Web.Routing; using EmpleoDotNet.AppServices; using EmpleoDotNet.Controllers; using EmpleoDotNet.Core.Domain; using EmpleoDotNet.Core.Dto; using E...
41.097368
114
0.626625
[ "Unlicense" ]
gromney/empleo-dot-net
EmpleoDotNet.Tests/Web/Controllers/JobOpportunityControllerTest.cs
15,622
C#
using apophis.Lexer.Tokens; namespace ArithmeticParser.Lexing { public class OpenParenthesisToken : IToken { } }
14.111111
46
0.716535
[ "BSD-3-Clause" ]
FreeApophis/ArithmeticParser
LambdaCalculusParser/Tokens/OpenParenthesisToken.cs
129
C#
#pragma checksum "C:\Users\Jay\source\repos\SDC\SDC_Web\Views\Invoices\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6719933e554dc1357baa9f1d7939f0c70087e59a" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore....
46.899582
298
0.617093
[ "MIT" ]
jjang3530/SDC
SDC_Web/obj/Debug/netcoreapp2.2/Razor/Views/Invoices/Details.cshtml.g.cs
22,418
C#
using System; using UnityEngine; public class TileInfo : IEquatable<TileInfo> { public float MapTileSize { get; private set; } public TileInfo(WorldCoordinate centerLocation, int zoom, float mapTileSize) { SetStandardValues(mapTileSize); var latrad = centerLocation.Lat * Mathf.Deg2Rad; ...
25.504854
101
0.571755
[ "MIT" ]
Petachok/Holo3D
Assets/App/Scripts/TileInfo.cs
2,629
C#
using Microsoft.AspNetCore.Identity.UI.Services; using RazorHtmlEmails.RazorClassLib.Models; using RazorHtmlEmails.RazorClassLib.Services; using RazorHtmlEmails.RazorClassLib.Views.Emails.NewAccount; using RazorHtmlEmails.RazorClassLib.Views.Emails.ProductRequestEmail; using System; using System.Collections.Generic; u...
41.921053
155
0.760829
[ "MIT" ]
behluluysal/fibu-app-demo
WebAPICore/RazorHtmlEmails.Common/Services/EmailSenderUseCases.cs
1,595
C#
namespace Kigg.Web { using System; using System.Text; public static class DateTimeExtension { public static string ToRelative(this DateTime target) { Check.Argument.IsNotInFuture(target, "target"); StringBuilder result = new StringBuilder(); ...
39.702703
114
0.300204
[ "BSD-3-Clause-Clear" ]
1103003188/Kigg
Source/Kigg.WebApp/Extension/DateTimeExtension.cs
1,469
C#
namespace TheFlash.Entities { public class User { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Username { get; set; } public byte[] PasswordHash { get; set; } public byte[] PasswordSalt { get;...
27.916667
48
0.573134
[ "MIT" ]
duykhiem/The-Flash
Entities/User.cs
335
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation.Runspaces; using System.Management.Automation.Host; using System.Management.Autom...
37.67041
202
0.555047
[ "Apache-2.0" ]
huamichaelchen/PowerShell
src/System.Management.Automation/engine/remoting/client/remoterunspace.cs
114,066
C#
using System; using Moq; using System.Collections.Generic; using Windows.Win32.UI.Input.KeyboardAndMouse; using Xunit; namespace Whim.Tests; public class CommandItemsTests { /// <summary> /// Add a command with no keybind. /// </summary> [Fact] public void AddCommand() { CommandItems commandItems = new(); ...
27.943114
88
0.716704
[ "MIT" ]
dalyIsaac/Whim
src/Whim.Tests/CommandItemsTests.cs
9,335
C#
//============================================================== // Copyright (C) 2020 Inc. All rights reserved. // //============================================================== // Create by 种道洋 at 2020/2/16 11:01:34. // Version 1.0 // 种道洋 //============================================================== using...
25.392157
142
0.489189
[ "Apache-2.0" ]
cdy816/mars
Common/Cdy.Tag/Security/PermissionDocument.cs
2,604
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/S...
34.230769
99
0.642697
[ "Apache-2.0" ]
Alexander2k/Stock-
Connectors/Quik/Xaml/Extensions.cs
1,464
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using FsCheck; using FsCheck.MsTest.Examples.ClassesToTest; namespace FsCheck.MsTest.Examples { [TestClass] public class CounterTest { [TestMethod, ExpectedException(typeof(Exception))] public void QuickCounter() { ...
25.333333
77
0.669408
[ "BSD-3-Clause" ]
forki/FsCheck
examples/FsCheck.MsTest.Examples/CounterTest.cs
610
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Management.Automation; namespace Microsoft.PowerShell.Commands { /// <summary> /// Types of breakpoints. /// <...
32.340909
155
0.46923
[ "MIT" ]
Aareon/PowerShellium
src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-PSBreakpoint.cs
9,961
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; namespace MoreMountains.Tools { /// <summary> /// Add this component to any object and it'll set the target frame rate and vsync count. Note that vsync count must be 0 for the target FPS to work. /// </summary> [AddComponentMenu("More M...
35.23913
244
0.628007
[ "MIT" ]
random-agile/slowmo_mobile
Assets/Amazing Assets/Feel/MMTools/Tools/MMPerformance/MMFPSUnlock.cs
1,621
C#
//------------------------------------------------------------ // 代码由工具自动生成,请勿手动修改 // 代码由工具自动生成,请勿手动修改 // 代码由工具自动生成,请勿手动修改 //------------------------------------------------------------ using ET; using GraphProcessor; namespace Plugins.NodeEditor { [NodeMenuItem("NPBehave行为树/Task/同步黑板bool值到客户端", typeof (NPBehaveG...
31.153846
102
0.596296
[ "MIT" ]
futouyiba/ClubET
Unity/Assets/Plugins/NodeEditor/Examples/Editor/NPBehaveGraph/Nodes/Task/NP_SyncNPBBValue_BoolActionNode.cs
972
C#
namespace Des.Blazor.Authorization.Msal { internal class MsalConfig : IMsalConfig { public string ClientId { get; set; } public string Authority { get; set; } public LoginModes LoginMode { get; set; } } }
21.25
50
0.6
[ "MIT" ]
cradle77/Blazor.Msal
src/Des.Blazor.Authorization.Msal/MsalConfig.cs
257
C#
using System.IO; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace ShtikLive.Clients { public interface ISlidesClient { Task<string> Upload(string presenter, string show, int index, string contentType, byte[] source, CancellationToken ct = default); ...
33.538462
138
0.724771
[ "MIT" ]
RendleLabs/Shtik
src/ShtikLive/Clients/ISlidesClient.cs
436
C#
using System; using System.Diagnostics; namespace _01_time_complexity { class Program { static void Main(string[] args) { ArrayTimeComplexity.AccessByIndex(new object[] { 1, 3, -2, 1, -3, 0, 2 }); var watch = new Stopwatch(); watch.Start(); var...
24.2
86
0.530579
[ "MIT" ]
amishra138/data-structures
data-structures/01-time-complexity/Program.cs
607
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace TestLogCollecter { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static...
24.166667
65
0.627586
[ "MIT" ]
HuoYingCunCunZhang/Knifer
TestLogCollecter/Program.cs
580
C#
using System; using System.Collections.Generic; using System.ServiceModel; using Zonkey.ConnectionManagers.Specialized; namespace Zonkey.ConnectionManagers.Wcf { /// <summary> /// A Thread-safe connection manager for worker processes (not web-safe) /// </summary> public class WcfConnectionManager: BaseConnectionM...
25.6
92
0.735156
[ "MIT" ]
kellybirr/zonkey-archive
v4.2/ConnectionManagers/Wcf/WcfConnectionManager.cs
1,282
C#
using System; namespace SoundpadConnector.Response { /// <summary> /// Represents a <see cref="PlayStatus"/> response /// </summary> public class PlayStatusResponse : ResponseBase<PlayStatus> { /// <inheritdoc /> public override void Parse(string response) { ...
24.44
76
0.505728
[ "MIT" ]
medokin/soundpad-connector
src/SoundpadConnector/Response/PlayStatusResponse.cs
613
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
36.325581
89
0.670294
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstancesClient.GetSnippet.g.cs
1,562
C#
// 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, software distributed under the ...
63.071967
204
0.53364
[ "Apache-2.0" ]
17666349388/google-api-dotnet-client
Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs
527,597
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Steamboat.Data.Entities; using Steamboat.Data.Repos; using Steamboat.Steam; using Steamboat.Steam.Dtos; namespace Steamboat.Crons.Apps { internal class AppListUpdaterCron : ICron ...
33.789474
100
0.630062
[ "MIT" ]
daver32/Steamboat
Steamboat/Crons/Apps/AppListUpdaterCron.cs
2,570
C#
using System; using System.Threading; using System.Threading.Tasks; namespace GenericBuffer.Core { public class AsyncGenericBuffer<T> : IAsyncGenericBuffer<T> { private readonly SemaphoreSlim _semaphoreSlim_ = new SemaphoreSlim(1); private readonly Func<T, CancellationToken, Task<T>> _factory_...
38.689655
194
0.623292
[ "MIT" ]
chyczewski-maciej/GenericBuffer
GenericBuffer.Core/AsyncGenericBuffer.cs
3,368
C#
using System; using System.Collections.Generic; using System.Text; namespace OpenMelissa.Models { /// <summary> /// ELot Number and Order /// </summary> public class ELotOrder : IEquatable<ELotOrder> { /// <summary> /// Where the current address falls in the delivery or...
31.675676
145
0.56314
[ "MIT" ]
teh-random-name/OpenMelissa
src/Models/ElotOrder.cs
1,174
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using GameFramework; using GameFram...
24.439394
81
0.433354
[ "MIT" ]
ZeroyiQ/StarForce
Assets/GameMain/Scripts/Game/ShowGame.cs
1,616
C#
using System; using System.Collections.Generic; using System.Text; using Core.Entities.Abstract; namespace Core.Entities.Concrete { public class OperationClaim : IEntity { public int Id { get; set; } public string OperationClaimName { get; set; } } }
20.071429
54
0.690391
[ "MIT" ]
melihsahtiyan/CarRentalProject
Core/Entities/Concrete/OperationClaim.cs
283
C#
// Copyright 2009, Novell, Inc. // Copyright 2010, Novell, Inc. // Copyright 2011, 2014 Xamarin Inc // // 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 // wit...
27.988764
73
0.696507
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
src/AVFoundation/AVAudioPlayer.cs
2,491
C#
using System; using System.Collections.Generic; using System.Linq; using WarpDeck.Application.Key; using WarpDeck.Domain.KeyAction; using WarpDeck.Domain.KeyAction.Descriptors; using WindowsInput; using WindowsInput.Events; namespace WarpDeck.Plugins.Actions.Macro { public class KeyMacro : KeyAction<KeyMacroModel...
27.441176
81
0.530011
[ "MIT" ]
armunro/WarpDeck
WarpDeck.Plugins/Actions/Macro/KeyMacro.cs
1,866
C#
namespace rest_api_blueprint.Services.Authentication { public interface IAccessTokenService : IBaseJwtService { } }
19.285714
59
0.725926
[ "MIT" ]
florianrubel/rest-api-blueprint
rest-api-blueprint/Services/Authentication/AccessTokenService.Interface.cs
137
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. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
40.050328
219
0.618478
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Compilers/Test/Utilities/CSharp/Extensions.cs
36,608
C#
using System; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.siteprobe.shop.info.add /// </summary> public class AlipaySiteprobeShopInfoAddRequest : IAopRequest<AlipaySiteprobeShopInfoAddResponse> { /// <summary> ...
25.316456
137
0.623
[ "Apache-2.0" ]
oceanho/AnyPayment
docs/alipay-sdk-NET-20151130120112/Request/AlipaySiteprobeShopInfoAddRequest.cs
2,086
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementOrStatementStatementOrStatementStatementRegexPatternSetReferenceStatementFieldToMatch")] public class Wafv2RuleGroupRuleStatementOrStatementStatementOrStatementState...
61.310811
304
0.737492
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementOrStatementStatementOrStatementStatementRegexPatternSetReferenceStatementFieldToMatch.cs
4,537
C#
using System; using TvShowReminder.Contracts; using TvShowReminder.Contracts.Command; using TvShowReminder.DataSource; namespace TvShowReminder.Service.Command { public class AddSubscriptionCommandHandler : ICommandHandler<AddSubscriptionCommand> { private readonly ISubscriptionCommandDataSource _subs...
33.333333
106
0.76125
[ "MIT" ]
jonasf/tv-show-reminder
TvShowReminder.Service/Command/AddSubscriptionCommandHandler.cs
802
C#
using IntegrationTests.Context; using System; using System.Collections.Generic; using System.Linq; using System.Net.Mqtt; using System.Net.Sockets; using System.Reactive.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; using System.Net.Mqtt.Sdk; namespace IntegrationTests { ...
30.301471
130
0.660358
[ "MIT" ]
mauroa/hermes
src/IntegrationTests/ConnectionSpec.cs
12,365
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using Newtonsoft.Json.Converters; namespace FactSet.SDK....
31.9
109
0.662487
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/CompanyLogoAPIforDigitalPortals/v2/src/FactSet.SDK.CompanyLogoAPIforDigitalPortals/Client/OpenAPIDateConverter.cs
957
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
31.952381
78
0.530055
[ "MIT" ]
BrightsDigi/squidex
backend/src/Squidex/Areas/Api/Controllers/Schemas/Models/UpdateSchemaDto.cs
2,015
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
48.547945
134
0.742664
[ "MIT" ]
BaekNothing/Dalpangyeekiwoogi
Assets/Spine/Runtime/spine-unity/ISkeletonAnimation.cs
3,544
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...
27.346667
101
0.60117
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/SpotInstanceStateFault.cs
2,051
C#
using Esprima; using Jint.Runtime.Debugger; using Xunit; namespace Jint.Tests.Runtime.Debugger { public class BreakPointTests { [Fact] public void BreakPointBreaksAtPosition() { string script = @"let x = 1, y = 2; if (x === 1) { x++; y *= 2; }"; var engine = new...
27.406061
138
0.514374
[ "BSD-2-Clause" ]
Dogwei/jint
Jint.Tests/Runtime/Debugger/BreakPointTests.cs
4,524
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.CosmosDB.Models { /// <summary> Parameters ...
46.683333
301
0.661549
[ "MIT" ]
Kyle8329/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBDatabaseCreateUpdateOptions.cs
2,801
C#
#region License Header /* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
35.844193
113
0.591796
[ "Apache-2.0" ]
Quantler/Core
Quantler.Tests/Indicators/IndicatorExtensionsTests.cs
12,655
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.5
98
0.710504
[ "MIT" ]
athulrajts/Resusables
Application/ApplicationShell/Properties/AssemblyInfo.cs
2,383
C#
using System; using System.Collections.Generic; using System.Linq; using Redwood.Framework.Parser.RwHtml.Tokenizer; namespace Redwood.Framework.Parser.RwHtml.Parser { public abstract class RwHtmlNode { public int StartPosition { get { return Tokens.First().StartPosition; } ...
20.344828
61
0.584746
[ "Apache-2.0" ]
exyi/redwood
src/Redwood.Framework/Parser/RwHtml/Parser/RwHtmlNode.cs
592
C#
using System; using System.Collections.Generic; using System.Text; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media.Imaging; namespace ListaDeLeituraApresentacao.Converters { public class StringToImageConverter : IValueConverter { private static Uri _baseUri = new Uri("ms-appx:///Data/"); ...
26.710526
99
0.562562
[ "Apache-2.0" ]
ricardodemauro/TDC2015-MVVM
ListaDeLeituraApresentacao/ListaDeLeituraApresentacao/ListaDeLeituraApresentacao.Shared/Converters/StringToImageConverter.cs
1,017
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cease.Interface.Log; namespace Cease.Interface.PowerCtrl { /// <summary> /// 电源控制接口集合 /// </summary> public interface InterfacePowerCtrl { double _dLeakCur { get; set; } /// <summary> ...
25.58209
77
0.530922
[ "Apache-2.0" ]
szk21/Cease
Interfaces/IPowerCtrl/InterfacePowerCtrl.cs
1,908
C#
using FX.Core.Config.Settings.Abstract; using FX.Core.Config.Settings.Models; using FX.Core.Config.Settings.Settings; using FX.Core.Storage.Serialization.Abstract; using Microsoft.Extensions.Options; namespace FX.Core.Common.Settings.Implementations { public class BasicSettings<TSettings>: IBasicSettings<TSetting...
29.84127
100
0.62234
[ "MIT" ]
StefanLaiu/fx-core
FX.Core.Config/Settings/Implementations/BasicSettings.cs
1,882
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConvocaApp.Models { public class Test { public Array Convocado { get; set; } public Array Evento { get; set; } } }
18
44
0.670635
[ "MIT" ]
DaniMeneses10/ConvocaApp
Models/Test.cs
254
C#
using System.Drawing; using System.Windows.Forms; namespace WeifenLuo.WinFormsUI.Docking { public class VisualStudioColorTable : ProfessionalColorTable { private DockPanelColorPalette _palette; public VisualStudioColorTable(DockPanelColorPalette palette) { _palette = palet...
30.467105
86
0.625999
[ "MIT" ]
BrisingrAerowing/dockpanelsuite
WinFormsUI/Docking/VisualStudioColorTable.cs
9,264
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using Xamarin.Forms.Labs.Mvvm; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Xamarin.Forms.Labs.Sample { public partial class CanvasWebHybrid : BaseView { public CanvasWebHybrid () { ...
28.680556
119
0.604843
[ "Apache-2.0" ]
Applifting/Xamarin-Forms-Labs
samples/Xamarin.Forms.Labs.Sample/Pages/Mvvm/CanvasWebHybrid.xaml.cs
2,067
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VisitorPattern { internal class CTImage:DIImage { public string CTImageData; public CTImage() { CTImageData = "CTImageData"; } publ...
19.777778
54
0.59176
[ "MIT" ]
gautamvr/DesignPatterns
Behavioral_Patterns/VisitorPattern/CTImage.cs
536
C#
using System; using System.IO; using Xunit; using Xunit.Abstractions; namespace Kether.Test { public class ERC20 { private readonly ITestOutputHelper output; string ethAbi; dynamic config; public ERC20(ITestOutputHelper output) { this.outpu...
39.43
117
0.446995
[ "MIT" ]
allownulls/kether
Kether.test/ERC20.cs
7,888
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkesign_1_0.Models { public class ChannelOrderResponseBody : TeaModel { [NameInMap("code")] [Validation(Required=false)] publ...
25.21875
62
0.63197
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/esign_1_0/Models/ChannelOrderResponseBody.cs
807
C#
//~ Generated by SearchRecordTemplate.tt #pragma warning disable 1591 using System; namespace com.celigo.net.ServiceManager.SuiteTalk { public partial class CustomerCategorySearchBasic : ISearchBasic { } public partial class CustomerCategorySearch : ISearchRecord { /// <summary> /// Gets the basi...
26.205882
93
0.673401
[ "Apache-2.0" ]
celigo/netsuite-service-manager-dotnet
ServiceManager/SuiteTalk/CustomerCategorySearch.cs
891
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace RemoteRunClient { internal static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Mai...
22.478261
66
0.584139
[ "MIT" ]
Antizhy/RemoteControlClient
RemoteControlClient/Program.cs
539
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace Xamarin.Interactive.Pref...
28.313725
84
0.590028
[ "MIT" ]
Bhaskers-Blu-Org2/workbooks
Clients/Xamarin.Interactive.Client.Mac/Preferences/PreferencesUpdaterViewController.designer.cs
1,444
C#
using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Server; // ReSharper disable CheckNamespace namespace OmniSharp.Extensions.LanguageServer.Protocol.Client { [Serial, Method(WindowNames.TelemetryEvent)] public inte...
33.916667
99
0.840295
[ "MIT" ]
Bia10/csharp-language-server-protocol
src/Protocol/Window/Client/ITelemetryEventHandler.cs
407
C#
// Copyright 2016, 2017, 2018 TRUMPF Werkzeugmaschinen GmbH + Co. KG. // // 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...
44.681818
179
0.638861
[ "Apache-2.0" ]
trumpf-code/Trumpf.Coparoo.Web
Trumpf.Coparoo.Web/Controls/Table/Row.cs
2,951
C#