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.Text; using System.Threading.Tasks; using HtmlAgilityPack; using CDBUpdater.Helpers; namespace CDBUpdater.CardSearch.YugiohDB { partial class Set { public static string[] Effect(ref HtmlDocument cardPage) ...
35.068182
144
0.581983
[ "MIT" ]
jonas-git/yugioh-projects
CDBUpdater/CDBUpdater/CardSearch/YugiohDB/Set/Effect.cs
1,545
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
49.15
157
0.653739
[ "Apache-2.0" ]
LaudateCorpus1/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.Snippets/RegionInstancesClientSnippets.g.cs
7,864
C#
using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Data; using System.Data.SqlTypes; using System.Globalization; using System.Linq; using System.Net; using System.Numerics; using System.Reflect...
1,010.781116
160,199
0.959773
[ "MIT" ]
cydhaselton/cfx-android
src/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs
706,536
C#
using Cinema.Data.Models; using Cinema.Data.Models.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cinema.Presenters.Contracts { public interface IGetFilmScreeningsPresenter { IQueryable<FilmScreening> GetAllFutur...
24.333333
74
0.760274
[ "MIT" ]
Cinematrix/Cinematrix
Cinema/Cinema.Presenters/Contracts/IGetFilmScreeningsPresenter.cs
586
C#
using System; namespace Core.Models { public class Link { public Link(string title, Uri url) { Title = title; Url = url; } public Link(string title, string url) : this(title, new Uri(url)) { } public string Title { ge...
17.809524
45
0.473262
[ "MIT" ]
IhorLeontiev/devdigest.today
src/Core/Models/Link.cs
374
C#
using System; using System.Runtime.InteropServices; namespace MemoryDump { public class NativeMethods { [DllImport("kernel32.dll")] internal static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, IntPtr nSize, ref IntPtr lpNumberOfBytesRead); } }
26.25
156
0.736508
[ "Apache-2.0" ]
toydev/ExampleCSharp
Process/MemoryDump/NativeMethods.cs
317
C#
using System.Runtime.InteropServices; namespace DotNext.Text { /// <summary> /// Represents base64 decoder suitable for streaming. /// </summary> /// <remarks> /// This type maintains internal state for correct decoding of streaming data. /// Therefore, it must be passed by reference t...
39.967742
108
0.650525
[ "MIT" ]
NanoFabricFX/dotNext
src/DotNext/Text/Base64Decoder.cs
1,239
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.Collections.Generic; using System.Linq; using System.Text; namespace Microsoft.Extensions.Configuratio...
34.207792
125
0.501519
[ "MIT" ]
06needhamt/runtime
src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/ConfigurationRootExtensions.cs
2,634
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...
49.620968
187
0.694295
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/WorkMail/Generated/Model/DirectoryServiceAuthenticationFailedException.cs
6,153
C#
using System; using System.Collections.Generic; namespace Public.Common.Lib { public class SetDifference<T> { public const string DefaultSet1Name = @"Set1"; public const string DefaultSet2Name = @"Set2"; #region Static public static SetDifference<T> Calculate(...
27.013514
146
0.538769
[ "MIT" ]
MinexAutomation/Public
Source/Common/Libraries/Lib/Lib/Code/Utilities/Set Difference/SetDifference.cs
2,001
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3RunewordManager : CObject { [Ordin...
32.2
129
0.730435
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/W3RunewordManager.cs
805
C#
using System.Threading.Tasks; namespace GameEstate { public class EstateTest { public Task TestAsync() => Task.CompletedTask; } }
17.2
35
0.587209
[ "MIT" ]
bclnet/GameEstate
src/GameEstate/EstateTest.cs
174
C#
namespace Glav.CognitiveServices.FluentApi.Face.Domain.ApiResponses { public class MakeupResponseItem { public bool eyeMakeup { get; set; } public bool lipMakeup { get; set; } } }
21.9
69
0.639269
[ "MIT" ]
glav/CognitiveServicesFluentApi
Glav.CognitiveServices.FluentApi.Face/Domain/ApiResponses/MakeupResponseItem.cs
221
C#
using System; namespace OhadSoft.AzureLetsEncrypt.Renewal.Util { // https://stackoverflow.com/a/444818/67824 public static class StringExtensions { public static bool Contains(this string source, string substring, StringComparison stringComparison) { if (source == null) throw n...
32
108
0.683036
[ "Apache-2.0" ]
2sky/letsencrypt-webapp-renewer
src/OhadSoft.AzureLetsEncrypt.Renewal/Util/StringExtensions.cs
450
C#
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Dev.Demo.Repository")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Dev.Demo...
24.794872
57
0.679421
[ "MIT" ]
zbw911/DevLib.Mvc
Framework2/Progames/Dev.Demo.Repository/Properties/AssemblyInfo.cs
1,326
C#
using System.Web.Http; namespace TwilioEmulator.API.Infrastructure { public class BaseController : ApiController { } }
13.7
47
0.70073
[ "MIT" ]
codeyu/twilio-emulator
src/TwilioEmulator/API/Infrastructure/BaseController.cs
139
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; using Moq; using gybitg.Controllers; using gybitg.Models; using Microsoft.AspNetCore.Identity; using gybitg.Data; using gybitg.Models.Repositories; using System.Linq; using gybitg.Models.SearchViewModels; using Microsoft.AspNetCore.Mvc; n...
18
37
0.770202
[ "MIT" ]
Cascadia-Connections/gybitg
gybitg.Tests/SearchTests.cs
398
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. // // Generated on 2020 October 09 06:00:47 UTC // </auto-generated> //--------------...
31.808824
107
0.5816
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64_TimespecStruct.cs
2,163
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RespondentsRepository.cs" company="Peaceful Dev"> // Copyrights by Peaceful Dev 2017 // </copyright> // <summary> // Defines the RespondentsRepository type. // </summary> // -...
34.47619
120
0.51174
[ "MIT" ]
isukhetskyi/DevelopersSurvey
DevelopersSurvey.DA/Repositories/RespondentsRepository.cs
4,346
C#
using System; using System.Threading.Tasks; using Xamarin.Forms; namespace Renderers { public enum CameraType { Front, Rear } public class MyAwesomeView : View { public static readonly BindableProperty TorchOnProperty = BindableProperty.Create("TorchOn", typeof(bool), typeof(MyAwesomeView), false); pu...
19.5
161
0.724828
[ "MIT" ]
AlejandroRuiz/DevNightsCustomRenderers
Renderers/Renderers/Controls/MyAwesomeView.cs
1,601
C#
using System; using System.Collections.Generic; using System.Linq; using CitizenFX.Core; using CitizenFX.Core.Native; using HyperAdmin.Shared; using Newtonsoft.Json; namespace HyperAdmin.Server { internal class PlayerController : ServerAccessor { public PlayerController( Server server ) : base( server ) { serv...
35.65896
148
0.655374
[ "MIT" ]
MoosheTV/HyperAdmin
HyperAdmin.Server/PlayerController.cs
6,171
C#
// ********************************************************************************** // Copyright (c) 2015-2021, Dmitry Merzlyakov. All rights reserved. // Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer. // // This file is part of NLedger th...
33.57732
122
0.53669
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
VagyokC4/nledger
Source/NLedger/Utility/BigValues/BigValueExtensions.cs
3,259
C#
using System.ComponentModel.DataAnnotations; using MediatR; using Toss.Shared.Account; namespace Toss.Shared.Account { public class ConfirmEmailCommand : IRequest<CommandResult> { [Required] public string UserId { get; set; } [Required] public string Code { get; set; } } }
24.307692
64
0.674051
[ "MIT" ]
RemiBou/Toss.Blazor
Toss.Shared/Account/ConfirmEmailCommand.cs
318
C#
using Newtonsoft.Json; namespace StarlingBank.Models { public class SpendingCountryBreakdown { /// <summary> /// The country code for this spending insights entry (ISO 3166-1 alpha-2) /// </summary> [JsonProperty("countryCode", ItemConverterType = typeof(StringValuedEnumConverte...
33.946429
137
0.598106
[ "MIT" ]
Netizine/StarlingBankClient
StarlingBank/Models/SpendingCountryBreakdown.cs
1,901
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...
27.153846
88
0.675637
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Sql/V20200801Preview/Inputs/ManagedInstancePrivateEndpointPropertyArgs.cs
706
C#
using System; namespace SisoDb { public interface IMigrationInfo { Type From { get; } Type To { get; } } }
14.4
36
0.520833
[ "MIT" ]
eric-swann-q2/SisoDb-Provider
Source/Projects/SisoDb/IMigrationInfo.cs
144
C#
using Decembrist.Di; using Godot; namespace Decembrist.Example { public class TestParent : Node2D { [ChildNode] private ITest _diTest; [ChildNode] private ITest _eventBusMessageTest; [ChildNode] private ITest _eventBusEventTest; [ChildNode] private ITest _childNodeTest; ...
44.130435
86
0.463547
[ "MIT" ]
decembrist-revolt/godot-decembrist-plugin
Example/TestParent.cs
2,030
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> //----------------------------------------...
27.25
81
0.399083
[ "MIT" ]
DCDCWaterSim/WaterSim-AmericaUI
WaterSimUI/wwwroot/Charts.aspx.designer.cs
438
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Network { /// <summary> /// Returns all browser cookies for the current URL. Depending on the backend support, will return /// detailed cookie information in th...
31.043478
99
0.754902
[ "MIT" ]
rollrat/custom-crawler
ChromeDevTools/Protocol/Chrome/Network/GetCookiesCommand.cs
714
C#
using System; using NCallerUT.Model; using NMS.Leo.Typed; using Xunit; namespace NCallerUT { [Trait("Validation.Strategy/Rule Overwrite", "Validation")] public class ValidationOverwriteTests : Prepare { [Fact(DisplayName = "直接实例属性规则验证复写测试")] public void DirectInstanceWithValueApiValidTest(...
26.927273
78
0.469728
[ "MIT" ]
alexinea/Leo
test/NCallerUT/ValidationOverwriteTests.cs
4,557
C#
// T4 code generation is enabled for model 'D:\CODES\oktatas-whp-19201\LA-06-ff-demo\FF-demo\CarShop.Data\CarDataModel.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in the Properties Window when...
78.4
127
0.76148
[ "MIT" ]
siposm/oktatas-hft
_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CarDataModel.Designer.cs
786
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Import { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class PhotoImportDeleteImportedItemsFromSourceResult { #if __ANDRO...
39.832258
185
0.772433
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Import/PhotoImportDeleteImportedItemsFromSourceResult.cs
6,174
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnitExtractor.DataModels { public class ExportedDataTable { public class MetaDataModel { public string DataIdentifier { get; set; } public strin...
23.954545
55
0.624288
[ "MIT" ]
Jusas/WargameToolset
DeckUtilities/WRD/UnitDataExtractor/DataModels/ExportedDataTable.cs
529
C#
using System; using System.Threading; using System.Threading.Tasks; using System.IO.Ports; using SharpBrick.PoweredUp.Bluetooth; using System.Linq; using Microsoft.Extensions.Logging; using System.Collections.Concurrent; using System.Text; using BGLibExt; using System.Collections.Generic; using Microsoft.Extensions.Op...
55.142276
531
0.609952
[ "MIT" ]
romarro/powered-up
src/SharpBrick.PoweredUp.BlueGigaBLE/BlueGigaBLEPoweredUpBluetoothAdapater.cs
13,567
C#
namespace AutofacDemo.Extensions { using System.Collections.Generic; using System.Collections.ObjectModel; public static class ObservableExtension { public static ObservableCollection<T> ToObservableCollection<T>(this IEnumerable<T> source) { ObservableCollection<T> collect...
24.428571
99
0.612086
[ "MIT" ]
jorgemht/Xamarin-3.0
AutofacDemo/AutofacDemo/AutofacDemo/Extensions/ObservableExtension.cs
515
C#
namespace Exceptions_Homework { using System; public class PrimeChecker { public static void CheckPrime(int number) { for (int divisor = 2; divisor <= Math.Sqrt(number); divisor++) { if (number % divisor == 0) { th...
23.111111
74
0.459135
[ "MIT" ]
MarinMarinov/High-Quality-Code
HW08DefensiveProgrammingAndExceptions/Exceptions-Homework/PrimeChecker.cs
418
C#
using RefactoringToPatterns.State.Common; using RefactoringToPatterns.State.Common.Enum; using RefactoringToPatterns.State.Common.Exceptions.Permission; using RefactoringToPatterns.State.Common.Exceptions.Status; namespace RefactoringToPatterns.State.Step0 { public class WishListItem { private const d...
30.712121
96
0.570794
[ "MIT" ]
wojciech-dabrowski/RefactoringToPatterns
RefactoringToPatterns/RefactoringToPatterns.State/Step0/WishListItem.cs
4,056
C#
using System.Threading.Tasks; namespace AsyncConverter.Tests.Test.Data.FixReturnValueToTaskTests { public class Class { public Task Main(string[] args) { return Task.CompletedTask; } } }
18.230769
66
0.628692
[ "MIT" ]
304NotModified/AsyncConverter
AsyncConverter.Tests/Test/Data/Highlightings/Naming/Common/MainArg.cs
239
C#
#pragma checksum "C:\Users\davidw4\Documents\Visual Studio 2017\Projects\BasicMVCWebsite\BasicMVCWebsite\Views\Shared\_CookieConsentPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d4fdc3d9e6bc2a119e86fb23894c311b8c5abaf6" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNet...
61.794702
302
0.718787
[ "Apache-2.0" ]
wolakdav/davidsWeatherWebsite
BasicMVCWebsite/obj/Debug/netcoreapp2.2/Razor/Views/Shared/_CookieConsentPartial.g.cshtml.cs
9,331
C#
namespace Machete.X12Schema.V5010.Maps { using X12; using X12.Configuration; public class E5Map : X12SegmentMap<E5, X12Entity> { public E5Map() { Id = "E5"; Name = "Empty Car Disposition - Pended Destination Route"; Value(x => x....
32.142857
101
0.562963
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Segments/Maps/E5Map.cs
675
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Numerics; using System.Threading.Tasks; using Sledge.BspEditor.Environment; using Sledge.BspEditor.Grid; using Sledge.BspEditor.Pri...
36.550709
181
0.491422
[ "BSD-3-Clause" ]
LogicAndTrick/sledge
Sledge.BspEditor/Providers/VmfBspSourceProvider.cs
33,519
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CrewChiefV4 { public class TrackData { // any track over 3500 metres will use gap points public static float gapPointsThreshold = 3300f; public static float gapPointSpacing = 780f; ...
68.149123
199
0.600399
[ "MIT" ]
dallongo/CrewChiefV4
CrewChiefV4/TrackData.cs
15,544
C#
/* * Copyright 2016 Krysta M Bouzek * * 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...
35.95092
92
0.543686
[ "Apache-2.0" ]
kmbnw/multitreat
cs/src/TreatmentPlan.cs
5,860
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...
40.213115
192
0.649001
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceResponseUnmarshaller.cs
4,906
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.016556
1,358
0.569384
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/QUPC_IN110000UK04ControlActEvent.cs
12,085
C#
namespace Core.Client.UnityClient.Threading { public sealed class WaitForBackgroundThread {} }
31.666667
47
0.831579
[ "MIT" ]
KonH/GameSystem
Core.Client.UnityClient/Threading/WaitForBackgroundThread.cs
95
C#
using System; using System.Threading.Tasks; using Newtonsoft.Json; using Processing; namespace BattleBot.Tests { public class Window : ProcessingCanvas { BattleBotClient Client; BattleBotServer Server; bool Debug; Vector2 LastFirePosition; public Window(bool debug) ...
38.660377
146
0.486904
[ "MIT" ]
GuyInGrey/BattleBot
BattleBotTest/Window.cs
6,149
C#
using Prism.Ioc; using Prism.Regions; using ScheduleSim.ViewModels; using System.Windows; namespace ScheduleSim.Views { /// <summary> /// Interaction logic for Shell.xaml /// </summary> public partial class Shell : Window { private IRegionManager regionManager; private IContainerEx...
36.867925
87
0.643808
[ "MIT" ]
pondeke120/ScheduleSim
ScheduleSim/Views/Shell.xaml.cs
1,956
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...
33.73
104
0.62941
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/SensitiveDataItem.cs
3,373
C#
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // 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 retain the above copyright notice, // this list of conditi...
46.326087
114
0.760206
[ "BSD-3-Clause" ]
eleks/EventStore
src/EventStore/EventStore.Core.Tests/TransactionLog/Chunks/when_opening_tfchunk_from_non_existing_file.cs
2,131
C#
using System; using System.Collections.Generic; using DynamicEntity; namespace DynamicDao { /// <summary> /// Duty数据库操作类 /// </summary> public class DutyDao { /// <summary> /// 添加一条[Duty]数据 /// </summary> /// <param name="entity">[Duty]新实例</param> /// <return...
33.662338
102
0.547068
[ "Unlicense" ]
xzssws/Code-Generate
DynamicFramework/Basic/DynamicFramework_Integration/StaticDaoTemplate/Real/auto/DutyDao.cs
2,828
C#
using AirTableProxy.WebAPI.Models; using AirTableProxy.WebAPI.Services; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AirTableProxy.WebAPI.Tests { public class AirTableServiceFake : IAirTableService { #region Fields public static readonly List<Response...
31.264706
96
0.510818
[ "MIT" ]
HZiyani/AirTableProxy
Tests/AirTableProxy.WebAPI.Tests/AirTableServiceFake.cs
2,128
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...
73.120879
597
0.699053
[ "MIT" ]
AlanFlorance/azure-powershell
src/Kusto/generated/api/Models/Api20220201/SkuDescription.PowerShell.cs
13,127
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.Collections.ObjectModel; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azu...
40.516129
191
0.626194
[ "MIT" ]
joshgav/azure-functions-host
test/WebJobs.Script.Tests.Integration/ScriptHostEndToEnd/LanguageWorkerSelectionEndToEndTests.cs
2,514
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Foundation; using ObjCRuntime; namespace dotnet_helper { public class ObjcHelper { public static void NSLog(string format, params object[] args) { NSString s = new NSString(string.Format(for...
28.536585
76
0.515385
[ "MIT" ]
wnxd/dotnet_inject
dotnet_inject/csharp/dotnet_helper/ObjcHelper.cs
1,172
C#
namespace Zu.ChromeDevTools.CSS { using Newtonsoft.Json; /// <summary> /// Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded /// web font /// </summary> public sealed class FontsUpdatedEvent : IEvent { /// <summary> /// The...
25.857143
105
0.572744
[ "Apache-2.0" ]
DoctorDump/AsyncChromeDriver
ChromeDevToolsClient/CSS/FontsUpdatedEvent.cs
543
C#
using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Demo.Controllers { using Microsoft.Owin.Security; using Microsoft.Owin.Security.OpenIdConnect; public class AccountController : Controller { // GET: Account [HttpGet] public ...
30.909091
178
0.635294
[ "MIT" ]
AndyMason75/Veracity.Authentication.OpenIDConnect.AspNet
Sample/Demo/Demo/Controllers/AccountController.cs
1,022
C#
/* * WebAPI * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: data * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collec...
43.511475
514
0.57215
[ "BSD-3-Clause" ]
Artusoft/ARXivarNEXT.Client
src/ARXivarNEXT.Client/Model/AuthenticationTokenImplicitRequestDTO.cs
13,271
C#
/* * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * 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 ...
40.538559
159
0.592091
[ "Apache-2.0", "MIT" ]
n-chaprana/TizenFX
src/Tizen.NUI/src/public/Vector3.cs
32,066
C#
/************************************************* Copyright (c) 2021 Undersoft System.Assemblies.cs @project: Undersoft.Vegas.Sdk @stage: Development @author: Dariusz Hanc @date: (28.05.2021) @licence MIT *************************************************/ namespace System { using Syst...
34.873333
182
0.487861
[ "MIT" ]
undersoft-org/NET.Undersoft.Sdk.Devel
NET.Undersoft.Vegas.Sdk/Undersoft.System/Assembly/Assemblies.cs
5,233
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Cbr.V1.Model { /// <summary> /// 恢复请求body /// </summary> public class ...
25.802632
79
0.500765
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Cbr/V1/Model/BackupRestoreReq.cs
1,969
C#
// Copyright(c) Microsoft Corporation // 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 // // THIS CODE IS PROVIDED ON AN ...
42.589744
153
0.529801
[ "Apache-2.0" ]
6paklata/python-language-server
src/Core/Impl/Extensions/IOExtensions.cs
6,646
C#
using System; using System.Collections.Generic; using CSharpScriptSerialization; using UnicornHack.Systems.Effects; namespace UnicornHack.Generation.Effects { public abstract class DamageEffect : Effect { private Func<GameEntity, GameEntity, float> _damageFunction; public string Damage { get;...
32.046512
115
0.637881
[ "Apache-2.0" ]
AndriySvyryd/UnicornHack
src/UnicornHack.Core/Generation/Effects/DamageEffect.cs
1,380
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.ClassLib; namespace Mosa.FileSystem.FAT.Find { /// <summary> /// /// </summary> public class ByCluster : FatFileSystem.ICompare { /// <summary> /// /// </summary> protected uint cluster; /// <summary> /// Initializes a new...
22.385965
79
0.648903
[ "BSD-3-Clause" ]
Kintaro/MOSA-Project
Source/Mosa.FileSystem/FAT/Find/ByCluster.cs
1,276
C#
#if !NETSTANDARD13 /* * 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 ...
32.475
102
0.663587
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleNotificationService/Generated/Model/_bcl45+netstandard/IListTopicsPaginator.cs
1,299
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Application { interface IHuman { } }
12.25
33
0.714286
[ "MIT" ]
Bartlett-RC3/skilling-module-1-Aathiana
Interface1.cs
149
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Wasapi; using System.Text; namespace RecPcmWin { public partial clas...
39.977244
160
0.552558
[ "MIT" ]
yamamoto2002/bitspersampleconv2
RecPcmWin/MainWindow.xaml.cs
32,170
C#
using MediatR; namespace ES.SFTP.Messages.Events; public class ConfigurationChanged : INotification { }
16
50
0.758929
[ "MIT" ]
EmberStack/ES.Docker.SFTP
src/ES.SFTP/Messages/Events/ConfigurationChanged.cs
114
C#
using ExtendedXmlSerializer.ContentModel.Format; using ExtendedXmlSerializer.Core.Sources; namespace ExtendedXmlSerializer.ExtensionModel { sealed class AssociatedReaders : ReferenceCache<IFormatReader, IFormatReader>, IAlteration<IFormatReader> { public static AssociatedReaders Default { get; } = new Asso...
32.166667
107
0.774611
[ "MIT" ]
ExtendedXmlSerializer/NextRelease
src/ExtendedXmlSerializer/ExtensionModel/AssociatedReaders.cs
388
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...
53.565165
257
0.662914
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/Route53/Generated/_mobile/AmazonRoute53Client.cs
223,586
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using HandlebarsDotNet; using Microsoft.DotNet.SwaggerGenerator.Languages; using Microsoft.DotNet.SwaggerGenerator.Modeler; namespace Microsoft.DotNet.SwaggerGenerator...
31.737864
116
0.616091
[ "MIT" ]
NikolaMilosavljevic/arcade
src/Microsoft.DotNet.SwaggerGenerator/Microsoft.DotNet.SwaggerGenerator.CodeGenerator/ServiceClientCodeFactory.cs
3,269
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("Fib...
37.891892
84
0.749643
[ "MIT" ]
MomchilSt/SoftUni
02-Programming-Fundamentals/Exercises/06. Methods. Debugging and Troubleshooting-Exercises/Fibonacci Numbers/Properties/AssemblyInfo.cs
1,405
C#
namespace FileWatcher.Configuration { public interface IConfig { string SourceFolder { get; set; } string DestFolder { get; set; } ErrorMode Mode { get; set; } FileExistMode FileExist { get; set; } int WaitSecs { get; set; } int RetrySec { get; set; } ...
20.5
45
0.573171
[ "MIT" ]
sherbacov/FileWatcher
src/FileWatcher/Configuration/IConfig.cs
410
C#
using System; using Godot; using therorogame.data; namespace therorogame.scripts { public class Events : Node { [Signal] public delegate void CharacterChange(BaseCharacter newCharacter); [Signal] public delegate void DirectionChange(int x, int y); [Signal] publ...
21.686275
73
0.617541
[ "MIT" ]
the-roro-game/the-roro-game
game/scripts/Events.cs
1,106
C#
using System; using System.Collections.Generic; using System.Text; namespace StacksAndQueues.Classes { public class Node { public int Value{ get; set; } public Node Next { get; set; } public Node(int value) { Value = value; } } }
15.684211
38
0.567114
[ "MIT" ]
rynnnaa/data-structures-and-algorithms
data_structures/StacksAndQueues/StacksAndQueues/Classes/Node.cs
300
C#
using System.Resources; 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. [asse...
39.9
181
0.751253
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.450
Source/Krypton Toolkit Suite Extended/Componentisation/NaviSuite/Properties/AssemblyInfo.cs
1,599
C#
using P3D.Legacy.Common.Data; using P3D.Legacy.Server.Abstractions; using P3D.Legacy.Server.Application.Commands.World; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace P3D.Legacy.Server.GameCommands.CommandManagers...
38.166667
118
0.630459
[ "MIT" ]
P3D-Legacy/P3D-Legacy-Server
src/P3D.Legacy.Server.GameCommands/CommandManagers/World/SetWeatherCommandManager.cs
1,834
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO; using Sportradar.OddsFeed.SDK.Messages.Internal.REST; namespace Sportradar.OddsFeed.SDK.Entities.REST.Internal.Mapping { /// <summary> /// Class VariantDescriptionsMa...
41.48
133
0.714561
[ "Apache-2.0" ]
Furti87/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/Mapping/VariantDescriptionsMapperFactory.cs
1,039
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 * ...
29.931818
81
0.661352
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dcdb/V20180411/Models/DescribeAccountsRequest.cs
1,331
C#
using System; using System.Collections.Generic; namespace NarrativePlanning { [Serializable] public class EffectTuple { public String effect; public List<ObservabilityRule> observabilityrules { get; set; } public EffectTuple(String effect, List<ObservabilityRule> observabilityrules) ...
17.833333
79
0.691589
[ "MIT" ]
Zulunko/HeadSpace
NarrativePlanning/NarrativePlanning/EffectTuple.cs
644
C#
#if !COREFX /* License: http://www.apache.org/licenses/LICENSE-2.0 Home page: http://code.google.com/p/dapper-dot-net/ Note: to build on C# 3.0 + .NET 3.5, include the CSHARP30 compiler symbol (and yes, I know the difference between language and runtime versions; this is a compromise). */ /* NOTE: Thi...
44.201453
396
0.508366
[ "MIT" ]
CitysoftInfotech/Serenity
Serenity.Data/SqlHelpers/Dapper.cs
158,199
C#
using System; namespace Matrix { class Program { static void Main(string[] args) { /*var n = int.Parse(Console.ReadLine()); var num = -1; for (int row = 1; row <= n; row++) { for (int col = 1; col <= n; col++) { num = row + col - 1; if (num > n) num = 2 * n - num; Console.Writ...
16
43
0.481771
[ "MIT" ]
AscenKeeprov/Programming-Basics
Exercise7-AdvancedLoops/Matrix/Program.cs
386
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Reflection; namespace LibraryApi.Extensions { public static class ObjectExtensions { public static ExpandoObject ShapeData<TSource>(this TSource source, string fields) { if (source == null)...
36.263889
118
0.562237
[ "MIT" ]
congdinh2008/LibraryWebApi
Library/LibraryApi/Extensions/ObjectExtensions.cs
2,613
C#
using Autofac; using System.Linq; using System.Reflection; using Team8Project.Common.Providers; using Team8Project.Contracts; namespace Team8Project.Core.Advanced { public class TerrainManager : ITerrainManager { private ITerrain terrain; private readonly IComponentContext context; pu...
31.326923
125
0.603438
[ "MIT" ]
ateber91/GameBasics
Team8Project/Team8Project/Core/Advanced/TerrainManager.cs
1,631
C#
using System; using System.Collections.Generic; using System.Text; namespace ArdalisRating { public class FloodPolicyRater : Rater { public FloodPolicyRater(IRatingUpdater ratingUpdater) : base(ratingUpdater) { } public override void Rate(Policy policy) { ...
29.84
98
0.507373
[ "MIT" ]
ignaskar/SolidSample
ArdalisRating/FloodPolicyRater.cs
1,494
C#
using System; namespace Onnx.Formatting { public record ColumnSpec(string Name, Align Align); public record ColumnSpec<T>(string Name, Align Align, Func<T, string> Get) : ColumnSpec(Name, Align); } // https://stackoverflow.com/questions/64749385/predefined-type-system-runtime-compilerservices-isexternalinit-...
28.333333
125
0.771765
[ "MIT" ]
Synchronicity89/OnnxSharp
src/OnnxSharp/Formatting/ColumnSpec.cs
427
C#
/******************************************************* * * 作者:胡庆访 * 创建时间:20120424 * 说明:此文件只包含一个类,具体内容见类型注释。 * 运行环境:.NET 4.0 * 版本号:1.0.0 * * 历史记录: * 创建文件 胡庆访 20120424 * *******************************************************/ using System; using System.Collections; using System.Collections.Generic; usin...
30.591837
109
0.439849
[ "MIT" ]
zgynhqf/trunk
Rafy/Rafy/Domain/ORM/Rdb/Sql/SqlServer/SqlTable.cs
4,691
C#
namespace InvoiceGenerator.Backend.Cqrs.Handlers.Commands.Batches; using MediatR; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Shared.Dto.Models; [ExcludeFromCodeCoverage] public class OrderInvoiceBatchCommand : IRequest<OrderInvoiceBatchCommandResult> { public Guid...
27.473684
83
0.785441
[ "MIT" ]
TomaszKandula/InvoiceGenerator
InvoiceGenerator.Backend/InvoiceGenerator.Backend.Cqrs/Handlers/Commands/Batches/OrderInvoiceBatchCommand.cs
522
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Model.SysFunction { public class LogDetail_lgd_Info { public LogDetail_lgd_Info() { this.lgd_iID = 0; this.lgd_cIpAddr = ""; this.lgd_cSysName = ""; t...
31.151515
58
0.587549
[ "BSD-3-Clause" ]
sndnvaps/OneCard_
Model/SysFunction/LogDetail_lgd_Info.cs
1,030
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> //--...
45.578947
158
0.620092
[ "MIT" ]
KAr0ra/EPOS
EPOS/EPOS/Properties/Settings.Designer.cs
1,734
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; using System.Threading; using Stride.Core.Annotat...
49.846995
215
0.644157
[ "MIT" ]
Aggror/Stride
sources/presentation/Stride.Core.Presentation.Quantum/Presenters/NodePresenterFactory.cs
9,122
C#
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PermissionAccessControl2.Models { public class ApplicationUser : IdentityUser<long> { } }
19.076923
53
0.778226
[ "MIT" ]
zhangke4300/PermissionAccessControl2
PermissionAccessControl2/Models/ApplicationUser.cs
250
C#
using System.Text.RegularExpressions; using Alba.Assertions; namespace Alba { public class HeaderExpectations { private readonly Scenario _parent; private readonly string _headerKey; public HeaderExpectations(Scenario parent, string headerKey) { _parent = parent; ...
32.649351
90
0.597454
[ "Apache-2.0" ]
Hawxy/alba
src/Alba/HeaderExpectations.cs
2,514
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace src { public class Program { public static void Main(string[] args) { va...
23.96
65
0.562604
[ "Apache-2.0" ]
azazi-sa/hw-dotnetcore
src/Program.cs
601
C#
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package ssa -- go2cs converted at 2020 October 09 06:03:22 UTC // import "golang.org/x/tools/go/ssa" ==> using ssa = go.golang.org.x.tools.go.ssa_package // ...
33.998288
159
0.389146
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/lift.cs
39,731
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.IO; using System.Linq; namespace TestWrapper { class MSTestRunner : ITestRunner { private string executable; private string[] arguments; public MSTestRunner(string executable, str...
31.050505
126
0.490241
[ "Apache-2.0" ]
brainmurphy/aws-sdk-net
buildtools/TestWrapper/TestRunners/TestRunners/MSTestRunner.cs
3,076
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxvahd.h(472,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DXVAHD_STREAM_DATA { public bool Enable; public uint OutputIndex;...
27.9
83
0.668459
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/_DXVAHD_STREAM_DATA.cs
560
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace UIAssistant.Utility { public static class Utility { } public sealed class TimeMeasurement : IDisposable { private System.Diagnostics.Stopwat...
24.774194
130
0.65625
[ "MIT" ]
u338steven/UIAssistant
UIAssistant.Utility/Utility.cs
770
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using LearnLanguages.Business; using Microsoft.Silverlight.Testing; using LearnLanguages.DataAccess.Exceptions; using LearnLanguages.DataAccess; using System.Linq; namespace LearnLanguages.Silverlight.Tests { //THE SEEDDATA INSTANCE IS NOT UPDATED ON...
33.857143
159
0.545654
[ "BSD-2-Clause" ]
EstherLacan/LearnLanguages
LearnLanguages.Silverlight.Tests/LanguageTests.cs
11,852
C#
using System.Reflection; 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("07. Max Sequence of Increasing Elements")]...
40.171429
84
0.746088
[ "MIT" ]
thelad43/Programming-Fundamentals-SoftUni
10. Arrays - Exercises/07. Max Sequence of Increasing Elements/Properties/AssemblyInfo.cs
1,409
C#