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
// <copyright file="AssertedTableFormLine.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet 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.apach...
42.701754
136
0.712818
[ "Apache-2.0" ]
48x16/BELLATRIX
src/Bellatrix.CognitiveServices/services/AssertedTableFormLine.cs
2,436
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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
34.392157
145
0.68073
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/IDOMTextEventTests.cs
1,756
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
34.813953
161
0.592518
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/HTTP/Server/HTTP_Server.cs
2,994
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Xunit; namespace Microsoft.Framework.FileSystemGlobbing.Tests.TestUtility { internal class FileSystemGlobbingTestContext ...
30.388235
111
0.606659
[ "Apache-2.0" ]
mj1856/FileSystem
test/Microsoft.Framework.FileSystemGlobbing.Tests/TestUtility/FileSystemGlobbingTestContext.cs
2,583
C#
namespace Hotel_Yavin { partial class Restaurar_copia_de_seguridad { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
48.614679
136
0.639932
[ "MIT" ]
AAGODOY/hotel_yavin
src/Hotel Yavin/Restaurar copia de seguridad.Designer.cs
5,301
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using UIBuildIt.Models; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Globalization; using UIBuildIt.Common.Us...
33.914286
103
0.611205
[ "Apache-2.0" ]
ShyAlon/DeepDev
WebService/Controllers/API/Tasks/MethodController.cs
2,376
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PolinomTask; namespace ConsoleApp24 { class Program { static void Main(string[] args) { var test = new Polinom("test.txt"); } ...
18.388889
48
0.58006
[ "MIT" ]
Fiwer/Polinom
Polinom/Program.cs
333
C#
using GloboCrypto.Models.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GloboCrypto.PWA.Models { public class CoinTrackerCache { public DateTimeOffset CacheTime { get; set; } public IEnumerable<CoinPriceInfo> CoinPrices { get; s...
22.266667
66
0.727545
[ "MIT" ]
steve-reteamlabs/GloboCrypto
GloboCrypto/GloboCrypto.PWA/Models/CoinTrackerCache.cs
336
C#
using System; using System.Collections.Generic; using System.Linq; namespace Ploeh.AutoFixture.Kernel { /// <summary> /// Relays a request for an <see cref="IList{T}" /> to a request for a /// <see cref="List{T}"/> and retuns the result. /// </summary> public class ListRelay : ISpecimenB...
37.918367
100
0.553821
[ "MIT" ]
amarant/AutoFixture
Src/AutoFixture/Kernel/ListRelay.cs
1,860
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LineRenderExtend : MonoBehaviour { public AtkRangeEffect rangeEffect; public LineRenderer linerender; public AnimationCurve anim_alpha; public Color color_alpha = Color.white; public float m_time; public float widt...
15.648148
72
0.72071
[ "MIT" ]
Canvastudio/Prometheus
Code/Prometheus/Assets/Art/Fx/Scripts/Effect/LineRenderExtend.cs
847
C#
namespace Nancy.Metadata.Modules { using System; using Nancy.Routing; /// <summary> /// Defines facilities for obtaining metadata for a given <see cref="RouteDescription"/>. /// </summary> public interface IMetadataModule { /// <summary> /// Gets the <see cref=...
34.291667
104
0.596598
[ "MIT" ]
0x414c49/Nancy
src/Nancy.Metadata.Modules/IMetadataModule.cs
825
C#
namespace Yetibyte.Unity.SpeechRecognition.Serialization { public interface IVoskResultDeserializer { IVoskResult Deserialize(string input); } }
18.555556
57
0.736527
[ "MIT" ]
Yeti47/Vosk4Unity
Assets/Src/Yetibyte.Unity.SpeechRecognition/IVoskResultDeserializer.cs
169
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EasyDotNet.LinQ { /// <summary> /// 扩展LinQ.Distinct方法 /// var list = list.Distinct(m=>m.variableName);//去掉variableName重复的数据 /// </summary> public static class DistinctExtensions { public sta...
26.3
103
0.61597
[ "Apache-2.0" ]
FB208/Easy.Net
EasyDotNet/EasyDotNet/LinQ/DistinctExtensions.cs
1,076
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
27.4375
107
0.722096
[ "MIT" ]
AuriR/GeolocatorPlugin
tests/GeolocatorTests.UWP/MainPage.xaml.cs
880
C#
using Prism.Services.Dialogs; using System; using SystemMonitor.Interfaces.Ioc; namespace SystemMonitor.Infrastructure.Interfaces.Dialogs { /// <summary> /// Extending Prism.Services.Dialogs.IDialogService /// </summary> public interface IDialogService : Prism.Services.Dialogs.IDialogService ...
27.294118
98
0.726293
[ "MIT" ]
omahost/SystemMonitor
SystemMonitor.Infrastructure.Interfaces/Dialogs/IDialogService.cs
466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OddOrEven { class Program { static void Main(string[] args) { var number = int.Parse(Console.ReadLine()); if (number % 2 == 0) { ...
20
55
0.488
[ "MIT" ]
vesopk/Programming-Basics-Problems
SimpleConditions/OddOrEven/Program.cs
502
C#
using IExpress.Core.Data; using IExpress.Pagamentos.Domain.DomainObjects; namespace IExpress.Pagamentos.Domain.Repositories { public interface IPagamentoRepository : IRepository<Pagamento> { void AdicionarTransacao(Transacao transacao); } }
22
66
0.768939
[ "MIT" ]
OdairDantas/IExpress
src/IExpress.Pagamentos.Domain/Repositories/IPagamentoRepository.cs
266
C#
using System; using System.Data; using System.Data.SqlTypes; using System.Globalization; using NUnit.Framework; using BLToolkit.Data; using BLToolkit.Mapping; namespace Mapping { [TestFixture] public class MemberMapperTest { public class Object1 { public int Int32; public float ...
25.936893
99
0.631293
[ "MIT" ]
igor-tkachev/bltoolkit
UnitTests/CS/Mapping/MemberMapperTest.cs
5,343
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.Reflection; using Microsoft.Win32; using Xunit; using static Interop.User32; namespace System { p...
37.179775
150
0.532487
[ "MIT" ]
ArtemTatarinov/winforms
src/System.Windows.Forms/tests/TestUtilities/SystemEventsHelper.cs
3,311
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> //----------------------------------------...
36.544944
102
0.558955
[ "MIT" ]
dicarix/prograV
backend/prograV/prograV.UI/Pages/Vuelos/AgregarVuelos.aspx.designer.cs
6,507
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealthUi : MonoBehaviour { [SerializeField] private GameObject healthBlockPrefab; [SerializeField] private HealthBlock[] healthBlocks; [SerializeField] private float instantiationDelay; private float...
31.129032
122
0.627979
[ "MIT" ]
pzharkov/2D-Platformer
2d Platformer/Assets/Scripts/UI Scripts/HealthUi.cs
1,930
C#
using System; using System.Collections.Generic; using UnityEngine; public abstract class BaseVariableAsset : ScriptableObject { #if UNITY_EDITOR protected abstract void RaiseOnChange(); [UnityEditor.CustomEditor(typeof(BaseVariableAsset), true)] public class BaseVariableAssetEditor : UnityEditor.Editor ...
27.573333
122
0.648453
[ "Apache-2.0" ]
Marguelgtz/explorer
unity-client/Assets/Scripts/MainScripts/DCL/ScriptableObject/Variables/BaseVariableAsset.cs
2,070
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("DMPServerReportingReceiver")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration...
43.304348
82
0.752008
[ "Unlicense" ]
godarklight/DMPServerListReportingReceiver
DMPServerReportingReceiver/Properties/AssemblyInfo.cs
996
C#
using System; using System.Collections.Generic; using RestSharp; namespace HelloSign { /// <summary> /// Base class for Template-based and File-based Signature Request classes. /// </summary> public class BaseSignatureRequest { public string SignatureRequestId { get; set; } public ...
35.546667
101
0.570893
[ "MIT" ]
durgeshpatel-hs/hellosign-dotnet-sdk
src/HelloSign/Models/BaseSignatureRequest.cs
2,668
C#
namespace Tarea11 { partial class FRMTIEMPO { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
38.854369
107
0.569965
[ "Apache-2.0" ]
Luissf1/Programas-C-
Tarea11/Tarea11/Form1.Designer.cs
4,004
C#
using Nwazet.Commerce.Models; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Nwazet.Commerce.ViewModels { public class ProductEditorViewModel { public ProductPart Product { get; set; } public bool AllowProductOverrides { get; set; } public ...
35.684211
102
0.644543
[ "BSD-3-Clause" ]
LaserSrl/Nwazet.Commerce
ViewModels/ProductEditorViewModel.cs
680
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.555556
151
0.582397
[ "MIT" ]
PrzemekBurczyk/MonitoringSystem
CircularGauge/Properties/Settings.Designer.cs
1,070
C#
using Evol.Domain.Commands; using Evol.TMovie.Domain.Commands.Dto; using System; using System.Collections.Generic; using System.Text; namespace Evol.TMovie.Domain.Commands { public class RolePermissionShipUpdateCommand : Command { public RolePermissionShipUpdateDto Input { get; set; } } }
22.285714
62
0.75641
[ "Apache-2.0" ]
supernebula/evol-core
src/Evol.TMovie.Domain/Commands/Role/RolePermissionShipUpdateCommand.cs
314
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Threading.Tasks; using NuGet.Common; using NuGet.Frameworks; using NuGet.ProjectModel; using NuGet.Test.Ut...
39.941176
126
0.571964
[ "Apache-2.0" ]
BdDsl/NuGet.Client
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/RestoreMessageTest.cs
7,469
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.MongoDb.Uow; using MongoDB.Driver; using MongoDB.Driver.Linq; namespace Abp.MongoDb.Repositories { ...
27.512097
140
0.579364
[ "MIT" ]
ZayaPro/aspnetboilerplate
src/Abp.MongoDB/MongoDb/Repositories/MongoDbRepositoryBase.cs
6,823
C#
using UnityEngine; public class InputController : MonoBehaviour { public Vector2 MoveInput() { float x = Input.GetAxis("Horizontal"); float y = Input.GetAxis("Vertical"); return new Vector2(x, y); } }
18.230769
46
0.628692
[ "MIT" ]
YolandaMC/Save-Me-
Assets/Scripts/InputController.cs
237
C#
using Prism.Commands; using Prism.Mvvm; using Prism.Navigation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Input; namespace Prism700p5Try.ViewModels { public class MainPageViewModel : ViewModelBase { public ICommand TryRealmCommand { get;...
23.607143
71
0.647504
[ "MIT" ]
case-k/Prism700p5Try
Prism700p5Try/Prism700p5Try/ViewModels/MainPageViewModel.cs
663
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace UrhoSharp.Pages { public class NavigationStack { private readonly ICurrentPageContainer _container; private readonly object _gate = new object(); private readonly Stack<IScenePage> _stack = new Stack<IScenePage>(...
26.527273
110
0.460247
[ "MIT" ]
gleblebedev/UrhoSharpToolkit
src/UrhoSharp.Pages/NavigationStack.cs
2,920
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...
35.314815
133
0.639224
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Migrate/V20210101/Inputs/VirtualMachineResourceSettingsArgs.cs
1,907
C#
namespace QOAM.Website.ViewModels.Profiles { using System.Collections.Generic; using QOAM.Core; using QOAM.Website.Models; public class EditViewModel { public UserProfile UserProfile { get; set; } public bool IsAdmin { get; set; } public bool IsInstitutionAdmin { get; set;...
26.023256
66
0.485255
[ "MIT" ]
QOAM/qoam
src/Website/ViewModels/Profiles/EditViewModel.cs
1,121
C#
// ----------------------------------------------------------------------- // <copyright file="AbstractDataSource.cs" company="Jolyon Suthers"> // Copyright (c) Jolyon Suthers. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> // ...
36.755319
163
0.620839
[ "MIT" ]
fenrick/VisioCleanup
VisioCleanup.Core/Services/AbstractDataSource.cs
3,457
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
27.0625
117
0.601386
[ "Apache-2.0" ]
raz2017/aws-sdk-net
sdk/src/Services/AWSMarketplaceMetering/Generated/AmazonAWSMarketplaceMeteringConfig.cs
2,165
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class ObjectData_Origin : PEIKnifer_Origin { public abstract void Clear(); }
19.777778
58
0.797753
[ "MIT" ]
PEIKnifer/PEIMEN_Frame
Assets/PEIMEN_Frame/Script/FrameWork/ObjectPool/ObjectData_Origin.cs
180
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...
32.678571
110
0.681421
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/Model/RebuildWorkspacesResponse.cs
1,830
C#
using System; using Newtonsoft.Json; namespace FunctionApp1 { // Class to store daily survey data points for a user collected from DCI Mobile App public class DailySurveyData { [JsonProperty(PropertyName = "id")] public String Id { get; set; } public String PatientId { get; set; } ...
44.911111
87
0.637308
[ "MIT" ]
microsoft/DailyCheckIn
backend/DailyCheckInAPIs/DailySurveyData.cs
2,021
C#
using dnlib.DotNet; using dnlib.DotNet.Emit; using Uskr.Attributes; using Uskr.Core; using Uskr.IR; namespace Uskr.Opcodes { [Handler(Code.Conv_Ovf_I2)] public class Conv_Ovf_I2 : IOpcodeProcessor { public void Handel(IRAssembly assembly, IRMethod meth, UskrContext context, Instruction instruction)...
24.888889
108
0.649554
[ "MIT" ]
Myvar/Uskr
Uskr/Opcodes/Conv_Ovf_I2.cs
448
C#
using Applications.BusinessLogic.Managers; using Applications.Model; using Microsoft.AspNetCore.Mvc; using HIJK.SOA.SOAServices; using System.Collections.Generic; namespace Services.Controllers { /// <summary> /// This class exposes the APIs related to Employee's document in HR Database /// </summary> ...
25.928571
81
0.569697
[ "MIT" ]
wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core
Chapter07/src/HR/Services/Controllers/DocumentController.cs
1,817
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 ...
24.185714
134
0.661252
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cdn/Cdn/Model/V20180510/DescribeConfigOfVersionRequest.cs
3,386
C#
///////////////////////////////////////////////////////////////////////////// // // Script : TweenQuaternionBase.cs // Info : Quaternion插值类基类 // Author : ls9512 2019 // E-mail : ls9512@vip.qq.com // ///////////////////////////////////////////////////////////////////////////// using UnityEngine; namespac...
27.290909
118
0.52032
[ "MIT" ]
H-man/UTween
Core/Script/_Base/TweenValue/TweenQuaternionBase.cs
1,513
C#
#region License // Copyright (c) 2018-2021, exomia // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #endregion #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member usi...
49.674419
115
0.617978
[ "BSD-3-Clause" ]
exomia/vulkan-api
src/Exomia.Vulkan.Api.Core/Structs/VkGraphicsPipelineCreateInfo.cs
2,138
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("Ar...
38.054054
84
0.746449
[ "MIT" ]
evgeniy-polyakov/arcanum-texture-slicer
ArcanumTextureSlicer/ArcanumTextureSlicer.Console/Properties/AssemblyInfo.cs
1,411
C#
using System; namespace CreateAndFake.Toolbox.RandomizerTool { /// <summary>Handles generation of collection types for the randomizer.</summary> public abstract class CreateCollectionHint : CreateHint { /// <param name="type">Type to generate.</param> /// <param name="size">Number o...
42.866667
113
0.685848
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
CreateAndFake/CreateAndFake
src/CreateAndFake/Toolbox/RandomizerTool/CreateCollectionHint.cs
643
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> //--...
47.041344
345
0.628838
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/LedgerEliminationRule.cs
18,207
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22.346154
43
0.771084
[ "MIT" ]
Team-on/works
0_homeworks/C#/TAO Framework/WpfApp1/MainWindow.xaml.cs
583
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
52.28
613
0.693573
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/kubefed/dotnet/Kubernetes/Crds/Operators/Kubefed/Scheduling/V1Alpha1/Inputs/ReplicaSchedulingPreferenceSpecArgs.cs
2,614
C#
using System; using System.Linq; using SampleProjects.EntityFrameworkApp.V1.WeatherForecast; using Xtz.StronglyTyped.BuiltinTypes.Address; using Xtz.StronglyTyped.BuiltinTypes.Internet; namespace SampleProjects.EntityFrameworkApp.Data { // NOTE: `DbInitializer` is only for demo purposes. It's not required to have ...
40.566038
149
0.537209
[ "MIT" ]
dev-experience/Xtz.StronglyTyped.SampleProjects
src/SampleProjects.EntityFrameworkApp/Data/DbInitializer.cs
2,150
C#
using System; using System.IO; using System.Text; using System.Threading.Tasks; namespace Xabe { internal class LockModel { private readonly string _path; public LockModel(string path) { _path = path; } internal async Task<bool> TrySetReleaseDate(DateTime ...
28.155172
147
0.448255
[ "MIT" ]
tomaszzmuda/Xabe.FileLock
Xabe.FileLock/LockModel.cs
1,635
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
26.551724
81
0.662338
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/jaeger/dotnet/Kubernetes/Crds/Operators/Jaeger/Jaegertracing/V1/Inputs/JaegerSpecVolumesGitRepoArgs.cs
770
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Features; namespace MockApi.Server.Handlers { internal class BulkSetupHandler : RequestHandler { public BulkSetupHandler(RouteCache routeCache) : base(routeCache) { } public override async Task<MockApiResponse> Proce...
26.884615
95
0.609442
[ "MIT" ]
vincentcrowe4airelogic/MockApi
Server/Handlers/BulkSetupHandler.cs
699
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayCommerceEducateCampusIdentityQueryResponse. /// </summary> public class AlipayCommerceEducateCampusIdentityQueryResponse : AlipayResponse { /// <summary> /// 查询用户是...
27.117647
82
0.672451
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceEducateCampusIdentityQueryResponse.cs
487
C#
#region License // -------------------------------------------------------------------------------------------------------------------- // <copyright file="TypeInfoTests.cs" company="MorseCode Software"> // Copyright (c) 2015 MorseCode Software // </copyright> // <summary> // The MIT License (MIT) // // Copyright (c...
39.411628
242
0.611937
[ "MIT" ]
jam40jeff/BetterReflection
Source/MorseCode.BetterReflection/Tests/TypeInfoTests.cs
33,896
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System.Collections.Generic; using NewRelic.Agent.Core.WireModels; using NewRelic.Testing.Assertions; using NUnit.Framework; namespace NewRelic.Agent.Core.Transformers { public static class MetricTestHelpers { ...
41.576923
138
0.681776
[ "Apache-2.0" ]
JoshuaColeman/newrelic-dotnet-agent
tests/Agent/UnitTests/Core.UnitTest/Transformers/MetricTestHelpers.cs
1,081
C#
// <copyright file="HttpWebRequestInstrumentationOptions.netfx.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at...
38.016949
179
0.667856
[ "Apache-2.0" ]
Place1/opentelemetry-dotnet
src/OpenTelemetry.Instrumentation.Http/HttpWebRequestInstrumentationOptions.netfx.cs
2,245
C#
using System; using System.Collections.Generic; namespace CourseCrawler { public static class Consts { public static readonly string CoursePagePath = "https://aps.ntut.edu.tw/course/tw/Subj.jsp?format=-4&year=110&sem=1&code="; public static readonly string[] StringSplitSeperators = new[] { "\r...
62.666667
131
0.694444
[ "MIT" ]
Xanonymous-GitHub/course-crawler-hw
src/Consts.cs
3,478
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BWMemoryEdit { public enum SpriteType : ushort { SPR_2_38_Ash = 0, SPR_2_39_Ash, SPR_2_41_Ash, SPR_2_40_Ash, SPR_2_42_Ash, SPR_2_43_Ash,...
27.269303
47
0.638605
[ "MIT" ]
WoodoLee/TorchCraft
3rdparty/openbw/bwapi/bwapi/BWMemoryEdit/Enums/SpriteType.cs
14,482
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. // Copied from https://github.com/dotnet/coreclr/blob/16697076c0a6af47fbcce75e11c45d35a12b7d4e/src/System.Private.C...
56.879121
182
0.731839
[ "MIT" ]
DanHarltey/Scrutor
src/Scrutor/NullableAttributes.cs
5,178
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.ML.Core.Data; using Microsoft.ML.Data; using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Data;...
55.998152
176
0.616702
[ "MIT" ]
Jungmaus/machinelearning
src/Microsoft.ML.Data/StaticPipe/TrainerEstimatorReconciler.cs
30,297
C#
//****************************************************************************************************** // AssemblyInfo.cs - Gbtc // // Copyright © 2013, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
45.015385
105
0.669856
[ "MIT" ]
SRM256/gsf
Source/Libraries/Adapters/DynamicCalculator/Properties/AssemblyInfo.cs
2,930
C#
using Inshapardaz.Api.Tests.Asserts; using Inshapardaz.Api.Tests.Dto; using Inshapardaz.Api.Views.Library; using Inshapardaz.Domain.Models; using NUnit.Framework; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Inshapardaz.Api.Tests.Library.Book.GetBo...
31.444444
126
0.569494
[ "Apache-2.0" ]
inshapardaz/api
src/Inshapardaz.Api.Tests/Library/Book/GetBooksBySeries/WhenGettingBooksBySeriesWithWritePermission.cs
3,396
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using BneDev.TimesheetNinja.Bot.Api; using BneDev.TimesheetNinja.Bot.Api.Models; namespace BneDev.TimesheetNinjaBot.Models { public class Project : IProject { public int SortOrder { get; set; } public string C...
24.5625
47
0.70229
[ "MIT" ]
kierenh/TimesheetNinjaBot
TimesheetNinjaBot/BneDev.TimesheetNinja.Bot/Models/Project.cs
395
C#
/* * Copyright © 2016 - 2017 EDDiscovery development team * * 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...
41.342685
224
0.53364
[ "Apache-2.0" ]
phwoelfel/EDDiscovery
EDDiscovery/UserControls/Overlays/UserControlCompass.cs
20,135
C#
using MeetingWebsite.Controllers; using MeetingWebsite.Models; using MeetingWebsite.ModelsView.Messages; using MeetingWebsite.Repositories; using Microsoft.AspNetCore.Mvc; using MockQueryable.Moq; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Ta...
35.789474
178
0.556863
[ "MIT" ]
kirill20123456/MeetingWebsite
MeetingWebsite/MeetingWebsite/MeetingWebsite.Tests/Controllers/MessagesControllerTests.cs
6,253
C#
// <auto-generated /> using System; using E_Store.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace E_...
36.507886
125
0.364728
[ "MIT" ]
martinst93/ASP.NET-MVC
E-StoreSolution/E-Store.DataAccess/Migrations/20210831134741_Init.Designer.cs
11,575
C#
#if BRIDGE using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace System.Data { public class DataColumnCollection { public DataTable Table {get;} internal List<DataColumn> Columns; public int GetColumnIndex(string ...
20.178571
59
0.526549
[ "Apache-2.0" ]
samuelGrahame/ExpressCraft
ExpressCraft.Forms/Data/DataColumnCollection.cs
1,132
C#
// <copyright file="EmailStore.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation.// Licensed under the MIT license. // </copyright> using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Core.EntityClient; using System.Data.SqlClient; using System....
39.742389
236
0.54287
[ "MIT" ]
Azure/azure-cef
src/product/ServiceProvider/Email/Microsoft.Azure.EngagementFabric.EmailProvider/Store/EmailStore.cs
33,942
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace SoapCore { public static class CachedXmlSerializer { private static readonly ConcurrentDictionary<string, XmlSerializer>...
32.863636
148
0.79668
[ "MIT" ]
0be1/SoapCore
src/SoapCore/CachedXmlSerializer.cs
723
C#
using System; using System.Diagnostics; namespace CassandraPrimitives.Tests.Commons.Speed { public class OperationsSpeed : IComparable<OperationsSpeed> { public OperationsSpeed(double operationsPerSecond) { this.OperationsPerSecond = operationsPerSecond; } public in...
31.638298
140
0.63349
[ "MIT" ]
skbkontur/cassandra-primitives
CassandraPrimitives.Tests/Commons/Speed/OperationsSpeed.cs
2,974
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Xml; using WinSW.Native; using WinSW.Util; using WMI; using YamlDotNet.Serialization; using static WinSW.Download; namespace WinSW.Configuration { public class YamlConfiguration : IWinSWConfiguration { ...
32.788606
147
0.521079
[ "MIT" ]
Create-it-cn/winsw
src/Core/WinSWCore/Configuration/YamlConfiguration.cs
21,870
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace KERBALISM { /* - Storm / local radiation raycasting : - RaycastAll between emitter and receiver, save "from" hits - RaycastAll betwe...
39.431644
211
0.716634
[ "Unlicense" ]
Kerbalism/Kerbalism4
src/Kerbalism/Database/PartData/PartRadiationData.cs
25,022
C#
using System; using NewLife.Data; namespace NewLife.Net { /// <summary>安全沙箱</summary> public class SandBoxServer : NetServer { #region 属性 private String _Policy = "<cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"*\" /></cross-domain-policy>\0"; /// <summar...
30.527778
131
0.516833
[ "MIT" ]
3781100649/NewLife.Net
NewLife.Net/Flash/SandBoxServer.cs
1,161
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Routing.Core.Query { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text.RegularExpressions;...
41.952998
198
0.578404
[ "MIT" ]
DaveEM/iotedge
edge-hub/src/Microsoft.Azure.Devices.Routing.Core/query/ConditionVisitor.cs
25,885
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by EntityNetwork CodeGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ------------------...
29.2925
102
0.555603
[ "MIT" ]
SaladLab/EntityNetwork
samples/Unity/Domain/Properties/EntityNetwork.CodeGen.cs
11,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GlobalHost.Modelo { class Login { private int id; private string usuario; private string senha; private int nivel; public Login() { ...
23.804348
73
0.534247
[ "MIT" ]
Krauzy/GlobalHost
GlobalHost/GlobalHost/Modelo/Login.cs
1,097
C#
using System; using System.Threading.Tasks; using Autofac; using Common.Log; using JetBrains.Annotations; using Lykke.Common.Log; using Lykke.Job.MarketProfile.Domain.Services; using Lykke.Job.QuotesProducer.Contract; using Lykke.RabbitMqBroker; using Lykke.RabbitMqBroker.Subscriber; namespace Lykke.Job.MarketProfile....
32.73494
122
0.5841
[ "MIT" ]
LykkeCity/Lykke.Job.MarketProfile
src/Lykke.Job.MarketProfile/RabbitMqSubscribers/QuotesSubscriber.cs
2,717
C#
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using PasswordVault.Data; using PasswordVault.Services; using PasswordVault.Models; using PasswordVault.Desktop.Winforms; namespace PasswordVault.ServicesTests { /// <summary> /// Summary des...
34.870968
136
0.631637
[ "Apache-2.0" ]
willem445/PasswordVault
PasswordVault.ServicesTests/PasswordServiceTests.cs
5,407
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 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
43.643052
202
0.618218
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/StreamAnalytics/Management.StreamAnalytics/Generated/StreamAnalyticsManagementClient.cs
16,017
C#
using Dynamo.UI.Commands; using System.Collections.ObjectModel; using System.Windows.Controls; using Dynamo.Updates; using Microsoft.Practices.Prism.ViewModel; namespace Dynamo.UI.Controls { /// <summary> /// Interaction logic for ShortcutToolbar.xaml /// </summary> public partial class ShortcutTool...
28.879518
88
0.629537
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs
2,399
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...
29.611111
81
0.631332
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Media/Inputs/SelectVideoTrackByIdArgs.cs
1,066
C#
//<unit_header> //---------------------------------------------------------------- // // Martin Korneffel: IT Beratung/Softwareentwicklung // Stuttgart, den 6.4.2017 // // Projekt.......: mko.RPN.Arithmetik // Name..........: IFunctionNames.cs // Aufgabe/Fkt...: Definiert die Funktionsnamen. Die Bennenung kann so v...
23.62069
75
0.5
[ "MIT" ]
mk-prg-net/mk-prg-net.lib
mko.RPN.Arithmetik/IFunctionNames.cs
1,373
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/dwrite_1.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
58.483871
145
0.813017
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/dwrite_1/DWRITE_PANOSE_ARM_STYLE.cs
1,815
C#
using System; using UnityEngine; using UnityEngine.Events; namespace Signals.Common { [Serializable] public class Vector2IntEvent : UnityEvent<Vector2Int> { } }
17
61
0.758824
[ "MIT" ]
jheiling/unity-signals
Common/Scripts/Vector2IntEvent.cs
170
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace NuGet.Server.Core.Infrastructure { public interface ISettingsProvider { bool GetBoolSetting(string key, bool defaultValue); ...
37.5
112
0.733333
[ "ECL-2.0", "Apache-2.0" ]
563256676/test2
src/NuGet.Server.Core/Infrastructure/ISettingsProvider.cs
452
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Ocuda.Ops.Data.ServiceFacade; using Ocuda.Ops.Models.Entities; using Ocuda.Ops.Service.Interfaces.Ops.Repositories; namespace Ocuda.Ops.Data.Ops { public class EmailTemplateTextRepositor...
34.416667
89
0.637611
[ "MIT" ]
MCLD/ocuda
src/Ops.Data/Ops/EmailTemplateTextRepository.cs
1,241
C#
using System; using System.Diagnostics; using NBitcoin.BouncyCastle.Math.Raw; using NBitcoin.BouncyCastle.Utilities; namespace NBitcoin.BouncyCastle.Math.EC { internal abstract class ECFieldElement { public abstract BigInteger ToBigInteger(); public abstract string FieldName { ...
31.175992
121
0.488416
[ "MIT" ]
0tim0/StratisFullNode
src/NBitcoin/BouncyCastle/math/ec/ECFieldElement.cs
30,646
C#
using Gum.Collections; using Pretune; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using M = Gum.CompileTime; namespace Gum.IR0Translator { [ImplementIEquatable] partial class InternalModuleClassInfo : IModuleClassInfo {...
30.648148
112
0.613595
[ "MIT" ]
ioklo/gum
Src/Gum.IR0Translator/IR0Translator/InternalModuleClassInfo.cs
3,312
C#
namespace Infrastructure { using Domain.Repository; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; public static class DependencyInjection { private const string Datasource = "database.db"; public static IServiceCollection AddInfrastructureServ...
31.333333
100
0.652926
[ "MIT" ]
Letsafko/TemperatureCaptor
src/Infrastructure/DependencyInjection.cs
754
C#
using Surging.Core.CPlatform.Address; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Surging.Core.CPlatform.Mqtt { public class MqttServiceRoute { /// <summary> /// Mqtt服务可用地址。 /// </summary> public IEnumerable<AddressModel> Mqtt...
31.55
149
0.60169
[ "MIT" ]
857593381/surging
src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs
1,921
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Azure.SignalR.Management { //used to reduce test time internal class HealthCheckOption { public TimeSpan? CheckI...
31.333333
101
0.7
[ "MIT" ]
Arash-Sabet/azure-signalr
src/Microsoft.Azure.SignalR.Management/HubInstanceFactories/HealthCheckOptions.cs
472
C#
using System; using System.Collections.Generic; using Learning.Models; using Learning.Repositories; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; namespace Learning.Controllers { [Route("api/...
24.453125
76
0.580192
[ "MIT" ]
PiotrZak/C---learning-set
10/Learning/Controllers/GameController.cs
1,567
C#
using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; namespace MangaRipper.Core.Models { /// <summary> /// Configuration for plugins /// </summary> public class Configuration : IConfiguration { private string ConfigFile { get; ...
25.457143
90
0.582492
[ "MIT" ]
00destroyer/jeff
MangaRipper.Core/Models/Configuration.cs
893
C#
using System.Diagnostics.CodeAnalysis; using HotChocolate.Language; using HotChocolate.Language.Visitors; namespace HotChocolate.Data.Sorting { public interface ISortOperationHandler<in TContext> : ISortOperationHandler where TContext : ISortVisitorContext { bool TryHandleEnter( ...
27.578947
66
0.687023
[ "MIT" ]
Asshiah/hotchocolate
src/HotChocolate/Data/src/Data/Sorting/Visitor/ISortOperationHandler~1.cs
524
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
57.260331
480
0.677347
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteHybridConnectionResource.cs
13,857
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Seventh.DGuard.Domain.Entities; namespace Seventh.DGuard.Infra.Data.Sql.EntityConfigurations { public class RecyclerConfiguration : IEntityTypeConfiguration<Recycler> { public void Configure(EntityTypeBui...
26.709677
75
0.530193
[ "MIT" ]
MateusC/Seventh
Seventh.DGuard/Seventh.DGuard.Infra.Data.Sql/EntityConfigurations/RecyclerConfiguration.cs
830
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
37.057143
84
0.759445
[ "MIT" ]
tsjdev-apps/xf-nextentry-sample
XFNextEntrySample/XFNextEntrySample/XFNextEntrySample.Android/Properties/AssemblyInfo.cs
1,300
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
45.93345
200
0.593259
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/MultiplyAdd.Vector64.UInt32.cs
26,228
C#