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.Collections.Concurrent; using System.Text.RegularExpressions; using Amqp.Framing; using Amqp.Listener; using Amqp.Transactions; namespace ActiveMQ.Artemis.Client.Testing; public class TestKit : IDisposable { private readonly ContainerHost _host; private readonly ConcurrentDictionary<string, Messa...
28.258993
134
0.59445
[ "MIT" ]
Havret/ActiveMQ.Net
src/ArtemisNetClient.Testing/TestKit.cs
3,928
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 ...
27.901408
119
0.713781
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-cloudapi/CloudAPI/Model/V20160714/DescribeVpcAccessesRequest.cs
1,981
C#
using ALE.ETLBox.ConnectionManager; namespace ALE.ETLBox.ControlFlow { /// <summary> /// Creates or updates a view. /// </summary> public class CreateViewTask : GenericTask, ITask { public override string TaskName => $"{CreateOrAlterSql} VIEW {ViewName}"; public void Execute() ...
39.927273
211
0.637067
[ "MIT" ]
HaSaM-cz/etlbox
ETLBox/src/Toolbox/Database/CreateViewTask.cs
2,198
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.981818
131
0.601871
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/Internal/MarshallTransformations/InviteUnmarshaller.cs
3,848
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class IThumbnailImageLoader : CObje...
32.086957
133
0.747967
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/IThumbnailImageLoader.cs
738
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/resources/campaign_shared_set.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Pr...
41.191283
292
0.689572
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V10/Services/CampaignSharedSet.g.cs
17,012
C#
namespace Nancy.Tests.Unit.Extensions { using System; using System.Linq; using Nancy.Extensions; using Xunit; public class StringExtensionsFixture { [Fact] public void IsParameterized_should_return_false_when_there_are_parameters() { "route".IsPar...
29.04878
99
0.606213
[ "MIT" ]
BilalHasanKhan/Nancy
src/Nancy.Tests/Unit/Extensions/StringExtensionsFixture.cs
1,191
C#
namespace EveEchoesPlanetaryProductionApi.Data.Models { using System.Collections.Generic; using EveEchoesPlanetaryProductionApi.Data.Common.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; public class ItemType : NamedModel<long>, IEntityTypeCon...
27.606061
80
0.616905
[ "MIT" ]
pirocorp/Eve-Echoes-Industries
src/Data/EveEchoesPlanetaryProductionApi.Data.Models/ItemType.cs
913
C#
using System; using System.IO; using System.Linq; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; // There is a WebSocket without SignalR in AspDotNetCore. Great. We can easily implement that. // https://docs.microsoft.com/en-us/asp...
66.454054
467
0.63104
[ "MIT" ]
gyantal/SqCore
src/WebServer/SqCoreWeb/AspMiddleware/SqWebsocketMiddleware.cs
12,294
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...
40.760369
192
0.578632
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Web/V20150801/ServerFarmRouteForVnet.cs
8,845
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; using EfsTools.Items.Data; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(811)] [Attributes(9)] public class Vbatt3700MvAdc { [ElementsCount(1)] ...
19.772727
42
0.611494
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/Vbatt3700MvAdcI.cs
435
C#
/* * Copyright 2021 Google LLC All Rights Reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // sour...
32.898182
170
0.658892
[ "BSD-3-Clause" ]
jskeet/gax-dotnet
Google.Api.CommonProtos/Type/Latlng.g.cs
9,047
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Praetorium")] [assembly: AssemblyCopyright("Copyright © Jason Reimer 2008-2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] ...
33.307692
68
0.741339
[ "Apache-2.0" ]
jasonreimer/Praetorium
Source/CommonAssemblyInfo.cs
436
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using JsonApiDotNetCore.Resources; namespace JsonApiDotNetCore.Services { /// <inheritdoc /> public interface IAddToRelationshipService<TResource> : IAddToRelationshipService<TResource, int> where TResource : class,...
43.925926
161
0.718381
[ "MIT" ]
farturi/JsonApiDotNetCore
src/JsonApiDotNetCore/Services/IAddToRelationshipService.cs
1,186
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 #nullable enable using NewRelic.Agent.Configuration; using NewRelic.Agent.Core.Aggregators; using NewRelic.Agent.Core.BrowserMonitoring; using NewRelic.Core.CodeAttributes; using NewRelic.Core.DistributedTracing; using NewRe...
48.164244
567
0.625223
[ "Apache-2.0" ]
SergeyKanzhelev/newrelic-dotnet-agent
src/Agent/NewRelic/Agent/Core/Api/AgentApiImplementation.cs
33,137
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Internal.Runtime.InteropServices.WindowsRuntime; using System; using System.Diagnostics; using System.Diagnost...
39.699115
170
0.649354
[ "MIT" ]
2E0PGS/corefx
src/System.Runtime.WindowsRuntime/src/System/Threading/WindowsRuntimeSynchronizationContext.cs
8,972
C#
//----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2.0 //-------------------------------------------------------------------------...
31.612245
79
0.58683
[ "Apache-2.0" ]
AlexlHer/framework
arcane/tools/wrapper/core/csharp/ExternalRef.cs
1,554
C#
using System; namespace WindBot.Game.AI { [AttributeUsage(AttributeTargets.Class)] public class DeckAttribute : Attribute { public string Name { get; private set; } public string File { get; private set; } public string Level { get; private set; } public DeckAtt...
25
87
0.535652
[ "MIT" ]
AstralHope/windbot
Game/AI/DeckAttribute.cs
577
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/SoftPub.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pu...
28
145
0.696429
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/SoftPub/CONFIG_CI_PROV_INFO.cs
674
C#
using System; using Halibut.Diagnostics; namespace Halibut.ServiceModel { class DefaultPendingRequestQueueFactory : IPendingRequestQueueFactory { readonly ILogFactory logFactory; public DefaultPendingRequestQueueFactory(ILogFactory logFactory) { this.logFactory = logFactor...
25.05
77
0.688623
[ "Apache-2.0" ]
OctopusDeploy/Halibut
source/Halibut/ServiceModel/DefaultPendingRequestQueueFactory.cs
503
C#
namespace Macabresoft.Macabre2D.UI.Common { using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Windows.Input; using Avalonia; using Avalonia.Markup.Xaml; using Macabresoft.Macabre2D.Framework; using ReactiveUI; using Unity; p...
37.309524
147
0.596256
[ "MIT" ]
Macabresoft/Macabre2D
UI/Common/Controls/ValueEditors/Framework/AssetGuidEditor.axaml.cs
4,701
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TutorialTurnSystem : MonoBehaviour { private int currentMyTurnTimer = 0; private int currentEnemyTurnTimer = 0; public Text displayTurnTimerTxt; private float time_; public Text mainT...
30.407767
143
0.579981
[ "MIT" ]
GameForPeople/TeamHSLD
HSLD/Assets/Scripts/Tutorial/TutorialTurnSystem.cs
6,444
C#
// // Copyright 2011-2013, Xamarin 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 appli...
29.654987
143
0.709689
[ "Apache-2.0" ]
csnowbar/Xamarin.Mobile
MonoTouch/Xamarin.Mobile/Media/MediaPickerDelegate.cs
11,002
C#
using DeltaEngine.Core; using DeltaEngine.Platforms; using DeltaEngine.ScreenSpaces; using NUnit.Framework; namespace Breakout.Tests { public class GameTests : TestWithMocksOrVisually { [Test] public void Draw() { Resolve<Paddle>(); Resolve<RelativeScreenSpace>(); new Game(Resolve<Windo...
25.075472
57
0.645598
[ "Apache-2.0" ]
DeltaEngine/DeltaEngine
Samples/Breakout/Tests/GameTests.cs
1,331
C#
// // ToolStripItemImageScaling.cs // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, ...
34.710526
73
0.749052
[ "Apache-2.0" ]
121468615/mono
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripItemImageScaling.cs
1,319
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 10.03.2021. // // (double)string_column==double_column // using System; using System.ComponentModel.DataAnnotations;...
26.205742
192
0.570111
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D2/Query/CastAs/SET_001/String/Double/TestSet__001__field.cs
21,910
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
40.320442
119
0.620033
[ "BSD-3-Clause" ]
WhiteCoreSim/WhiteCore-Merger
OpenSim/Framework/Servers/HttpServer/OSHttpXmlRpcHandler.cs
7,298
C#
namespace SharpIpp.Model { public enum JobHoldUntil { Unsupported, /// <summary> /// 'no-hold': immediately, if there are not other reasons to hold the job /// </summary> NoHold, /// <summary> /// 'indefinite': - the job is held indefinitely, u...
22.978723
116
0.45463
[ "MIT" ]
KittyDotNet/SharpIpp
SharpIpp/Model/JobHoldUntil.cs
1,082
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using ServiceStack.OrmLite; using Sod.Dba; using Sod.IoC; namespace Sod.Repositories { public class GenericRepository<T> : IRepository<T>, IDependency { public T FindById(int id) { using (var db = DbConn...
26.866667
117
0.495864
[ "MIT" ]
lampo1024/Sod
Sod.Repositories/GenericRepository.cs
2,420
C#
using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace Mntone.SvgForXaml.Primitives { public sealed class SvgPointCollection : IReadOnlyCollection<SvgPoint> { private readonly Collection<SvgPoint> _points; internal SvgPointCollection(strin...
33.833333
143
0.743842
[ "MIT" ]
mntone/SvgForXaml
Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/Primitives/SvgPointCollection.cs
814
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Security.Principal; using System.Web; using System.Web.SessionState; using MvcContrib.TestHelper.Fakes; namespace SpecsFor.Mvc.Helpers { public class FakeHttpContext : HttpContextBa...
29.042373
224
0.742048
[ "MIT" ]
milesibastos/SpecsFor
SpecsFor.Mvc/Helpers/FakeHttpContext.cs
3,429
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 * ...
33.033333
89
0.642785
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Vod/V20180717/Models/PoliticalAsrReviewTemplateInfoForUpdate.cs
2,278
C#
using System.Web; using System.Web.Mvc; namespace DogAndPeople { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.928571
80
0.656604
[ "MIT" ]
athena272/C-Net
Projetos/DogAndPeople/App_Start/FilterConfig.cs
267
C#
using System; using System.Linq; using System.Text; using System.Threading; using BinBridge.Ssh.Common; using System.Collections.Generic; using System.Globalization; using BinBridge.Ssh.Sftp.Responses; using BinBridge.Ssh.Sftp.Requests; namespace BinBridge.Ssh.Sftp { internal class SftpSession : SubsystemSession,...
34.883965
195
0.489755
[ "MIT" ]
mazong1123/binbridge
BinBridge/src/BinBridge.Ssh/Sftp/SftpSession.cs
43,295
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
39.58
188
0.527236
[ "MIT" ]
Appleseed/squidex
backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/Queries/ResolveAssetsTests.cs
9,897
C#
using System; using System.Collections.Generic; using System.Threading; namespace UniRx { /// <summary> /// Represents a group of disposable resources that are disposed together. /// </summary> public abstract class StableCompositeDisposable : ICancelable { /// <summary> ...
38.227437
141
0.542827
[ "MIT" ]
317392507/QFramework
Assets/QFramework/Framework/0.Core/Plugins/UniRx/Disposables/StableCompositeDisposable.cs
10,591
C#
using System; using System.IO; namespace Amazon.JSII.Runtime.Services { internal interface INodeProcess : IDisposable { TextWriter StandardInput { get; } TextReader StandardOutput { get; } TextReader StandardError { get; } } }
19
49
0.665414
[ "Apache-2.0" ]
NGL321/jsii
packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/Services/INodeProcess.cs
268
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using NSubstitute.ExceptionExtensions; using Shouldly; using Xunit; namespace AElf { public class TaskQueueTests : CoreAElfTestBase { private readonly ITaskQueueManager _taskQueueManager; pub...
29.684564
103
0.517748
[ "MIT" ]
quangdo3112/AElf
test/AElf.Core.Tests/TaskQueueTests.cs
4,425
C#
using PotatoReader.Structures; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PotatoReader.Providers { abstract class Source { public abstract Chapter LoadChapter(Book book, int chapterNumber, Action recheckCallback); public abstract...
26.611111
92
0.797495
[ "MIT" ]
anonymousthing/PotatoReader
PotatoReader/Providers/Source.cs
481
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace IdentityWithDapper.Mvc { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] ...
25.190476
70
0.584121
[ "MIT" ]
flaviogf/Cursos
balta/aspnet_core_identity_introduction/IdentityWithDapper/src/IdentityWithDapper.Mvc/Program.cs
529
C#
namespace EverscaleNet.Utils; /// <summary> /// EverOS static /// </summary> public static class EverOS { /// <summary> /// Endpoints static /// </summary> public static class Endpoints { /// <summary> /// Main network endpoints /// </summary> public static string[] Everscale => new[] { "htt...
22.243902
47
0.585526
[ "Apache-2.0" ]
everscale-actions/everscale-dotnet
src/EverscaleNet.Utils/EverOS.cs
912
C#
using System; namespace Rackspace { public static class TestData { public static string GenerateName() { return $"ci-test-{Guid.NewGuid()}"; } } }
15.153846
47
0.543147
[ "Apache-2.0" ]
rackspace/rackconnect.net
test/Rackspace.IntegrationTests/TestData.cs
199
C#
using Microsoft.Extensions.Logging; using Npgsql; using watchtower.Code.ExtensionMethods; using watchtower.Models.Census; namespace watchtower.Services.Db { public class VehicleDbStore : BaseStaticDbStore<PsVehicle> { public VehicleDbStore(ILoggerFactory loggerFactory, IDataReader<PsVehi...
38.292683
93
0.578344
[ "MIT" ]
Simacrus/honu
Services/Db/VehicleDbStore.cs
1,572
C#
// *********************************************************************** // Copyright (c) 2016 Charlie Poole, Rob Prouse // // 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 restri...
34.234694
103
0.592846
[ "MIT" ]
TimonPost/nunit-console
src/NUnitEngine/nunit.engine.core/Internal/ProvidedPathsAssemblyResolver.cs
3,355
C#
//@#$&+ // //The MIT X11 License // //Copyright (c) 2010 - 2016 Icucom Corporation // //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...
30.468354
84
0.667221
[ "MIT" ]
Platform-Agile-Software/PAF-Community
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreContractsStandard/Platform/PlatformInfo/MacPlatformInfo.cs
4,814
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; using Serilog; using System.Threading.Tasks; using Volo.Abp.AspNetCore.ExceptionHandling; using Volo.Abp.DependencyInject...
32.197917
131
0.637334
[ "MIT" ]
zwcm2007/Lapis.Framework
Laison.Lapis.Shared/src/Laison.Lapis.Shared.Host/Filters/DakExceptionFilter.cs
3,109
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using GoPro.Hero.Browser.Media; namespace GoPro.Hero.Browser.Media { public static class TimeLapsedImageExtensions { public static async Task<Stream> ThumbnailAsync(this...
29.463415
96
0.627483
[ "MIT" ]
r1pper/GoPro.Hero
src/GoPro.Hero.Extensions/Browser/Media/TimeLapsedImageExtensions.cs
1,210
C#
using Caliburn.Micro; using OrgPortal.Common; namespace OrgPortal.ViewModels { public class ViewModelBase : Screen { protected ViewModelBase(INavigation navigation) { this.navigation = navigation; } public void GoBack() { this.Navigation.GoBack(); } ...
17
59
0.621986
[ "MIT" ]
NatchEurope/OrgPortal
OrgPortal/ViewModels/ViewModelBase.cs
1,039
C#
/** * Copyright © 2017-2018 Anki Universal Team. * * 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 distributed with this work in the LICENSE.md file. You may * also obtain a copy of the License from ...
33.416667
75
0.666833
[ "Apache-2.0" ]
AnkiUniversal/NLP-Japanese-Dictionary
NLPJapaneseDictionary/ViewModels/OcrWordsViewModel.cs
2,008
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 fil...
29.721519
83
0.566865
[ "Apache-2.0" ]
sunshinele/npoi
main/HSSF/Record/WriteProtectRecord.cs
2,348
C#
using System; using System.Buffers; using System.Text; namespace SuperSocket.ProtoBase { public static class Extensions { public static string GetString(this ReadOnlySequence<byte> buffer, Encoding encoding) { if (buffer.IsSingleSegment) { return encodin...
25.851852
93
0.528653
[ "Apache-2.0" ]
cnxy/SuperSocket
src/SuperSocket.ProtoBase/Extensions.cs
698
C#
namespace HostBox { /// <summary> /// Component loading configuration. /// </summary> public class ComponentConfig { /// <summary> /// Gets or sets path to domain binaries. /// </summary> public string Path { get; set; } /// <summary> /// Get...
24.944444
59
0.532294
[ "MIT" ]
DenisKrasakovSDV/HostBox
Sources/HostBox/ComponentConfig.cs
451
C#
using System; using System.Collections.Generic; using NUnit.Framework; namespace AggregateSource { namespace EntityTests { [TestFixture] public class WithAnyInstance { [Test] public void ApplierCanNotBeNull() { Assert.Throws<ArgumentN...
27.308108
98
0.481591
[ "BSD-3-Clause" ]
jen20/AggregateSource
src/AggregateSource.Tests/EntityTests.cs
5,054
C#
using System.ComponentModel; namespace OpenTracker.Models.Settings { /// <summary> /// This class contains GUI tracking settings data. /// </summary> public class TrackerSettings : ITrackerSettings { public event PropertyChangedEventHandler? PropertyChanged; private bool _displayA...
28.942308
86
0.544186
[ "MIT" ]
jimfasoline/OpenTracker
OpenTracker/Models/Settings/TrackerSettings.cs
1,507
C#
// ----------------------------------------------------------------------- // <copyright file="DataAuthCacheRefreshEventData.cs" company="OSharp开源团队"> // Copyright (c) 2014-2018 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>...
29.146341
93
0.524686
[ "Apache-2.0" ]
0xflotus/osharp
src/OSharp.Permissions/Security/Events/DataAuthCacheRefreshEventData.cs
1,315
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...
63.713483
589
0.683273
[ "MIT" ]
Agazoth/azure-powershell
src/BareMetal/generated/api/Models/Api20210809/ErrorDefinition.PowerShell.cs
11,164
C#
using System; using System.Runtime.InteropServices; using System.Windows.Interop; namespace TumblThree.Applications { public class ClipboardMonitor : IDisposable { private bool disposed = false; private readonly HwndSource hwndSource = new HwndSource(0, 0, 0, 0, 0, 0, 0, null, NativeMethods.H...
32.870588
128
0.574445
[ "Apache-2.0", "MIT" ]
Grukz/TumblThree
src/TumblThree/TumblThree.Applications/ClipboardMonitor.cs
2,796
C#
using System; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; namespace OctSolutions.bot.Dialogs { [Serializable] public class RootDialog : IDialog<object> { public Task StartAsync(IDialogContext context) { context.Wait(MessageR...
28.16129
98
0.644903
[ "MIT" ]
coe-google-apps-support/oct-solutions-bot
OctSolutions.bot/Dialogs/RootDialog.cs
875
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...
34.358974
142
0.691791
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ApiManagement/V20170301/Outputs/BackendTlsPropertiesResponse.cs
1,340
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; using System.IO; using System.Reflection; namespace ColorsInImage { public partial cla...
34.404255
196
0.541126
[ "MIT" ]
richteel/ColorsInImage
ColorsInImage/Form1.cs
11,321
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayDataDataserviceDatabusSendResponse. /// </summary> public class AlipayDataDataserviceDatabusSendResponse : AopResponse { } }
19.153846
71
0.710843
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Response/AlipayDataDataserviceDatabusSendResponse.cs
249
C#
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Runtime.InteropServices; namespace AinDecompiler { class ModifiedShiftJis2 : Encoding { private static UInt16[] MapUnicodeToBytes; private static char[] MapBytesToUnic...
33.093112
146
0.399537
[ "MIT" ]
UserUnknownFactor/AinDecompiler
AinDecompiler/ModifiedShiftJis2.cs
25,945
C#
#pragma warning disable SA1008 // Opening parenthesis must not be preceded by a space #pragma warning disable SA1009 // Closing parenthesis must not be followed by a space namespace KJU.Tests.AST { using System; using System.Collections.Generic; using System.Linq; using KJU.Core.AST; using KJU.Core....
35.883817
115
0.471901
[ "BSD-3-Clause" ]
kamil0074/kju
src/KJU.Tests/AST/SolverTests.cs
8,648
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...
37.594828
164
0.614767
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Kafka/Generated/Model/Internal/MarshallTransformations/ZookeeperNodeInfoUnmarshaller.cs
4,361
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/DirectML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
40.568182
148
0.67563
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/DirectML/DML_ELEMENT_WISE_ACOS_OPERATOR_DESCTests.cs
1,787
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using TensorShader; using TensorShader.Operators.Connection3D; using TensorShaderCudaBackend.API; namespace TensorShaderTest.Operators.Connection3D { [TestClass] public class ImageToColumnTest { [TestMethod] pu...
47.060606
194
0.490234
[ "MIT" ]
tk-yoshimura/TensorShader
TensorShaderTest/Operators/Connection3D/Transform/ImageToColumnTest.cs
4,659
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class dialogueHolder1 : MonoBehaviour { public string dialogue; public string[] dialogueLines; private DialogueManager1 dMan; void Start() { dMa...
25.727273
68
0.555948
[ "MIT" ]
MartinSarnes/TheEternalForest
Assets/Scripts/Dialogue/dialogueHolder1.cs
851
C#
using Gat.Base; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gat.Define { /// <summary> /// Entity 資料集(指定型別) /// </summary> /// <typeparam name="T"></typeparam> [Obsolete] public class EntitySet...
25.960784
125
0.518505
[ "Apache-2.0" ]
Sway0308/GHM-PY
Library/Gat.Define/Entity/EntitySet.cs
2,766
C#
using System; using System.Web.Http; using System.Web.Mvc; using ReferenceAPI.Areas.HelpPage.ModelDescriptions; using ReferenceAPI.Areas.HelpPage.Models; namespace ReferenceAPI.Areas.HelpPage.Controllers { /// <summary> /// The controller that will handle requests for the help page. /// </summary> publ...
30.079365
115
0.598417
[ "MIT" ]
brtbook/brt
microservices/Reference/ReferenceAPI/Areas/HelpPage/Controllers/HelpController.cs
1,895
C#
namespace OggVorbisEncoder.Setup.Templates.Stereo44.BookBlocks.Chapter0 { public class Page6_0 : IStaticCodeBook { public int Dimensions { get; } = 4; public byte[] LengthList { get; } = { 1, 4, 4, 7, 6, 6, 7, 6, 6, 4, 7, 7, 10, 9, 9, 10, 9, 9, 4, 6, 7, 10, 9, 9, 11, 9,...
34.25
75
0.472367
[ "MIT" ]
cshung/.NET-Ogg-Vorbis-Encoder
OggVorbisEncoder/Setup/Templates/Stereo44/BookBlocks/Chapter0/Page6_0.cs
961
C#
using System; using System.Collections.Generic; using System.IO; namespace Trees_and_Graphs { class DFS_Traverse_Folders_and_Files { public static void Main(string[] args) { TraverseDirBFS(@"C:\Windows\assembly"); } private static void TraverseDirDFS(DirectoryInfo d...
25.972973
76
0.567118
[ "MIT" ]
superalex-dev/SoftUni
Svetlina/C#/Ds And Algo/Trees, BFS and DFS - Lab/DFS_Traverse_Folders_and_Files.cs
963
C#
using System; using System.Collections.Generic; using UnityEngine; namespace FairyGUI { /// <summary> /// /// </summary> public class CaptureCamera : MonoBehaviour { /// <summary> /// /// </summary> [System.NonSerialized] public Transform cachedTransform; /// <summary> /// //...
25.912371
146
0.640143
[ "MIT" ]
zhangjie0072/Learn_FairyGUI_Slua
Assets/_FairyGUI/Scripts/Core/CaptureCamera.cs
5,029
C#
// // Copyright (C) 2012-2014 DataStax 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 app...
47.601626
152
0.579249
[ "Apache-2.0" ]
batwad/cassandra-csharp-driver
src/Cassandra.IntegrationTests/Core/StressTests.cs
11,710
C#
/* * freee API * * <h1 id=\"freee_api\">freee API</h1> <hr /> <h2 id=\"\">スタートガイド</h2> <p>1. セットアップ</p> <ol> <ul><li><a href=\"https://support.freee.co.jp/hc/ja/articles/202847230\" class=\"external-link\" rel=\"nofollow\">freeeアカウント(無料)</a>を<a href=\"https://secure.freee.co.jp/users/sign_up\" class=\"external-lin...
63.294118
5,736
0.607807
[ "MIT" ]
s-taira/freee-accounting-sdk-csharp
src/Freee.Accounting/Models/SelectablesIndexResponseAccountItems.cs
14,926
C#
using System; using System.Reflection; using System.Text; namespace ByValue { internal static class TypeExtensions { public static string GetFriendlyName(this Type type) { return GetFriendlyNameInner(type, t => t.Name); } public static string GetFriendlyFullName(th...
32.08
96
0.534913
[ "MIT" ]
sm-g/ByValue
src/ByValue/Helpers/TypeExtensions.cs
1,606
C#
using System.Linq; using NUnit.Framework; using System; using System.Data; using unQuery.SqlTypes; namespace unQuery.Tests.SqlTypes { public class SqlCharTests : TestFixture { [Test] public void GetTypeHandler() { Assert.IsInstanceOf<SqlTypeHandler>(SqlChar.GetTypeHandler()); } [Test] ...
31.465347
141
0.676211
[ "MIT" ]
JTOne123/unQuery
src/unQuery.Tests/SqlTypes/SqlCharTests.cs
3,180
C#
using System.Collections.Generic; using Microsoft.ApplicationInsights; using Microsoft.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Mvc; namespace Helpdesk.Mvc.Controllers { [Route("error")] public class ErrorController : Controller { private readonly TelemetryClient _telemetryClient; ...
32.717391
103
0.614618
[ "MIT" ]
MagnusIIIBR/DotnetDesk-Rebirth
src/Helpdesk.Mvc/Controllers/ErrorController.cs
1,507
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Net; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; using Azure.Data.Tables.Mod...
52.581856
233
0.602943
[ "MIT" ]
m-nash/azure-sdk-for-net
sdk/tables/Azure.Data.Tables/src/TableClient.cs
50,426
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.971429
85
0.641026
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190801/Inputs/ExpressRouteGatewayPropertiesBoundsArgs.cs
1,014
C#
using Volo.Abp; namespace AbpFileUploadToAzureStorage.EntityFrameworkCore { public abstract class AbpFileUploadToAzureStorageEntityFrameworkCoreTestBase : AbpFileUploadToAzureStorageTestBase<AbpFileUploadToAzureStorageEntityFrameworkCoreTestModule> { } }
27.1
177
0.852399
[ "MIT" ]
bartvanhoey/AbpFileUploadToAzureStorage
test/AbpFileUploadToAzureStorage.EntityFrameworkCore.Tests/EntityFrameworkCore/AbpFileUploadToAzureStorageEntityFrameworkCoreTestBase.cs
273
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
28.171233
159
0.603452
[ "Apache-2.0" ]
Cadcorp/swagger-codegen
samples/client/petstore/csharp/SwaggerClientNet40/src/IO.Swagger/Client/ReadOnlyDictionary.cs
4,113
C#
using System; using System.Drawing; using Emgu.CV.Structure; namespace Sudoku.Recognition.Extensions { /// <summary> /// Provides the extensions methods for point array <see cref="PointF"/>[]. /// </summary> /// <seealso cref="PointF"/> public static class PointArrayEx { /// <summary> /// Get true if contou...
28.359375
118
0.604959
[ "MIT" ]
micexu/Sudoku
src/Sudoku.Recognition/Extensions/PointArrayEx.cs
1,817
C#
using APICore.Data; using Microsoft.EntityFrameworkCore; namespace APICore.Test.Unit.SettingServiceTests.Providers { public class SqliteSettingServiceTests : SettingServiceTests { public SqliteSettingServiceTests() : base(new DbContextOptionsBuilder<CoreDbContext>() ...
30.133333
94
0.575221
[ "MIT" ]
samir1604/wep-api-aad
APICore/APICore.Test/Unit/SettingServiceTests/Providers/SqliteSettingServiceTests.cs
454
C#
using System.Collections.Generic; using UnityEngine; public class PauseGame : MonoBehaviour { public List<GameObject> objectsToHideOnPause; public List<GameObject> objectsToRevealOnPause; public void Pause() { Time.timeScale = 0f; foreach (GameObject obj in objectsToHideOnPause) ...
20.102564
58
0.586735
[ "MIT" ]
DeusIntra/Snowball-Fight
Assets/Scripts/UI/Gameplay UI/PauseGame.cs
786
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // namespace Microsoft.VisualStudio.Text.Editor { using System; /// <summary> /// Gets an <see cref="ISmartIndent"/> object for a given <see cref...
40.939394
116
0.636566
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Text/Def/TextUI/Editor/ISmartIndentProvider.cs
1,351
C#
/************************************************************************************ Filename : ONSPPropagationSerializationManager.cs Content : Functionality for serializing Oculus Audio geometry Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Licensed und...
35.018349
117
0.631648
[ "MIT" ]
gafr4910/VR-Tower-Defense
Assets/Donwloads/Oculus/Spatializer/editor/ONSPPropagationSerializationManager.cs
3,817
C#
using System; namespace R5T.Bulgaria.Base.Construction { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
16.153846
47
0.519048
[ "MIT" ]
MinexAutomation/R5T.Bulgaria.Base
source/R5T.Bulgaria.Base.Construction/Code/Program.cs
212
C#
using System; namespace WhiteSparrow.Shared.Logging { [AttributeUsage(AttributeTargets.Class)] public class LogChannelAttribute : Attribute { } }
16.777778
45
0.788079
[ "MIT" ]
JakubSlaby/Chirp
WhiteSparrow/Logging/Chirp/Runtime/Channels/LogChannelAttribute.cs
153
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Altinn.Common.EFormidlingClient.Models { /// <summary> /// Initializes a new instance of the <see cref="Conversation"/> class. /// </summary> [ExcludeFromCodeCoverage] public class Conversation { ...
35.702479
200
0.588194
[ "BSD-3-Clause" ]
Altinn/altinn-studio
src/Altinn.Common/Altinn.EFormidlingClient/Altinn.EFormidlingClient/Models/Conversation.cs
4,320
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("na...
38.243243
84
0.745583
[ "Apache-2.0" ]
TotteKarlsson/atapi
thirdparty/navitar/nav_demo_app/Properties/AssemblyInfo.cs
1,418
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 03.11.2021. using NUnit.Framework; using structure_lib=lcpi.lib.structure; using xEFCore=Lcpi.EntityFrameworkCore....
25.985294
81
0.559706
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Unit/ErrorServices/Check/TestsFor__Arg_IsNullOrNotEmpty.cs
1,769
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using NRZMyk.Services.Data; namespace ...
36.855769
125
0.527002
[ "MIT" ]
markusrt/NRZMyk
NRZMyk.Services/Data/Migrations/20200804050114_ClinicalBreakpoints_Initial.Designer.cs
3,835
C#
using UnityEngine; using UnityEditor; using Beans.Unity.Editor; namespace DeformEditor { public class DeformSettingsWindow : EditorWindow { private static class Content { public static GUIContent SolidHandleColor = new GUIContent (text: "Solid Color"); public static GUIContent LightHandleColor = new GUICo...
40.093458
183
0.74965
[ "MIT" ]
sabresaurus/Deform
Code/Editor/DeformSettingsWindow.cs
4,292
C#
using System; using System.Globalization; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; namespace Noesis.Javascript.Tests { [TestClass] public class ExceptionTests { private JavascriptContext _context; [TestInitialize] public v...
31.107143
151
0.590126
[ "BSD-2-Clause" ]
Ablu/Javascript.Net
Tests/Noesis.Javascript.Tests/ExceptionTests.cs
2,615
C#
using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Refit; using RefitConsul; using RefitSample.RpcServices; namespace RefitSample.Controllers { [ApiController] [Route("[controller]")] public class HomeController : ControllerBase ...
25.604651
82
0.61762
[ "MIT" ]
AlphaYu/RefitConsul
src/Sample/Controllers/HomeController.cs
1,165
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security; using System.Security.Cryptography....
49.648485
232
0.645508
[ "MIT" ]
Bhaskers-Blu-Org2/RTVS
src/Windows/R/Components/Impl/Security/WindowsSecurityService.cs
8,194
C#
/*** Copyright (C) 2018-2020. dc-koromo. All Rights Reserved. Author: Koromo Copy Developer ***/ using Newtonsoft.Json; using System; using System.IO; namespace Koromo_Copy.Component.Hitomi { public class HitomiJsonModel { [JsonProperty] public string Id; [JsonProperty] ...
26.333333
124
0.546564
[ "MIT" ]
dc-koromo/downloader-windows
Koromo Copy/Component/Hitomi/HitomiJson.cs
2,214
C#
using System; using System.Linq; using AgentNetworkManagement.Business.Contracts; using AgentNetworkManager.Domain; using AgentNetworkManager.Domain.DbViews; using AgentNetworkManager.Domain.Models; using Echenim.Nine.Misc.Functionals.ErrorsAndFailures; using Echenim.Nine.Util.UniqueReferenceGenerator.Processs; name...
35.514286
170
0.524336
[ "MIT" ]
echenim/AgentBanking
AgentNetworkManagement.Business/Repositories/MemberInformation.cs
4,974
C#
#if ASYNC using System; using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace ServiceStack.OrmLite { public static class OrmLiteWriteExpressionsApiAsync { /// <summary> /// Use an SqlExpr...
51.722222
178
0.579162
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/ServiceStack/ServiceStack.OrmLite/OrmLiteWriteExpressionsApiAsync.cs
13,698
C#
#if UNITY_EDITOR && UNITY_IOS namespace Shopify.Unity.Editor.BuildPipeline { using UnityEngine; using UnityEditor; using UnityEditor.iOS.Xcode; using System.IO; using System; public class iOSTestPostProcessor { /// <summary> /// Perform post processing on the build to only run ...
49.625
182
0.70445
[ "MIT" ]
isabella232/unity-buy-sdk
Assets/Editor/BuildPipeline/iOSTestPostProcessor.cs
2,382
C#