content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Threading; namespace Tasks { /*Реализовать класс логгера. Конструктор логгера принимает на вход путь к файлу, в который будут записываться логи с различными уровнями жёсткости (severity; от наименее к ...
28.076923
132
0.52411
[ "MIT" ]
DeoEsor/Practice_2_Grade
CSharp_Practice/Tasks/Task_2.cs
3,928
C#
namespace Sentry.Extensibility { /// <summary> /// Base type for payload extraction. /// </summary> public abstract class BaseRequestPayloadExtractor : IRequestPayloadExtractor { /// <summary> /// Extract the payload of the <see cref="IHttpRequest"/> /// </summary> //...
30.06
86
0.526946
[ "MIT" ]
CADbloke/sentry-dotnet
src/Sentry/Extensibility/BaseRequestPayloadExtractor.cs
1,503
C#
namespace java.sql { [global::MonoJavaBridge.JavaInterface(typeof(global::java.sql.Array_))] public partial interface Array : global::MonoJavaBridge.IJavaObject { global::java.lang.Object getArray(long arg0, int arg1); global::java.lang.Object getArray(long arg0, int arg1, java.util.Map arg2); global::java.l...
63.693182
411
0.772525
[ "MIT" ]
JeroMiya/androidmono
MonoJavaBridge/android/generated/java/sql/Array.cs
5,605
C#
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the Microsoft Public License (Ms-PL). See LICENSE.txt file in the project root for full license information. namespace Xunit { /// <summary> /// Static methods for dynamically skipping tests identified with /// the <see cref="Skippable...
39.685714
126
0.604032
[ "MIT" ]
jhgbrt/yadal
Net.Code.ADONet.Tests.Integration/Xunit/Skip.cs
1,391
C#
using AppModelv2_WebApp_OpenIDConnect_DotNet.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace AppModelv2_WebApp_OpenIDConnect_DotNet.Controllers { public class DashboardController : BaseController { public DateTime StartDate {...
44.151261
146
0.593643
[ "Apache-2.0" ]
SBYSA/SinglePageOauthBCASPNET-main
AppModelv2-WebApp-OpenIDConnect-DotNet/Controllers/DashboardController.cs
5,263
C#
namespace DncZeus.Api.Entities { public abstract class Entity<T> { public T Id { get; set; } } }
14.75
35
0.576271
[ "MIT" ]
SkyGrass/ttxy
DncZeus.Api/Entities/Entity.cs
120
C#
namespace Gecko.WebIDL { using System; internal class MozNetworkStats : WebIDLBase { public MozNetworkStats(nsIDOMWindow globalWindow, nsISupports thisObject) : base(globalWindow, thisObject) { } public string AppManifestURL ...
20.633803
84
0.407509
[ "MIT" ]
haga-rak/Freezer
Freezer/GeckoFX/__Core/WebIDL/Generated/MozNetworkStats.cs
1,465
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....
38.527778
145
0.670512
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/winnt/ACCESS_DENIED_ACETests.cs
1,389
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
78.315217
476
0.720611
[ "MIT" ]
Agazoth/azure-powershell
src/Resources/Authorization.Autorest/generated/api/Models/Api20201001Preview/RoleManagementPolicyRuleTarget.PowerShell.cs
14,227
C#
using ApiTaskSchedule.DB; using ApiTaskSchedule.Enum; using ApiTaskSchedule.Hubs; using ApiTaskSchedule.Models; using ApiTaskSchedule.Services; using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ApiTaskSchedule.Jobs { publ...
28.342857
120
0.608367
[ "MIT" ]
nertilpoci/AspnetCoreApi.LongRunningJobs
ApiTaskSchedule/ApiTaskSchedule/Jobs/JobBase.cs
1,986
C#
using System; using System.Threading; namespace Stethoscope.Collections { /// <summary> /// Track an index within a <see cref="IBaseListCollection{T}"/>. /// </summary> /// <typeparam name="T">The type of element in the collection.</typeparam> public class ListCollectionIndexOffsetTracker<T> {...
37.765957
222
0.515869
[ "MIT" ]
rcmaniac25/stethoscope
stethoscope/StethoscopeLib/Sources/Collections/ListCollectionIndexOffsetTracker.cs
5,327
C#
using System; namespace UnlockAllWondersAndLandmarks.OptionsFramework.Attibutes { [AttributeUsage(AttributeTargets.Property)] public class TextfieldAttribute : AbstractOptionsAttribute { public TextfieldAttribute(string description, string group = null, string actionClass = null, strin...
32.615385
101
0.721698
[ "MIT" ]
bloodypenguin/Skylines-UnlockAllWondersAndLandmarks
src/OptionsFramework/Attibutes/TextFieldAttribute.cs
426
C#
namespace Employees.App.Command { using Employees.Services; public class SetManagerCommand : ICommand { private readonly EmployeeService employeeService; public SetManagerCommand(EmployeeService employeeService) { this.employeeService = employeeService; } ...
28.566667
82
0.596266
[ "MIT" ]
Pazzobg/03.01.CSharp-DB-Advanced-Entity-Framework
11. EF Core AutoMapping Objects/P01_EmployeesMappingUsingServices/Employees.App/Command/SetManagerCommand.cs
859
C#
using System.IO; using eilang.Interpreting; using eilang.Values; namespace eilang.OperationCodes { public class FileEof : IOperationCode { public void Execute(State state) { var file = state.Scopes.Peek().GetVariable(SpecialVariables.FileRead).As<AnyValue>(); var reader...
27.5625
97
0.653061
[ "MIT" ]
Szune/eilang
eilang/OperationCodes/FileEOF.cs
443
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Roslynator.Documentation { //TODO: ClassHierarchy internal enum SymbolDefinitionListLayout { NamespaceList = 0, NamespaceHie...
28.230769
156
0.702997
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Documentation/SymbolDefinitionListLayout.cs
369
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. // </auto-generated> namespace Microsoft.Azure.Management.Batch.Fluent.Model...
45.546099
342
0.627686
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Batch/Generated/Models/StartTask.cs
6,422
C#
using HabitRPG.Client.Model; using System.Collections.Generic; using System.Threading.Tasks; using Task = System.Threading.Tasks.Task; namespace HabitRPG.Client { public interface IGroupsClient { /// <summary> /// GET /groups Get a list of groups /// </summary> /// <param name...
36.64
105
0.576783
[ "Apache-2.0" ]
marska/habitrpg-api-dotnet-client
src/HabitRPG.Client/Interfaces/IGroupsClient.cs
2,750
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
79.59901
502
0.716494
[ "MIT" ]
Agazoth/azure-powershell
src/CloudService/generated/api/Models/Api20210301/SecurityRule.cs
31,755
C#
// Copyright (c) The Vignette Authors // Licensed under BSD 3-Clause License. See LICENSE for details. using Oxide.Graphics; using Oxide.Graphics.Fonts; namespace Oxide { public unsafe sealed class Config : DisposableObject { private string cachePath; /// <summary> /// Set the file pa...
31.725118
98
0.568121
[ "BSD-3-Clause" ]
vignetteapp/Mikomi
src/Oxide/Config.cs
6,694
C#
using ServiceStack; using System.Collections.Generic; using System.Runtime.Serialization; namespace JARS.SS.DTOs { /// <summary> /// This response is gets returned from when a single default appointment records needs updating /// </summary> [DataContract] public class JarsDefaultAppointmentRespons...
29.454545
100
0.673868
[ "MIT" ]
CobyC/JaRS
Source/JARS.SS.DTOs/Responses/JarsDefaultsAppointmentResponse.cs
974
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...
30.243243
109
0.736372
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/IoTSiteWise/Generated/Model/DisassociateAssetsResponse.cs
1,119
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ============================...
35.393023
143
0.511532
[ "MIT" ]
Smilefounder/squidex
backend/src/Squidex.Domain.Apps.Entities/Backup/RestoreGrain.cs
15,219
C#
// MIT License - Copyright (c) Callum McGing // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package namespace LibreLancer.Data.Equipment { public class RepairKit: AbstractEquipment { } }
26.9
62
0.713755
[ "MIT" ]
HaydnTrigg/Librelancer
src/LibreLancer.Data/Equipment/RepairKit.cs
269
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 System; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Mania.U...
35.322581
126
0.607306
[ "MIT" ]
BananeVolante/osu
osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs
1,065
C#
using System; using System.Linq; using System.Collections.Generic; using UnityEngine; namespace UnityExtensions.Memo { [Serializable] internal class MemoExport { public MemoCategory[] category; public MemoExport( List<MemoCategory> c ) { category = c.ToArray(); ...
17.894737
52
0.614706
[ "MIT" ]
654306663/UnityExtensions
Extensions/Memo/Editor/Scripts/Data/MemoExport.cs
342
C#
// <copyright file="IIxMultiplicityConfig.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> namespace ClrCoder.ComponentModel.IndirectX { /// <summary>...
35.071429
108
0.727088
[ "Apache-2.0" ]
dmitriyse/ClrCoder
src/ClrCoder/ComponentModel/IndirectX/Config/IIxMultiplicityConfig.cs
493
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 ...
45.134439
156
0.543089
[ "Apache-2.0" ]
chrisdunelm/google-api-dotnet-client
Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.cs
103,403
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ex...
38.405405
84
0.74525
[ "MIT" ]
milkokochev/Telerik
C#1/HomeWorks/03. Operators and Expressions/Extract Bit from Integer/Properties/AssemblyInfo.cs
1,424
C#
/* * MIT License * * Copyright(c) 2017 Jann Westermann * * 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, ...
35.960784
98
0.688659
[ "MIT" ]
chefarbeiter/QuickIEnumerableToExcelExporter
src/QuickIEnumerableToExcelExporter/IExporter.cs
1,836
C#
#if UNITY_EDITOR using UnityEngine; using System.Collections.Generic; namespace O3DWB { public static class Mirroring { #region Public Static Functions public static Vector3 MirrorPosition(Plane mirrorPlane, Vector3 position) { float planeDistanceToPoint = mirrorPlane.GetDi...
42.285714
167
0.68659
[ "MIT" ]
AestheticalZ/Faithful-SCP-Unity
Assets/Octave3D World Builder/Scripts/Math/Mirroring/Mirroring.cs
3,850
C#
using System; using System.IO; namespace BinaryReaderDemo { class Program { static void Main(string[] args) { } } }
11.928571
39
0.508982
[ "MIT" ]
StelaKaneva/Csharp-Advanced-Repository
Streams,FilesAndDirectoriesLab/BinaryReaderDemo/Program.cs
169
C#
/* The MIT License (MIT) Copyright (c) 2007 - 2021 Microting A/S 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, m...
41.357143
128
0.577014
[ "MIT" ]
Gid733/eform-angular-inventory-plugin
eFormAPI/Plugins/Inventory.Pn/Inventory.Pn/Services/InventoryItemGroupService/InventoryItemGroupService.cs
12,738
C#
using MongoDB.Driver; using System; using System.Collections.Generic; using System.Threading.Tasks; using Universalis.DbAccess.Queries.Uploads; using Universalis.DbAccess.Uploads; using Universalis.Entities.Uploads; using Xunit; namespace Universalis.DbAccess.Tests.Uploads; public class UploadCountHistoryDbAccessTes...
30.447368
119
0.672861
[ "MIT" ]
karashiiro/Universalis
src/Universalis.DbAccess.Tests/Uploads/UploadCountHistoryDbAccessTests.cs
2,316
C#
// Created by Ron 'Maxwolf' McDowell (ron.mcdowell@gmail.com) // Timestamp 01/03/2016@1:50 AM using System; using System.Collections.Generic; namespace OregonTrail { /// <summary> /// Base interface for all entities in the simulation, this is used as a constraint for generics in event system. /// </...
31.4
121
0.648089
[ "MIT" ]
Maxwolf/OregonTrailBot
src/OregonTrail/Entity/IEntity.cs
630
C#
#region MigraDoc - Creating Documents on the Fly // // Authors: // Stefan Lange (mailto:Stefan.Lange@PdfSharpCore.com) // Klaus Potzesny (mailto:Klaus.Potzesny@PdfSharpCore.com) // David Stephensen (mailto:David.Stephensen@PdfSharpCore.com) // // Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany) // ...
36.592068
137
0.628784
[ "MIT" ]
929496959/PdfSharpCore
MigraDocCore.DocumentObjectModel/MigraDoc.DocumentObjectModel.Visitors/MergedCellList.cs
12,917
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; name...
36.561321
215
0.554832
[ "MIT" ]
sanar-microsoft/azure-sdk-for-net
src/SDKs/Azure.Core/data-plane/Azure.Core/Pipeline/HttpClientTransport.cs
15,504
C#
using FluentValidation.Results; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Core.Extensions { //Hatanın detaylarına dair public class ErrorDetails { public string Message { get; set; } public int StatusCode { get; set; } publ...
20.862069
62
0.636364
[ "MIT" ]
maziz-create/ReCapProject
Core/Extensions/ErrorDetails.cs
609
C#
using Moq; using Reifnir.StaticSite.Content; using Reifnir.StaticSite.Tests.FunctionsTesting; using System; using System.IO; using System.Net; using System.Text; using Xunit; namespace Reifnir.StaticSite.Tests { public class StaticSiteFunctionTests { [Fact] public void ParseFileAr...
33.818182
98
0.589904
[ "MIT" ]
reifnir/terraform-azurerm-azure-functions-static-site
function/Reifnir.StaticSite.Tests/StaticSiteFunctionTests.cs
3,348
C#
using System; namespace Migr8.Test { public static class TestConfig { public static string ConnectionString => Environment.GetEnvironmentVariable("SQLSERVER") ?? "server=.; database=migr8_test; trusted_connection=true"; } }
29.4
109
0.605442
[ "MIT" ]
ctrlenter/migr8
Migr8.Test/TestConfig.cs
296
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
34.677419
84
0.743256
[ "Apache-2.0" ]
crehmann/LeakCanaryBinding
LeakCanary.Analyzer/Properties/AssemblyInfo.cs
1,078
C#
namespace Lncodes.DesignPattern.FactoryMethod { public enum EnemyTypes { Orc, Slime, Goblin } }
13.3
46
0.571429
[ "MIT" ]
lncodes/design-pattern-factory-method
c#/src/Data/EnemyTypes.cs
135
C#
//////////////////////////////////////////////////////////////////////////////////// // CameraFilterPack v2.0 - by VETASOFT 2015 ////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////// using UnityEngine; using System.Collections; [ExecuteInEdit...
22.445455
87
0.633455
[ "MIT" ]
esther5576/CartographStory
Assets/Plugins/Camera Filter Pack/Scripts/CameraFilterPack_Blur_BlurHole.cs
2,471
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...
44.785714
120
0.716906
[ "MIT" ]
mirzaevolution/ThumbnailSharp.Client
ThumbnailSharp.Gui/Properties/AssemblyInfo.cs
2,511
C#
// -------------------------------------------------------------------------------------------------------------------- // Copyright (c) Lead Pipe Software. All rights reserved. // Licensed under the MIT License. Please see the LICENSE file in the project root for full license information. // -------------------------...
37.333333
120
0.421131
[ "MIT" ]
LeadPipeSoftware/LeadPipe.Net
src/LeadPipe.Net.Lucene.Tests/FooSearchData.cs
674
C#
#region License /* ********************************************************************************** * Copyright (c) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
23.083832
133
0.638132
[ "MIT" ]
Tyelpion/irony
Irony.Interpreter/Scopes/ScopeInfo.cs
3,855
C#
//Author Maxim Kuzmin//makc// using Makc2020.Core.Base.Execution; using Makc2020.Core.Base.Ext; using Makc2020.Mods.DummyMain.Base.Common.Jobs.Option.List.Get; using Makc2020.Mods.DummyMain.Base.Jobs.Item.Get; using Makc2020.Mods.DummyMain.Base.Jobs.List.Get; using Microsoft.AspNetCore.Mvc; using System; using System...
29.686099
98
0.554683
[ "MIT" ]
balkar20/SibTrain
net-core/Makc2020.Mods.DummyMain.Web/Api/ModDummyMainWebApiController.cs
7,037
C#
#if NET5_0_OR_GREATER namespace Bunit { /// <summary> /// Represents a bUnit JSInterop module. /// </summary> public sealed class BunitJSModuleInterop : BunitJSInterop { private readonly BunitJSInterop parent; private JSRuntimeMode? handlerMode; /// <summary> /// Gets or sets whether this <see cref="Bunit...
28.255319
107
0.689006
[ "MIT" ]
Christian-Oleson/bUn
src/bunit.web/JSInterop/BunitJSModuleInterop.cs
1,328
C#
using System.Linq; using System.Runtime.InteropServices; namespace Pomegranate { [StructLayout(LayoutKind.Auto)] public readonly struct PomegranateNamespace { public int Length { get; init; } public ulong[] HashSet { get; init; } internal PomegranateNamespace(ulong[] hashSet) ...
29.135593
97
0.568935
[ "BSD-2-Clause" ]
rooper149/Pomegranate
Pomegranate/PomegranateNamespace.cs
1,721
C#
/* * 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 may obtain a copy ...
45.94964
198
0.559626
[ "MIT" ]
jdm7dv/financial
windows/Lean/Engine/Setup/BrokerageSetupHandler.cs
19,163
C#
using System; using System.Diagnostics; #if CONTRACTS_FULL using System.Diagnostics.Contracts; #else using PixelLab.Contracts; #endif using System.Windows; namespace PixelLab.Common { public class GeoHelper { /// <summary> /// Returns the scale factor by which an object of size <pa...
31.489247
104
0.543964
[ "MIT" ]
WertherHu/AYUI8Community
Ay/ay/SDK/ThreeLib/Transitions/Core/GeoHelper.cs
5,859
C#
using System; namespace EasyCli.ConsoleInterface { public enum OutputColor { Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White } public static class OutputColorExtensions { public ...
35.439759
88
0.537821
[ "MIT" ]
AblingerOscar/EasyCLI
EasyCLI/ConsoleInterface/IOutput.cs
5,885
C#
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, in...
44.079208
160
0.66925
[ "MIT" ]
rikace/orleans
src/Tester/RelationalUtilities/RelationalStorageForTesting.cs
8,906
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Pepe { static class Program { /// <summary> /// Ponto de entrada principal para o aplicativo. /// </summary> [STAThread] static void Ma...
22.130435
65
0.611002
[ "MIT" ]
lbert1/Pepe-Robot
Program.cs
511
C#
using System; using System.Reflection; using System.Runtime.CompilerServices; namespace LeaderEngine { public static class Logger { public static bool IgnoreInfo = false; public static bool IgnoreWarning = false; public static bool IgnoreError = false; [MethodImpl(MethodImplOp...
33.844444
101
0.616546
[ "MIT" ]
Reimnop/LeaderEngine
LeaderEngine/Logic/Logger.cs
1,525
C#
/////////////////////////////////////////////////////////////////////////////// // // Microsoft Research Singularity // // Copyright (c) Microsoft Corporation. All rights reserved. // // Note: // using System; namespace Microsoft.Singularity.UnitTest { // This annotation on an assembly indicates ...
23.043478
84
0.566038
[ "MIT" ]
sphinxlogic/Singularity-RDK-2.0
base/Libraries/UnitTest/TestSetupAttribute.cs
530
C#
using System; using System.Collections.Generic; using System.Text; namespace SimerERP.Domain.Entities { public class TestERP { public int TestERPId { get; set; } public string Name { get; set; } public string Text { get; set; } } }
17.0625
42
0.630037
[ "MIT" ]
n3v3r94/MediatR-CQRS
SimerERP.Domain/Entities/TestERP.cs
275
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...
31.303571
90
0.635482
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/Models/DscNodeConfigurationAssociationProperty.cs
1,753
C#
using System; using Cosmos.Common.Extensions; namespace Cosmos.Common { /// <summary> /// Helper class for working with numbers. /// </summary> public static class NumberHelper { /// <summary> /// Write number to console. /// </summary> /// <param name="aValue">A va...
31.82
105
0.543683
[ "BSD-3-Clause" ]
AcaiBerii/Cosmos
source/Cosmos.Common/NumberHelper.cs
1,593
C#
using CryptoExchange.Net.Converters; using Paribu.Net.Enums; using System.Collections.Generic; namespace Paribu.Net.Converters { public class TradeRoleConverter : BaseConverter<TradeRole> { public TradeRoleConverter() : this(true) { } public TradeRoleConverter(bool quotes) : base(quotes) { } ...
34.222222
117
0.685065
[ "MIT" ]
burakoner/Paribu.Net
Paribu.Net/Converters/TradeRoleConverter.cs
618
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; [assembly: AssemblyCompany("FrannDotExe")]
34.777778
81
0.341853
[ "MIT" ]
Frannsoft/FrannHammer
src/SolutionInfo.cs
315
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Riverport.Weaver { public class HastePatchCardController : PhaseActionPatchCardController { p...
26.65
125
0.765478
[ "MIT" ]
DrakoGlyph/Riverport
Riverport/Hero/Weaver/Patches/HastePatchCardController.cs
535
C#
namespace IbFlexReader.Xml.Contracts.QueryResponse { using System.Xml.Serialization; [XmlRoot(ElementName = "TierInterestDetail")] public class TierInterestDetail { [XmlAttribute(AttributeName = "accountId")] public string AccountId { get; set; } [XmlAttribute(AttributeName = ...
32.958333
62
0.641804
[ "MIT" ]
JueMueller/ib-flex-reader
IbFlexReader/IbFlexReader.Xml/Contracts/QueryResponse/TierInterestDetail.cs
2,375
C#
// // System.Data.FillOptions.cs // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2003 // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation ...
31.311111
73
0.741661
[ "Apache-2.0" ]
BitExodus/test01
mcs/class/System.Data/System.Data/FillOptions.cs
1,409
C#
using System.Windows.Input; using Xamarin.Forms; namespace PlantHunter.Mobile.Core.Behaviors { public sealed class ItemTappedCommandListView { public static readonly BindableProperty ItemTappedCommandProperty = BindableProperty.CreateAttached( "ItemTappedCommand", ...
36.477273
154
0.607477
[ "MIT" ]
HACC2018/Canoe-tree
PlantHunter.Mobile/PlantHunter.Mobile.Core/Behaviors/ItemTappedCommandListView.cs
1,607
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace FlatEarth.Screens.Transitions { public class TransitionCrossFade : ScreenTransition { public TransitionCrossFade(int lengthInMilliseconds) : base(lengthInMilliseconds) { } public override void Dr...
33.173913
137
0.688073
[ "MIT" ]
Saliken/FlatEarth
FlatEarth.Framework/Screens/Transitions/TransitionCrossFade.cs
765
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.open.app.silan.apigrayfive.query /// </summary> public class AlipayOpenAppSilanApigrayfiveQueryRequest : IAlipayRequest<AlipayOpenAppSi...
23.06087
119
0.562971
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenAppSilanApigrayfiveQueryRequest.cs
2,654
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICU...
31.092593
77
0.423466
[ "MIT" ]
flecoqui/ASTool
cs/ASTool/ASTool.Core/ISMHelper/Mp4BoxDINF.cs
1,681
C#
namespace Cade.BookStore { public abstract class BookStoreDomainTestBase : BookStoreTestBase<BookStoreDomainTestModule> { } }
17.625
97
0.751773
[ "MIT" ]
CadeXu/ABP
abpStart/test/Cade.BookStore.Domain.Tests/BookStoreDomainTestBase.cs
143
C#
using System; using Newtonsoft.Json; namespace TimeshEAT.Business.API.Converters { public class DateTimeJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return (objectType == typeof(DateTime) || objectType == typeof(DateTime?)); } ...
27.823529
124
0.637421
[ "Apache-2.0" ]
TFZR-RSOK/SI2019-Team01-Timesheat
Business/API/Converters/DateTimeJsonConverter.cs
948
C#
// Copyright (C) 2003-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. using System; using System.Linq; using Xtensive.Orm.Providers.PostgreSql; using Xtensive.Sql.Compiler; using Xtensive.Sql.Dml; using SqlCompiler = Xtensive...
39.127059
144
0.69487
[ "MIT" ]
NekrasovSt/dataobjects-net
Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/Compiler.cs
16,629
C#
// ------------------------------------------------------------------------------------- // <copyright file="ParallelDynamicProgrammingTest.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary> // Contains test cases for ParallelDynamicProgramming class. /...
42.468085
197
0.576653
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/beta/Tests/MBF.Tests/ParallelDynamicProgrammingTests.cs
3,994
C#
using UnityEngine; using System.Collections; public class PowerupManager : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
14.125
46
0.641593
[ "MIT" ]
jolly-llama-games/bionic-salamander
Assets/Scripts/PowerupManager.cs
213
C#
using Neo.Tests.Framework; using Neo.Frontend.Lexer; using Neo.AST; using Neo.AST.Expressions; using Neo.AST.Expressions.Atoms; using Neo.AST.Statements; namespace Neo.Tests.AST.Statements { [TestFixture] public sealed class ExpressionStatementNodeTests { private ExpressionNode value; private ExpressionStatemen...
24.722222
72
0.758427
[ "MIT" ]
sci4me/Neo-old
src/test/AST/Statements/ExpressionStatementNodeTests.cs
890
C#
using System; namespace umbraco.cms.businesslogic.macro { [Serializable] public class MacroPropertyModel { public string Key { get; set; } public string Value { get; set; } public string Type { get; set; } [Obsolete("This is no longer used an will be removed in future versions")] ...
20
83
0.626471
[ "MIT" ]
Abhith/Umbraco-CMS
src/umbraco.cms/businesslogic/macro/MacroPropertyModel.cs
680
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ZFramework { public class Main : MonoBehaviour { void Start() { DontDestroyOnLoad(gameObject); gameObject.AddComponent<Global>(); } } }
17.9375
46
0.620209
[ "MIT" ]
z16388/ZFramework
Assets/Scripts/ZFramework/Main.cs
289
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// MarketingItemSelection Data Structure. /// </summary> public class MarketingItemSelection : AlipayObject { /// <summary> /// 营销项目ID /// </summary> [JsonPropertyName("id...
21.823529
54
0.590296
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/MarketingItemSelection.cs
381
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...
28.813953
149
0.627926
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/ApiManagement/V20200601Preview/Outputs/BackendProxyContractResponse.cs
1,239
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.Reflection; using Microsoft.PowerFx.Types; namespace Microsoft.PowerFx { /// <summary> /// Marshal .Net classes (with fields) to <see cref="RecordValue"/>. /// This sup...
34.365854
119
0.552165
[ "MIT" ]
CarlosFigueiraMSFT/Power-Fx
src/libraries/Microsoft.PowerFx.Interpreter/Marshal/ObjectMarshallerProvider.cs
2,820
C#
// Copyright (c) 2014-2022 Sarin Na Wangkanai, All Rights Reserved. Apache License, Version 2.0 using System; using Microsoft.AspNetCore.Http; using Wangkanai.Detection.Services; namespace Backend { class Program { static void Main(string[] args) { Console.WriteLine("Hello World...
29.5
96
0.625815
[ "Apache-2.0" ]
anhgeeky/Detection
sample/Backend/Program.cs
769
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TornCityAPISharp.UserStats { public class Company { [JsonProperty("name")] string Name { get; set; } [JsonProperty("jobpoint")] ...
18.684211
36
0.661972
[ "Apache-2.0" ]
CarlHalstead/TornCityAPISharp
UserStats/Company.cs
357
C#
namespace RFIDTest { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
32.435484
107
0.553953
[ "Apache-2.0" ]
dingfeng/rfid
RFIDApplication/RFIDTest/Form1.Designer.cs
2,013
C#
// // Kvant/Warp - Warp (hyperspace) light streaks effect // // Copyright (C) 2016 Keijiro Takahashi // // 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, includin...
30.859649
96
0.587265
[ "MIT" ]
Adjuvant/videolab
Assets/Kvant/Warp/Script/WarpTemplate.cs
3,518
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ namespace GameFramework.Scene { ...
27.265823
117
0.500929
[ "MIT" ]
823040692/Frame
GameFramework/Scene/LoadSceneSuccessEventArgs.cs
2,375
C#
using CodingTrainer.CodingTrainerModels.Security; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CodingTrainer.CodingTrainerWeb.Models { public class ExternalLoginConfirmationViewModel { [Required] [Display(Name = "Email")] public string Email ...
27.691176
110
0.57196
[ "Apache-2.0" ]
ddashwood/CodingTrainer
CodingTrainerWeb/Models/AccountViewModels.cs
3,768
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace FreeRedis { partial class RedisClient { #if isasync #region async (copy from sync) /// <summary> /// APPEND command (An Asynchronous Version)<br /><br /> ...
59.255833
409
0.564836
[ "MIT" ]
tomatopunk/FreeRedis
src/FreeRedis/RedisClient/Strings.cs
79,401
C#
/** * Copyright (c) 2001-2018 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * https://robocode.sourceforge.io/licen...
65.254777
268
0.649097
[ "Apache-2.0" ]
DarioRomano/robocode
plugins/dotnet/robocode.dotnet.nhost/src/generated/net/sf/robocode/peer/IRobotPeer.generated.cs
20,490
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
114
0.636006
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MediaPackageVod/Generated/Model/Internal/MarshallTransformations/DashPackageMarshaller.cs
3,816
C#
using System; using SFA.DAS.Provider.Events.Api.Types; namespace SFA.DAS.EmployerPayments.Domain.Models.Payments { public class Payment { public string Id { get; set; } public long Ukprn { get; set; } public long Uln { get; set; } public string EmployerAccountId { get; set; } ...
39.677419
60
0.636585
[ "MIT" ]
SkillsFundingAgency/das-employer-payment
src/SFA.DAS.EmployerPayments.Domain/Models/Payments/Payment.cs
1,232
C#
/* Copyright 2010-2012 10gen Inc. * * 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...
34.228261
117
0.595586
[ "Apache-2.0" ]
nilayparikh/mongo-csharp-driver
Driver/Builders/CollectionOptionsBuilder.cs
6,300
C#
using System; using System.Threading.Tasks; using NBitcoin; namespace Core.Outputs { public interface ISpentOutputService { Task SaveSpentOutputs(Guid transactionId, Transaction transaction); Task RemoveSpentOutputs(Transaction transaction); } }
19.785714
75
0.743682
[ "MIT" ]
LykkeCity/bitcoinservice
src/Core/Outputs/ISpentOutputService.cs
279
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ImageTypers { class CommandLineController { private Arguments _arguments; public CommandLineController(string[] args) { this.init_parse(args); // init & parse ...
37.335968
113
0.421978
[ "MIT" ]
imagetyperz-api/imagetyperz-api-csharp
source/cli/CommandLineController.cs
9,448
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.IO; using System.Threading; using System.Threading.Tasks; namespace System.Net.Security { internal...
29.977778
99
0.60934
[ "MIT" ]
CometstarMH/runtime
src/libraries/System.Net.Security/src/System/Net/Security/ReadWriteAdapter.cs
2,698
C#
using AspnetRunBasics.Extensions; using AspnetRunBasics.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace AspnetRunBasics.Services { public class BasketService : IBasketService { private readonly HttpClient _client...
32.238095
80
0.65288
[ "MIT" ]
Francois-Labarre/AspnetMicroservices
src/WebApps/AspnetRunBasics/Services/BasketService.cs
1,356
C#
using System.Diagnostics; namespace DP.Domain.Samples.Visitor { /// <summary> /// 該項商品數量10以上八折優惠 /// </summary> public class VisitorDiscount4Count : Visitor { public override void Visit(IElement elm) { if(elm.Amount>=10) { elm.TotalPrice = elm...
29.875
120
0.520223
[ "MIT" ]
KarateJB/DesignPattern.Sample
CSharp/DP.Domain/Samples/Visitor/VisitorDiscount4Amount.cs
773
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;...
20.607143
43
0.69844
[ "MIT" ]
D15190304050/LearningWpf
Drawing/DrawingShapes/LineJoins.xaml.cs
589
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2012. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic 3150, A...
31.645161
81
0.553517
[ "BSD-3-Clause" ]
BMBH/Krypton
Source/Krypton Toolkit Examples/KryptonNumericUpDown Examples/Program.cs
984
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Graph { public class Node<T> { public int ID; public T Item; public List<Edge<T>> Edges; #region A* helpers public float h; public float g; public float f; ...
17.340909
47
0.471822
[ "MIT" ]
godisntheradio/TEOGA
TEOGA/Assets/Graph/Node.cs
765
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CinemaOnline.Areas.Admin.Models { public class MovieCalendarGet { public Guid LFilmId { get; set; } public Guid LDayOfWeekId { get; set; } public Guid LMovieDisplayTypeId { get...
22.05
54
0.630385
[ "Unlicense", "MIT" ]
Mokadev-vn/thuantv
.fr-Kh2sOT/Source/CinemaOnline/Areas/Admin/Models/MovieCalendarGet.cs
443
C#
using System; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace WowDotNetAPI.Models { [DataContract] public enum RealmType { [EnumMember(Value = "pve")] PVE, [EnumMember(Value = "pvp")] PVP, [EnumMember(Value = "rp")] RP, ...
25.888889
143
0.563458
[ "MIT", "Unlicense" ]
ThorwaldOdin/WowDotNetAPI-from-Briandek
Explorers/Models/Realm.cs
1,633
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.D...
28.26
107
0.630573
[ "MIT" ]
yaras/DockerExperiments
ws1/Startup.cs
1,413
C#