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 System.Security.Cryptography.X509Certificates; using System.Text; using b2xtranslator.Spreadsheet.XlsFileFormat; using b2xtranslator.Spreadsheet.XlsFileFormat.Ptg; using b2xtranslator.Spreadsheet.XlsFileFormat.Records; using b2xtranslator.xls.Xls...
45.793367
228
0.590608
[ "Apache-2.0" ]
H4xl0r/xlsGen
xlsGen/include/FormulaHelper.cs
35,904
C#
using UnityEngine; using UnityEditor.Experimental.AssetImporters; using System.IO; using UnityEditor; [CustomEditor(typeof(PythonScript))] public class PythonScriptAssetInspector:Editor{ private const int kMaxChars = 7000; private GUIStyle m_TextStyle; public override void OnInspectorGUI () { if (this.m_TextStyl...
24.473684
82
0.66129
[ "MIT" ]
AlexLemminG/Python-To-Unity-Integration
Assets/Python/Editor/PythonScriptAssetInspector.cs
930
C#
// ----------------------------------------------------------------------- // <copyright file="AuthorizePayment.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Microsoft.Sto...
34.586207
137
0.534729
[ "MIT" ]
vasokkumar/redstore
Source/PartnerCenter.CustomerPortal/BusinessLogic/Commerce/Transactions/AuthorizePayment.cs
3,011
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
35.322581
151
0.589041
[ "MIT" ]
ab4d/Ab3d.OculusWrap
Ab3d.OculusWrap/Ab3d.DXEngine.OculusWrap.WinForms.Sample/Properties/Settings.Designer.cs
1,097
C#
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; using OpenQA.Selenium; using OpenQA.Selenium.Appium.Windows; using OpenQA.Selenium.Interactions; namespace PowerToysTests { [TestClass] public class FancyZonesEditorCustomLayoutsTests : FancyZonesEditor { ...
36.876161
143
0.551759
[ "MIT" ]
GeertvanHorrik/PowerToys
src/tests/win-app-driver/FancyZonesTests/EditorCustomLayoutsTests.cs
11,930
C#
using System.Collections.Generic; using Google.Protobuf; namespace AElf.Kernel.SmartContract.Application { public abstract class BlockExecutedDataProvider { protected abstract string GetBlockExecutedDataName(); protected string GetBlockExecutedDataKey(IMessage key = null) {...
31.941176
107
0.664825
[ "MIT" ]
booggzen/AElf
src/AElf.Kernel.Core/SmartContract/Application/BlockExecutedCacheProvider.cs
543
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bindings; namespace ConsoleApp.Chars { class Preacher : UserChar { public Preacher(UserChar baseChar) { id = baseChar.id; name = baseChar.name; Health = baseChar.Heal...
31.319149
79
0.610054
[ "MIT" ]
lightSoulDev/old-game-server-base
Chars/Preacher.cs
1,474
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.Azure.Management.Sql.Fluent { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.ResourceManage...
49.8
237
0.688318
[ "MIT" ]
abharath27/azure-libraries-for-net
src/ResourceManagement/Sql/SqlVirtualNetworkRuleOperationsImpl.cs
11,454
C#
using ProvaDeConceitoCrudDatabaseVsSerializacao.Domain.Models; namespace ProvaDeConceitoCrudDatabaseVsSerializacao.Domain.Interfaces.Services { public interface IPrinterService : IServiceBase<Printer> { Printer FindByIpAddress(string ipAddress); } }
27.2
78
0.801471
[ "Unlicense" ]
evertonj/LiteDbVsSerializeXml
ProvaDeConceitoCrudDatabaseVsSerializacao.Domain/Interfaces/Services/IPrinterService.cs
274
C#
#pragma checksum "D:\ReposMSP\SWE20001\src\WebUI\Areas\Identity\Pages\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f6ebae86d40004d00768c35aea29f9fd0820dc4a" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Are...
44.669725
381
0.757445
[ "MIT" ]
JakeSiewJK64/SWE20001
src/WebUI/obj/Debug/net5.0/Razor/Areas/Identity/Pages/Error.cshtml.g.cs
4,869
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 ...
19.606335
125
0.635357
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-live/Live/Model/V20161101/ModifyCasterVideoResourceRequest.cs
4,333
C#
using System; using System.Net; namespace WebDAVSharp.Server.Exceptions { /// <summary> /// This exception is thrown when the user is not authorized to execute the request. /// Statuscode: 401 Unauthorized. /// </summary> [Serializable] public class WebDavUnauthorizedException : WebDavException...
37.555556
114
0.636095
[ "MIT" ]
PerfectXL/WebDAVSharp.Server.BasicAuth
Exceptions/WebDavUnauthorizedException.cs
1,014
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/msctf.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
36.711538
145
0.633316
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/msctf/ITfContextOwnerTests.cs
1,911
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.Threading.Tasks; using NewRelic.Agent.Api; using NewRelic.Agent.Extensions.Parsing; using NewRelic.Agent.Extensions.Providers.Wrapper; using NewRelic.SystemExtensio...
40.887097
188
0.705325
[ "Apache-2.0" ]
JoshuaColeman/newrelic-dotnet-agent
src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/MongoDb26/MongoDatabaseWrapper.cs
2,535
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4961 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
44.309434
292
0.529552
[ "Apache-2.0" ]
Victhor94/loggencsg
vendors/gapi/Src/google-api-dotnet-client.contrib/20111005-1.0.0/Generated/Source/Google.Apis.Diacritize.v1.cs
11,742
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Y...
36.037037
151
0.562179
[ "MIT" ]
fengyhack/YoloWpf
YoloWpf/Properties/Settings.Designer.cs
1,081
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.Net.Http; using System.Text; using System.Threading.Tasks; using Xunit; namespace Sy...
36.019139
119
0.56416
[ "MIT" ]
Aevitas/corefx
src/System.Net.HttpListener/tests/SimpleHttpTests.cs
7,530
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Bicep.Core.UnitTests.Assertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; using Bicep.Core.UnitTests.Utils; using FluentAssertions.Execution; using Bicep.Core.Diagnostics; using System.Linq; namespace Bi...
32.720207
325
0.633017
[ "MIT" ]
Agazoth/bicep
src/Bicep.Core.IntegrationTests/Scenarios/ParamKeyVaultSecretReferenceTests.cs
12,630
C#
/******************************************************************************/ /* This source, or parts thereof, may be used in any software as long the */ /* license of NostalgicPlayer is keep. See the LICENSE file for more */ /* information. ...
41.833333
120
0.621514
[ "Apache-2.0" ]
neumatho/NostalgicPlayer
Source/Agents/ModuleConverters/ModuleConverter/Formats/ModuleConverterWorker_FutureComposer13.cs
16,066
C#
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
23.612245
83
0.690147
[ "MIT" ]
alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/VolumeDescription.cs
2,314
C#
using System.ComponentModel.DataAnnotations.Schema; namespace DigitalArchitecture.Models { public class UISection { public int Id { get; set; } [ForeignKey("UI")] public int? UIId { get; set; } [ForeignKey("Section")] public int? SectionId { get; set; } public U...
24.5
52
0.589286
[ "MIT" ]
QuinntyneBrown/digital-architecture
DigitalArchitecture/Models/UISection.cs
394
C#
using Nec.Nebula.Internal; using Nec.Nebula.Internal.Database; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace Nec.Nebula { // オブジェクト同期: Push public partial class NbObjectSyncManager { /// <summary> /// Pu...
36.834921
125
0.495906
[ "MIT" ]
nec-baas/baas-client-dotnet
Offline/NbObjectSyncManagerPusher.cs
13,303
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEditor.VFX.Block.Test { [VFXInfo(category = "Tests")] class ColorBlockTest : VFXBlock { public override string name { get { return "Color Test"; } } public override VFXContextType compatibleContexts { get { re...
25.833333
97
0.58172
[ "BSD-2-Clause" ]
1-10/VisualEffectGraphSample
GitHub/com.unity.visualeffectgraph/Editor/Models/Blocks/Implementations/Test/ColorBlockTest.cs
930
C#
using System; using FluentAssertions; using HttpConnect.Content; using Xunit; namespace HttpConnect.Tests.Content { public class StringContentTests { [Fact] public void ThrowsWhenContentIsNullEmptyOrWhiteSpace() { Assert.Throws<ArgumentException>(() => new Strin...
32.763636
98
0.596559
[ "MIT" ]
alex-tully/HttpConnect
test/HttpConnect.Tests/Content/StringContentTests.cs
1,804
C#
using Stormpath.SDK.Account; namespace Stormpath.SDK.Impl.Account { internal interface IPhoneCollectionSync { /// <summary> /// Synchronous counterpart to <see cref="IPhoneCollection.AddAsync(string, System.Threading.CancellationToken)"/> /// </summary> /// <param name="number"...
37.954545
136
0.644311
[ "Apache-2.0" ]
stormpath/stormpath-sdk-csharp
src/Stormpath.SDK.Core/Impl/Account/IPhoneCollectionSync.cs
837
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace DefaultNamespace { using System; using System.IO; public class MasterThread { internal int iNum = 0; public MasterThread( int Children ) ...
28.045455
103
0.479741
[ "MIT" ]
2m0nd/runtime
src/tests/GC/Scenarios/THDChaos/masterthread.cs
1,234
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TSM.Data; #nullable disable namespace TSM.Data.Migrations { [DbContext(ty...
34.567198
81
0.436376
[ "MIT" ]
middas/TSM_Analyzer
TSM.Data/Migrations/20220208080437_FixAuctionSales.Designer.cs
15,177
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("NFK...
38.108108
84
0.748227
[ "MIT" ]
NeedForKillTheGame/ndm-adapter
NFKDemoAdapter/Properties/AssemblyInfo.cs
1,413
C#
/* Copyright 2010-present MongoDB 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 wri...
34.627034
152
0.575993
[ "Apache-2.0" ]
brian-pickens/mongo-csharp-driver
src/MongoDB.Driver/MongoUrl.cs
27,667
C#
using System.Drawing; using System.Drawing.Printing; using MedicalClinicQueue.Data; using MedicalClinicQueue.Models; namespace MedicalClinicQueue.Services { public class PrinterService { private readonly PrintDocument _printDocument; private readonly ServiceItem _serviceItem; private r...
46.121212
167
0.620565
[ "MIT" ]
suxrobGM/MedicalClinicQueue
src/MedicalClinicQueue/Services/PrinterService.cs
3,059
C#
using FEZSkillCounter.Common; using FEZSkillCounter.Model.Repository; using Microsoft.EntityFrameworkCore; using SkillUseCounter; using System; using System.Configuration; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using ...
32.036585
117
0.540541
[ "MIT" ]
saipan-fez/FEZSkillCounter
src/FEZSkillCounter/FEZSkillCounter/App.xaml.cs
8,509
C#
/** * Copyright 2013 Canada Health Infoway, 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...
36.517241
83
0.711048
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/ContractorProviderCodes.cs
1,059
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.42000 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Soc...
33.972222
183
0.576043
[ "MIT" ]
known/SocketLite
SocketLite.Server/Properties/Resources.Designer.cs
2,776
C#
namespace Atc.Tests.Collections; public class ConcurrentHashSetTests { [Fact] public void GetEnumerator() { // Arrange var list = new ConcurrentHashSet<int>(); // Act var actual = list.GetEnumerator(); // Assert Assert.Equal(0, actual.Current); list...
19.978261
58
0.5321
[ "MIT" ]
atc-net/atc-common
test/Atc.Tests/Collections/ConcurrentHashSetTests.cs
1,838
C#
using System; using System.Runtime.InteropServices; using HipchatApiV2; using HipchatApiV2.Requests; using Xunit; namespace IntegrationTests { [Trait("SendNotification", "")] public class SendRoomNotification : IDisposable { private readonly int _existingRoomId; private readonly HipchatCli...
28.4
94
0.651911
[ "MIT" ]
KyleGobel/Hipchat-CS
src/IntegrationTests/SendRoomNotification.cs
996
C#
using NBi.Core.Scalar.Resolver; using NBi.Core.Sequence.Resolver; using NBi.Extensibility.Resolving; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NBi.Core.Calculation.Pred...
36.606061
195
0.706126
[ "Apache-2.0" ]
TheAutomatingMrLynch/NBi
NBi.Core/Calculation/Predicate/Text/TextAnyOf.cs
1,210
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Users { public class Team { public string Name; } }
23
93
0.648221
[ "MIT" ]
StefanYohansson/osu
osu.Game/Users/Team.cs
255
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using HotChocolate.Language; #nullable enable namespace HotChocolate.Types.Descriptors.Definitions { /// <summary> /// Defines the properties of a GraphQL object type. /// </summary> public class ObjectTypeDefi...
32.493103
99
0.510665
[ "MIT" ]
BlacKCaT27/hotchocolate
src/HotChocolate/Core/src/Types/Types/Descriptors/Definitions/ObjectTypeDefinition.cs
9,423
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using PathLengthChecker; namespace PathLengthCheckerGUI { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Applic...
34.378151
117
0.724273
[ "MIT" ]
A9G-Data-Droid/PathLengthChecker
src/PathLengthCheckerGUI/App.xaml.cs
4,093
C#
namespace CustomerLoyaltyStore.Models { public class Prize { public Prize() { } public Prize(string id, int loyaltyPointsCost) { ID = id; LoyaltyPointsCost = loyaltyPointsCost; } public string ID { get; set; } public int...
21.714286
94
0.557018
[ "MIT" ]
P7CoreOrg/GraphQL.Play.2.2
src/CustomerLoyaltyStore/Models/Prize.cs
458
C#
using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Threading.Tasks; using Windows.Devices.Bluetooth.Rfcomm; using Windows.Devices.Enumeration; using Windows.Foundation; using Windows.Networking.Sockets; using Windows.Storage.Streams; using Windows.UI.Xaml; using Windows.UI.Xaml.I...
35.782609
151
0.581288
[ "MIT" ]
nicolocodev/winremotemouse
WinRemoteMouse/WinRemoteMouse.Windows/MainPage.xaml.cs
4,117
C#
using Microsoft.Extensions.Diagnostics.HealthChecks; using RabbitMQ.Client; namespace HealthChecks.RabbitMQ { public class RabbitMQHealthCheck : IHealthCheck, IDisposable { private IConnection? _connection; private IConnectionFactory? _factory; private readonly Uri? _rabbitConnectionStr...
31.255319
130
0.543227
[ "Apache-2.0" ]
illegitimis/AspNetCore.Diagnostics.HealthChecks
src/HealthChecks.Rabbitmq/RabbitMQHealthCheck.cs
2,938
C#
namespace FirebaseStandard.Database.Offline { using System; using System.Collections; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using FirebaseStandard.Database.Query; public static class DatabaseExtensions { /// <summary> ...
70.260204
319
0.659865
[ "MIT" ]
Nullstr1ng/FirebaseStandard
FirebaseStandard/FirebaseStandard/Database/Offline/DatabaseExtensions.cs
13,773
C#
using System.Linq; using Couchbase.KeyValue; using Couchbase.Linq.Filters; using Couchbase.Linq.IntegrationTests.Documents; using Couchbase.Linq.Utils; namespace Couchbase.Linq.IntegrationTests { /// <summary> /// A concrete DbContext for the beer-sample example bucket. /// </summary> public class Be...
33.045455
118
0.618982
[ "Apache-2.0" ]
mojio/Linq2Couchbase
Src/Couchbase.Linq.IntegrationTests/BeerSample.cs
2,183
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Windows.Data; namespace BlackDesertProductionTree { public class ResultHitchary { public string URL { get; set; } public string ItemID { get; set; } public string ItemName { get; set; } pub...
28.87931
122
0.545672
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
mingl0280/BlackDesertProductionChain
BlackDesertProductionTree/ResultHitchary.cs
1,679
C#
using System; namespace Dummy { /// <summary> /// dummy /// </summary> public class DummyClass { /// <summary> /// dummy <c>test</c> /// linebreak /// <code> /// example /// yep /// </code> /// </summary> /// <typeparam name="...
28.232759
76
0.466565
[ "MIT" ]
postliminary/DefaultDocumentation
source/Dummy/DummyClass.cs
6,552
C#
using System; using System.Collections.Generic; namespace Myra.Samples.SplitPaneContainer { internal class Program { public static void Main(string[] args) { using (var game = new SplitPaneGame()) game.Run(); } } }
20.428571
50
0.56993
[ "MIT" ]
AtomicBlom/Myra
samples/Myra.Samples.SplitPaneContainer/Program.cs
288
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
35.911111
134
0.681312
[ "Apache-2.0" ]
Pathfinder-Fr/YAFNET
yafsrc/YAF.Types/Interfaces/ISendMail.cs
1,573
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: AssemblyTit...
38.594595
85
0.728992
[ "MIT" ]
PacktPublishing/The-Modern-CSharp-Challenge
Chapter01/PrimeFactors/Properties/AssemblyInfo.cs
1,431
C#
using System; using System.Runtime.InteropServices; namespace starshipxac.Shell.Interop { /// <summary> /// <c>PIDL</c>を定義します。 /// </summary> [StructLayout(LayoutKind.Sequential)] internal struct PIDL { public PIDL(IntPtr pidl) : this() { ...
25.669421
112
0.476175
[ "MIT" ]
rasmus-z/starshipxac.ShellLibrary
Source/starshipxac.Shell/Interop/PIDL.cs
3,122
C#
// Copyright (c) 2014 Thong Nguyen (tumtumtum@gmail.com) using System; namespace Platform { /// <summary> /// An enumeration of directions. North is equivalent to Top /// and Left is equivalent to West. /// </summary> [Flags] public enum Direction { None = 0, North = 1, South = 2, West...
16
63
0.5725
[ "BSD-3-Clause" ]
platformdotnet/Platform
src/Platform/Direction.cs
400
C#
using FluffySpoon.Automation.Web.Dom; namespace FluffySpoon.Automation.Web.Fluent.Targets.At { public interface IDomElementAtTargetMethodChainNode<out TCurrentMethodChainNode, out TNextMethodChainNode> : ITargetMethodChainNode<TCurrentMethodChainNode, TNextMethodChainNode> where TNextMethodChainNode : IBaseMethod...
37.538462
180
0.844262
[ "MIT" ]
ffMathy/FluffySpoon.Automation
src/FluffySpoon.Automation.Web/Fluent/Targets/At/IDomElementAtTargetMethodChainNode.cs
490
C#
// <auto-generated /> using System; using SecurWebApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SecurWebApp.Data.Migrations { [DbContext(typeo...
32.937269
95
0.484203
[ "Unlicense", "MIT" ]
Rubix982/Secur
SecurWebApp/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
8,926
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Search.Models { internal static class SearchModeExtensions { public static string ToSerialString(this SearchMode value) => value switch...
37.741935
150
0.690598
[ "MIT" ]
manish1604/azure-sdk-for-net
sdk/search/Azure.Search/src/Generated/Models/SearchMode.Serialization.cs
1,170
C#
using System; using System.Collections.Generic; using System.Text; namespace AvaExt.Manual.Table { public class TableFIRM { public const String TABLE_RECORD_ID = "L_CAPIFIRMSEQ"; public const String TABLE = "T_FIRM"; public const String LOGICALREF = "LOGICALREF"; // int 4 ...
59.864583
79
0.645554
[ "MIT" ]
rualb/ava-agent-xamarin
AvaExt/Manual/Table/TableFIRM.cs
5,747
C#
using BookStore.API.Models; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; namespace BookStore.API.Repository { public interface IAccountRepository { Task<IdentityResult> SignUpAsync(SignUpModel signUpModel); Task<string> LoginAsync(SignInModel signInModel); }...
25
67
0.729231
[ "MIT" ]
AmareshSahoo/asp-net-core-web-api
BookStore/BookStore.API/BookStore.API/Repository/IAccountRepository.cs
327
C#
using System; using System.Collections.Generic; using System.Data.SqlTypes; using System.IO; using System.Linq; using System.Text; namespace Jitbit.Utils { /// <summary> /// Simple CSV export /// Example: /// CsvExport myExport = new CsvExport(); /// /// myExport.AddRow(); /// myExport["Reg...
31.009615
125
0.624961
[ "MIT", "Unlicense" ]
BeProduct/Export-to-CSV-File
Export-To-CSV/Helpers/CsvExport.cs
6,450
C#
namespace BackupVault.Models; public sealed class JobTimer : IDisposable { #region props private readonly Timer _timer; public Guid ID { get; init; } public TimeSpan IntervalTime { get; init; } #endregion #region events public event EventHandler<Guid> JobTimerElapsed; #endregion ...
19.142857
85
0.654229
[ "MIT" ]
chrisforte/BackupVault
src/BackupVault.Core/Models/JobTimer.cs
806
C#
using System; using Unity.Collections; #if !UNITY_2019_2_OR_NEWER using UnityEngine.Experimental; #endif namespace UnityEngine.XR.ARSubsystems { /// <summary> /// A subsystem for detecting and tracking a preconfigured set of images in the environment. /// </summary> /// <typeparam name="XRTrackedImage...
38.581152
172
0.591939
[ "Apache-2.0" ]
BCBlanka/BeatSaber
Library/PackageCache/com.unity.xr.arsubsystems@2.1.3/Runtime/ImageTrackingSubsystem/XRImageTrackingSubsystem.cs
7,369
C#
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; using UnityEngine.Assertions; namespace Fungus { /// <summary> /// Assert on 2 Fungus...
27.314286
117
0.49477
[ "Unlicense" ]
RenVoc/MindVector
MindVector/Assets/Fungus/Scripts/Commands/AssertCommand.cs
1,914
C#
using System; using DSIS.Scheme.Impl.Actions.Files; using DSIS.SimpleRunner.Data; using DSIS.Utils; namespace DSIS.SimpleRunner.Curve { public class CurveBuilderData : BuilderData, ICloneable<CurveBuilderData>, IEquatable<CurveBuilderData> { public double eps { get; set; } public double[] Point1 ...
24.553846
106
0.586466
[ "Apache-2.0" ]
jonnyzzz/phd-project
dsis/src/SimpleRunner/src/Curve/CurveBuilderData.cs
1,596
C#
using System; using DD4T.ContentModel.Contracts.Providers; namespace DD4T.ContentModel.Factories { public interface ITaxonomyFactory { ITaxonomyProvider TaxonomyProvider { get; set; } bool TryGetKeyword(string categoryUriToLookIn, string keywordName, out IKeyword keyword); IKeyw...
32.916667
98
0.736709
[ "Apache-2.0" ]
code-monkee/dynamic-delivery-4-tridion
dotnet/DD4T.ContentModel.Contracts/Factories/ITaxonomyFactory.cs
397
C#
using Lucene.Net.Support; using NUnit.Framework; using System; using System.Reflection; using Assert = Lucene.Net.TestFramework.Assert; namespace Lucene.Net.Index { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed w...
44.305882
167
0.629846
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Tests/Index/TestNoMergePolicy.cs
3,766
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
51.909502
377
0.663529
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-databricks
sdk/dotnet/ServicePrincipal.cs
11,472
C#
using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Threading.Tasks; public class BookController : Controller { private readonly AzureStorageRepository _repository; public BookController(AzureStorageRepository repository) { _repository = repository; } public ActionResult Index(...
23.793103
60
0.566667
[ "MIT" ]
PacktPublishing/ASP.NET-MVC-Core-2.0-Cookbook
Chapter07/3-DataAccessWithMicroOrmAzureStorageTable/Controllers/BookController.cs
690
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...
42.786667
170
0.612236
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20200801/WebApplicationFirewallPolicy.cs
9,627
C#
namespace Serenity { public interface IValidateRequired { bool Required { get; set; } } }
15.714286
38
0.609091
[ "MIT" ]
davidzhang9990/SimpleProject
Serenity.Script.UI/PropertyGrid/IValidateRequired.cs
112
C#
using Terraria.ID; using Terraria.ModLoader; namespace ExampleMod.Items.Placeable { public class ExampleClock : ModItem { public override void SetStaticDefaults() { Tooltip.SetDefault("This is a modded clock."); } public override void SetDefaults() { item.width = 26; item.height = 22; item.maxStac...
24.823529
65
0.708531
[ "MIT" ]
64bitDevelopment/tModLoader64b
ExampleMod/Items/Placeable/ExampleClock.cs
844
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Markdig.SyntaxHighlighting.Tests")] [assembly: AssemblyDescription("")] [assembly: Guid("b0696b7b-33c0-49b3-b8b2-de07a7fcfbe9")]
36.5
61
0.803653
[ "Apache-2.0" ]
Jeern/Markdig.SyntaxHighlighting
src/Markdig.SyntaxHighlighting.Tests/Properties/AssemblyInfo.cs
221
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------------------------------------...
25.054545
87
0.565312
[ "Apache-2.0" ]
StanRuaW/AshFramework
client/Editor/AshFramework/Assets/Config/output_code/cost/CostOneItem.cs
1,378
C#
using HackerConsole.Scripting; class ExampleScript : ICommandScript { IConsole console; public void Load(object[] args) { this.console = (IConsole) args[0]; } public void RunScript(string[] args) { console.WriteLine("Length of args: {0}", args.Length); } public string GetCommandName() { return "example"...
18.166667
56
0.700306
[ "MIT" ]
LasseSkogland/HackerConsole
HackerConsole/scripts/example.cs
327
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace TownMapDisplay { enum ProgramMode { None, GUI, png } static class Program { static void PrintUsage() { Console.WriteLine("FontDisplay"); ...
33.942675
98
0.387127
[ "MIT" ]
AdmiralCurtiss/ToVPatcher
Scripts/tools/FontDisplay/TownMapDisplay/Program.cs
5,331
C#
using System; using NetOffice; namespace NetOffice.ExcelApi.Enums { /// <summary> /// SupportByVersion Excel 14, 15 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff839271.aspx </remarks> [SupportByVersionAttribute("Excel", 14,15)] [EntityT...
27.441176
120
0.639871
[ "MIT" ]
NetOffice/NetOffice
Source/Excel/Enums/XlCellChangedState.cs
933
C#
using System; using Rebus.Extensions; namespace Rebus.Topic; /// <summary> /// Default convention to name topics after their "short assembly-qualified type names", which is /// an assembly- and namespace-qualified type name without assembly version and public key token info. /// </summary> public class DefaultTopicN...
35.85
106
0.735007
[ "MIT" ]
bog1978/Rebus
Rebus/Topic/DefaultTopicNameConvention.cs
719
C#
using System; using System.Linq; using GDT.Generation; using GDT.Model; namespace GDT.Tests.PipelineTests.Steps { public class AreaTileConnectorStep : IPipelineStep { public string Name { get; } = "AreaTileConnectorStep"; private readonly string _parentLayerName; private readonly stri...
37.581818
159
0.657475
[ "MIT" ]
game-graphs/game-graph-library
GDT.Test/source/Tests/PipelineTests/Steps/AreaTileConnectorStep.cs
2,069
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Script.Config; namespa...
35.837838
112
0.751885
[ "MIT" ]
Armandd123/azure-functions-host
src/WebJobs.Script/Description/Node/Compilation/TypeScript/TypeScriptCompilationService.cs
1,328
C#
using OpenTK.Graphics.OpenGL; using System; namespace Template_P3 { public class ScreenQuad { // data members int vbo_idx = 0, vbo_vert = 0; float[] vertices = { -1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, -1, 0, 1, 0, -1, -1, 0, 0, 0 }; int[] indices = { 0, 1, 2, 3 }; // const...
37.41791
111
0.601117
[ "Unlicense" ]
Doycie/GraphicsPracticum3
quad.cs
2,509
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.Management.UI.Internal { /// <summary> /// The CustomTypeComparer is responsible for holding custom comparers /// fo...
34.413333
131
0.600542
[ "MIT" ]
3v1lW1th1n/PowerShell-1
src/Microsoft.Management.UI.Internal/ManagementList/Common/CustomTypeComparer.cs
2,581
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class OnlineGameSpawner : NetworkBehaviour { public GameObject ballPrefab; public GameObject leftWallPrefab; public GameObject rightWallPrefab; public override void OnStartServer() ...
34.826087
123
0.735331
[ "MIT" ]
Firenz/pong-multiplayer
Assets/Scripts/OnlineGame/OnlineGameSpawner.cs
803
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace TemplatesShared { public interface IPromptInvoker { Prompt GetPromptResult(Prompt prompt); List<Prompt> GetPromptResult(List<Prompt> prompts); } public class PromptInvoker : IPromptInvoker { private...
39.787234
117
0.490775
[ "Apache-2.0" ]
sayedihashimi/dotnet-new-web
src/TemplatesShared/Console/PromptInvoker.cs
7,482
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Bindings; using Microsoft.Azur...
37.208333
152
0.677212
[ "MIT" ]
zhencui/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Extensions.Storage/StorageExtensions.cs
3,574
C#
using Surging.Core.CPlatform.Runtime.Session; using Surging.Core.Domain.Entities; using Surging.Core.Domain.Entities.Auditing; using System; namespace Surging.Core.Dapper.Filters.Action { public class ModificationAuditDapperActionFilter<TEntity, TPrimaryKey> : DapperActionFilterBase, IAuditActionFilter<TEntity, T...
34.296296
185
0.649028
[ "MIT" ]
DotNetExample/Surging.Sample
src/Core/Surging.Core.Dapper/Filters/Action/ModificationAuditDapperActionFilter.cs
928
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace AudioSessionMonitorExample { static class Program { /// <summary> /// Punto di ingresso principale dell'applicazione. /// </summary> [STAThread...
23.086957
65
0.629002
[ "Apache-2.0" ]
MAVREE/AudioSessionMonitorExample
Program.cs
533
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Windows.Forms; namespace net.elfmission.WindowsApps.Controls { /// <summary> /// サムネイルビューコントロールを表します...
23.640662
123
0.66375
[ "Apache-2.0" ]
YouseiSakusen/elfApp
net.elf-mission/WindowsApps/elfThumbNailLib/elfThumbNailView.cs
23,517
C#
using System.Collections.Generic; using System.Linq; using Marten.Testing.Documents; using Marten.Util; using Shouldly; using Xunit; namespace Marten.Testing.Schema { public class table_regeneration_with_new_searchable_fields_Tests { [Fact] public void do_not_lose_data_if_only_change_is_search...
33.93578
110
0.469316
[ "MIT" ]
Crown0815/marten
src/Marten.Testing/Schema/table_regeneration_with_new_searchable_fields_Tests.cs
3,701
C#
version https://git-lfs.github.com/spec/v1 oid sha256:8c7f777ffd88075a93545cd125fb7134067bae29cd467f886b4ad46971bc452c size 1969
32.25
75
0.883721
[ "MIT" ]
alex-lushiku/machine-learning-car
PWS/Assets/Standard Assets/Utility/CurveControlledBob.cs
129
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using System.Collections; using System.Diagnostics.CodeAnalysis; namespace System.ComponentModel { /// <summary> /// Represents a collection of attr...
33.065934
129
0.470505
[ "MIT" ]
ANISSARIZKY/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/AttributeCollection.cs
12,036
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Polygon.Data { /// <summary> /// Encapsulates historical quote information from Polygon REST API. /// </summary> [SuppressMessage("ReSharper", "UnusedMemberInSuper.Global")] // ReSharper disable once P...
29.85
107
0.690117
[ "Apache-2.0" ]
cmoski/Polygon.Data
Interfaces/IHistoricalQuote.cs
599
C#
using AcademyResidentInformationApi.V1.Boundary.Requests; using AcademyResidentInformationApi.V1.Boundary.Responses; namespace AcademyResidentInformationApi.V1.UseCase.Interfaces { public interface IGetAllTaxPayersUseCase { TaxPayerInformationList Execute(QueryParameters qp); } }
27.454545
61
0.817881
[ "MIT" ]
LBHackney-IT/academy-resident-information-api
AcademyResidentInformationApi/V1/UseCase/Interfaces/IGetAllTaxPayersUseCase.cs
302
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
48.194175
350
0.62228
[ "MIT" ]
Joey35233/FoxKit-3
FoxKit/Assets/FoxKit/Fox/Generated/Tpp/GameCore/TppSoldier2Parameter.generated.cs
4,964
C#
/****************************************************************************** * The MIT/X11/Expat License * Copyright (c) 2010 Manish Sinha<mail@manishsinha.net> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
51.927536
193
0.694948
[ "MIT" ]
freedesktop-unofficial-mirror/zeitgeist__zeitgeist-sharp
Zeitgeist/Client/ILog.cs
10,771
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
38.774725
155
0.740116
[ "MIT" ]
DeStiCap/Dim-Mind
Global Game Jam 2020/Assets/MainAsset/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs
14,114
C#
using System; using System.Net; using System.Threading; using EventStore.Common.Utils; using EventStore.Core.Data; using EventStore.Core.Messaging; namespace EventStore.Core.Messages { public static class SystemMessage { public class SystemInit : Message { private static readonly i...
35.834559
140
0.609213
[ "Apache-2.0" ]
betgenius/EventStore
src/EventStore.Core/Messages/SystemMessage.cs
9,749
C#
// <auto-generated /> namespace com.marcoelaura.shop.api.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed pa...
27.233333
90
0.616891
[ "MIT" ]
mcampulla/shop
com.marcoelaura.shop.api/com.marcoelaura.shop.api/Migrations/201803302127494_Initial.Designer.cs
817
C#
using System; namespace Abstractions.DateAndTime.Services { public interface IDateTimeService { DateTime Now(); DateTime Today(); DateTime UtcNow(); } }
14.769231
43
0.625
[ "MIT" ]
MJB222398/Abstractions.DateAndTime
Abstractions.DateAndTime/DateTimeService/IDateTimeService.cs
194
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
39.045455
288
0.639697
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/RecoveryServices.Backup/Management.RecoveryServices.Backup/Generated/Models/AzureIaaSVMProtectionPolicy.cs
3,436
C#
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Shouldly; using Unity.Coding.Editor; using Unity.Coding.Utils; namespace Aoc2019 { class Day0xTests : AocFixture { [Test, Parallelizable(ParallelScope.Children)] public void TestDay([Range(1, 25)] int day) ...
34.4
134
0.580669
[ "Unlicense" ]
scottbilas/advent-of-code
2019/aoc/LinqpadDayTests.cs
1,376
C#
namespace YukariToolBox.LightLog; /// <summary> /// 控制台日志等级 /// </summary> public enum LogLevel { /// <summary> /// Verbos /// </summary> Verbose, /// <summary> /// Debug /// </summary> Debug, /// <summary> /// Info /// </summary> Info, /// <summary> /// Warni...
12.918919
33
0.449791
[ "Apache-2.0" ]
DeepOceanSoft/YukariToolBox
YukariToolBox.LightLog/LogLevel.cs
492
C#
using eilang.Interpreting; namespace eilang.OperationCodes { public class ScopeNew : IOperationCode { public void Execute(State state) { state.Scopes.Push(new Scope(state.Scopes.Peek())); state.TemporaryVariables.Push(new LoneScope()); } } }
23.307692
62
0.623762
[ "MIT" ]
Szune/eilang
eilang/OperationCodes/ScopeNew.cs
305
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Top.Api.Domain { /// <summary> /// Department Data Structure. /// </summary> [Serializable] public class Department : TopObject { /// <summary> /// 部门ID /// </summary> [XmlE...
22.846154
50
0.530864
[ "MIT" ]
objectyan/MyTools
OY.Solution/OY.TopSdk/Domain/Department.cs
941
C#