content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ONIT.VismaNetApi.Models.CustomDto { public class Subaccount : IProvideCustomDto { private List<Segment> _segments; [JsonProperty] public string description {...
32.072464
124
0.535472
[ "MIT" ]
LasseRafn/Visma.Net
Visma.net/Models/CustomDto/Subaccount.cs
2,215
C#
using System.Threading.Tasks; namespace TelerikUIExample.Data; public interface ITelerikUIExampleDbSchemaMigrator { Task MigrateAsync(); }
16.222222
50
0.808219
[ "MIT" ]
271943794/abp-samples
TelerikUIExample/src/TelerikUIExample.Domain/Data/ITelerikUIExampleDbSchemaMigrator.cs
148
C#
using System; using System.Collections; using System.Globalization; using System.Text; using NetUtils = Org.BouncyCastle.Utilities.Net; namespace Org.BouncyCastle.Asn1.X509 { /** * The GeneralName object. * <pre> * GeneralName ::= CHOICE { * otherName [0] OtherNa...
26.884521
98
0.571468
[ "Unlicense" ]
WolfeReiter/BouncyCastleCrypto
crypto/src/asn1/x509/GeneralName.cs
10,942
C#
using Microsoft.Win32; using System; using System.ComponentModel; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media.Animation; using System.Xml.Linq; namespace MAF.Entropy.WPF { /// <summary> /// Interaction logic for Base.xaml ...
32.241935
124
0.510922
[ "MIT" ]
malbertHE/1-TextAnalytics
SRC/Product/MAF.Entropy.WPF/Base.xaml.cs
6,024
C#
using MagicTheGatheringArena.Core; using MagicTheGatheringArena.Core.MVVM; using MagicTheGatheringArena.Core.Scryfall.Data; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows...
40.863559
238
0.524275
[ "MIT" ]
AaronAmberman/MagicTheGatheringArenaDeckMaster
MagicTheGatheringArenaDeckMaster/MagicTheGatheringArenaDeckMaster/ViewModels/MainWindowViewModel.cs
48,221
C#
using GenericModConfigMenu.ModOption; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StardewModdingAPI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GenericModConfigMenu { internal class ModConfig { ...
30.166667
88
0.683978
[ "MIT" ]
Platonymous/GenericModConfigMenu
ModConfig.cs
907
C#
using System; using System.Collections.Generic; using System.Linq; using CaptureTheFlat.Models; using CaptureTheFlat.Repositories; using Microsoft.AspNetCore.Mvc; namespace CaptureTheFlat.Controllers { [Produces("application/json")] [Route("api/[controller]")] public class PostsController : Controller ...
26.5
95
0.645283
[ "MIT" ]
wasnlosdu/capture-the-flat
CaptureTheFlat/Controllers/PostsController.cs
1,062
C#
using Algebra; using Algebra.PatternMatching; using Libs; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace EvaluatorsTests.PatternMatching { class PatternMatchingMonadTests { private static readonly Expression[] arguments = new Expression[] { ...
31.631579
158
0.622296
[ "MIT" ]
Joeoc2001/AlgebraSystem
AlgebraSystem.Test/EvaluatorsTests/PatternMatching/PatternMatchingMonadTests.cs
1,805
C#
using System; /* * Now let's see how clearly the material on the methods of the * String object working with regular expressions was described. */ namespace step_5 { class Program { static void Main(string[] args) { Console.WriteLine("The result of the split() meth...
30.85
167
0.643436
[ "Unlicense" ]
tshemake/Software-Development
stepik/3432/53073/step_5/Program.cs
619
C#
using UnityEditor; using UnityEngine; namespace SuperSystems.UnityBuild { public class UnityBuildGUIUtility { private const string HELP_URL = @"https://github.com/Chaser324/unity-build/wiki/{0}"; #region Singleton private static UnityBuildGUIUtility _instance = null; public static Un...
27.411168
125
0.613519
[ "MIT" ]
TrutzX/9Nations
Assets/Plugins/UnityBuild/Editor/Build/UI/UnityBuildGUIUtility.cs
5,402
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ss_3d { public class DeathAnimationManager : Singleton<DeathAnimationManager> { DeathAnimationLoader deathAnimationLoader; List<RuntimeAnimatorController> Candidates = new List<RuntimeAnimatorController>()...
32.79661
119
0.492506
[ "MIT" ]
Stand1k/3D_Platformer
SS_Platformer_URP/Assets/SS_3D/Managers/DeathAnimationManager.cs
1,937
C#
using System; using UnityEngine; namespace Harmony { /// <summary> /// Contient nombre de méthodes d'extensions pour l'aléatoire. /// </summary> public static class RandomExtensions { /// <summary> /// Retourne une position aléatoire entre les bornes données. Les positions négative...
43
118
0.523077
[ "MIT" ]
Allcatraz/Nullptr_ProjetSynthese
Assets/Libraries/Harmony/Scripts/Playmode/Util/Extension/RandomExtensions.cs
5,622
C#
namespace JetBrains.ReSharper.Koans.Refactoring { // 从参数中提取类 // // 基于一个方法的参数创建一个类, 并且在所有调用处创建该类 // // 没有快捷键, 执行Refactor This后在弹出菜单中选择 public class ExtractClassFromParameters { // 1. 从参数中提取类 // 将光标放在方法的定义上, 执行Extract Class From Parameters (???) // ReSharper pro...
31.461538
97
0.641809
[ "Apache-2.0" ]
yusjoel/resharper-rider-samples-cn
04-Refactoring/Refactoring/16-Extract_class_from_parameters.cs
958
C#
using Semmle.Extraction.Entities; using Semmle.Util; namespace Semmle.Extraction { /// <summary> /// Methods for creating DB tuples. /// </summary> public static class Tuples { public static void containerparent(this System.IO.TextWriter trapFile, Folder parent, IEntity child) { ...
41.243243
240
0.684797
[ "MIT" ]
00mjk/codeql
csharp/extractor/Semmle.Extraction/Tuples.cs
1,526
C#
namespace ThreeDPayment { public class PaymentRequest { public string CardHolderName { get; set; } public string CardNumber { get; set; } public int ExpireMonth { get; set; } public int ExpireYear { get; set; } public string CvvCode { get; set; } public int Instal...
35.411765
53
0.612957
[ "Apache-2.0" ]
suatsuphi/3DPaymentAspNetCore
src/ThreeDPayment/PaymentRequest.cs
602
C#
using System; using System.Threading.Tasks; using OmniSharp.Models; namespace NetPad.OmniSharpWrapper { public interface IOmniSharpServer : IDisposable { Task StartAsync(); Task StopAsync(); Task<TResponse> Send<TResponse>(object request) where TResponse : class; } }
21.133333
55
0.675079
[ "MIT" ]
tareqimbasher/NetPad
src/External/NetPad.OmniSharpWrapper/IOmniSharpServer.cs
317
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 Microsoft.Internal; namespace System.ComponentModel.Composition { internal class ImportCardinalityMismatc...
28.064516
108
0.687356
[ "MIT" ]
939481896/dotnet-corefx
src/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ImportCardinalityMismatchExceptionDebuggerProxy.cs
870
C#
using System.Web; namespace MS.Lib.Utils.Core.Result { /// <summary> /// 文件下载 /// </summary> public class FileDownloadModel { /// <summary> /// 文件完整路径 /// </summary> public string FilePath { get; set; } private string _name; /// <summary> /...
21.026316
80
0.473091
[ "MIT" ]
billowliu2/MS
src/Framework/Utils/Utils.Core/Result/FileDownloadModel.cs
839
C#
/* * Copyright 2020 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 "licens...
35.4
151
0.67564
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/VersionsLimitExceededExceptionUnmarshaller.cs
3,009
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
28.242718
141
0.676865
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-outboundbot/OutboundBot/Model/V20191226/DescribeJobGroupRequest.cs
2,909
C#
using AutoMapper; using MediatR; using System; using VotingIrregularities.Domain.Models; namespace VotingIrregularities.Domain.SectieAggregate { public class RegisterPollingStationCommand : IRequest<int> { public int IdObserver { get; set; } public int IdPollingStation { get; set; } pu...
37.178571
94
0.666667
[ "MPL-2.0" ]
boneacsu/monitorizare-vot
src/api/VotingIrregularities.Domain/SectieAggregate/RegisterPollingSectionCommand.cs
1,043
C#
using Q42.WinRT.Portable; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Q42.WinRT.Portable.Data { /// <summary> /// Possible loadin...
31.327465
314
0.531527
[ "MIT" ]
Q42/Q42.WinRT
Q42.WinRT.Portable/Data/DataLoader.cs
8,899
C#
using System; using System.Text; #pragma warning disable 0649 namespace UnhollowerMini { internal class Il2CppException : Exception { [ThreadStatic] private static byte[] ourMessageBytes; public static Func<IntPtr, string> ParseMessageHook; public Il2CppException(IntPtr exception) : ...
38.972222
119
0.667142
[ "Apache-2.0" ]
BigscreenModded/MelonLoader
MelonStartScreen/UnhollowerMini/Il2CppException.cs
1,405
C#
namespace Funccy { public static class CatchExtensions { public static CatchBuilder<TObj> AsCatch<TObj>(this TObj obj) => new CatchBuilder<TObj>(obj); } }
20.888889
72
0.632979
[ "MIT" ]
chriswxyz/funccy
src/Funccy/Catch/CatchExtensions.cs
190
C#
/* * Copyright (c) 2015 Jeff Lindberg * * 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...
37.485714
81
0.733232
[ "MIT" ]
jblindberg/Clouseau
Clouseau/StationFailedException.cs
1,312
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace ConDep.Samples.WebApi.Results { public class ChallengeResult : IHttpActionResult { public ChallengeResult(s...
29.333333
96
0.695248
[ "BSD-2-Clause" ]
condep/condep-samples
src/ConDep.Samples.WebApi/Results/ChallengeResult.cs
970
C#
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2016 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"),...
33.5
101
0.649787
[ "MIT" ]
ketangarala/core
Libraries/Hotcakes.Commerce/BusinessRules/NullTask.cs
1,876
C#
using System; using System.Collections.Generic; using System.Text; using SingularityLathe.Forge.StellarForge.Services; namespace SingularityLathe.Forge.StellarForge { public class StellarForgeService { private readonly StarSystemBuilderService starSystemBuilderService = null; public StellarFo...
26.666667
85
0.760417
[ "MIT" ]
herrozerro/singularity-lathe
src/SingularityLathe.Forge/StellarForge/StellarForge.cs
482
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.Http; using Microsoft.Extensions.DependencyInjection; namespace Lesson6 { public class Startup { // This m...
32.170732
122
0.593632
[ "MIT" ]
TrainingByPackt/Beginning-ASP.Net
Lesson6/Activity C-1/Lesson6/Startup.cs
1,321
C#
using System; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { public class PyScopeTest { private PyScope ps; [SetUp] public void SetUp() { using (Py.GIL()) { ps = Py.CreateScope("test"); } ...
31.747989
98
0.407448
[ "MIT" ]
GSPP/pythonnet
src/embed_tests/TestPyScope.cs
11,842
C#
// This code is distributed under MIT license. // Copyright (c) 2015 George Mamaladze // See license.txt or http://opensource.org/licenses/mit-license.php using System; namespace xClient.Core.MouseKeyHook.HotKeys { /// <summary> /// The event arguments passed when a HotKeySet's OnHotKeysDownHold event i...
28.909091
95
0.604822
[ "MIT" ]
AliBawazeEer/QuasarRAT
Client/Core/MouseKeyHook/HotKeys/HotKeyArgs.cs
956
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/d3d10effect.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Run...
38.213333
153
0.692254
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs
2,868
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sternzeit.Server.Models { public class FidoResponse { public string AttestationObject { get; set; } public string ClientDataJson { get; set; } public string AuthenticatorData { ge...
25.352941
53
0.672854
[ "MIT" ]
DerHulk/Sternzeit
src/Sternzeit.Server/Models/FidoResponse.cs
433
C#
/* * Apteco API * * An API to allow access to Apteco Marketing Suite resources * * OpenAPI spec version: v2 * Contact: support@apteco.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using S...
31.426357
94
0.545634
[ "Apache-2.0" ]
Apteco/ApiDataAggregator
Apteco.ApiDataAggregator.ApiClient/Model/TimeRule.cs
4,054
C#
using System; using AzureStorage.Tables.Templates.Index; namespace Lykke.AzureStorage.Tables { public static class AzureIndexExtensions { internal static Tuple<string, string> ToTuple(this IAzureIndex src) { return Tuple.Create(src.PrimaryPartitionKey, src.PrimaryRowKey); }...
23.5
76
0.693009
[ "MIT" ]
LykkeBusinessPlatform/AzureStorage
src/Lykke.AzureStorage/Tables/AzureIndexExtensions.cs
331
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VRGIN.Controls; using VRGIN.Core; using VRGIN.Helpers; using VRGIN.Modes; namespace WPVR { class GenericStandingMode : StandingMode { protected override IEnumerable<IShortcut> CreateShortcuts() { ...
25.363636
143
0.66129
[ "MIT" ]
hakatashi/WPVR
WPVR/GenericStandingMode.cs
558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Charlotte { /// <summary> /// Confused by ConfuserElsa /// </summary> public class DocumentInvalidKaleScreen { /// <summary> /// Confused by ConfuserElsa /// </summary> public int BuildAccessibleSycoraxUsernam...
27.692308
316
0.739286
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_03/tmpsol/Elsa20200001/SerializeDecimalLithiumCallback.cs
10,082
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; namespace Knapcode.ExplorePackages.Entities { public class TestSqliteEntityContext : SqliteEntityContext { private readonly SqliteEntityContext _...
29.878049
122
0.668571
[ "MIT" ]
loic-sharma/ExplorePackages
test/ExplorePackages.Entities.Logic.Test/TestSupport/TestSqliteEntityContext.cs
1,227
C#
namespace GoLive.Generator.PropertyChangedNotifier { public static class EmbeddedResources { public static string Resources_AdditionalFiles_cs = "GoLive.Generator.PropertyChangedNotifier.Resources.AdditionalFiles.cs"; } }
34.428571
132
0.792531
[ "MIT" ]
surgicalcoder/PropertyChangeNotifierGenerator
GoLive.Generator.PropertyChangedNotifier/EmbeddedResource.g.cs
241
C#
using UnityEngine; namespace TSW.Noise { public class Source : ScriptableObject { public virtual float GetFloat(Vector3 xyz) { return 0f; } public virtual void SetSeed(int x) { } public virtual bool IsValid() { return false; } } }
11.863636
44
0.662835
[ "MIT" ]
vthem/PolyRace
Assets/Scripts/TSW.GameLib/Noise/Source.cs
261
C#
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using System.Diagnostics; using System.IO; using Xamarin.Android.Tools; namespace Xamarin.Android.Lite.Tasks { public class ResolveSdks : Task { [Output] public string AndroidSdkPath { get; set; } [Output] public string AndroidNdkPath { g...
23.779661
104
0.704205
[ "MIT" ]
ammogcoder/Xamarin.Android.Lite
Xamarin.Android.Lite.Tasks/Tasks/ResolveSdks.cs
1,405
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; namespace System.Windows.Forms { /// <summary> /// Specifies the re...
25.430556
71
0.556526
[ "MIT" ]
15835229565/winforms-1
src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestLocation.cs
1,833
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System.Collections.Generic; using Microsoft.PowerFx.Core.App.ErrorContainers; using Microsoft.PowerFx.Core.Binding; using Microsoft.PowerFx.Core.Errors; using Microsoft.PowerFx.Core.Functions; using Microsoft.PowerFx.Core.Localization; u...
37.338983
200
0.672719
[ "MIT" ]
Grant-Archibald-MS/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/IsUTCToday.cs
2,205
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa...
52.25
169
0.77193
[ "MIT" ]
canyener/Ubl-Tr
Ubl-Tr/Common/CommonBasicComponents/CallBaseAmountType.cs
627
C#
using Lucene.Net.Index; using Lucene.Net.Queries; using Lucene.Net.Search; using Lucene.Net.Util; using NUnit.Framework; namespace Lucene.Net.Tests.Queries { public class BoostingQueryTest : LuceneTestCase { // TODO: this suite desperately needs more tests! // ... like ones that actually run t...
35.076923
89
0.635965
[ "Apache-2.0" ]
BlueCurve-Team/lucenenet
src/Lucene.Net.Tests.Queries/BoostingQueryTest.cs
914
C#
namespace NuGet.Versioning { /// <summary> /// Version comparison modes. /// </summary> public enum VersionComparison { /// <summary> /// Semantic version 2.0.1-rc comparison with additional compares for extra NuGetVersion fields. /// </summary> Default = 0, ...
24.551724
104
0.542135
[ "Apache-2.0" ]
NuGet/NuGet.Versioning
src/NuGet.Versioning/VersionComparison.cs
714
C#
// CS0664: Literal of type double cannot be implicitly converted to type `decimal'. Add suffix `m' to create a literal of this type // Line: 7 class X { void A () { decimal d = -2.0; } }
19.3
131
0.658031
[ "Apache-2.0" ]
121468615/mono
mcs/errors/cs0664-4.cs
193
C#
using System.Text; using System.Windows.Forms; namespace Shotr.Core.Entities.Hotkeys { public class HotKeyData { public ushort ID { get; set; } public bool Active { get; set; } public HotKeyData(Keys hotkey) { _hk = hotkey; } private Keys _hk = Key...
29.886957
118
0.394821
[ "Apache-2.0" ]
shotr-io/shotr-3
src/Shotr.Core/Entities/Hotkeys/HotkeyData.cs
3,439
C#
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (C) 2009-2012 Michael Möller <mmoeller@openhardwaremonitor.org> Copyright (C) 2011 Christian Vallièr...
35.115288
80
0.736636
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AlannaMuir/open-hardware-monitor
Hardware/Nvidia/NVAPI.cs
14,015
C#
using System; using System.Threading; using Microsoft.Extensions.Hosting; using Unity; namespace Zero.Foundation.Web { public class FoundationHost { public FoundationHost() { this.CancellationSource = new CancellationTokenSource(); this.Container = new UnityContainer(); ...
28.916667
71
0.620557
[ "MIT" ]
wmansfield/zero.foundation
Zero.Foundation.Core/Web/FoundationHost.cs
1,041
C#
using NDO.UISupport; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace MySqlUISupport { public class MySqlUIProvider : DbUISupportBase { public override string Name => "MySql"; public override NdoDialogResult ShowCreateDb...
35.480769
137
0.728455
[ "MIT" ]
mirkomaty/NDO
Provider/MySqlNdoProvider/MySqlUISupport/MySqlUIProvider.cs
1,847
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using FluentAssertions; using Microsoft.DotNet.Cli; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.Inter...
36.892655
133
0.623737
[ "MIT" ]
APiZFiBlockChain4/cli
test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectDependencyCommandResolver.cs
6,530
C#
namespace VH.MiniService.Common { public static class CommonRequestHeaders { public const string Token = "vh-authorization"; public const string UserId = "vh-user-id"; public const string TenantId = "vh-tenant-id"; } }
25.6
55
0.65625
[ "Apache-2.0" ]
vit-h/mini-service-common
Common/CommonRequestHeaders.cs
258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PhilosopherPeasant.Services { public class AuthMessageSMSSenderOptions { public string SID { get; set; } public string AuthToken { get; set; } public string SendNumber { get; set;...
22.066667
46
0.691843
[ "MIT", "Unlicense" ]
dmdiehr/PhilosopherPeasant
src/PhilosopherPeasant/Services/AuthMessageSMSSenderOptions.cs
333
C#
/* * Copyright (c) 2016, Firely (info@fire.ly) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/FirelyTeam/fhir-net-api/master/LICENSE */ using System; using Hl7.Fhir.Model; using Hl7.Fhir.Specif...
50.389928
202
0.566817
[ "BSD-3-Clause" ]
CASPA-Care/caspa-fhir-net-api
src/Hl7.Fhir.Specification.Tests/Snapshot/SnapshotElementMatcherTests.cs
70,044
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Flurl; using Semver; namespace NexusUploader.Nexus.Services { public class ApiClient { private readonly HttpClient _httpClient; public ApiClient(HttpClient httpClient) { ...
41.256098
143
0.507538
[ "MIT" ]
focustense/nexus-uploader
src/NexusUploader/Services/ApiClient.cs
3,383
C#
using System.Net; using Content.Server.IP; using NUnit.Framework; namespace Content.Tests.Server.Utility { public class IPAddressExtTest { [Test] [TestCase("192.168.5.85/24", "192.168.5.1")] [TestCase("192.168.5.85/24", "192.168.5.254")] [TestCase("10.128.240.50/30", "10.128.24...
45.903226
96
0.622628
[ "MIT" ]
A-Box-12/space-station-14
Content.Tests/Server/Utility/IPAddressExtTest.cs
2,848
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("EXE...
37.945946
84
0.75
[ "MIT" ]
mayapeneva/C-Sharp-Advanced
05.ManualStringProcessing/EXER_SumBigNumbers/Properties/AssemblyInfo.cs
1,407
C#
using System.Collections.Generic; namespace JackSParrot.Services.Network.Commands { public interface ICommandQueue : System.IDisposable { void AddCommand(Command command); void Send(); bool IsPaused(); void Pause(); void Resume(); } public class CommandQueue : I...
23.926316
83
0.50198
[ "MIT" ]
JackSParrot/commands-pkg
Runtime/CommandQueue.cs
2,273
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Integration.AspNet.Core; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Microsoft.BotBuilderSamples { pub...
33.107143
109
0.675297
[ "MIT" ]
EricDahlvang/teamsProactiveMessaging
AdapterWithErrorHandler.cs
929
C#
namespace Mods { namespace ModsList { public class FirstEditionPilotsMod : Mod { public FirstEditionPilotsMod() { Name = "First Edition Pilots"; Description = "Tycho Celchu as Second Edition pilot"; } } } }
20.8
69
0.5
[ "MIT" ]
97saundersj/FlyCasual
Assets/Scripts/Model/Mods/ModsList/FirstEditionPilots.cs
314
C#
using System.Collections; using System.Collections.Generic; using ScriptEngine.Machine.Contexts; namespace osf { public class FormsCollection : AutoContext<FormsCollection>, ICollectionContext, IEnumerable<ClForm> { private List<ClForm> _list; internal FormsCollection() { ...
22.129032
104
0.534985
[ "MPL-2.0" ]
Nivanchenko/OneScriptForms
OneScriptForms/OneScriptForms/FormsCollection.cs
1,392
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.Serialization.Json; using System.Text; using System.Threading.Tasks; using System.Web; using System.Collections.Specialized; using Fiddler; using Grabacr07.KanColleWrapper.Model...
22.443548
77
0.655049
[ "MIT" ]
KCV-Localisation/KanColleViewer
Grabacr07.KanColleWrapper/Models/SvData.cs
2,785
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
29.433333
99
0.493771
[ "MIT" ]
Azure/Industrial-IoT
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/History/Models/ReadModifiedValuesDetailsModel.cs
883
C#
using System; namespace HotChocolate; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Enum | AttributeTargets.Field)] public sealed class Grap...
21.62963
58
0.683219
[ "MIT" ]
AccountTechnologies/hotchocolate
src/HotChocolate/Core/src/Abstractions/GraphQLNameAttribute.cs
584
C#
using System; using System.Collections.Generic; using System.Text; namespace PyxisInt.GeographicLib { /// <summary> /// The GeodesicData class is used to return the results for a geodesic between /// points 1 and 2. Any fields that have not been set will be denoted by the value /// Double.NaN. The ret...
35.830508
221
0.637181
[ "MIT" ]
Flitesys/GeographicLib
PyxisInt.GeographicLib/GeodesicData.cs
2,116
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using AryuwatSystem.Baselibary; using Entity.Validation; namespace AryuwatSystem.Business { public class Prefix { public DataSet SelectPrefixAll() { var...
23.717949
90
0.543784
[ "Unlicense" ]
Krailit/Aryuwat_Nurse
AryuwatSystem/Business/Prefix.cs
927
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/dxcore_interface.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; us...
37.519231
145
0.641722
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/dxcore_interface/IDXCoreAdapterListTests.cs
1,953
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Management.Automation.Configuration; using System.Management.Automation.Internal; using Syste...
39.988858
138
0.600794
[ "MIT" ]
mdibrahim2195/PowerShell
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
14,356
C#
using System; using System.Collections.Generic; using System.Text; namespace ChuangLan.Account { public class ChuangLanSubAccountManager : IChuangLanSubAccountManager { } }
15.666667
73
0.765957
[ "Apache-2.0" ]
liangshiw/ChuanLan253.Net
src/ChuangLan/Account/ChuangLanSubAccountManager.cs
190
C#
// ----------------------------------------------------------------------------------------- // <copyright file="CloudTableClientTest.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
40.421446
159
0.633784
[ "Apache-2.0" ]
Meertman/azure-storage-net
Test/WindowsRuntime/Table/CloudTableClientTest.cs
16,211
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. // // To add a suppression to this file, right-click the message in the...
57
206
0.766082
[ "MIT" ]
kevingosse/Imageboard-Browser
ImageTools/Source/src/ImageTools/ImageTools.IO.Gif/GlobalSuppressions.cs
686
C#
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.Modules; using OrchardCore.Users.Models; using OrchardCore.Users.TimeZone.Drivers; using OrchardCore.Users.TimeZone.Servic...
34.576923
127
0.764182
[ "BSD-3-Clause" ]
1426463237/OrchardCore
src/OrchardCore.Modules/OrchardCore.Users/TimeZone/Startup.cs
899
C#
// // Swiss QR Bill Generator for .NET // Copyright (c) 2018 Manuel Bleichenbacher // Licensed under MIT License // https://opensource.org/licenses/MIT // using Codecrete.SwissQRBill.Generator; using System; using Xunit; namespace Codecrete.SwissQRBill.GeneratorTest { public class RemoveWhitespaceTest { ...
23.184211
92
0.515323
[ "MIT" ]
ChrisBerna/SwissQRBill.NET
GeneratorTest/RemoveWhitespaceTest.cs
2,645
C#
// ------------------------------------------------------------------------------------------------- // Simple Version Control - © Copyright 2020 - Jam-Es.com // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // --------------------------------------------------------------...
32.28125
107
0.566796
[ "MIT" ]
James231/Simple-Version-Control
src/SimpleVersionControl.App/UserControls/ContentAreaControls/ChangePage.xaml.cs
4,135
C#
using NUnit.Framework; namespace Mirror.Weaver.Tests { public class WeaverGeneralTests : WeaverTestsBuildFromTestName { [Test] public void RecursionCount() { Assert.That(weaverErrors, Contains.Item("Potato1 can't be serialized because it references itself (at MirrorTest.Recu...
25.55
152
0.643836
[ "MIT" ]
JavierCondeIAR/MirrorNG
Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests.cs
511
C#
namespace Validot { using Validot.Specification; using Validot.Specification.Commands; public static class WithExtraMessageExtension { public static IWithExtraMessageOut<T> WithExtraMessage<T>(this IWithExtraMessageIn<T> @this, string message) { ThrowHelper.NullArgu...
30.150943
168
0.616395
[ "MIT" ]
JeremySkinner/Validot
src/Validot/Specification/WithExtraMessageExtension.cs
1,598
C#
/* * author:symbolspace * e-mail:symbolspace@outlook.com */ namespace Symbol.Collections.Generic { /// <summary> /// 翻页适配器 /// </summary> /// <typeparam name="T">任意类型</typeparam> /// <remarks>遍历这个对象,就是当前页的所有行集。</remarks> public interface IPagingCollection<T> : System.Collections.Generi...
24.6
87
0.494774
[ "MIT" ]
symbolspace/Symbol
src/Symbol/Symbol/Collections/Generic/IPagingCollection.cs
989
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// ItemDeliveryDetail Data Structure. /// </summary> public class ItemDeliveryDetail : AlipayObject { /// <summary> /// 已生产数量, 分批反馈时候必传. /// </summary> [JsonP...
26.702128
62
0.545817
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/ItemDeliveryDetail.cs
1,431
C#
using System; using TelefoniaWooza.Domain.Entities; using TelefoniaWooza.Domain.Interfaces.Repositories; using TelefoniaWooza.Infra.Data.Contexts; namespace TelefoniaWooza.Infra.Data.Repositories { public class DDDRepository : RepositoryBase<DDD>, IDDDRepository { public DDDRepository(TelefoniaContext...
24.266667
68
0.739011
[ "MIT" ]
DanielCanedo12/Telefonia
TelefoniaWooza/TelefoniaWooza.Infra.Data/Repositories/DDDRepository.cs
366
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1008_4a18-34fd0f8e")] public void Method_1008_4a18() { ii(0x1008_4a18, 5); push(0x38); ...
84.63981
114
0.460384
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1008-4a18.cs
17,874
C#
using System; class Arrow { static void Main() { int n = int.Parse(Console.ReadLine()); Console.WriteLine("{0}{1}{0}", new string('.', n / 2), new string('#', n)); for (int i = 0; i < n - 2; i++) { Console.Write(new string('.', n / 2)); Console.Write("#...
27.083333
93
0.340513
[ "MIT" ]
vanncho/SoftUni-Entrance-Exam-Prepare
018.Arrow/Arrow.cs
977
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.Composition; using Microsoft.CodeAnalysis.Formatting.R...
37.103448
135
0.683086
[ "MIT" ]
06needhamt/roslyn
src/EditorFeatures/TestUtilities/Workspaces/TestFormattingRuleFactoryServiceFactory.cs
2,154
C#
namespace CottonWinForms { partial class Form { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary> /// <p...
38.428571
172
0.582629
[ "MIT" ]
SpacialCircumstances/CottonRenderer
CottonWinForms/Form1.Designer.cs
2,965
C#
namespace AppliedAlgebra.GfAlgorithms.Tests { using System; using Extensions; using GfPolynoms; using GfPolynoms.Extensions; using GfPolynoms.GaloisFields; using JetBrains.Annotations; using TestCases; using Xunit; public class FieldElementsVectorExtensionsTests { priva...
35.784946
133
0.622296
[ "MIT" ]
litichevskiydv/GfPolynoms
test/GfAlgorithms.Tests/FieldElementsVectorExtensionsTests.cs
3,330
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Asm { using System; [Flags, SymSource] public enum OpszKind : byte {...
24.095238
79
0.353755
[ "BSD-3-Clause" ]
0xCM/z0
src/asm.core/src/models/encoding/OpszKind.cs
506
C#
// Copyright (c) Six Labors and contributors. // Licensed under the GNU Affero General Public License, Version 3. using System; using System.Collections.Generic; namespace SixLabors.ImageSharp { /// <content> /// Contains static named color values. /// <see href="https://www.w3.org/TR/css-color-3/"/> ...
46.810664
155
0.587136
[ "Apache-2.0" ]
fahadabdulaziz/ImageSharp
src/ImageSharp/Color/Color.NamedColors.cs
43,019
C#
// * ************************************************************************** // * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C. // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this distributio...
33.25
93
0.643609
[ "MIT" ]
mvbalaw/FluentWebControls
src/FluentWebControls/AlignAttribute.cs
1,330
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Globalization; using System.Runtime.Serialization; using System.Text.RegularExpressions...
27.839286
115
0.704458
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/XPack/Watcher/Schedule/Interval.cs
6,236
C#
using Extensions; using System.Collections.Generic; public class MathFloatExpression { public MathFloatTerm[] terms = new MathFloatTerm[2]; public MathOperation[] operations = new MathOperation[1]; public MathFloatExpression (MathFloatTerm[] terms, MathOperation[] operations) { this.terms = terms; this.operat...
49.619048
262
0.761996
[ "Apache-2.0" ]
Master109/open-brush
Assets/New Assets/New Standard Assets/Scripts/Concepts/MathFloatExpression.cs
2,084
C#
// Copyright 2017 the original author or authors. // // 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 la...
34.4
80
0.741279
[ "Apache-2.0" ]
FrancisChung/steeltoe
src/CircuitBreaker/src/HystrixBase/Collapser/RealCollapserTimer.cs
1,034
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EpiInfo.Plugin { public interface IScope { string Name { get; set; } Dictionary<string, EpiInfo.Plugin.IVariable> SymbolList { get; } IScope GetEnclosingScope(); void Define...
36.714286
133
0.725032
[ "Apache-2.0" ]
82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing
Cloud Enter/Epi.Compatibility/EpiInfoPlugin/IScope.cs
773
C#
using Newtonsoft.Json; using System.Linq; namespace LINGYUN.Abp.WebhooksManagement.Extensions { public static class WebhookSubscriptionExtensions { public static WebhookSubscriptionDto ToWebhookSubscriptionDto(this WebhookSubscription webhookSubscription) { return new Webh...
35.422222
116
0.61606
[ "MIT" ]
colinin/abp-next-admin
aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Application/LINGYUN/Abp/WebhooksManagement/Extensions/WebhookSubscriptionExtensions.cs
1,596
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...
42.90566
163
0.562335
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/Internal/MarshallTransformations/DeleteEndpointAccessResponseUnmarshaller.cs
9,096
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 Cake.Core; namespace Cake.Common.Build.BitbucketPipelines.Data; /// <summary> /// Provides Bitbucket Pipeli...
36.539683
144
0.661164
[ "MIT" ]
ecampidoglio/cake
src/Cake.Common/Build/BitbucketPipelines/Data/BitbucketPipelinesRepositoryInfo.cs
2,304
C#
using ExtendedXmlSerializer.Configuration; using ExtendedXmlSerializer.Tests.ReportedIssues.Support; using FluentAssertions; using System; using Xunit; namespace ExtendedXmlSerializer.Tests.ReportedIssues { public sealed class Issue397Tests { [Fact] public void Verify() { var serializer = new Configuration...
32.583333
104
0.553069
[ "MIT" ]
ExtendedXmlSerializer/ExtendedXmlSerializer
test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue397Tests.cs
1,566
C#
using AngelNode.Model.Resource; using AngelNode.ViewModel; using GongSolutions.Wpf.DragDrop; using System.Windows; using System.Windows.Controls; using System.Linq; namespace AngelNode.Util { class OutfitDropHandler : IDropTarget { public void DragOver(IDropInfo dropInfo) { if (dro...
29
96
0.601346
[ "MIT" ]
virusek20/AngelNodeCore
Util/OutfitDropHandler.cs
1,191
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
25.785714
81
0.671745
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Network/V20201101/Outputs/AzureFirewallPublicIPAddressResponse.cs
722
C#
using ActionWorkflow.Tracing; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ActionWorkflow { public class ActionSequence<T> { private readonly IList<ActionInfo> _actionInfos; private readonly int _actionI...
34.539683
133
0.543888
[ "MIT" ]
jmptrader/action-workflow
src/ActionWorkflow/ActionSequence.cs
4,354
C#
using O10.Transactions.Core.Enums; namespace O10.Transactions.Core.Ledgers { public interface ILedgerPacket { LedgerType LedgerType { get; } } }
16.7
39
0.688623
[ "Apache-2.0" ]
muaddibco/O10city
Common/O10.Transactions.Core/Ledgers/ILedgerPacket.cs
169
C#