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.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace SGFR_Web.Areas.Identity.Pages.Account.Manage { public class...
34.416667
142
0.641162
[ "MIT" ]
PauloGaldino/SGFR_Identity
src/SGFR_Web/Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.cs
2,067
C#
using System; using System.Net; using System.Runtime.Serialization; using Bytewizer.Backblaze.Models; namespace Bytewizer.Backblaze { /// <summary> /// The exception thrown when an error occurs during client operations. /// </summary> [Serializable] public class ApiException : Exception { ...
43.244898
219
0.62152
[ "MIT" ]
microcompiler/backblaze
src/Client/Exceptions/ApiException.cs
4,240
C#
using BusinessLayer.Concrete; using DataAccessLayer.EntityFremawork; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HealthProject.ViewComponents.Blog { public class BlogLast3Post: ViewComponent { BlogManeger bm...
24.333333
58
0.702544
[ "Apache-2.0" ]
OzkanBahrianil/HealthProject
ViewComponents/Blog/BlogLast3Post.cs
513
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/OAIdl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServices...
26.773585
145
0.618746
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/OAIdl/SAFEARRAYUNION.cs
1,421
C#
namespace Firebend.AutoCrud.Io.Interfaces { public interface IEntityExportMapper<in TEntity, out TOut> where TEntity: class where TOut: class { TOut Map(TEntity entity); } public abstract class DefaultEntityExportMapper<T> : IEntityExportMapper<T, T> where T : class { ...
23.470588
98
0.611529
[ "MIT" ]
d2eason/auto-crud
Firebend.AutoCrud/Firebend.AutoCrud.Io/Interfaces/IEntityExportMapper.cs
399
C#
namespace UniModules.UniGameFlow.Nodes.Runtime.States { using System; using System.Diagnostics; using Cysharp.Threading.Tasks; using global::UniCore.Runtime.ProfilerTools; using global::UniModules.GameFlow.Runtime.Attributes; using global::UniModules.GameFlow.Runtime.Core; using global::Uni...
30.55
144
0.610007
[ "MIT" ]
UniGameTeam/UniGame.GameFlow
Runtime/Nodes/States/AsyncStateUniNode.cs
4,279
C#
namespace CS203_CALLBACK_API_DEMO { partial class TagKillForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.848341
174
0.58746
[ "MIT" ]
cslrfid/CSL-Callback-Unified-SDK-App
CSL RFID Demo Apps/Source/CS Native Demo XP/TagKillForm.designer.cs
10,096
C#
namespace qnote { partial class SignIn { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name=...
45.128834
173
0.574225
[ "Apache-2.0" ]
maxcriser/CSharpLanguage
qnote/qnote/SignIn.Designer.cs
7,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace OneTimePassword.Mvc.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public Ac...
20.5
68
0.541463
[ "MIT" ]
thiagosatoshi/OneTimePassword
OneTimePassword/OneTimePassword.Mvc/Controllers/HomeController.cs
617
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore; namespace HelloWorldWithMiddleware { public class Startup { public void Configure(IApplicati...
34.022222
123
0.564337
[ "MIT" ]
AdrienTorris/practical-aspnetcore
projects/middleware-5/src/Program.cs
1,531
C#
namespace StockSharp.Algo.Storages { using System; using System.Collections; using System.Collections.Generic; using System.Linq; using StockSharp.Messages; /// <summary> /// The market data storage, saving data in the cache-storage. /// </summary> /// <typeparam name="TData">Market data type.</typeparam> p...
33.215909
116
0.765994
[ "Apache-2.0" ]
CB-Creates/StockSharp
Algo/Storages/CacheableMarketDataStorage.cs
2,923
C#
using System; public static class ResistorColorTrio { private const int KiloOhms = 1_000; private static readonly string[] AllColors = new[] { "black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "grey", "white" }; public static string Label(string[] colors) => $"{(GetValue(colors) is in...
62
159
0.670699
[ "MIT" ]
18-F-cali/csharp
exercises/practice/resistor-color-trio/.meta/Example.cs
744
C#
using System.Xml; using Microsoft.Xna.Framework.Content.Pipeline; namespace TmxContentPipeline { [ContentImporter(".tmx", DisplayName = "TMX Importer", DefaultProcessor = "TmxProcessor")] public class TmxImporter : ContentImporter<XmlDocument> { public override XmlDocument Import(string filename, ContentImporterC...
25.117647
91
0.758782
[ "MIT" ]
antonyoung/Breaker
src/TmxContentPipeline/src/TmxImporter.cs
427
C#
//----------------------------------------------------------------------- // <auto-generated /> //----------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; na...
27.881579
111
0.566777
[ "BSD-2-Clause" ]
0xflotus/FlubuCore
FlubuCore/Tasks/Docker/Manifest/DockerManifestAnnotateTask.cs
2,119
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("Pe...
38.787879
117
0.760938
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/PerPixelLightingSample_4_0/PerPixelLighting/Properties/AssemblyInfo.cs
1,283
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Minio.Exceptions; using Newtonsoft.Json; using Orleans.Runtime; using Orleans.Serialization; using Orleans.Storage; using System; using System.IO; using System.Text; using System.Threading; usi...
42.125654
177
0.608998
[ "MIT" ]
Kimserey/Orleans.Persistence.Minio
Orleans.Persistence.Minio/Storage/MinioGrainStorage.cs
8,048
C#
using Common.Core.Helpers; using Xunit; namespace Common.Core.Tests.Helpers { public class MessageTest { [Theory] [InlineData(Messages.Body, "Body")] [InlineData(Messages.Method, "Method")] [InlineData(Messages.TraceIdentifier, "Trace Identifier")] [InlineData(Messages....
34.095238
132
0.670391
[ "Apache-2.0" ]
b-a-x/Common
test/Common.Core.Tests/Helpers/MessageTest.cs
718
C#
using Alabo.Web.Mvc.Attributes; using System.ComponentModel.DataAnnotations; namespace Alabo.App.Share.TaskExecutes.Domain.Enums { /// <summary> /// 封顶方式 /// </summary> [ClassProperty(Name = "封顶方式")] public enum LimitType { /// <summary> /// 不封顶 /// </summary> ...
24.754098
51
0.504636
[ "MIT" ]
tongxin3267/alabo
src/03.app/01-Alabo.App.Share/TaskExecutes/Domain/Enums/LimitType.cs
1,656
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("Mat...
37.567568
84
0.746043
[ "MIT" ]
zrusev/SoftUni_2016
04. C# Advanced - May 2017/01. Stacks and Queues/01. Stacks and Queues - Lab/06. Math Patato/Math Patato/Math Patato/Properties/AssemblyInfo.cs
1,393
C#
using PLControls.FormsPlugin; using PLControls.FormsPlugin.iOS; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(JustifiedLabel), typeof(JustifiedLabelRenderer))] namespace PLControls.FormsPlugin.iOS { public class JustifiedLabelRenderer : LabelRenderer { ...
27.045455
82
0.677311
[ "MIT" ]
processim-labs/PLControls
src/PLControls/iOS/JustifiedLabelRenderer.ios.cs
597
C#
using Kudu.Contracts; using Kudu.Contracts.Jobs; using Kudu.Contracts.Tracing; using Kudu.Core.Hooks; using Kudu.Core.Infrastructure; using Kudu.Core.Jobs; using Kudu.Core.Tracing; using Kudu.Services.Arm; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using Syste...
36.62716
157
0.617298
[ "Apache-2.0" ]
DiogenesPolanco/kudu
Kudu.Services/Jobs/JobsController.cs
14,836
C#
using MixERP.Net.Common.Helpers; using MixERP.Net.Framework; using MixERP.Net.i18n.Resources; using System.Diagnostics.CodeAnalysis; namespace MixERP.Net.Entities.Helpers { public static class TransactionBookHelper { public static string GetBookAcronym(TranBook book, SubTranBook subBook) { ...
37.368687
97
0.490337
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/Entities/MixERP.Net.Entities/Helpers/TransactionBookHelper.cs
7,401
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("12...
38.405405
84
0.746657
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
C# Projects/Homework-ConsoleInputOutput/12. FallingRocksVersion2/Properties/AssemblyInfo.cs
1,424
C#
namespace OEmbed.Test { public class BasicTests { [Fact] public async void NotFoundRequestWithCacheTest() { var provider = new CoubProvider(); var consumer = TestHelpers.BuildConsumer(new[] { provider }, withCache: true); var result = await consumer....
29.888889
102
0.597274
[ "MIT" ]
hey-red/OEmbed
OEmbed.Test/BasicTests.cs
809
C#
namespace Logger.Loggers { using Contracts; public class LogFile : ILogFile { public string Size { get; private set; } public void Write(string message) { for (int i = 0; i < message.Length; i++) { if ((message[i] >= 'a' && message[i] <= 'z')...
25.090909
105
0.425725
[ "MIT" ]
MiroslavaPetrova/SoftUni-Solutions
CSharp OOP Advanced/01.SOLID/Logger/Loggers/LogFile.cs
554
C#
#if !NO_CRYPTO using System; using System.Security.Cryptography; using SharpCompress.Converters; namespace SharpCompress.Common.Zip { internal class WinzipAesEncryptionData { private const int RFC2898_ITERATIONS = 1000; private readonly byte[] _salt; private readonly WinzipAesKeySize ...
28.582278
107
0.573074
[ "MIT" ]
13xforever/sharpcompress
src/SharpCompress/Common/Zip/WinzipAesEncryptionData.cs
2,258
C#
using Microsoft.AspNetCore.Http; using System; using System.ComponentModel; using System.Net; using System.Runtime.Serialization; namespace EasyOC { /// <summary> /// 自定义友好异常类 /// </summary> public class AppFriendlyException : Exception { /// <summary> /// 构造函数 /// </summar...
27.810811
124
0.515711
[ "Apache-2.0" ]
EasyOC/EasyOC
src/Core/EasyOC.Core/ResultWaper/FriendlyException/AppFriendlyException.cs
3,187
C#
namespace LateBindingHelper { /// <summary> /// Provides an interface for specifying a method to invoke on a type /// </summary> public interface IMethodCall { /// <summary> /// Sets the Method name to be invoked /// </summary> /// <param name="methodName">...
37.611111
102
0.604136
[ "MIT" ]
rickyah/DynoBind
projects/Core/IMethodCall.cs
677
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:2.0.50727.8009 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //----------------------------------------------------------...
51.23741
271
0.522466
[ "Apache-2.0" ]
sosan/msgpack-cli
test/MsgPack.UnitTest.Net35/gen/map/MsgPack_Serialization_PolymorphicMemberTypeKnownType_PrimitiveReadOnlyFieldAndConstructorAsObjectSerializer.cs
7,296
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Microsoft.AspNe...
52.252874
201
0.599648
[ "MIT" ]
2bon/PowerShell
test/tools/WebListener/Program.cs
4,546
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
42.391304
163
0.622125
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Waf/SqlInjectionMatchSet.cs
6,825
C#
using System.Collections.Generic; #pragma warning disable 1591 namespace Simple.OData.Client { public class ReferenceLink { public string LinkName { get; set; } public object LinkData { get; set; } public string ContentId { get; set; } } public class EntryDetails { ...
33.45
121
0.632287
[ "MIT" ]
3-PRO/Simple.OData.Client
src/Simple.OData.Client.Core/EntryDetails.cs
1,340
C#
/******************************************************************************* * * Copyright (c) {2003-2019} Murex S.A.S. and its affiliates. * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution, and is av...
27.875
81
0.500747
[ "MIT" ]
PrivateCodeRetreat2/mikado-testbuilders-kata
csharp/Application/Domain/Book/Genre.cs
669
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using BuildCaddyShared; namespace TestSuite { class Program { public class ServerListener : INetworkServerListener { public void OnPeerConnect() { } public voi...
18.715686
89
0.59979
[ "MIT" ]
bargle/BuildCaddy
TestSuite/Program.cs
1,911
C#
using System.Collections.Generic; using Obvs.Types; namespace Obvs.Integrations.Slack.Messages { public class GetSlackUsersResponse : IResponse, ISlackIntegrationMessage { public string RequestId { get; set; } public string RequesterId { get; set; } public List<User> Users { get; set; }...
24.391304
76
0.582888
[ "MIT" ]
SpocWeb/Obvs
Obvs.Integrations.Slack/Messages/GetSlackUsersResponse.cs
561
C#
using MediatR; namespace Advertising.Application.Queries { public interface IQuery<out TResult> : IRequest<TResult> { } }
15.111111
60
0.705882
[ "MIT" ]
burakkirbag/advertising-api
src/Advertising.Common/Application/Queries/IQuery.cs
138
C#
using System; using Sitecore.Configuration; namespace Sitecore.React { public static class Constants { public const string ExtensionsAssemblyFileName = "Sitecore.Pathfinder.Checker.dll"; public const string SafeProjectUniqueIdRegex = @"[^a-zA-Z0-9_\.]"; public static readonly char[] Comma = { ',' }; ...
25.962963
134
0.717546
[ "MIT" ]
Aceik/sitecore.react
src/Sitecore.React/Constants.cs
703
C#
using System; using System.Collections.Generic; using Foundation; using Plugin.Toast.IOS; using UIKit; using UserNotifications; namespace Plugin.Toast { public static partial class Platform { /// <summary> /// You must call this function if you want to receive an event received at application ...
29.791667
114
0.672727
[ "MIT" ]
anton-yashin/Plugin.Toast
src/Plugin.Toast/Platform.ios.cs
717
C#
namespace AutoRest.CSharp.LoadBalanced.Json { public delegate bool TryParser<in TSource, TTarget>(TSource source, out TTarget target); }
35.25
92
0.787234
[ "MIT" ]
agoda-com/autorest
src/generator/AutoRest.CSharp.LoadBalanced.Json/TryParser.cs
143
C#
using System; using System.Collections.Generic; using System.Text; namespace StrykerDG.FarmForge.Actors.Units.Messages { public class AskToDeleteUnitType { public int UnitTypeId { get; private set; } public AskToDeleteUnitType(int id) { UnitTypeId = id; } } }
18.764706
51
0.642633
[ "MIT" ]
StrykerDG/StrykerDG.FarmForge
StrykerDG.FarmForge.Actors/Units/Messages/AskToDeleteUnitType.cs
321
C#
using System; using System.Text; using Bing.Data.Queries; using Bing.Data.Queries.Conditions; using Bing.Tests.Samples; using Xunit; namespace Bing.Tests.Datas.Queries.Criterias { /// <summary> /// 测试日期范围过滤条件 - 包含时间 /// </summary> public class DateTimeSegmentCriteriaTest { /// <summary> ...
46.380952
143
0.594713
[ "MIT" ]
bing-framework/Bing.NetCode
framework/tests/Bing.Tests/Datas/Queries/Criterias/DateTimeSegmentCriteriaTest.cs
3,992
C#
using System.ComponentModel.Composition; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; namespace PackageSecurity { [Export(typeof(ITaggerProvider))] [ContentType("json")] [TagType(typeof(AlertTag))] class AlertTaggerProvider : ITa...
29.225806
107
0.669978
[ "Apache-2.0" ]
madskristensen/PackageSecurity
src/Tagger/AlertTaggerProvider.cs
908
C#
namespace ytSendMail { partial class frmConfig { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为...
41.706522
141
0.563331
[ "MIT" ]
callbin/SendEmail
ytSendMail/frmConfig.Designer.cs
7,894
C#
using System.Collections; using System.Collections.ObjectModel; using WALauncher.Utils; namespace WALauncher.ViewModels.WapkgObjects { public class PackageGroup : ViewModelBase { public string Name { get; } public ObservableCollection<AvailablePackage> Packages { get; } public Package...
23.189189
71
0.501166
[ "Apache-2.0" ]
MEDVEDx64/WALauncher
WALauncher/ViewModels/WapkgObjects/PackageGroup.cs
860
C#
using Order.Infrastructure.Enumaration; namespace Order.Domain.Enums { public class CourierTypeEnum: Enumaration { public static readonly CourierTypeEnum CarCourier = new CourierTypeEnum(1, "CarCourier"); public static readonly CourierTypeEnum MotorCourier = new CourierTypeEnum(2, "MotorCourie...
32.086957
101
0.608401
[ "MIT" ]
MrBugra/EventSourcing.Order
Order.Domain/Enums/CourierTypeEnum.cs
740
C#
using HavenSoft.HexManiac.Core.Models; using HavenSoft.HexManiac.Core.Models.Runs; using HavenSoft.HexManiac.Core.Models.Runs.Factory; using HavenSoft.HexManiac.Core.ViewModels.DataFormats; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; nam...
38.855856
137
0.645259
[ "MIT" ]
haven1433/HexManiacAdvance
src/HexManiac.Core/ViewModels/Tools/StreamElementViewModel.cs
8,628
C#
using NUnit.Framework; namespace Mirage { [TestFixture] public class ExponentialMovingAverageTest { [Test] public void TestInitial() { var ema = new ExponentialMovingAverage(10); ema.Add(3); Assert.That(ema.Value, Is.EqualTo(3)); Ass...
21.863636
71
0.509356
[ "MIT" ]
HeadClot/Mirage
Assets/Tests/Editor/ExponentialMovingAverageTest.cs
962
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace YanZhiwei.JavaScript.Utilities { public...
24.16
81
0.379139
[ "MIT" ]
wind2006/DotNet.Utilities
YanZhiwei.JavaScript.Utilities/JsDemo.aspx.designer.cs
790
C#
/* MIT License Copyright (c) 2019: Francesco Dettori, Jacopo Frasson, Riccardo Lombardi, Michele Maione Author: Francesco Dettori Contributors: 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 with...
43.4
559
0.663949
[ "MIT" ]
FraDetto/BeStrong-BeTheLas
Project/BeStrongBeTheLast/Assets/Scripts/Global/ArrowPanelOnSpline.cs
2,823
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using bqStart.Data; #nullable disable ...
35.967311
103
0.437288
[ "MIT" ]
binaryquest/bqstart
aspnet/src/bqStart/bqStart.Data/Migrations/20220105123524_AddOrderData01.Designer.cs
24,208
C#
using System.IO; using System.Threading.Tasks; namespace RIAppDemo.BLL.Utils { public class FileContent : IDataContent { private readonly string _filePath; public FileContent(string filePath) { _filePath = filePath; } public string FilePath => _filePath; ...
21.558824
77
0.537517
[ "MIT" ]
BBGONE/JRIApp
DEMOS/RIAppDemoMVC/RIApp.BLL/Utils/FileContent.cs
735
C#
#pragma checksum "E:\.NETProjeto\CadastroAluno\CadatroAluno\Views\Cursos\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d14d7ac8390b49bf232da431a759387876bb43cb" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCor...
55.457143
298
0.723751
[ "MIT" ]
Josyas/CadastroAluno
CadatroAluno/obj/Debug/net5.0/Razor/Views/Cursos/Details.cshtml.g.cs
9,705
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #nullable enable using System; using System.Collections.Generic; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Quantum.Authentication; using Microsoft.Jupyter.Core; namespace Micros...
40.139896
179
0.618433
[ "MIT" ]
Bradben/iqsharp
src/AzureClient/IAzureClient.cs
7,749
C#
// // Trimmer Framework for Unity // https://sttz.ch/trimmer // #if !NO_TRIMMER || UNITY_EDITOR using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using sttz.Trimmer.Extensions; using System.Text; using System.Text.RegularExpressions; namespace sttz.Trimmer { // TODO: Way to clean...
28.978439
110
0.507812
[ "MIT" ]
JesseTG/trimmer
Base/ValueStore.cs
28,225
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Liu.Infra.CrossCutting.Identity.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
42.313364
122
0.499564
[ "MIT" ]
faugusto90/LiuProject
src/Liu.Infra.CrossCutting.Identity/Data/Migrations/00000000000000_CreateIdentitySchema.cs
9,184
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 * * or ...
40.817204
172
0.683351
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/DirectoryService/Generated/Model/_bcl45+netstandard/DescribeDomainControllersPaginator.cs
3,796
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using ClForms.Elements; namespace ClForms.Common { /// <summary> /// Represents the collection of items in a <see cref="ListView"/> control /// </summary> public class ListViewItemCollection<T>: IList<T> { privat...
27.44
104
0.562318
[ "Apache-2.0" ]
Ahatornn/clforms
ClForms/Common/ListViewItemCollection.cs
2,744
C#
// Copyright Information // ================================== // EntityFrameworkCore - EfCoreBasics - VIndividualCustomer.cs // All samples copyright Philip Japikse // http://www.skimedic.com 2020/04/08 // See License.txt for more information // ================================== using System; using System.Collectio...
33.851852
83
0.647702
[ "BSD-3-Clause", "MIT" ]
MalikWaseemJaved/presentations
.NETCore/EFCoreSamples/EfCoreBasics/Entities/VIndividualCustomer.cs
1,830
C#
using System; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime { public interface ICJKSetExtractorConfiguration : IDateTimeOptionsConfiguration { Regex LastRegex { get; } Regex EachPrefixRegex { get; } Regex EachUnitRegex { get; } Regex Uni...
23.96875
82
0.683181
[ "MIT" ]
QPC-database/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKSetExtractorConfiguration.cs
769
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using WalkMatrix; using WalkMatrix.MatrixGenerator; namespace WalkMatrix.Tests { [TestClass] public class TestMatrixGenerator { [TestMethod] public void MatrixGeneratorGetNextDirectionShouldSwitchDirectionCo...
32.304348
134
0.512209
[ "MIT" ]
todorm85/TelerikAcademy
Courses/Programming/High Quality Code/Homework/13. Refactoring/MatrixWalk/Matrix.Tests/TestMatrixGenerator.cs
5,203
C#
using Microsoft.AspNetCore.SignalR; using System; namespace SignalR.Modules { /// <summary> /// A base class for a SignalR Module hub. /// </summary> public abstract class ModuleHub<T> : ModuleHub where T : class { private bool _disposed; private IHubCallerClients<T> _client...
25.385965
118
0.494817
[ "MIT" ]
berhir/SignalR.Modules
src/SignalR.Modules/ModuleHub{T}.cs
1,447
C#
using CodeGen.Core; namespace CodeGen.Parsing.Ast.Expressions { public class ExpressionNode : Expression { public Expression[] Operands { get; } public ExpressionNode(string operatorName, params Expression[] operands) : this(operatorName) { Operands = operands; } ...
25.481481
101
0.606105
[ "MIT" ]
SuperJMN/CodeGeneration
CodeGen.Parsing/Ast/Expressions/ExpressionNode.cs
690
C#
using System; using System.Collections.Generic; namespace RefinId.Specs { public class TestStorage : ILongIdStorage { private List<long> _values; public TestStorage(params long[] values) { _values = new List<long>(values); } public List<long> Values { get { return _values; } } public List<l...
17.926829
69
0.688435
[ "MIT" ]
OlegAxenow/refinid
Refinid.Specs/TestStorage.cs
737
C#
// // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // 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 u...
38.864865
74
0.737135
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/corlib/System.Runtime.InteropServices/OptionalAttribute.cs
1,438
C#
namespace WorQLess.Models { public interface IWorQLessWorkflow { IWorkflowContainer WorkflowContainer { get; set; } } }
19.857143
58
0.690647
[ "MIT" ]
fabiohvp/WorQLess.Net
Models/IWorQLessWorkflow.cs
139
C#
using System; namespace SampleAspNetWithEfCore.Dtos { public class PingDto { public PingDto(bool useUtc, string messageSuffix) { IsUtc = useUtc; Now = useUtc ? DateTime.UtcNow : DateTime.Now; Message = "Server is alive!" + messageSuffix; } p...
22.894737
58
0.567816
[ "MIT" ]
lucas-zimerman/sample-ef-core-in-asp-net-core
SampleAspNetWithEfCore/Dtos/PingDto.cs
437
C#
// (c) www.click2wait.net using System; using System.Text; using System.Linq; using UnityEngine; using Mirror; using click2wait; namespace click2wait { [System.Serializable] public abstract partial class EntityManager : PropertyManager { // assign // cmd assign // unassign // cmd unassign ...
19.130435
84
0.590909
[ "MIT" ]
Ghetaldus/click2wait-browser-game-style-engine
Scripts/Managers/_Abstract/EntityManager.cs
882
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.Core.Test { using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.Devices.Edge.Hub.Core.Cloud; using Microsoft.Azure.Devices.Edge.Hub.Core....
54.238938
143
0.651275
[ "MIT" ]
CIPop/iotedge
edge-hub/test/Microsoft.Azure.Devices.Edge.Hub.Core.Test/DeviceMessageHandlerTest.cs
18,387
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace BikeDataProject.App.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class TrackingPage : ContentPage { ...
20.4
53
0.703431
[ "MIT" ]
bikedataproject/app
src/BikeDataProject.App/Views/TrackingPage.xaml.cs
410
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("ImageModeration")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [as...
37.037037
82
0.746
[ "MIT" ]
PacktPublishing/Implementing-Azure-Cognitive-Services-for-Language
Section 4/4.5/after/ImageModeration/ImageModeration/Properties/AssemblyInfo.cs
1,002
C#
using UnityEngine; using System.Collections; public class CustomObject { static public GameObject CreateObject(string type = "GameObject", Obj.Colour color = Obj.Colour.WHITE) { GameObject obj = new GameObject(type); obj.AddComponent<MeshFilter>();//.mesh = (Mesh) typeof(CustomMesh).GetMethod(type).Invoke(null,...
33.943598
307
0.695918
[ "MIT" ]
NikolaySkakun/coloristique-origins
Assets/Scripts/Utilities/CustomObject.cs
22,269
C#
using System; using WinReform.Domain.WinApi; using WinReform.Domain.Windows; using Xunit; namespace WinReform.Domain.Tests.Windows { /// <summary> /// Tests for the <see cref="Window"/> /// </summary> public class WindowTests { #region Equals Tests [Fact] public void Equal...
30.112245
124
0.547272
[ "Apache-2.0" ]
AKruimink/WinReform
src/Tests/WinReform.Domain.Tests/Windows/WindowTests.cs
2,953
C#
using Job.Notification.Contracts; namespace JobService { public interface IClientNotificationService { void JobNotification(string clientId, int jobId, JobStatus status); } }
17.25
75
0.700483
[ "MIT" ]
nrawat207/SignalR-NotificationService-WPF
src/SignalR-NotificationService-WPF/JobService/Infrastructure/IClientNotificationService.cs
209
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; namespace BlogDownloader { public partial class frmAbout : Form { public frmAbout() { ...
21.351351
92
0.593671
[ "Apache-2.0" ]
songboriceboy/SimpleFrameWork
BlogDownloader/frmAbout.cs
790
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /componenttcb/dbimport 接口的响应。</para> /// </summary> public class ComponentTcbDbImportResponse : WechatApiResponse { /// <summary> /// 获取或设置导入任务 ID。 /// </summary> [Newtonsoft.Json.Js...
28.5625
67
0.608315
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTcb/Database/ComponentTcbDbImportResponse.cs
495
C#
using Auth0.ManagementApi.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AgoraAcademy.AgoraEgo.Server.Interfaces { /// <summary> /// 在Auth0 内的登录用API的所有可用用户身份获取 /// </summary> public interface IAvailableRoleGetterService { ...
22.190476
49
0.648069
[ "Apache-2.0" ]
AgoraAcademy/Agora_E-go
Server/Interfaces/IAvailableRoleGetterService.cs
530
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...
79.444606
467
0.682783
[ "MIT" ]
Agazoth/azure-powershell
src/SignalR/SignalR.Autorest/generated/cmdlets/UpdateAzWebPubSub_UpdateViaIdentityExpanded.cs
53,814
C#
namespace CoinMonitoringPortalApi.Business.Database.Enums { public enum ExchangeTypeEnum: short { Cex = 1, Poloniex = 2 } }
14.666667
58
0.734848
[ "MIT" ]
VytautasBoznis/CoinMonitoringApi
CoinMonitoringPortalApi.Business/Database/Enums/ExchangeTypeEnum.cs
134
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SkyBoxScript : MonoBehaviour { public Material SkyBox1; public Material SkyBox2; void Start() { RenderSettings.skybox = SkyBox1; } // Update is called once per frame void Update() { ...
19.864865
53
0.564626
[ "Apache-2.0" ]
rockchik/Bouncy
Assets/Scripts/SkyBoxScript.cs
737
C#
using ApprovalTests.Namers.StackTraceParsers; namespace ApprovalTests.StackTraceParsers { public class XUnitTheoryStackTraceParser : AttributeStackTraceParser { public const string TheoryAttribute = "Xunit.Extensions.TheoryAttribute"; public override string ForTestingFramework { get { return "xUn...
23
76
0.750572
[ "Apache-2.0" ]
GeertvanHorrik/ApprovalTests.Net
ApprovalTests/Namers/UnitTestFrameworks/XUnitTheoryStackTraceParser.cs
419
C#
namespace MediaManager_Client { partial class MediaPlayer { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
55.994012
172
0.623463
[ "MIT" ]
Adrianvdh/Prepril-Remote
Plugins/MediaManager/MediaManager.Client/MediaPlayer.designer.cs
18,704
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; using Customer.API.Infrastructure.Contexts; using Customer.API.Models; using Microsoft.EntityFramewo...
41.574675
196
0.549473
[ "MIT" ]
onur-ozel/o-bank
services/Customer.API/Infrastructure/Utils/APIUtils.cs
12,805
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; using System.Diagnostics; namespace System.DirectoryServices.AccountManagement { internal class E...
23.076923
77
0.575
[ "MIT" ]
Mattlk13/corefx
src/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/EmptySet.cs
1,200
C#
using ObrasBibliotecariasApp.DataAccess; using ObrasBibliotecariasApp.Interfaces; using ObrasBibliotecariasApp.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.SpaServices.AngularCli; using Microsoft.EntityFrameworkCore; u...
34.43038
143
0.607721
[ "Unlicense" ]
marcelomsr/obras-bibliograficas
ObrasBibliograficas/ObrasBibliotecariasApp/Startup.cs
2,720
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Threading; using System.Globalization; using System.Runtime.InteropServices; using System.Text.RegularExpressions; using System.Diagnostics; using System...
41.602242
171
0.471709
[ "MIT" ]
TSelman61/AssetStudio
AssetStudio/AssetStudioForm.cs
77,923
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using APIMonLib; using APIMonShared; using System.Diagnostics; using EasyHook; using CPN; using System.Runtime.Remoting; using AliasProcessCreationFlags = APIMonLib.Hooks.kernel32.dll.Kernel32Support.ProcessCreationFlags; ...
39.242812
195
0.561345
[ "Apache-2.0" ]
850i/APIMon
APIMon/MessageServer.cs
12,285
C#
namespace Ultrasound { /// <summary> /// Родительский класс от которого наследуются все препятствия в мире. /// </summary> class Obstacle { /// <summary> /// Позиция в мире по X. /// </summary> protected int PosX; /// <summary> /// Отправка информац...
26.461538
74
0.55814
[ "MIT" ]
Rinkton/ultrasound-project
UltrasoundTheProgram/Ultrasound/Obstacle.cs
817
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...
37.7
158
0.615574
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DeleteDBSecurityGroupResponseUnmarshaller.cs
5,278
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; using UnityEngine.Networking; using Object = UnityEngine.Object; using System.Text; using System.Text.RegularExpressions; namespace Mobcast.Coffee.AssetSystem { #if UNITY_EDITOR public class EditorOption :...
30.948312
217
0.691673
[ "MIT" ]
mob-sakai/AssetSystem
Assets/Mobcast/Coffee/AssetSystem/AssetManager.cs
31,823
C#
using FluentValidation; using Nop.Core.Domain.Topics; using Nop.Data; using Nop.Services.Localization; using Nop.Web.Areas.Admin.Models.Templates; using Nop.Web.Framework.Validators; namespace Nop.Web.Areas.Admin.Validators.Templates { public partial class TopicTemplateValidator : BaseNopValidator<TopicTemplateMo...
41.95
153
0.764005
[ "CC0-1.0" ]
peterthomet/BioPuur
nopCommerce 4.4/src/Presentation/Nop.Web/Areas/Admin/Validators/Templates/TopicTemplateValidator.cs
841
C#
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
36.009346
116
0.559304
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/ilPSP/layer_1.2-ilPSP/ilPSP.LinSolvers.monkey/CudaDevice.cs
3,749
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using zxMode = com.google.zxing.qrcode.decoder.Mode; namespace Custom.Calculation.QrCode.Encoding.Tests { using Custom.Algebra.QrCode.Encoding; using Custom.Algebra.QrCode.Encoding.DataEncodation; using Custom.Algebra.QrCode.Encodin...
53.035088
118
0.74264
[ "Apache-2.0" ]
InnPad/Formall.NET
Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/ModeAutoSelectTest.cs
3,507
C#
using XUCore.Template.EasyFreeSql.Core; using XUCore.Template.EasyFreeSql.Persistence.Entities.User; namespace XUCore.Template.EasyFreeSql.Applaction.User.Role { /// <summary> /// 角色 /// </summary> public class RoleDto : DtoBase<RoleEntity> { /// <summary> /// 角色名 /// </sum...
22.058824
60
0.610667
[ "MIT" ]
xuyiazl/XUCore.Template
XUCore.Template.EasyFreeSql/Content/XUCore.Template.EasyFreeSql/XUCore.Template.EasyFreeSql.Applaction/AppServices/User/Role/Dtos/RoleDto.cs
387
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
35.95
180
0.799722
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementSizeConstraintStatementFieldToMatchAllQueryArgumentsGetArgs.cs
719
C#
using System.Windows; using System.Windows.Controls; using RevitLookupWpf.ViewModel; namespace RevitLookupWpf.Controls { public class BreadCrumNavigation:StackPanel { public LookupViewModel RootContext { get { return (LookupViewModel)GetValue(RootContextProperty); } set...
37.390625
172
0.625157
[ "MIT" ]
weianweigan/RevitLookupWpf
RevitLookup/Controls/BreadCrumNavigation.cs
2,395
C#
using System; using System.Runtime.InteropServices; using LibHac.Common; using LibHac.Diag; namespace LibHac.Util { public enum CharacterEncodingResult { Success = 0, InsufficientLength = 1, InvalidFormat = 2 } public static class CharacterEncoding { ...
39.250899
152
0.490984
[ "BSD-3-Clause" ]
Thealexbarney/LibHac
src/LibHac/Util/CharacterEncoding.cs
43,649
C#
// // C4PredictiveQuery_defs.cs // // Copyright (c) 2019 Couchbase, Inc 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...
26.135135
75
0.73423
[ "Apache-2.0" ]
kokoska69/couchbase-lite-net
src/LiteCore/src/LiteCore.Shared/Interop/C4PredictiveQuery_defs.cs
967
C#
using System; using System.Collections.Generic; using System.Windows; namespace ReactNative.DevSupport { /// <summary> /// The content dialog for red box exception display. /// </summary> sealed partial class RedBoxDialog : Window { #region Private Fields private readonly Action _...
21.538462
85
0.509524
[ "MIT" ]
Shadyzpop/react-native-windows-compiled
ReactWindows/ReactNative.Net46/DevSupport/RedBoxDialog.xaml.cs
1,682
C#
namespace Machete.X12Schema.V5010 { using X12; public interface Loop0320_204 : X12Layout { SegmentList<L5> DescriptionMarksAndNumbers { get; } Segment<AT8> ShipmentWeightPackagingAndQuantityData { get; } LayoutList<Loop0325_1_204> Loop0325_1 { get; } ...
26.12
72
0.612557
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/Loop0320_204.cs
653
C#
using HarmonyLib; using RimWorld; using RimWorld.Planet; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Text; using UnityEngine; using Verse; using Verse.AI; using Verse.Sound; namespace ZombieLand { public class BombVest : Appar...
33.406187
237
0.690105
[ "MIT" ]
X-EcutiOnner/Zombieland
Source/Patches.cs
165,249
C#