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 MediatR; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Szlem.Engine.Exceptions; using Szlem.Engine.UserManagement; using Szlem.Domain.Exceptions; using Szlem.Models.Users; nam...
37.884615
142
0.656853
[ "MIT" ]
Yaevh/fcc-net50-bug-repro
src/Szlem.Persistence.EF/UserManagement/EnsureRolesExistUseCaseHandler.cs
1,972
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(WebJobHost.Startup))] namespace WebJobHost { public class Startup { public void Configuration(IAppBuilder app) { // For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?Link...
22.647059
125
0.651948
[ "MIT" ]
Anchinga/TechnicalCommunityContent
IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.2/WebJobHost/Startup.cs
387
C#
// Copyright (c) 2008-2018, Hazelcast, 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.0 // // Unless required...
38.305556
106
0.661349
[ "Apache-2.0" ]
asimarslan/hazelcast-csharp-client
Hazelcast.Examples/Org.Website.Samples/AtomicLongSample.cs
1,381
C#
namespace Car.Interface { public interface ISteerController { void Steer(float angle); } }
15.857143
37
0.63964
[ "MIT" ]
punsal/Simple-Racer
Assets/Scripts/Car/Interface/ISteerController.cs
113
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Mvc.Cors; /// <summary> /// A filter factory which creates a ...
32.326087
91
0.699395
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.Cors/src/CorsAuthorizationFilterFactory.cs
1,487
C#
/* * Copyright 2012-2020 The Pkcs11Interop Project * * 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 ap...
34.111111
134
0.666356
[ "Apache-2.0" ]
ConnectionMaster/Pkcs11Interop
src/Pkcs11Interop/LowLevelAPI41/CK_INFO.cs
2,159
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.IO; using System.Management.Automation.Host; using System.Management.Automation.Interna...
27
124
0.478817
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostTranscript.cs
3,753
C#
using System; namespace Kf.Core.Conventions.Timestamping.Exceptions { public class TimestampException : Exception { public TimestampException(string message) : base(message) { } public TimestampException(string message, Exception innerException) : base(message, innerException) { } } }
31.5
111
0.730159
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
KodeFoxx/Kf.Core
Source/Kf.Core/(conventions)/Timestamping/Exceptions/TimestampException.cs
317
C#
using Azylee.YeahWeb.SocketUtils.TcpUtils; using BigBird.Models.ProjectModels; using BigBird.Models.SystemModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BigBirdConsole.Commons { public static partial class R { public static class TxConvert ...
32.914286
97
0.676215
[ "MIT" ]
yuzhengyang/BigBirdDeployer
BigBirdDeployer/BigBirdConsole/Commons/R.TxConvert.cs
1,170
C#
using System; using System.ComponentModel; using System.Reflection; using static Alba.CsConsoleFormat.TypeConverterUtils; namespace Alba.CsConsoleFormat { /// <summary> /// Converts <see cref="Size"/> to and from <see cref="string"/>: /// <list type="bullet"> /// <item>"1 2" - <c>new Size(1, 2)</c></i...
38.459459
113
0.607168
[ "Apache-2.0" ]
Athari/CsConsoleFormat
Alba.CsConsoleFormat/Converters/SizeConverter.cs
1,425
C#
using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace UnityEditor.NPNFEditor { public partial class XCProject : System.IDisposable { private PBXDictionary _datastore; public PBXDictionary ...
30.003236
152
0.660393
[ "Apache-2.0" ]
npnf-inc/PlayForKeeps
Assets/NPNF/Editor/iOS/third_party/NPNFXcodeEditor/NPNFXCProject.cs
18,543
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...
30.376623
108
0.637452
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/DetectSentimentResponse.cs
2,339
C#
namespace Echo.Roles.Dto { public class FlatPermissionDto { public string Name { get; set; } public string DisplayName { get; set; } public string Description { get; set; } } }
21
47
0.558442
[ "MIT" ]
Versus-91/Echo
src/Echo.Application/Roles/Dto/FlatPermissionDto.cs
233
C#
using Foundation.Cms.ViewModels; using Foundation.Commerce.Models.Pages; using System.Collections.Generic; namespace Foundation.Commerce.Customer.ViewModels { /// <summary> /// Represent for all credit cards of user or an organization /// </summary> public class CreditCardCollectionViewModel : ContentV...
30.714286
92
0.706977
[ "Apache-2.0" ]
MiracleManS/Foundation
src/Foundation.Commerce/Customer/ViewModels/CreditCardCollectionViewModel.cs
645
C#
using System.Collections.Generic; using System.Threading; namespace Frog.Util.Collection { /// <summary> /// 阻塞队列 /// </summary> public class BlockingQueue<T> { #region Fields & Properties //队列名称 private string m_name; //队列最大长度 private readonly int m_maxSize...
25.082192
96
0.404424
[ "MIT" ]
FrogIf/FrogUtil
FrogUtil/Collection/BlockingQueue.cs
4,132
C#
using System; using System.Data; using System.Data.SqlClient; using lmDatasets; namespace atriumDAL { /// <summary> /// Class generated by sgen /// based on secFeature table /// in lawmate database /// on 1/3/2007 /// </summary> public partial class secFeatureDAL:atDAL.ObjectDAL { internal secFeatureD...
54.062857
261
0.751612
[ "MIT" ]
chris-weekes/atrium
atriumDAL/secFeature_DAL.cs
9,461
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. namespace mshtml { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [ComImport, Guid("3050F1F0-98B5-11CF-BB82-00AA00BDCE...
45.166667
377
0.749077
[ "MIT" ]
BobinYang/OpenLiveWriter
src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IHTMLBRElement.cs
813
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...
35.837838
163
0.628205
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreatePartnerEventSourceRequestMarshaller.cs
3,978
C#
using System; using System.ComponentModel.Composition; using FirstFloor.ModernUI.Windows; namespace DumpMiner.Infrastructure.Mef { [MetadataAttribute] [AttributeUsage(AttributeTargets.Class)] public class ContentAttribute : ExportAttribute { public ContentAttribute(string contentUri) ...
23.45
54
0.675906
[ "MIT" ]
dudikeleti/DumpMiner
DumpMiner/Infrastructure/Mef/ContentAttribute.cs
471
C#
namespace MyMiniWebServer.Server.Handlers { using System; using MyMiniWebServer.Server.Common; using MyMiniWebServer.Server.Handlers.Contracts; using MyMiniWebServer.Server.Http; using MyMiniWebServer.Server.Http.Contracts; public class RequestHandler : IRequestHandler { private re...
30.553571
92
0.591467
[ "MIT" ]
mdamyanova/C-Sharp-Web-Development
09.C# Web/09.01.C# Web Development Basics/MyMiniWebServer/MyMiniWebServer/Server/Handlers/RequestHandler.cs
1,713
C#
using System.Linq; namespace Infrastructure { public partial class BaseForm : System.Windows.Forms.Form { public BaseForm() { InitializeComponent(); } private void BaseForm_Load(object sender, System.EventArgs e) { } } }
15.176471
64
0.662791
[ "MIT" ]
zomorodiNooshin/C-sample
MyApplication/Infrastructure/BaseForm.cs
260
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associada a um assembly. [assembly: AssemblyTitle("Page275")]...
38.351351
97
0.750529
[ "MIT" ]
renebentes/HeadFirstCSharp
Cap7/Page275/Properties/AssemblyInfo.cs
1,445
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.263158
153
0.602017
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IManagedDeviceRemoteLockRequest.cs
2,181
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.VisualStudio.Imaging.Interop; namespace Microsoft.VisualStudio.ProjectSystem.VS.Tree.Dependencies.Models ...
32.333333
161
0.731959
[ "Apache-2.0" ]
bording/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Tree/Dependencies/Models/IDependencyViewModelExtensions.cs
584
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.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using...
44.715385
220
0.632032
[ "Apache-2.0" ]
AaqibAhamed/aspnetcore
src/Components/WebAssembly/WebAssembly/src/Services/LazyAssemblyLoader.cs
5,813
C#
namespace daq_api.Models.WebMap { public class Bookmark { public Extent Extent { get; set; } public string Name { get; set; } } }
19.875
42
0.584906
[ "MIT" ]
agrc/daq-web-framework
api/Models/WebMap/Bookmark.cs
161
C#
namespace DapperExtensionsReloaded.Test.Mapper { public class FooWithIntId { public int Id { get; set; } public string Value { get; set; } public int BarId { get; set; } } }
23.222222
46
0.602871
[ "MIT" ]
MisterGoodcat/Dapper-Extensions
DapperExtensionsReloaded.Test/Mapper/FooWithIntId.cs
209
C#
using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; using FHICORC.Enums; using FHICORC.Configuration; using FHICORC.Core.Data; using FHICORC.Data; using System.Diagnostics; using System.Globalization; namespace FHICORC.Services { public class LocaleService { public...
28.980583
121
0.545394
[ "MIT" ]
folkehelseinstituttet/Fhi.Koronasertifikat.Verifikasjon.App
FHICORC/Services/LocaleService.cs
2,987
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System.Xml.Serialization; using System.Text; using System.IO; using Lars.UI; //using UI.Xml; namespace Lars.Sound { public abstract class CalibrationManager : ManagerHelper { public static Calib...
27.311741
157
0.536021
[ "Apache-2.0" ]
exporl/lars-common
Core/Sound/CalibrationManager.cs
6,748
C#
/* Copyright (C) 2018. Hitomi Parser Developers */ using Hitomi_Copy; using Hitomi_Copy.Data; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace Hitomi_Copy_3 { public parti...
41.646192
181
0.530619
[ "MIT" ]
dc-koromo/hitomi-copy
Hitomi Copy 3/frmBookmark.cs
17,200
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sokoban.Tiles { class Normal:Tile { public Normal() { this.Character = '.'; } public override void Update() { } } }
15.842105
41
0.598007
[ "Apache-2.0" ]
Sanderovich/Sokoban
Sokoban/Tiles/Normal.cs
303
C#
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using TabbedPageDemo.WinPhone.Resources; namespace TabbedPageDemo.WinPhone { public partial class App : A...
40.428571
127
0.614841
[ "Apache-2.0" ]
Alshaikh-Abdalrahman/jedoo
Navigation/TabbedPage/TabbedPageDemo/TabbedPageDemo.WinPhone/App.xaml.cs
9,058
C#
namespace TheBookProject.Web { using System.Threading.Tasks; using Microsoft.AspNet.Identity; public class EmailService : IIdentityMessageService { public Task SendAsync(IdentityMessage message) { // Plug in your email service here to send an email. return Task...
22.125
64
0.638418
[ "MIT" ]
The-Book-Project/The-Book-Project
Web/TheBookProject.Web/App_Start/EmailService.cs
356
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace SQ { class MenuManager { Men...
29.081818
146
0.546421
[ "MIT" ]
toasty333/SpiritQuest
SQ/MenuManager.cs
3,201
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading; using System.Threading.Tasks; using MongoDB.Driver; namespace Dolittle.Runtime.Embeddings.Store.MongoDB { /// <summary> /// Defines a sy...
47.354839
178
0.675749
[ "MIT" ]
dolittle/Runtime
Source/Embeddings.Store.MongoDB/IEmbeddings.cs
1,468
C#
/* Original source Farseer Physics Engine: * Copyright (c) 2014 Ian Qvist, http://farseerphysics.codeplex.com * Microsoft Permissive License (Ms-PL) v1.1 */ using System.Collections.Generic; namespace tainicom.Aether.Physics2D.Fluids { public class SpringHash : IEqualityComparer<SpringHash> { publi...
31.384615
121
0.617647
[ "MIT" ]
jocamar/Caravel
Libs/Aether.Physics2D/Physics2D/Fluids/1/SpringHash.cs
816
C#
using System; using UnityEngine.Scripting; ////REVIEW: should this *not* be inherited? inheritance can lead to surprises namespace UnityEngine.InputSystem.Layouts { /// <summary> /// Attribute to control layout settings of a type used to generate an <see cref="InputControlLayout"/>. /// </summary> [At...
43.30137
253
0.643151
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Library/PackageCache/com.unity.inputsystem@1.0.2/InputSystem/Controls/InputControlLayoutAttribute.cs
3,161
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
38.988439
119
0.546182
[ "MIT" ]
Philippe-Morin/azure-powershell
src/ResourceManager/RecoveryServices.SiteRecovery/Commands.RecoveryServices.SiteRecovery/Network/GetAzureRmRecoveryServicesAsrNetworkMapping.cs
6,573
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using Azure; using Azure.Core; namespace Bicep.Core.RegistryClient { internal partial class ContainerRegistryBlobUploadChunkHeaders { private readonly Response _resp...
37.25
127
0.697987
[ "MIT" ]
Agazoth/bicep
src/Bicep.Core.RegistryClient/generated/ContainerRegistryBlobUploadChunkHeaders.cs
1,043
C#
namespace RhSystem.Repositories { using RhSystem.Seeders; using RhSystem.Repositories.Services; using RhSystem.Repositories.IServices; using Microsoft.Extensions.DependencyInjection; using RhSystem.Repositories.IServices.ISeederService; public class RegisterService { public void Re...
35.315789
88
0.71535
[ "MIT" ]
GUSTAVPEREIRA/RhSystem
RhSystem/Repositories/RegisterService.cs
673
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 ...
41.346633
148
0.511701
[ "Apache-2.0" ]
sunshinele/npoi
main/SS/Formula/PTG/FormulaShifter.cs
16,580
C#
using System; namespace NetToolBox.HealthChecks.AzureFunctionTimer { public sealed class TimerTriggerHealthResult { public DateTimeOffset LastCompletionTime { get; set; } public DateTimeOffset LastExpectedCompletionTime { get; set; } public bool IsTimerDisabled { get; set; } } }
26.5
70
0.716981
[ "MIT" ]
npnelson/HealthChecks
src/NetToolBox.HealthChecks.AzureFunctionTimer/TimerTriggerHealthResult.cs
320
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...
38.553846
165
0.634278
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/GetFieldLevelEncryptionResponseUnmarshaller.cs
5,012
C#
//----------------------------------------------------------------------- // <copyright file="DiResolverSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> ...
32.5025
153
0.577879
[ "Apache-2.0" ]
to11mtm/akka.net
src/contrib/dependencyInjection/Akka.DI.TestKit/DiResolverSpec.cs
13,003
C#
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using JsonSubTypes; using Newtonsoft.Json; using Bitmovin.Api.Sdk.Common; using Bitmovin.Api.Sdk.Models; namespace Bitmovin.Api.Sdk.Models { /// <summary> /// DashMp4Representation /// </summary> ...
25.290323
65
0.646684
[ "MIT" ]
bitmovin/bitmovin-api-sdk-dotnet
src/Bitmovin.Api.Sdk/Models/DashMp4Representation.cs
784
C#
namespace Hotel.Web.ViewModels.Rooms { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Hotel.Data.Models; using Hotel.Services.Mapping; using Hotel.Web.ViewModels.RoomTypes; using Microsoft.AspNetCore.Http; public class AddRoomInputModel : IMapFrom<Roo...
25.571429
83
0.635754
[ "MIT" ]
BoryanaLen/FinalWebProject
Web/Hotel.Web.ViewModels/Rooms/AddRoomInputModel.cs
897
C#
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Mayfly.Akinator.Utils { public class AkiWebClient : IDisposable { private readonly HttpClient m_webClient; public AkiWebClient() { m_webClient = new HttpClient(new HttpClientHandler { UseCookies = f...
35.9
173
0.746518
[ "MIT" ]
Kerillian/Mayfly
Mayfly/Akinator/Utils/AkiWebClient.cs
1,438
C#
using S2VX.Game.Editor.ToolState; using S2VX.Game.Story; using S2VX.Game.Story.Note; namespace S2VX.Game.Editor.Reversible { public class ReversibleAddHoldNote : IReversible { private EditorScreen Editor { get; set; } private S2VXStory Story { get; set; } private HoldNote Note { get; } ...
28.470588
91
0.580579
[ "MIT" ]
maxrchung/S2VX
S2VX.Game/Editor/Reversible/ReversibleAddHoldNote.cs
970
C#
using System; using System.Collections.Generic; using System.Text; namespace DefiningClasses { public class Car { public string Model { get; set; } public Engine Engine { get; set; } public Cargo Cargo { get; set; } public List<Tire> Tires { get; set; } pu...
23.25
79
0.537634
[ "MIT" ]
NenovaRositsa/CSharp-Advanced
05DefiningClasses/07RawData/Car.cs
560
C#
using System.Drawing; using System.IO; using System.Windows.Media.Imaging; namespace QPAS { public static class BitmapSourceExtensions { public static Bitmap ToBitmap(this BitmapSource bitmapsource) { Bitmap bitmap; using (MemoryStream outStream = new MemoryStream()) ...
26.173913
69
0.578073
[ "BSD-3-Clause" ]
esusini/QPAS
QPAS/ExtensionMethods/BitmapSourceExtensions.cs
604
C#
using Android.Hardware.Camera2; using Plugin.Xamarin.Controls.Droid.Classes; namespace Plugin.Xamarin.Controls.Droid.Listner { public class CameraCaptureSessionCallback : CameraCaptureSession.StateCallback { private readonly CameraDroidView owner; public CameraCaptureSessionCallback(CameraDro...
35.196078
117
0.6
[ "MIT" ]
dodesilva/Plugin.Xamarin.Controls
Plugin.Xamarin.Controls.Droid/Listner/CameraCaptureSessionCallback.cs
1,797
C#
// // StatePointer.cs // // Copyright (C) 2019 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // using System; namespace OpenTK.OpenAL.Extensions.Soft { /// <summary> /// A list of valid <see cref="IntPtr"/> <see cref="IState...
24.033333
92
0.618585
[ "MIT" ]
7Bpencil/opentk
src/OpenAL/OpenTK.OpenAL.Extensions/Soft/Enums/StatePointer.cs
721
C#
namespace Poseidon.Infrastructure.ClientDx { partial class RepairRecordGrid { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="...
46.62069
158
0.606576
[ "MIT" ]
robertzml/Poseidon.Infrastructure
Poseidon.Infrastructure.ClientDx/Grid/RepairRecordGrid.Designer.cs
15,134
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("04....
38.432432
84
0.747539
[ "Apache-2.0" ]
vencislav-viktorov/VS-Console-App
Tech Module Extended/20.ObjectsandSimpleClasses-Lab/04. Distance between Points/Properties/AssemblyInfo.cs
1,425
C#
#region License // FLS - Fuzzy Logic Sharp for .NET // Copyright 2014 David Grupp // // 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/LICEN...
23.787234
111
0.700805
[ "Apache-2.0" ]
Mailaender/Fuzzy-Logic-Sharp
FLS.Tests/MembershipFunctions/BellMembershipFunctionTests.cs
2,238
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Jarvis { class Program { public class Coreference { public Mention Root { get; set; } pu...
41.433735
137
0.431375
[ "Apache-2.0" ]
gcvalderrama/Jarvis
duc/02DocumentExpansion/Jarvis/Jarvis/Program.cs
6,880
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...
33.121622
98
0.604855
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/DataFactory/V20170901Preview/Outputs/SelfHostedIntegrationRuntimeNodeResponse.cs
4,902
C#
namespace AdventOfCode.Solutions.Year2019.Computer { public enum Opcode { Add = 1, Multiply = 2, ProcessInput = 3, ProcessOutput = 4, JumpIfTrue = 5, JumpIfFalse = 6, LessThan = 7, Equals = 8, UpdateRelativeBase = 9, Stop = 99 ...
19.058824
51
0.512346
[ "MIT" ]
YBijen/advent-of-code-2019
Solutions/Year2019/Computer/Opcode.cs
326
C#
using System.Runtime.CompilerServices; namespace System.Html.Media.Graphics.SVG { [IgnoreNamespace, Imported(ObeysTypeSystem = true)] public partial class SVGPathSegLinetoVerticalAbs : SVGPathSeg { internal SVGPathSegLinetoVerticalAbs() { } [IntrinsicProperty] public double Y { get { return 0; } ...
18.052632
64
0.71137
[ "Apache-2.0" ]
Saltarelle/SaltarelleWeb
Web/Generated/Html/Media/Graphics/SVG/SVGPathSegLinetoVerticalAbs.cs
345
C#
using System.Windows; namespace EconomyMonitor.Wpf.MVVM.Commands.Window; internal sealed class MinimalizeAppCommand : CommandBase { protected override bool CanExecute(object? parameter) => true; protected override void Execute(object? parameter) { Application.Current.MainWindow.WindowState = Wind...
20.789474
75
0.734177
[ "MIT" ]
dtoriki/EconomyMonitor
src/EconomyMonitor.Wpf/MVVM/Commands/Window/MinimalizeAppCommand.cs
395
C#
using Marten.Events; using Shouldly; using Marten.Services; using Npgsql; using Xunit; namespace Marten.Testing.Events { public class asserting_on_expected_event_version_on_append : DocumentSessionFixture<NulloIdentityMap> { [Fact] public void should_check_max_event_id_on_append() ...
34.871795
119
0.573529
[ "MIT" ]
Maximusya/marten
src/Marten.Testing/Events/asserting_on_expected_event_version_on_append.cs
4,080
C#
// Copyright (c) 2014 Christian Crowhurst. All rights reserved. // see LICENSE using System; using CcAcca.CacheAbstraction.Statistics; namespace CcAcca.CacheAbstraction { /// <summary> /// Defines the main behaviour of a cache /// </summary> /// <remarks> /// <para> /// For additional caching...
43.669492
148
0.604502
[ "MIT" ]
christianacca/Cache-Abstraction
src/CcAcca.CacheAbstraction/ICache.cs
5,153
C#
using System; using System.Threading.Tasks; using ConsistentApiResponseErrors.ConsistentErrors; using ConsistentApiResponseErrors.Exceptions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace ConsistentApiResponseErrors.Middlewar...
36.348837
116
0.582214
[ "MIT" ]
ikyriak/ConsistentApiResponseErrors
src/ConsistentApiResponseErrors/Middlewares/ExceptionHandlerMiddleware.cs
3,128
C#
//----------------------------------------------------------------------- // <copyright file="SharedAccessSignatureHelper.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with...
44.566667
160
0.600812
[ "Apache-2.0" ]
JoeLiang1983/Azure-Storage-Net
Lib/Common/Core/Auth/SharedAccessSignatureHelper.cs
9,359
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeskApiClient.models { class DeskCase { public int id { get; set; } //public int external_id { get; set; } public string subject { get; set; } public Da...
29.586207
70
0.614219
[ "MIT" ]
gmandrsn/Desk.com-case-csharp-api
DeskApiClient/models/DeskCase.cs
860
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace SecurityConventionsApi.Controllers { [ApiController] [Route("[controller]")] [Authorize] public class ItsHierarchicalDerivedController : ItsHierarchicalBaseController { p...
27.05
103
0.730129
[ "MIT" ]
greyhamwoohoo/net-controller-security-conventions
src/SecurityConventionsApi/Controllers/ItsHierarchicalDerivedController.cs
543
C#
using System.Collections.Generic; using System.Linq; using AdventOfCode.IntCode; using AdventOfCode.Utilities; namespace AdventOfCode { /// <summary> /// Solver for Day 11 /// </summary> public class Day11 { private const int Black = 0; private const int White = 1; public ...
28.088608
120
0.49662
[ "MIT" ]
adamrodger/advent-2019
src/AdventOfCode/Day11.cs
2,223
C#
using System; namespace Itc4net.Text { public enum TokenKind : byte { LParen, RParen, Comma, IntegerLiteral, EndOfText, Error }; }
13.642857
32
0.518325
[ "MIT" ]
fallin/Itc4net
src/Itc4net/Text/TokenKind.cs
191
C#
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
56.106599
1,129
0.648768
[ "MIT" ]
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet
test/Microsoft.IdentityModel.TestUtils/TestSets.cs
66,318
C#
using ExpressEntryCalculator.Api.Services; using System; namespace ExpressEntryCalculator.AcceptanceTests { public class TestSystemTime : ISystemTime { private readonly DateTime _utcNow; public TestSystemTime(DateTime utcNow) { _utcNow = utcNow; } public D...
19.722222
48
0.661972
[ "MIT" ]
annaked/ExpressEntryCalculator
ExpressEntryCalculator.AcceptanceTests/TestSystemTime.cs
357
C#
using Grapevine.Interfaces.Shared; namespace Grapevine.Shared.Loggers { public static class LoggerExtensions { public static void BeginRouting (this IGrapevineLogger logger, string message) { logger.Info($"Routing Request : {message}"); } public static void EndRou...
28.318182
86
0.621188
[ "Apache-2.0" ]
07artem132/Grapevine
src/Grapevine_shared/Shared/Loggers/LoggerExtensions.cs
625
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. // // Don't override IsAlwaysNormalized because it is just a Unicode Transformation and could be confused. // using...
41.339051
148
0.522909
[ "MIT" ]
BrzVlad/corefx
src/Common/src/CoreLib/System/Text/UTF7Encoding.cs
40,967
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Management.Compute.Models { public partial class StorageProfile : IUtf8JsonSerializab...
34
102
0.532194
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Models/StorageProfile.Serialization.cs
2,516
C#
using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reactive.Subjects; using static Bud.Option; namespace Bud.Reactive { /// <summary> /// Ca...
52.887417
121
0.608189
[ "MIT" ]
urbas/Bud.Reactive
Bud.Reactive/ObservableCalming.cs
7,988
C#
using System; namespace RTPSWebCore { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.25
69
0.60274
[ "MIT" ]
Apprentice-doa/result_and_transcript_system
web_src/RTPS_ASP_NET/RTPSWebCore/WeatherForecast.cs
292
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Color_TD { class BlackDot : Dot { public BlackDot () : base(1, 100, 0.125f, 10, 0) { } public override EnemyType EnemyType => EnemyType.BlackDot;...
19.352941
66
0.683891
[ "MIT" ]
EMattfolk/Color-TD
Color TD/Enemies/BlackDot.cs
331
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InterviewCakeProblems.Arrays { /// <summary> /// Problem $43 /// We have our lists of orders sorted numerically already, in arrays. /// Write a method to merge our arrays of o...
29.311111
105
0.554966
[ "MIT" ]
coshea/DSandAlgosCSharp
InterviewProblems/InterviewCakeProblems/Arrays/MergeSortedArrays.cs
1,321
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace JOD.Writer.Models.content { public class TextSequenceDecl { [XmlAttribute(ContentKeyword.text_display_outline_level)] public string text_display_outline_level { get; set; } [Xm...
24.235294
65
0.723301
[ "MIT" ]
moncci/JOD
JOD/JOD/Writer/Models/content/TextSequenceDecl.cs
414
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/msxml.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
36.057692
145
0.6272
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/msxml/IXMLAttributeTests.cs
1,877
C#
namespace GodSeekerPlus.Modules.QoL; [ToggleableLevel(ToggleableLevel.ChangeScene)] [DefaultEnabled] internal sealed class CorrectRadianceHP : Module { private static readonly int shift = -720; private protected override void Load() { On.HealthManager.Start += ModifyAbsRadStartHP; On.PlayMakerFSM.Start += Modif...
26.836066
89
0.708613
[ "MIT" ]
Clazex/HollowKnight.GodSeekerPlus
GodSeekerPlus/Modules/QoL/CorrectRadianceHP.cs
1,637
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; using System.Collections; using System.Collections.Generic; using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Shared; using Microso...
34.611494
157
0.54563
[ "MIT" ]
Youssef1313/msbuild
src/Utilities.UnitTests/TaskItem_Tests.cs
15,056
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...
31.34507
179
0.594248
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20210201/GetVirtualWan.cs
4,451
C#
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.34014 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // le code es...
40.625
169
0.615043
[ "MIT" ]
Paphos/ProjetBFME_XAML
IHM/Properties/Resources.Designer.cs
2,959
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Windows.Forms; using SharpShell.Interop; namesp...
34.477387
190
0.575864
[ "MIT" ]
cfwprpht/sharpshell
SharpShell/Tools/ServerManager/TestShell/ShellPreviewHost.cs
6,863
C#
// This file is part of TagSoup and is Copyright 2002-2008 by John Cowan. // // TagSoup is licensed under the Apache License, // Version 2.0. You may obtain a copy of this license at // http://www.apache.org/licenses/LICENSE-2.0 . You may also have // additional legal rights not granted by this license. // // TagSou...
36.446494
118
0.533867
[ "Apache-2.0" ]
bongohrtech/lucenenet
src/Lucene.Net.Benchmark/Support/TagSoup/ElementType.cs
9,879
C#
using OreUnifyGenerator.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OreUnifyGenerator.Model.Texture { public class TextureRegistry : ITextureRegistry { private readonly Dictionary<string, HashSet<string>> categories...
27.634146
111
0.68932
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
yuma140902/OreUnifyGenerator
OreUnifyGenerator/Model/Texture/TextureRegistry.cs
2,268
C#
namespace Presentacion { partial class BuscarAdicional { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
61.031447
178
0.64932
[ "MIT" ]
yackfranco/InventarioEquipos
Presentacion/BuscarAdicional.Designer.cs
9,706
C#
using System; using System.Threading; using System.Threading.Tasks; namespace Jannesen.Library.Tasks { public static class TaskHelpers { public static async Task<bool> WhenAllWithTimeout(int milliseconds, params Task[] tasks) { var timeoutCompletionSource = new TaskComplet...
34.461538
162
0.492746
[ "Apache-2.0" ]
jannesen/Jannesen.Library.Task
src/TaskHelpers.cs
1,794
C#
#region Copyright & License // Copyright © 2012 - 2017 François Chabot, Yves Dierick // // 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/LICEN...
33.926829
116
0.739756
[ "Apache-2.0" ]
icraftsoftware/BizTalk.Factory
src/BizTalk.Pipelines.Tests/Pipelines/ReceivePipelineFixture.cs
2,786
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using DataBlocks.Core; using LanguageExt; using System.Collections.Immutable; namespace DataBlocks.Json { /// <summary> /// Utilities for decoding JSON /// </summary> public static class JsonDecoder { ...
36.509346
145
0.512095
[ "MIT" ]
jhbertra/DataBlocks-CSharp
DataBlocks/Json/JsonDecoder.cs
7,813
C#
using System.Collections.Generic; namespace Language { public class Language { public Dictionary<string, string> Phonemes = new Dictionary<string, string>() { {"C", "ptkmnls"}, {"V", "aeiou"}, {"S", "s"}, {"F", "mn"}, {"L", "rl"} ...
33.25
99
0.569758
[ "MIT" ]
Choochoo/FantasyMapGenerator
Language/Language.cs
1,199
C#
using System; using System.Numerics; namespace Windows.UI.Composition { public partial class Visual : global::Windows.UI.Composition.CompositionObject { private Vector2 _size; private Vector3 _offset; private Vector3 _scale = new Vector3(1, 1, 1); private Vector3 _centerPoint; private float _rotationAngleI...
23.305556
83
0.724076
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/UI/Composition/Visual.cs
1,678
C#
using UnityEngine; using UnityEngine.UI; public abstract class LabledButton : MonoBehaviour { [SerializeField] protected Text label = null; [SerializeField] protected Button clickable = null; public Button Clickable => clickable; }
24.6
55
0.756098
[ "Unlicense" ]
nopetrides/ESG
techtest-unity-master/Assets/Scripts/Utility/LabledButton.cs
248
C#
using KdbSharp.Data; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace KdbSharp.Tests.Data { [TestClass] public class KdbFloatVectorTests { private readonly KdbFloatVector _instance = new KdbFloatVector(new double[] { }); [TestMethod] public void KdbTypeIsFloatVector()...
28.777778
109
0.706564
[ "MIT" ]
dstrachan/KdbSharp
KdbSharp.Tests/Data/KdbFloatVectorTests.cs
520
C#
using Huobi.SDK.Model.Response.WebSocket; using Newtonsoft.Json; namespace Huobi.SDK.Model.Response.Account { /// <summary> /// RequestAccount response /// </summary> public class RequestAccountResponse : WebSocketV1ResponseBase { /// <summary> /// Response body from sub /...
24.171875
70
0.43245
[ "Apache-2.0" ]
HuobiRDCenter/huobi_CSharp
Huobi.SDK.Model/Response/Account/RequestAccountResponse.cs
1,549
C#
using System; using System.Globalization; using ClearHl7.Helpers; using ClearHl7.Serialization; using ClearHl7.V271.Types; namespace ClearHl7.V271.Segments { /// <summary> /// HL7 Version 2 Segment UAC - User Authentication Credential Segment. /// </summary> public class UacSegment : ISegment { ...
48.816092
181
0.62656
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7/V271/Segments/UacSegment.cs
4,249
C#
using System.ComponentModel; using Pchp.Core; /// <summary> /// Interface to provide accessing objects as arrays. /// </summary> [EditorBrowsable(EditorBrowsableState.Advanced)] [PhpType(PhpTypeAttribute.InheritName)] public interface ArrayAccess { /// <summary> /// Returns the value at specified offset. ...
25.46875
81
0.660123
[ "Apache-2.0" ]
JiaFeiX/peachpie
src/Peachpie.Runtime/std/ArrayAccess.cs
817
C#
using UnityEngine; public class DaylightChange : MonoBehaviour { private void OnSelectionChange() { if (GetComponent<UIPopupList>().selection == "DAY") { IN_GAME_MAIN_CAMERA.dayLight = DayLight.Day; } if (GetComponent<UIPopupList>().selection == "DAWN") { ...
24.363636
61
0.583955
[ "MIT" ]
Jagerente/GucciGangMod
Source/DaylightChange.cs
538
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.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.ML.Runti...
40.515284
148
0.542466
[ "MIT" ]
SolyarA/machinelearning
src/Microsoft.ML.Transforms/GroupTransform.cs
27,834
C#
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; //무난하게 사용할 공통 팝업. 가장 많이 쓰는 유형인 1버튼 (확인), 2버튼(확인/취소) 팝업을 생성 namespace Kupa { public class CommonPopup : MonoBehaviourUI { [SerializeField] private TMP_Text titleTe...
36.730769
180
0.631763
[ "MIT" ]
jab724/Kupa3DRPG
Kupa3DRPG_SRC/Assets/01. Scripts/UI/CommonPopup.cs
3,005
C#