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 Newtonsoft.Json.Linq; namespace SapphireDb.Command.Create { public class CreateCommand : CollectionCommandBase { public JObject Value { get; set; } } }
18
54
0.688889
[ "MIT" ]
greenapp-debug/SapphireDb
SapphireDb/Command/Create/CreateCommand.cs
182
C#
//using Plugin.Settings; //using Plugin.Settings.Abstractions; namespace DPG { /// <summary> /// This is the Settings static class that can be used in your Core solution or in any /// of your client applications. All settings are laid out the same exact way with getters /// and setters. /// </sum...
25.45
94
0.531762
[ "MIT" ]
lukasreuter/DPG-App
DPG/Helpers/Settings.cs
1,529
C#
using Core.Domain.Validations; using Movimentacoes.Domain.Contas.Repository; namespace Movimentacoes.Domain.Transferencias.Specifications { public class ContaOrigemDevePossuirSaldoDisponivelSpecification : DomainSpecification<Transferencia> { private readonly IContaRepository _contaRepository; ...
30.538462
140
0.700252
[ "MIT" ]
alexandrebeato/bankflix
server/src/Movimentacoes.Domain/Transferencias/Specifications/ContaOrigemDevePossuirSaldoDisponivelSpecification.cs
796
C#
// ****************************************************************** // /\ /| @file SiteFactionWarContention.cs // \ V/ @brief 派系争夺战场地 // | "") @author Shadowrabbit, yingtu0401@gmail.com // / | // / \\ @Modified 2021-06-24 0...
39.337079
110
0.574407
[ "Apache-2.0" ]
Proxyer/ModRimWorldFactionalWar
1.2/Source/ModRimworldFactionalWar/WorldObject/Site/SiteFactionWarContention.cs
3,653
C#
// <auto-generated> // Copyright (c) Microsoft and contributors. 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...
36.9875
195
0.652585
[ "MIT" ]
3quanfeng/azure-powershell
src/Network/Network/Generated/LoadBalancer/BackendAddressPool/RemoveAzureRmLoadBalancerBackendAddressPoolConfigCommand.cs
2,880
C#
public class Solution { public int BulbSwitch(int n) { return (int)Math.Sqrt(n); } }
20
34
0.6
[ "MIT" ]
webigboss/Leetcode
319. Bulb Switcher/319_Original.cs
100
C#
using System; using System.Collections.Generic; using System.Text; namespace GuildLeader { public class Raid { public Raid() { Bosses = new List<Boss>(); } public List<Boss> Bosses { get; set; } } }
16.0625
46
0.55642
[ "MIT" ]
NevermoreDCE/GuildLeader
GuildLeader/GuildLeader/Raid.cs
259
C#
namespace EnvironmentAssessment.Common.VimApi { public class ApplyStorageRecommendationResult : DynamicData { protected ManagedObjectReference _vm; protected ApplyStorageRecommendationResult_LinkedView _linkedView; public ManagedObjectReference Vm { get { return this._vm; } set { this._...
17.185185
68
0.726293
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/A/ApplyStorageRecommendationResult.cs
464
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...
49.708995
1,358
0.619372
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/QUPA_IN000014UK01MCCI_MT010101UK12MessageInteractionId.cs
9,395
C#
using ElectronicObserver.Notifier; using ElectronicObserver.Observer; using ElectronicObserver.Resource; using ElectronicObserver.Utility; using ElectronicObserver.Utility.Storage; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; usi...
35.863102
185
0.780896
[ "MIT" ]
fossabot/ElectronicObserverExtended
ElectronicObserver/Window/Dialog/DialogConfiguration.cs
34,240
C#
using System; using System.Collections.Generic; using System.Linq; class TrackDownloader { static void Main() { var blackList = Console.ReadLine().Split(' ').ToList(); var fileNames = Console.ReadLine(); var result = new List<string>(); while (fileNames != "end") ...
18.86
63
0.415695
[ "MIT" ]
Sotirovgym/C---Collections---Exercises
ListExericesesExtended/2. TrackDownloader/TrackDownloader.cs
945
C#
// Lucene version compatibility level 4.8.1 using YAF.Lucene.Net.Analysis.TokenAttributes; namespace YAF.Lucene.Net.Analysis.De { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for ad...
39.064516
107
0.607349
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/De/GermanLightStemFilter.cs
2,361
C#
namespace Charlotte { partial class KeyDataDlg { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param> protec...
42.299145
151
0.719741
[ "MIT" ]
stackprobe/UnrealRemoco
UnrealClient/UnrealClient/KeyDataDlg.Designer.cs
10,226
C#
using System; using FplBot.Core.Helpers; using FplBot.Tests.Helpers; using Xunit; using Xunit.Abstractions; namespace FplBot.Tests { public class DateTimeUtilsTests { private readonly ITestOutputHelper _helper; private DateTimeUtils _deadlineChecker; public DateTimeUtilsTests(ITestOutp...
35.45045
104
0.562135
[ "MIT" ]
ehamberg/fplbot
src/FplBot.Tests/NearDeadlineTests.cs
3,935
C#
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace HandlebarsDotNet.Compiler { internal class HashParametersAccumulator : TokenConverter { public static IEnumerable<object> Accumulate(IEnumerable<object> sequence) { return new Has...
34.036036
130
0.503176
[ "MIT" ]
zjklee/Handlebars.CSharp
source/Handlebars/Compiler/Lexer/Converter/HashParametersAccumulator.cs
3,778
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("Si...
37.756757
84
0.745168
[ "MIT" ]
rjohar1/CSharpBeginners
SimpleMethod/SimpleMethod/Properties/AssemblyInfo.cs
1,400
C#
using System.Windows; using System.Windows.Controls; using ExampleCalculatorApp.ViewModels; using ReactiveUI; namespace ExampleCalculatorApp.Views { public partial class IntegerValueEditorView : UserControl, IViewFor<IntegerValueEditorViewModel> { #region ViewModel public static readonly Depen...
30.675676
116
0.649339
[ "Apache-2.0" ]
DAud-IcI/NodeNetwork
ExampleCalculatorApp/Views/IntegerValueEditorView.xaml.cs
1,137
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Rendering.HighDefinition; using MoreMountains.Feedbacks; namespace MoreMountains.FeedbacksForThirdParty { /// <summary> /// Add this class to a Camera with a HDRP FilmGrain post proces...
40.530726
240
0.632667
[ "MIT" ]
DuLovell/Rhythm-Game
Assets/Plugins/Feel/MMFeedbacks/MMFeedbacksForThirdParty/HDRP/Shakers/MMFilmGrainShaker_HDRP.cs
7,257
C#
using System.Text.RegularExpressions; using System.Threading.Tasks; using Ultz.Extensions.Commands.Context; using Ultz.Extensions.Commands.Results.User; namespace Ultz.Extensions.Commands.Attributes.Checks.Bundled.String { /// <summary> /// Represents a parameter check that ensures the provided string argumen...
42.957447
130
0.634968
[ "MIT" ]
Ultz/Bcl
src/Ultz.Extensions.Commands/Attributes/Checks/Bundled/String/RegexCheckAttribute.cs
2,021
C#
using System; using System.Data.Common; using grate.Configuration; using grate.Infrastructure; using grate.Migration; using Microsoft.Data.Sqlite; using Microsoft.Extensions.Logging; namespace grate.unittests.TestInfrastructure; class SqliteGrateTestContext : TestContextBase, IGrateTestContext { public string Ad...
33.333333
114
0.747692
[ "MIT" ]
RachelAmbler/grate
grate.unittests/TestInfrastructure/SqLiteGrateTestContext.cs
1,302
C#
using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace AzR.WebFw.Handlers { public class PreflightRequestsHandler : DelegatingHandler { protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationTok...
41.52
127
0.640655
[ "MIT" ]
ashiquzzaman/azr-admin
Development/AzRAdmin/Presentations/AzR.WebFw/Handlers/PreflightRequestsHandler.cs
1,040
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditorInternal; using System.IO; public class Tool_MapEditor : EditorWindow { #region Array Icons //Prefab Array private GameObject[] _Prefabs = new GameObject[0]; private string[] _SearchResul...
38.61326
231
0.526112
[ "MIT" ]
MarcelvanDuijnDev/Unity-Presets-Scripts-Tools
Assets/Scripts/Editor/Tool_MapEditor.cs
20,969
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Resonance.Discovery { /// <summary> /// Represents a Resonance discovery client capable of detecting and fetching information about a remote service. /// </summary> /// <typeparam name="TDiscover...
39.705882
244
0.65
[ "MIT" ]
royben/Resonance
source/Resonance/Discovery/IResonanceDiscoveryClient.cs
2,702
C#
namespace mktool { class Allocation { public string? Name { get; set; } public string? IpRange { get; set; } public string? DhcpServer { get; set; } } }
19.9
48
0.527638
[ "Unlicense" ]
AndrewSav/mktool
Models/Allocation.cs
201
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
25.509091
76
0.668567
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Iotlink/Apis/CloseIotFlowRequest.cs
1,477
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using pywebfrontend.Models; namespace pywebfrontend.Controllers { public class HomeController : Controller { public IActionResult Index() {...
23.159091
112
0.593719
[ "MIT" ]
paulyuk/docker-all-the-things
src/pywebfrontend/pywebfrontend/Controllers/HomeController.cs
1,021
C#
namespace _07.InfernoInfinity.Contracts { public interface IRunnable { void Run(); } }
13.375
40
0.626168
[ "MIT" ]
anedyalkov/CSharp-OOP-Advanced
08.Reflection and Attributes-Exercises/P07_InfernoInfinity/Contracts/IRunnable.cs
109
C#
// Released under the MIT License. // // Copyright (c) 2018 Ntreev Soft co., Ltd. // Copyright (c) 2020 Jeesu Choi // // 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, i...
39.557692
121
0.753038
[ "MIT" ]
s2quake/JSSoft.Crema
tools/JSSoft.Crema.Comparer/Types/Views/TypeDocumentView.xaml.cs
2,077
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Zone.cs" company="HomeRun Software Systems"> // Copyright (c) 2017 Jay McLain // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this ...
45.222222
120
0.629266
[ "MIT" ]
gstar42/Rachio.NET
src/Rachio.NET.Service/Model/Zone.cs
3,665
C#
using System; using System.Linq; using System.Web.Mvc; using MvcGrabBag.Web.EntityFramework; using MvcGrabBag.Web.Helpers; using Telerik.Web.Mvc; namespace MvcGrabBag.Web.Controllers { public class TelerikController : Controller { private readonly IDataContext _db; public Telerik...
30.765432
116
0.470305
[ "MIT" ]
matthidinger/MvcGrabBag
MvcGrabBag.Web/Controllers/TelerikController.cs
2,494
C#
namespace Eciton { public class EcitonVariableNotInitializedException : EcitonException { } }
15.285714
72
0.728972
[ "MIT" ]
malaybaku/Eciton
Eciton/Eciton/Exceptions/EcitonVariableNotInitializedException.cs
109
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.Diagnostics; using System.Reflection.Emit; using System.Runtime.Compi...
35.019608
140
0.56355
[ "MIT" ]
AzureMentor/runtime
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/BoundConstants.cs
7,144
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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; using System.Windows.Shapes; ...
29.5625
110
0.631431
[ "Apache-2.0" ]
BigDipper7/WPFFortranUIProject
WpfApplicationTM_01/WindowInitialStressState.xaml.cs
1,437
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(ICT4RealsWebForms.Startup))] namespace ICT4RealsWebForms { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
18.933333
67
0.665493
[ "MIT" ]
marouanopen/ICT4RealsWebForms
ICT4RealsWebForms/ICT4RealsWebForms/Startup.cs
286
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.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace System { public s...
32.759924
145
0.572245
[ "MIT" ]
PatrickMcDonald/corefx
src/System.Console/src/System/Console.cs
17,330
C#
using System; using SubnetUtils; namespace ConsoleApp1 { class Program { static void Main(string[] args) { StringInput("10.1.100.1/24"); Console.WriteLine(); StringInput("10.1.100.1/255.255.255.0"); Console.WriteLine(); CidrAndByteMask...
34.684211
105
0.558422
[ "MIT" ]
guitarrapc/CSharpPracticesLab
network/Subnet/ConsoleApp1/Program.cs
1,977
C#
/* * Copyright 2021 Mikhail Shiryaev * * 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 a...
37.141104
115
0.633465
[ "Apache-2.0" ]
RapidScada/scada-v6
ScadaAdmin/ScadaAdmin/ScadaAdmin/Forms/Deployment/FrmUploadConfig.cs
6,096
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AIMarker : MonoBehaviour { public enum MarkerTypes{ None, JumpMarker } void Awake() { AIMarkers.Markers.Add(this); } private void OnDestroy() { AIMarkers.Markers.Re...
23.4
87
0.594628
[ "MIT" ]
Airtoum/EllumiTheFireSprite
Assets/Entities/AIMarkers/AIMarker.cs
819
C#
using System; using System.Collections.Generic; using Moq; using MTCG; using MTCG.Entity; using MTCG.Interface; using MTCG.Model; using NUnit.Framework; namespace UnitTest { [TestFixture] public class PackageClassTests { [SetUp] public void Setup() { } [Test] ...
40.217949
114
0.559611
[ "Apache-2.0" ]
Ephaltes/MTCG
UnitTest/PackageClassTests.cs
6,276
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 組件的一般資訊是由下列的屬性集控制。 // 變更這些屬性的值即可修改組件的相關 // 資訊。 [assembly: AssemblyTitle("HermiteCurve")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assembl...
26.243243
56
0.717817
[ "MIT" ]
yuhao-kuo/MouseHermiteCurve
simulation/HermiteCurve/Properties/AssemblyInfo.cs
1,326
C#
using System.Collections.Generic; using System.Data; using Hikari.WPF.MVVM; namespace DbTool.Models { public class PageDbFirstModel : NotificationObject { private string _connectionString; // 数据库连接字符串 public string ConnectionString { get => _connectionString; s...
27.52
71
0.568314
[ "MIT" ]
LoveHikari/DbTool
src/DbTool/Models/PageDbFirstModel.cs
2,140
C#
using Avalonia.Markup.Xaml; using PleasantUI.Controls.Custom; using Regul.OlibKey.General; namespace Regul.OlibKey.Views.Windows; public class SearchView : PleasantDialogWindow, IMustCloseWhenLocked { public SearchView() => AvaloniaXamlLoader.Load(this); }
25.9
68
0.818533
[ "MIT" ]
Onebeld/Regul.OlibKey
Regul.OlibKey/Views/Windows/Search/SearchView.axaml.cs
259
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("Wor...
37.783784
84
0.748927
[ "MIT" ]
dragobaltov/Programming-Basics-And-Fundamentals
WormsWorldParty/WormsWorldParty/Properties/AssemblyInfo.cs
1,401
C#
using Dynamo.Core; using Dynamo.Extensions; using Dynamo.Graph.Nodes; using Dynamo.Graph.Workspaces; using Dynamo.Models; using Dynamo.ViewModels; using Dynamo.Wpf.ViewModels.Core; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System...
29.182648
82
0.643874
[ "MIT" ]
KeanW/Warnamo
src/WarningsViewExtension/WarningsWindowViewModel.cs
6,393
C#
using Confluent.Kafka; using System; using System.Threading; using System.Threading.Tasks; namespace Extension.Confluent.Kafka.Client.Consumer { public interface IConsumeResultCallback<TKey, TValue> { public Task OnReceivedAsync(ReadOnlyMemory<ConsumeResult<TKey, TValue>> results, CancellationToken ca...
26.615385
126
0.783237
[ "MIT" ]
ettenauer/extension-confluent-kafka-client
Source/Extension.Confluent.Kafka.Client/Consumer/IConsumeResultCallback.cs
348
C#
// Copyright (c) SumTech Business Solutions, LLC. All Rights Reserved. namespace SongList.Api.Models { using System; using System.Text.RegularExpressions; using global::SongList.Api.Repositories; /// <summary> /// Represents an arrangment of a song. /// </summary>7 public class Arrangemen...
33.846154
142
0.555682
[ "MIT" ]
sumtech/song-list-api
Models/Arrangement.cs
3,522
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Tatum.Model; using Tatum.Model.Requests; using System.ComponentModel.DataAnnotations; namespace Tatum.Model.Requests { public class CeloBurnErc721 : BurnErc721 { [Required] public ...
17.857143
50
0.661333
[ "MIT" ]
grace43/tatum-csharp
Tatum/Model/Requests/Celo/CeloBurnErc721.cs
377
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
32.6875
87
0.562141
[ "MIT" ]
BtrJay/squidex
tests/Squidex.Infrastructure.Tests/Commands/EnrichWithTimestampCommandMiddlewareTests.cs
1,572
C#
// <auto-generated /> using System; using AspnetRun.Infrastructure.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AspnetRun.Web.Migrations { [DbConte...
37.159204
125
0.447316
[ "MIT" ]
02amit1994/run-aspnetcore-realworld
src/AspnetRun.Web/Migrations/AspnetRunContextModelSnapshot.cs
29,878
C#
using System; namespace NightlyCode.Database.Fields { /// <summary> /// parameter for statements /// </summary> public class DBParameter : DBField { internal DBParameter() { } /// <summary> /// creates a reference to a parameter /// </summary> /// <param ...
46.495575
156
0.646936
[ "Unlicense" ]
telmengedar/NightlyCode.DB
Database/Fields/DBParameter.cs
5,256
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using GameUtils; namespace EGamePlay.Combat { /// <summary> /// 逻辑时间触发组件 /// </summary> public class ExecutionTimeTriggerComponent : Component { public override bool DefaultEnable { get; set; ...
26.584906
102
0.560681
[ "MIT" ]
m969/EGamePlay
Assets/EGamePlay/Combat/AbilityEffect/ExecutionComponents/ExecutionTimeTriggerComponent.cs
1,427
C#
using System.Collections.Generic; using BuckarooSdk.Base; using BuckarooSdk.DataTypes.RequestBases; using BuckarooSdk.Services; namespace BuckarooSdk.Data { /// <summary> /// General data class, to hold a Request object and a list of services /// </summary> public class Data { internal Authenticate...
28.554054
118
0.690014
[ "MIT" ]
buckaroo-it/BuckarooSdk_DotNet
BuckarooSdk/Data/Data.cs
2,115
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System.Linq.Expressions; using System; using System.Collections.Generic; using System.Collections.Obj...
41.572084
174
0.541306
[ "Apache-2.0" ]
Backup-eric645/ironpython3
Src/IronPython/Compiler/GeneratorRewriter.cs
45,274
C#
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
39.259615
123
0.612785
[ "Apache-2.0" ]
andymac4182/MassTransit
src/MassTransit/Pipeline/Filters/MessagePublishFilter.cs
4,083
C#
#if NETCOREAPP3_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER using System; using System.Collections.Generic; namespace XNetEx.Collections.Generic { static partial class CollectionExtensions { /// <summary> /// 返回 <see cref="IEnumerable{T}"/> 的 <see cref="IAsyncEnumerable{T}"/> 包装。 /// </s...
42.837838
100
0.621451
[ "MIT" ]
x-stars/DotNetExtensionLibrary
XNetEx.Runtime/Collections/Generic/CollectionExtensions.Async.cs
1,703
C#
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Threading.Tasks; namespace SmartDisplay.Contracts { public interface IWeather { string Name { get; } Task<GenericWeather> GetGenericWeatherAsync(double latitude, double longitude); GenericWeather...
26.795918
87
0.639756
[ "MIT" ]
ATM006/Windows-iotcore-samples
Samples/IoTCoreDefaultApp/CS/SmartDisplay.Contracts/Interfaces/IWeather.cs
1,315
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...
39.663551
254
0.588046
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/V20180101/Api.cs
12,732
C#
// // - DomConverter.cs - // // Copyright 2013 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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/...
34.065789
114
0.573066
[ "Apache-2.0" ]
Carbonfrost/f-hxl
dotnet/src/Carbonfrost.Commons.Hxl/Compiler/DomConverter.cs
7,767
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Slb { /// <summary>A ROS template type: `ALIYUN::SLB::BackendServerToVServerGroupAddition`.</summary> [JsiiClass(nativeType: typeof(AlibabaCloud.SDK.ROS.CDK.Slb.RosBackendServerToVServerGroupAddi...
55.192182
711
0.566749
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Slb/AlibabaCloud/SDK/ROS/CDK/Slb/RosBackendServerToVServerGroupAddition.cs
16,944
C#
#region License /* MIT License Copyright(c) 2020 Petteri Kautonen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
52.10825
179
0.51976
[ "MIT" ]
VPKSoft/ScintillaLexers
VPKSoft.ScintillaLexers/LexerColors/LexerColors.cs
119,382
C#
using blazingdocs.core.Model; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace blazingdocs.core.Repository { public interface IDocumentTypeRepository { Task AddDocumentType(DocumentType documentType); ...
37.354167
129
0.710541
[ "MIT" ]
kiersche/blazingdocs
old/blazingdocs.core/Repository/DocumentTypeRepository.cs
1,795
C#
namespace HideCrosswalks.Utils { using System; using System.Diagnostics; using System.IO; using System.Threading; using UnityEngine; #if !DEBUG #if TRACE #error TRACE is defined outside of a DEBUG build, please remove #endif #endif /// <summary> /// Log.Trace, Log.Debug, Log.Info, Log.Warn...
38.324201
114
0.55868
[ "MIT" ]
aubergine10/HideCrosswalks
HideTMPECrosswalks/Utils/Log.cs
8,415
C#
namespace Tests.Caliburn.Adapters.Components { using System; using System.ComponentModel.Composition; [Export(typeof(ILogger)), Export(typeof(SimpleLogger))] public class SimpleLogger : ILogger { public void Log(string msg) { Console.WriteLine(msg); } ...
23.5
60
0.610942
[ "MIT" ]
chrismcv/caliburn
src/Tests.Caliburn/Adapters/Components/SimpleLogger.cs
329
C#
using LeetCode.Attributes; using System; using System.Collections.Generic; namespace LeetCode.Exercises { [Exercise] public class AllPathsFromSourceTarget { public static void Run() { var input = new[] { new [] { 1, 2 }, new [] { 3 }...
23.640449
72
0.419202
[ "MIT" ]
sergioescalera/LeetCode-Exercises
src/LeetCode-Exercises/Exercises/797-AllPathsFromSourceTarget.cs
2,106
C#
using System.Reflection; using System.Runtime.InteropServices; // General information about all assemblies in this solution. [assembly: AssemblyProduct("WIC.DotNet")] [assembly: AssemblyCopyright("© 2020 S. Bäumlisberger")] [assembly: AssemblyCompany("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("...
33.555556
67
0.761589
[ "MIT" ]
sbaeumlisberger/WIC-DotNet
SharedAssemblyInfo.cs
608
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Projeto.Presentation.Controllers { public class HomeController : Controller { // GET: Home public ActionResult Index() { return View(); } } }
18.588235
44
0.632911
[ "MIT" ]
ericaxv/Login-Autorization
Projeto.Presentation/Controllers/HomeController.cs
318
C#
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of the Griffin+ common library suite (https://github.com/griffinplus/dotnet-libs-serialization) // The source code is licensed under the MIT license. /////////////////////////////...
45.085714
140
0.636882
[ "MIT" ]
GriffinPlus/dotnet-libs-serialization
src/GriffinPlus.Lib.Serialization/CyclicDependencyDetectedException.cs
1,578
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using BizHawk.Common; using BizHawk.Common.BufferExtensions; using BizHawk.Emulation.Common; using BizHawk.Emulation.Common.IEmulatorExtensions; namespace BizHawk.Client.Common { public sealed class MemApi : IMem ...
31.072948
221
0.67397
[ "MIT" ]
TwitchPlaysPokemon/tpp-BizHawk2
BizHawk.Client.Common/Api/Classes/MemApi.cs
10,225
C#
/** * (C) Copyright IBM Corp. 2018, 2019. * * 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 t...
35.723404
120
0.679571
[ "Apache-2.0" ]
AndreiLuis/dotnet-standard-sdk
src/IBM.Watson.Discovery.v2/Model/QueryNestedAggregation.cs
1,679
C#
using UnityEngine; using System.Collections.Generic; using System.Collections; using System.Linq; using Kuchen; using Hobscure.Objects; using Hobscure.Screens; using Hobscure.Items; namespace Hobscure.NPC { public class NPCManager : MachineObject { public ObjectInventoryModel inventory;...
29.423077
121
0.585185
[ "Apache-2.0" ]
nahkranoth/DevilsTrinkets
Assets/GameWorld/World/NPCs/Scripts/Hobscure/NPC/NPCManager.cs
2,297
C#
using Microsoft.EntityFrameworkCore; namespace Message.DataAccess { public class MessageDbContext : DbContext { public MessageDbContext(DbContextOptions<MessageDbContext> options) : base(options) { } public DbSet<Models.Message> Messages { get; set; } prot...
25.095238
77
0.650854
[ "MIT" ]
TodorStamenov/GameBox
Server/Common/Message.DataAccess/MessageDbContext.cs
529
C#
namespace NServiceKit.Razor.Compilation.CodeTransformers { internal sealed class RewriteLinePragmas : RazorCodeTransformerBase { private string _binRelativePath; private string _fullPath; /// <summary>Initializes this object.</summary> /// /// <param name="razo...
37.896552
132
0.599636
[ "BSD-3-Clause" ]
NServiceKit/NServiceKit
src/NServiceKit.Razor/Compilation/CodeTransformers/RewriteLinePragmas.cs
1,073
C#
using Microsoft.AspNet.Identity.EntityFramework; namespace VisitorDemo.Models { // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more. public class ApplicationUser : IdentityUser { ...
30.647059
176
0.677543
[ "MIT" ]
TeamRenegade/billingApplication
VisitorDemo/Models/IdentityModels.cs
523
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 ...
42.186047
113
0.722161
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.ArtifactRegistry.V1/Google.Cloud.ArtifactRegistry.V1.GeneratedSnippets/ArtifactRegistryClient.UpdateProjectSettingsSnippet.g.cs
1,814
C#
/** * Copyright © 2021 Push Technology 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 law or agree...
39.019802
283
0.613296
[ "Apache-2.0" ]
pushtechnology/diffusion-examples
dotnet/source/examples/Features/TopicMetricCollector.cs
3,942
C#
using System; namespace Vectoreyes.EyeCenters { /// <summary> /// Eye center estimation class with pre-built buffers for reuse. This class is not thread-safe. /// </summary> public class EyeCenterEstimator { private readonly float[] _imageBlurred; private readonly float[]...
51.315574
199
0.44645
[ "MIT" ]
karashiiro/Vectoreyes
src/Vectoreyes/EyeCenters/EyeCenterEstimator.cs
12,523
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.Immutable; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; us...
21.892097
139
0.570392
[ "MIT" ]
06needhamt/roslyn
src/EditorFeatures/CSharpTest/ConvertAutoPropertyToFullProperty/ConvertAutoPropertyToFullPropertyTests.cs
28,812
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> //----------------------------------------...
32.885246
84
0.507976
[ "MIT" ]
triod315/SysProgLabworks
Lab5/Lab5/Lab5/AdminPage.aspx.designer.cs
2,008
C#
using System; using System.Collections.Generic; using System.Linq; namespace RectangleIntersection { public class StartUp { public static void Main(string[] args) { List<Rectangle> rectangles = new List<Rectangle>(); int[] operations = Console.ReadLine().Split().Select...
30.574074
93
0.500303
[ "MIT" ]
Gandjurov/OOP-Basic-CSharp
01.DefiningClasses/09.RectangleIntersection/StartUp.cs
1,653
C#
using Elsa.Pipelines.WorkflowExecution; namespace Elsa.Contracts; public interface IWorkflowExecutionBuilder { public IDictionary<string, object?> Properties { get; } IServiceProvider ApplicationServices { get; } IWorkflowExecutionBuilder Use(Func<WorkflowMiddlewareDelegate, WorkflowMiddlewareDelegate> mi...
34.454545
107
0.812665
[ "MIT" ]
elsa-workflows/experimental
src/core/Elsa.Core/Contracts/IWorkflowExecutionBuilder.cs
379
C#
namespace eShopOnContainers.Core.Models.Orders { public enum OrderStatus { Submitted, AwaitingValidation, StockConfirmed, Paid, Shipped, Cancelled } }
17.583333
47
0.587678
[ "MIT" ]
07101994/eShopOnContainers
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Models/Orders/OrderStatus.cs
213
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v1/services/product_group_view_service.proto // </auto-generated> // Original file comments: // Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you ...
60.775
392
0.740539
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V1/Stubs/ProductGroupViewServiceGrpc.cs
9,724
C#
using System; namespace Architecture.Domain.Core.Events { public abstract class Event : Message { public DateTime Timestamp { get; private set; } protected Event() { Timestamp = DateTime.Now; } } }
17.133333
55
0.579767
[ "MIT" ]
brunodasilvadev/ASPNETCORE1.1
StandardArchitecture/src/Architecture.Domain.Core/Events/Event.cs
259
C#
using Xamarin.UITest; using System.Threading.Tasks; namespace CosmosDbSampleApp.UITests { public abstract class BasePage { protected BasePage(in IApp app, in string pageTitle) { App = app; Title = pageTitle; } public string Title { get; } prote...
21.380952
94
0.612472
[ "MIT" ]
AzureAdvocateBit/CosmosDbSampleApp
CosmosDbSampleApp.UITests/Pages/BasePage.cs
451
C#
using SimpleSmtpInterceptor.Data.Models; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; namespace SimpleSmtpInterceptor.Lib.Services { public class AttachmentCompressor { private readonly IList<Attachment> _attachments; public AttachmentCompresso...
29.274725
104
0.5747
[ "MIT" ]
dyslexicanaboko/simple-smtp-interceptor
SimpleSmtpInterceptor.Lib/Services/AttachmentCompressor.cs
2,666
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using EventStore.Common.Utils; using EventStore.Core.Exceptions; using EventStore.Core.TransactionLog; using EventStore.Core.Util; using...
33.282084
175
0.711259
[ "Apache-2.0", "CC0-1.0" ]
riccardone/EventStore
src/EventStore.Core/Index/TableIndex.cs
26,195
C#
using System.Linq; using Adventure.GameEngine.Commands; using Adventure.GameEngine.Core.Querys; using Adventure.GameEngine.Systems.Components; using CodeProject.ObjectPool.Specialized; using EcsRx.Extensions; using JetBrains.Annotations; namespace Adventure.GameEngine.Systems { [UsedImplicitly] public sealed ...
33.5
141
0.636816
[ "MIT" ]
Tauron1990/TextAdventure
Neu/Adventure.GameEngine/Systems/LookProcessor.cs
1,409
C#
// Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using System.Reflection; using McMaster.Extensions.CommandLineUtils.Abstractions; namespace McMaster.Extensions.Co...
63.59633
290
0.734853
[ "Apache-2.0" ]
scott-xu/CommandLineUtils
src/CommandLineUtils/Properties/Strings.cs
6,934
C#
using System; using System.IO; using BizHawk.Common; namespace BizHawk.Client.Common { public class ZipStateSaver : IDisposable { private readonly IZipWriter _zip; private bool _isDisposed; private static void WriteVersion(Stream s) { var sw = new StreamWriter(s); sw.WriteLine("1"); // version 1.0.1...
18.650602
74
0.671835
[ "MIT" ]
CartoonFan/BizHawk
src/BizHawk.Client.Common/savestates/ZipStateSaver.cs
1,550
C#
/***************************************************** /* Created by Wizcas Chen (http://wizcas.me) /* Please contact me if you have any question /* E-mail: chen@wizcas.me /* 2017 © All copyrights reserved by Wizcas Zhuo Chen *****************************************************/ using System.Collections; using Syste...
34.723404
140
0.581189
[ "MIT" ]
wizcas/cheernow-lib
Assets/CheerNowLib/Tests/Editor/UtilityUnitTests.cs
3,267
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...
36.822222
256
0.611648
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/TrackedResource.cs
3,314
C#
using System; namespace Abp.Web.Models { /// <summary> /// Used to store informations about an error. /// </summary> [Serializable] public class ErrorInfo { private static IExceptionToErrorInfoConverter _converter = new DefaultExceptionToErrorInfoConverter(); /// <summary> ...
29.725664
110
0.525454
[ "MIT" ]
uQr/aspnetboilerplate
src/Abp/Framework/Abp.Web/Web/Models/ErrorInfo.cs
3,361
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 24.11.2020. using System; using System.Diagnostics; using Microsoft.EntityFrameworkCore.Query; namespace Lcpi.EntityFrameworkCore.Da...
35.3125
83
0.629646
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Root/Query/LcpiOleDb__ParameterBasedSqlProcessorFactory.cs
2,262
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using TMPro; public class UIController : MonoBehaviour { public TextMeshProUGUI scoreText; public GameObject mainCanvas; public GameObject settings; public TMP_Dropdown dr...
19.069444
71
0.541879
[ "Apache-2.0" ]
DerPartyPatrick/Flying-Light
Scripts/UIController.cs
1,375
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("Cho...
37.72973
84
0.748567
[ "MIT" ]
stepan82/Programming-Fundamentals-September-2017
Conditionals-Loops/Choose_Drink_2/Properties/AssemblyInfo.cs
1,399
C#
// *********************************************************************** // Assembly : MPT.CSI.API // Author : Mark Thomas // Created : 10-08-2017 // // Last Modified By : Mark Thomas // Last Modified On : 10-08-2017 // **********************************************************************...
24.25
95
0.413517
[ "MIT" ]
MarkPThomas/MPT.Net
MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/Definition/eObjectType.cs
1,749
C#
using System.Threading.Tasks; using WRLDCWarehouse.Data; using WRLDCWarehouse.Core.Entities; using WRLDCWarehouse.Core.ForiegnEntities; using Microsoft.EntityFrameworkCore; using WRLDCWarehouse.ETL.Enums; using Microsoft.Extensions.Logging; namespace WRLDCWarehouse.ETL.Loads { public class LoadAcTransLineCktCondT...
49.607843
214
0.6917
[ "MIT" ]
POSOCO/wrldc_data_warehouse_csharp
WRLDCWarehouse.ETL/Loads/LoadAcTransLineCktCondType.cs
2,532
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.815217
158
0.643523
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoTSiteWise/Generated/Model/Internal/MarshallTransformations/GatewayPlatformUnmarshaller.cs
3,111
C#
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ *...
37.373913
93
0.643555
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
OS2CPRbroker/CPRbroker
PART/Source/Core/Schemas.Tests/PersonRelationTypeHelperTests.cs
4,300
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // This file was automatically generated. Do not edit. #pragma warning disable IDE0016 // Null check can be simplified #pragma warning disable IDE0017 // Variable declaration can be inlined #pragma warning disable IDE0018...
53.114851
623
0.573733
[ "MIT" ]
helgeu/azure-sdk-for-net
sdk/storage/Azure.Storage.Files/src/Generated/FileRestClient.cs
486,166
C#