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; /// <summary> /// Copyright 2010 Neuroph Project http://neuroph.sourceforge.net /// /// 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/lice...
35.182927
92
0.710225
[ "Apache-2.0" ]
starhash/Neuroph.NET
Neuroph/samples/PerceptronSample.cs
2,887
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading; using System.Threading.Tasks; using Moq; using Xunit; namespace Curiosity.Migrations.UnitTests { public class DbMigratorTests { [Fact] public async Task Migrat...
37.087678
152
0.512236
[ "MIT" ]
siisltd/Curiosity.Migrations
tests/UnitTests/Curiosity.Migrations.UnitTests/DbMigratorTests.cs
15,651
C#
using System.IO; using ProtoBuf; namespace DynStack.DataModel.Common { public static class SerializableExtensions { public static byte[] Serialize(this ISerializable obj) { using (var stream = new MemoryStream()) { Serializer.Serialize(stream, obj); return stream.ToArray(); } } ...
27.052632
72
0.651751
[ "MIT" ]
dybalabak/GECCO_2021_Competition
simulation/DynStack.DataModel/Common/SerializableExtensions.cs
516
C#
#pragma warning disable 1634, 1691 /********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ #pragma warning disable 1634, 1691 #pragma warning disable 56523 using System.R...
35.436857
297
0.594016
[ "Apache-2.0", "MIT-0" ]
blindfuzzy/PowerShell-1
src/System.Management.Automation/security/nativeMethods.cs
75,764
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("Te...
37.269231
84
0.77193
[ "MIT" ]
carable/Carable.Swagger.DocumentWithCode
Test/Properties/AssemblyInfo.cs
972
C#
namespace MLSoftware.OTA { [System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=...
29.346154
118
0.59633
[ "MIT" ]
Franklin89/OTA-Library
src/OTA-Library/SearchQualifierTypeStatus.cs
763
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Discord; using Discord.Commands; using RavenBOT.Common; using RavenBOT.Modules.Games.Methods; namespace RavenBOT.Modules.Games.Modules { [Group("Games")] public partial class Game : ReactiveBase { ...
33.040404
103
0.537145
[ "MIT" ]
PassiveModding/Raven
Games/Modules/Game.cs
3,271
C#
namespace EventTraceKit.EventTracing.Collections { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using EventTraceKit.EventTracing.Support; public abstract class UniqueCollection<T> : Collection<T>, IUniqueList<T> { p...
31.787611
93
0.564031
[ "MIT" ]
gix/event-trace-kit
src/EventTraceKit.EventTracing/Collections/UniqueCollection.cs
3,592
C#
using System; namespace _15_FastPrimeChecker { class Program { static void Main(string[] args) { int number = int.Parse(Console.ReadLine()); for (int toCheck = 2; toCheck <= number; toCheck++) { bool isPrime = true; ...
26.153846
79
0.388235
[ "MIT" ]
Knightwalker/KB
02_Programming_Fundamentals/01_Programming_Fundamentals_with_C#/07_Data_Types_and_Variables_Exercise/15_fast_prime_checker.cs
680
C#
using NUnit.Framework; using Autodesk.RefineryToolkits.SpacePlanning.Analyze; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestServices; using Autodesk.DesignScript.Geometry; namespace Autodesk.RefineryToolkits.SpacePlanning.Analyze.Tests { ...
37.285714
121
0.603952
[ "Apache-2.0" ]
mrahmaniasl/RefineryToolkits
tests/Autodesk.RefineryToolkits.SpacePlanningTests/Analyze/OpenessTests.cs
4,961
C#
//----------------------------------------------------------------------- // <copyright file="TypeNameQualifier.cs"> // Copyright (c) Microsoft Corporation. All rights reserved. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE...
36.146067
110
0.565123
[ "MIT" ]
chandramouleswaran/PSharp
Source/LanguageServices/Rewriting/PSharp/Statements/TypeNameQualifier.cs
6,436
C#
using System; using System.Collections.Generic; using GammaJul.ForTea.Core.Parsing; using GammaJul.ForTea.Core.Psi; using GammaJul.ForTea.Core.Psi.FileType; using GammaJul.ForTea.Core.Services.CodeCompletion; using JetBrains.Annotations; using JetBrains.Application.CommandProcessing; using JetBrains.Application.Setting...
35.702479
136
0.74213
[ "Apache-2.0" ]
denis417/ForTea
Backend/ForTea.Core/Services/TypingAssist/T4TypingAssist.cs
12,960
C#
using System; using System.Net; using System.Net.Http; using System.Web.Http; using Hangfire.Topshelf.AppServices; using Hangfire.Topshelf.Core; using Hangfire.Samples.Framework.Logging; namespace Hangfire.Topshelf.Apis { /// <summary> /// Restful Apis to process request and add it to background job from apps/micro...
25.714286
91
0.717361
[ "MIT" ]
Fleetingold/Hangfire.Topshelf-myTest
Hangfire.Topshelf/Apis/RPCController.cs
1,442
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V251.Segment; using NHapi.Model.V251.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V251.Group { ///<summary> ///Represents the ORD_O04_TIMING_DIET Group. A Group is a...
27.616541
158
0.64171
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V251/Group/ORD_O04_TIMING_DIET.cs
3,673
C#
// ========================================================================== // IdContentData.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =========================================================...
29.44697
123
0.472086
[ "MIT" ]
andrewhoi/squidex
src/Squidex.Domain.Apps.Core/Contents/IdContentData.cs
3,889
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...
32.894737
191
0.5984
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20201101/GetPublicIPPrefix.cs
6,250
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.ApplicationModel.AppService; using Windows.Foundation.Collections; namespace RESTService.WinForm { public class EMICalculatorAppServiceClient : IEMICalculator ...
32.806452
138
0.529007
[ "Apache-2.0" ]
ilinkmobility/WCFAndAppServiceHosting
EMICalculator/RESTService.WinForm/EMICalculatorAppServiceClient.cs
2,036
C#
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System.Collections.Generic; using System.ComponentModel.Composition; using System.IdentityModel.Protocols.WSTrust; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Claims; using System....
33.963415
121
0.616876
[ "BSD-3-Clause" ]
AllenBrook/IdentityServer2
src/Libraries/Thinktecture.IdentityServer.Protocols/OpenIdConnect/Endpoints/UserInfoController.cs
2,787
C#
using System; using System.Runtime.Serialization; using Elders.Cronus; namespace Playground.AtomTracker { [DataContract(Namespace = "atom", Name = "c5b43828-b6da-47c1-961e-17ed433159ef")] public class AggregateComittedEvent : IEvent { private AggregateComittedEvent() { } public AggregateC...
25.428571
85
0.659176
[ "Apache-2.0" ]
Elders/Cronus.AtomicAction.Consul
src/Playground/AtomTracker/Events/AggregateComittedEvent.cs
536
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 System.Threading.Tasks; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.RenderTree; using Microsoft.AspNetCore.Components.S...
41.316327
121
0.672018
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Components/Components/src/Dispatcher.cs
4,049
C#
using Discord; using DiscordBotFramework.Utilities; using System.Collections.Generic; namespace DiscordBotFramework.DefaultModules { public class HelpBuilder { public Dictionary<string, string> HelpValues { get; set; } = new Dictionary<string, string>(); public HelpBuilder() { } publ...
24.9
102
0.574297
[ "MIT" ]
Esherymack/DiscordBotFramework
DefaultModules/HelpBuilder.cs
749
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
40.864238
1,368
0.578721
[ "MIT" ]
Kusnaditjung/MimDms
src/Dms.Ambulance.V2100/Generated/COCD_TP146025UK04Support.cs
12,341
C#
using System.Collections.Generic; namespace MilitaryElite.Contracts { public interface ICommando:ISpecialisedSoldier { IReadOnlyCollection<IMission> Missions { get; } void AddMission(IMission mission); } }
19.666667
55
0.720339
[ "MIT" ]
tonchevaAleksandra/C-Sharp-OOP
InterfacesAndAbstraction/MilitaryElite/Contracts/ICommando.cs
238
C#
#region License // // Author: Nate Kohari <nate@enkari.com> // Copyright (c) 2007-2010, Enkari, Ltd. // // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL). // See the file LICENSE.txt for details. // #endregion #region Using Directives using System; using System.Collecti...
34.131579
97
0.67926
[ "Apache-2.0" ]
tailsu/JustMockLite
Telerik.JustMock/AutoMock/Ninject/Infrastructure/Language/ExtensionsForIEnumerable.cs
1,297
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("Vi...
37.551724
84
0.747475
[ "MIT" ]
VirtoCommerce/mobile-agent-xamarin
VirtoCommerce.Mobile/VirtoCommerce.Mobile/VirtoCommerce.Mobile.Windows/Properties/AssemblyInfo.cs
1,092
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Moq.Modules; using OwinFramework.Pages.Core.Debug; using OwinFramework.Pages.Core.Interfaces.DataModel; using OwinFramework.Pages.Core.Interfaces.Runtime; namespace OwinFramework.Pages.Mocks.DataModel { public class MockDa...
34.708333
114
0.616246
[ "Apache-2.0" ]
forki/OwinFramework.Pages
OwinFramework.Pages.Mocks/DataModel/MockDataSupplier.cs
2,501
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
31.152
112
0.51451
[ "MIT" ]
3quanfeng/azure-powershell
src/ImageBuilder/generated/runtime/Nodes/JsonNode.cs
7,541
C#
using FluxorBlazorWeb.ReduxDevToolsTutorial.Shared; using Fluxor; using Microsoft.AspNetCore.Components; using System.Net.Http; using System.Threading.Tasks; namespace FluxorBlazorWeb.ReduxDevToolsTutorial.Client.Store.WeatherUseCase { public class Effects { private readonly HttpClient Http; public Effects(Htt...
23.961538
89
0.788122
[ "MIT" ]
BlazorHub/Fluxor
Tutorials/02-Blazor/02D-ReduxDevToolsTutorial/ReduxDevToolsTutorial/Client/Store/WeatherUseCase/Effects.cs
625
C#
using System; using UnityEngine.UI; namespace Phedg1Studios { namespace StartingItemsGUI { public class CanvasScalerFixed : CanvasScaler { public void ForcedUpdate() { Update(); } } } }
20.307692
56
0.545455
[ "Apache-2.0" ]
Grizzski/StartingItemsGUI
Development/Scripts/CanvasScalerFixed.cs
266
C#
using AutoMapper; using AutoMapper.QueryableExtensions; using CleanArchitecture.Application.Common.Extensions; using CleanArchitecture.Application.Common.Interfaces; using CleanArchitecture.Application.Common.Mappings; using CleanArchitecture.Application.Common.Models; using CleanArchitecture.Application.TodoLists.Que...
41.705882
162
0.736248
[ "MIT" ]
furkandeveloper/CleanArchitecture
src/Application/TodoItems/Queries/GetTodoItemsWithPagination/GetTodoItemsWithPaginationQuery.cs
2,129
C#
using System; using System.IO; using System.Linq; using System.Reflection; namespace Astrum { partial class AstralWorlds { public static class WorldMods { public static AstralWorldTargetAttribute[] worlds = new AstralWorldTargetAttribute[0] { }; public static object[] m...
36
109
0.422644
[ "MIT" ]
Astrum-Project/AstralWorlds
WorldMods.cs
2,846
C#
namespace P03_SalesDatabase.Data.Models { using System; public class Sale { public int SaleId { get; set; } public DateTime Date { get; set; } public int ProductId { get; set; } public Product Product { get; set; } public int CustomerId { get; set; } publ...
22.25
46
0.570787
[ "MIT" ]
kkaraivanov/CCharpDB
EntityFrameworkCore/CodeFirst/SalesDatabase/P03_SalesDatabase.Data.Models/Sale.cs
447
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CanvasRenderContext.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Implements <see cref="IRenderContext" /> for <see cref="S...
35.390645
152
0.507823
[ "MIT" ]
BRER-TECH/oxyplot
Source/OxyPlot.Silverlight/CanvasRenderContext.cs
27,996
C#
// Write a program that deletes from given text file all odd lines. // The result should be in the same file. using System; using System.IO; using System.Text; class DeleteOddLines { static void DeleteOnlyOddLines() { int row = 1; StringBuilder sb = new StringBuilder(); using (Strea...
21.868421
68
0.468111
[ "MIT" ]
Producenta/TelerikAcademy
C# 2/DomTextFiles/09.DeleteOddLines/DeleteOddLines.cs
833
C#
using System.Text.Json.Serialization; namespace nerderies.TelegramBotApi.DTOS { public class EncryptedCredentials { //complete API as of 2019-01-11 [JsonPropertyName("data")] [JsonInclude] public string Data; [JsonPropertyName("hash")] [JsonInclude] pu...
20.714286
39
0.613793
[ "MIT" ]
devnulli/TelegramBotApi.NET
TelegramBotApi/TelegramBotApi/DTOS/Types/EncryptedCredentials.cs
437
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ExactSync { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pat...
32.323944
101
0.490196
[ "MIT" ]
exactsync/ExactSync
ExactSync/App_Start/RouteConfig.cs
2,297
C#
using AutoMapper; using Philcosa.Application.Interfaces.Repositories; using Philcosa.Domain.Entities; using Philcosa.Shared.Constants.Application; using Philcosa.Shared.Wrapper; using LazyCache; using MediatR; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using S...
35.346154
132
0.66975
[ "MIT" ]
HenkVanMilligen/Philcosa
Philcosa.Application/Features/Themes/Queries/GetAll/GetAllThemesQuery.cs
1,840
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZabbixApi.Entities; using ZabbixApi.Helper; namespace ZabbixApi.Entities { public partial class ItemPrototype : EntityBase { #region Properties /// ...
30.586142
187
0.516623
[ "MIT" ]
HenriqueCaires/ZabbixApi
ZabbixApi/Entities/ItemPrototype.cs
16,335
C#
using DevExpress.ExpressApp; using Xpand.Extensions.XAF.XafApplicationExtensions; using Xpand.TestsLib; using Xpand.TestsLib.Common; using Xpand.XAF.Modules.PositionInListView.Tests.BOModel; namespace Xpand.XAF.Modules.PositionInListView.Tests{ public abstract class PositionInListViewCommonTest:BaseTest{ ...
47.157895
148
0.758929
[ "Apache-2.0" ]
aois-dev/Reactive.XAF
src/Tests/PositionInListView/PositionInListViewCommonTest.cs
898
C#
using System; using System.Collections.Generic; namespace TimeTrackingServer.Models { public partial class Staff { public Staff() { ActivityStaff = new HashSet<ActivityStaff>(); StaffToGroup = new HashSet<StaffToGroup>(); } public int Id { get; set; } ...
28.88
77
0.616343
[ "MIT" ]
nicel3d/TimeTracking
TimeTrackingServer/TimeTrackingServer/Models/Staff.cs
724
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.596154
83
0.641106
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Apigateway/V20180808/Models/UnReleaseServiceResponse.cs
1,707
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using TygaSoft.IDAL; using TygaSoft.Model; using TygaSoft.DBUtility; namespace TygaSoft.SqlServerDAL { public partial class ActivityPlayer : IActivityPlayer { #region IA...
51.707006
201
0.649914
[ "MIT" ]
qq283335746/Infoztc
src/Team12/TygaSoft/SqlServerDAL/MyActivityPlayer.cs
8,118
C#
#region License // // CoiniumServ - Crypto Currency Mining Pool Server Software // Copyright (C) 2013 - 2014, CoiniumServ Project - http://www.coinium.org // http://www.coiniumserv.com - https://github.com/CoiniumServ/CoiniumServ // // This software is dual-licensed: you can redistribute it and/or mo...
38.2
150
0.684555
[ "MIT" ]
banura/brasilcoin
src/CoiniumServ/Server/Commands/Uptime.cs
1,530
C#
using System; using System.Globalization; using System.Windows.Data; namespace PowerApps_Theme_Editor.Converters { public class BorderStyleFormatConverter : IValueConverter { public static string borderStyleReservedPrefix = "%BorderStyle.RESERVED%."; public object Convert(object value, Type t...
32.333333
103
0.636364
[ "MIT" ]
AzureMentor/powerapps-tools
Tools/Apps/Microsoft.PowerApps.ThemeEditor/Converters/BorderStyleFormatConverter.cs
1,069
C#
namespace iSukces.Translation { public interface IMinimumTextSource { string Text { get; } string Language { get; } string Key { get; } string Hint { get; } } }
21.7
39
0.529954
[ "MIT" ]
isukces/iSukces.Translation
app/iSukces.Translation/_translations/IMinimumTextSource.cs
217
C#
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Our.Umbraco.Ditto.Tests.Mocks; namespace Our.Umbraco.Ditto.Tests { [TestFixture] [Category("Collections"), Category("Processors")] public class EnumerableDetectionTests { public class MyModel { ...
31.69863
114
0.563526
[ "MIT" ]
stevetemple/umbraco-ditto
tests/Our.Umbraco.Ditto.Tests/EnumerableDetectionTests.cs
2,316
C#
using System.Management.Automation; using PwshKeePass.Common; using PwshKeePass.Service; // ReSharper disable MemberCanBePrivate.Global namespace PwshKeePass.Commands.Group { [Cmdlet(VerbsCommon.Remove, "KeePassGroup", SupportsShouldProcess = true)] [OutputType("null")] public class RemoveKeePassGroup : K...
35.181818
98
0.670973
[ "MIT" ]
dimitertodorov/PwshKeePass
PwshKeePass/Commands/Group/RemoveKeePassGroup.cs
1,161
C#
using ASPNETCoreIdentitySample.Common.IdentityToolkit; using ASPNETCoreIdentitySample.Entities.Identity; using ASPNETCoreIdentitySample.Services.Contracts.Identity; using ASPNETCoreIdentitySample.ViewModels.Identity; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks...
34.038251
136
0.54455
[ "Apache-2.0" ]
MohammadGhaedi/DNTIdentity
src/ASPNETCoreIdentitySample/Areas/Identity/Controllers/RolesManagerController.cs
6,287
C#
using System; using System.Diagnostics; using System.Globalization; using System.Text; namespace TweakUIX { public static class WindowsHelper { private static readonly ErrorHelper logger = ErrorHelper.Instance; // Command Prompt (to be replaced with wt.exe) public static void RunCmd(s...
33.146667
120
0.51609
[ "MIT" ]
builtbybel/BreakingApp
src/TUIX/Helpers/WindowsHelper.cs
2,488
C#
using System; using R5T.T0093; namespace R5T.T0122 { public interface IFileSpecification : IFilePathed { } }
10.416667
53
0.68
[ "MIT" ]
SafetyCone/R5T.T0122
source/R5T.T0122/Code/Interfaces/IFileSpecification.cs
127
C#
using GamesWiki.Core.ProjectAggregate.Events; using Xunit; namespace GamesWiki.UnitTests.Core.ProjectAggregate { public class ToDoItemMarkComplete { [Fact] public void SetsIsDoneToTrue() { var item = new ToDoItemBuilder() .WithDefaultValues() ...
23.1875
71
0.553908
[ "MIT" ]
Paexp/GamesWiki
tests/GamesWiki.UnitTests/Core/ProjectAggregate/ToDoItemMarkComplete.cs
744
C#
using System; using System.Globalization; namespace NuGet { public class PackageRestoreConsent { private const string EnvironmentVariableName = "EnableNuGetPackageRestore"; private const string PackageRestoreSection = "packageRestore"; private const string PackageRestoreConsen...
34.803419
148
0.553291
[ "ECL-2.0", "Apache-2.0" ]
Barsonax/NuGet2
src/Core/PackageRestoreConsent.cs
4,074
C#
using Lol_AutoRecorder.Exceptions; using Lol_AutoRecorder.Interfaces; using LolAutoRecorder.Model; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Lol_AutoRecorder.Providers { public class ReplayPlaybackProvider : IReplayPlaybackProvi...
36.026316
156
0.607743
[ "MIT" ]
smmileey/lol-replay-core
Lol AutoRecorder/Providers/ReplayPlaybackProvider.cs
1,371
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 ProjetoPinturaOO { public partial class frm_projeto_pintura : Form { public fr...
32.457627
147
0.562402
[ "MIT" ]
GuiPiovezan/Atividades
C#/ProjetoPinturaOO/ProjetoPinturaOO/Form1.cs
1,923
C#
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// MybankPaymentTradeAccountSubvirtualcardCreateModel Data Structure. /// </summary> [Serializable] public class MybankPaymentTradeAccountSubvirtualcardCreateModel : AlipayObject { ...
24.83871
82
0.585714
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankPaymentTradeAccountSubvirtualcardCreateModel.cs
802
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.827586
81
0.630313
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Sqlserver/V20180328/Models/DescribeInstanceParamsResponse.cs
1,868
C#
using Rollvolet.CRM.APIContracts.JsonApi; namespace Rollvolet.CRM.APIContracts.DTO { public class TelephoneTypeDto : Resource<TelephoneTypeDto.AttributesDto, EmptyRelationshipsDto> { public class AttributesDto { public string Name { get; set; } } } }
26.272727
99
0.702422
[ "MIT" ]
rollvolet/crm-ap
src/Rollvolet.CRM.APIContracts/DTO/TelephoneTypeDto.cs
289
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Web.Routing; using System.Web.UI; using Microsoft.TestCommon; using Moq; namespace System.Web.Mvc.Test { public clas...
30.70412
209
0.529275
[ "Apache-2.0" ]
belav/AspNetWebStack
test/System.Web.Mvc.Test/Test/ViewMasterPageTest.cs
8,200
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...
34.306452
118
0.697226
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/Internal/MarshallTransformations/InputParallelismUpdateMarshaller.cs
2,127
C#
using System; using Zen.Base.Common; using Zen.Base.Module.Cache; // ReSharper disable InconsistentNaming // ReSharper disable StaticMemberInGenericType #pragma warning disable 693 namespace Zen.Base.Module.Data { public static class Info<T> where T : Data<T> { private static T _Instance; pu...
31.956522
130
0.629252
[ "MIT" ]
bucknellu/zen
Zen.Base/Module/Data/Info.cs
1,472
C#
using System.Collections.Generic; using System.Collections.Immutable; using DnsTools.Worker; using Reinforced.Typings.Attributes; namespace DnsTools.Web.Models { [TsInterface(AutoI = false)] public class PingRequest { public string Host { get; set; } public Protocol Protocol { get; set; } [TsProperty(Type ...
22.736842
68
0.743056
[ "MIT" ]
Daniel15/dnstools
src/DnsTools.Web/Models/PingRequest.cs
434
C#
using AspNetCoreHero.Boilerplate.Application.ApiService; using AspNetCoreHero.Boilerplate.Web.Abstractions; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AspNetCoreHero.Boilerplate.Web.Areas.Catalog.Co...
35.147541
146
0.563433
[ "MIT" ]
nagurshaik-git/Boilerplate
AspNetCoreHero.Boilerplate.Web/Areas/Catalog/Controllers/BrandController.cs
4,290
C#
using System; using System.Collections.Generic; using System.Text; namespace AzureSearchBackupRestoreIndex { public static class Constants { public const string ValuePropertyName = "value"; } }
17.166667
52
0.76699
[ "MIT" ]
manalotoj/azure-search-dotnet-samples
index-backup-restore/AzureSearchBackupRestoreIndex/Constants.cs
208
C#
using System.Collections.Generic; namespace DETOWN.Domain.Services.Mail { public class MailMessage { public MailAddress From { get; set; } public IEnumerable<MailAddress> To { get; set; } public IEnumerable<MailAddress> Cc { get; set; } public IEnumerable<MailAddress> Bcc { get...
31.294118
64
0.633459
[ "MIT" ]
paulogabrielfs/DETOWN-API
src/DETOWN.Domain/Services/Mail/MailMessage.cs
534
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://ww...
44.026316
186
0.576624
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands.Storage.ScenarioTest/Functional/Blob/GetBlob.cs
21,256
C#
using Newtonsoft.Json; namespace WGnet.Model.WoT.Stronghold { /// <summary> /// Информацию из энциклопедии обо всех строениях Укрепрайона /// См. описание <see cref="http://ru.wargaming.net/developers/api_reference/wot/stronghold/buildings/"/> /// </summary> public class StrongholdBuildings { ...
28.204082
109
0.560781
[ "BSD-3-Clause" ]
mishamyte/WGnet
WGnet/Model/WoT/Stronghold/StrongholdBuildings.cs
1,576
C#
using System; using System.Configuration; namespace Bitshare.Common { /// <summary> /// web.config操作类 /// Copyright (C) Maticsoft /// </summary> public sealed class ConfigHelper { /// <summary> /// 得到AppSettings中的配置字符串信息 /// </summary> /// <param name="key"></param> /// <returns></retur...
21.775701
108
0.537768
[ "Apache-2.0" ]
Nocturnexol/ITMS
Bitshare.Common/ConfigHelper.cs
2,408
C#
/*The MIT License (MIT) Copyright (c) 2014 PMU Staff 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, pub...
36.820225
77
0.50473
[ "MIT" ]
SupaFresh/PMD-Toolkit
PMDToolkit/Editors/MapLayerListBox.cs
3,279
C#
using System; namespace Keyfactor.HydrantId.Exceptions { public class RetryCountExceededException : Exception { public RetryCountExceededException(string message) : base(message) { } } }
20.363636
74
0.678571
[ "Apache-2.0" ]
Keyfactor/hydrantid-cagateway
HydrantIdProxy/src/HydrantIdProxy/Exceptions/RetryCountExceededException.cs
226
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Security.Cryptography.Certificates { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public partial class CertificateStore { #if __ANDROID__ || __IOS__ || NE...
38.810811
197
0.770195
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Security.Cryptography.Certificates/CertificateStore.cs
1,436
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("E_c...
37.444444
84
0.750742
[ "MIT" ]
ericaglimsholt/shop
E-commerce/Properties/AssemblyInfo.cs
1,351
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using...
38.959677
115
0.619333
[ "MIT" ]
bigvvc/ReservationServer
OpenReservation.API.Test/TestStartup.cs
4,843
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 ...
49.868852
192
0.719264
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.OsConfig.V1/Google.Cloud.OsConfig.V1.GeneratedSnippets/OsConfigZonalServiceClient.CreateOSPolicyAssignmentResourceNamesSnippet.g.cs
3,042
C#
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace SharpYAJ { public static class YAJWriter { public static string WriteJSON(object element, bool indent) { var indentWriter = indent ? new IndentWriter() : null; return WriteJSON(element, indentWrite...
25.153061
140
0.675862
[ "MIT" ]
JaegerMa/SharpYAJ
SharpYAJ/YAJWriter.cs
4,932
C#
// Copyright (c) 2013 Richard Long & HexBeerium // // Released under the MIT license ( http://opensource.org/licenses/MIT ) // using System; using System.Collections.Generic; using System.Text; using dotnet.lib.CoreAnnex.exception; namespace dotnet.lib.CoreAnnex.json { public class JsonArray { ...
23.278689
148
0.460329
[ "MIT" ]
rlong/dotnet.lib.CoreAnnex
json/JsonArray.cs
4,262
C#
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Text.Json; namespace Scraper { ///DOLATER <summary>add description for class: Json</summary> public static partial class Json { /// <summary> /// /// </summary> /// <typeparam name="T"></typepar...
28.980198
89
0.485138
[ "BSD-3-Clause" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
scraper/Scraper/Static Classes/Json/Json.cs
2,929
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. // <Area> Nullable - Box-Unbox </Area> // <Title> Nullable type with unbox box expr </Title> // <Description> // ...
28.904762
120
0.69687
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/jit64/valuetypes/nullable/box-unbox/value/box-unbox-value041.cs
1,214
C#
#pragma checksum "D:\aula Woman Can Code\ProjetoFlavia\BibliotecaMVC\BibliotecaMVC\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu...
47.661017
191
0.771337
[ "MIT" ]
DevPamela/Biblioteca
obj/Debug/net5.0/Razor/Views/_ViewStart.cshtml.g.cs
2,812
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StoreManager.Domain.Entities.Catalog { public class ExpenseCategory { public int Id { get; set; } public string Name { get; set; } public string Code { get; set...
22.4
112
0.685268
[ "MIT" ]
rayjung95/ExpenseReport
StoreManager.Domain/Entities/Catalog/ExpenseCategory.cs
450
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...
41.218487
193
0.656677
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CloudHSMV2/Generated/Model/Internal/MarshallTransformations/UntagResourceResponseUnmarshaller.cs
4,905
C#
// The MIT License (MIT) // // gitea.net (https://github.com/mkloubert/gitea.net) // Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // d...
28.475336
84
0.5
[ "MIT" ]
maikebing/gitea.net
Gitea.API/v1/Repositories/Repository.cs
6,352
C#
using System; namespace NewLife.Security { /// <summary>RC4对称加密算法</summary> /// <remarks> /// RC4于1987年提出,和DES算法一样,是一种对称加密算法,也就是说使用的密钥为单钥(或称为私钥)。 /// 但不同于DES的是,RC4不是对明文进行分组处理,而是字节流的方式依次加密明文中的每一个字节,解密的时候也是依次对密文中的每一个字节进行解密。 /// /// RC4算法的特点是算法简单,运行速度快,而且密钥长度是可变的,可变范围为1-256字节(8-2048比特),...
32.61194
89
0.434783
[ "MIT" ]
19900623/X
NewLife.Core/Security/RC4.cs
2,745
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MVC.Models { public class ReviewsPerAnnouncement { public int CurrentAnnouncementId { get; set; } public decimal AverageRating { get; set; } public IEnumerable<Review> Reviews { get; set; } ...
23.285714
56
0.687117
[ "MIT" ]
PracticaNetRom/iulia.simion
SummerCamp2017/MVC/Models/ReviewsPerAnnouncement.cs
328
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 namespace DotNetNuke.Web.UI.WebControls { using Telerik.Web.UI; public class DnnMenu : RadMenu {} }...
29.181818
72
0.725857
[ "MIT" ]
EPTamminga/Dnn.Platform
DNN Platform/DotNetNuke.Web.Deprecated/UI/WebControls/DnnMenu.cs
323
C#
using System; using System.Collections.Generic; using System.Text; namespace TeachMeSkills.DotNet.FitnessTrackerCore.Models { public class Statistic { public double AveragePpg { get; set; } public double AverageSpeed { get; set; } public double AverageCount { get; set; } } }
22.428571
56
0.684713
[ "MIT" ]
AndrewBynkov/TeachMeSkills-DotNet-Lessons
src/Homeworks/FitnessTracker/TeachMeSkills.DotNet.FitnessTrackerCore/Models/Statistic.cs
316
C#
using Newtonsoft.Json; namespace Stl.Time.Internal; public class MomentNewtonsoftJsonConverter : JsonConverter<Moment> { public override void WriteJson(JsonWriter writer, Moment value, JsonSerializer serializer) => writer.WriteValue(value.ToString()); public override Moment ReadJson( JsonRead...
28.3
94
0.69788
[ "MIT" ]
ScriptBox21/Stl.Fusion
src/Stl/Time/Internal/MomentNewtonsoftJsonConverter.cs
566
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; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using Microsoft.Win32; using Microsoft....
53.929078
254
0.577854
[ "MIT" ]
JetBrains/msbuild
src/MSBuild/CommandLineSwitches.cs
53,230
C#
using UnityEngine; using System.Collections; public class DonePlayerInventory : MonoBehaviour { public bool hasKey; // Whether or not the player has the key. }
21.375
65
0.74269
[ "Apache-2.0" ]
bcso/WanderLust
NamePending/Assets/Done/DoneScripts/PlayerScripts/DonePlayerInventory.cs
171
C#
using Microsoft.Excel.InterviewB.Shapes; namespace Microsoft.Excel.InterviewB.RollBack { public class AddRollbackAction : IRollbackAction { readonly IShape shape; public AddRollbackAction(IShape shape) { this.shape = shape ?? throw new System.ArgumentNullException(nameof(sh...
23.2
88
0.624138
[ "MIT" ]
Bar-Amsalem/Microsoft.Excel
Microsoft.Excel.InterviewB/RollBack/AddRollbackAction.cs
582
C#
 namespace SkiaInk.GeometryPipeline.OuelletConvexHullAvl3 { public enum ConvexHullThreadUsageAvl { AutoSelect = 0, OnlyOne = 1, All = 2, FixedFour = 4, OneOrFour = 8 } } // ******************************************************************
18.285714
71
0.507813
[ "MIT" ]
jordanisaacs/SkiaInk
SkiaInk/GeometryPipeline/OuelletConvexHullAvl3/ConvexHullThreadUsage.cs
258
C#
namespace Boxed.AspNetCore.Test { using Boxed.AspNetCore; using Microsoft.AspNetCore.Hosting; using Xunit; public class WebHostBuilderExtensionsTest { private readonly WebHostBuilder webHostBuilder; public WebHostBuilderExtensionsTest() => this.webHostBuilder = new WebH...
25.637931
72
0.498319
[ "MIT" ]
davihar/Framework
Tests/Boxed.AspNetCore.Test/WebHostBuilderExtensionsTest.cs
1,487
C#
using Top.Api.Cluster; namespace Top.Api { public class AutoRetryClusterTopClient : AutoRetryTopClient { public AutoRetryClusterTopClient(string serverUrl, string appKey, string appSecret) : base(serverUrl, appKey, appSecret) { ClusterManager.InitRefreshThread(this); ...
29.026316
106
0.597461
[ "MIT" ]
buyongfeng521/SmallBelief
TaobaoSDK/AutoRetryClusterTopClient.cs
1,105
C#
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Sebastian Stehle // All rights reserved. Licensed under the MIT license. // ======================================================...
34.94958
140
0.586679
[ "MIT" ]
idist-hn/notifo
backend/src/Notifo.Domain/UserNotifications/UserNotificationFactory.cs
4,161
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.857143
91
0.645933
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Insights/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs
1,045
C#
using System; namespace Microsoft.VisualStudio.ComponentDiagnostics { static class GuidList { public const string PackageString = "358da9fb-1568-3e9a-8ec9-e41a0d763fef"; public const string ToolWindowString = "7d12284c-f8fd-49b0-b6d6-becdcd896e1f"; ...
53.789474
107
0.679061
[ "MIT" ]
pharring/ComponentDiagnostics
src/ComponentDiagnostics/GuidList.cs
1,024
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; using AccountSecurity.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace AccountSecurity.Services { p...
33.901478
134
0.70154
[ "MIT" ]
OpticalExpressOnline/account-security-csharp
src/AccountSecurity/Services/Authy.cs
6,882
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. namespace StarkPlatform.CodeAnalysis.ExtractMethod { internal partial class OperationStatus { public static readonly OperationStatus Succeede...
66.666667
199
0.79375
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Features/Core/Portable/ExtractMethod/OperationStatus_Statics.cs
1,602
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.md file in the project root for more information. using Microsoft.Build.Framework.XamlTypes; using Microsoft.VisualStudio.Mocks; using Microsoft.VisualStudio.Projec...
45.848138
201
0.602681
[ "MIT" ]
adamint/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/ProjectSystem/Properties/LaunchProfiles/LaunchProfilesProjectPropertiesTests.cs
31,307
C#
// Copyright (C) 2014 dot42 // // Original filename: Org.Apache.Http.Client.Params.cs // // 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...
43.42615
597
0.669306
[ "Apache-2.0" ]
Dot42Xna/master
Generated/v2.3.3/Org.Apache.Http.Client.Params.cs
17,935
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...
52.023064
324
0.636741
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/EventGrid/management/Management.EventGrid/Generated/IEventSubscriptionsOperations.cs
31,578
C#