max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/SmallsOnline.AVD.ResourceManager/services/cosmosdb/avd/CosmosDbService_UpdateAvdHost.cs
Wake-Tech-Community-College/SmallsOnline.AVD.ResourceManager
0
7041285
using Microsoft.Azure.Cosmos; using SmallsOnline.AVD.ResourceManager.Lib.Models.Database; namespace SmallsOnline.AVD.ResourceManager.Services.CosmosDb; public partial class CosmosDbService : ICosmosDbService { /// <summary> /// Update an Azure Virtual Desktop session host in the database. /// </summary> ...
src/Contexts/Marketing/Language/Campaign/Entities/Rule/Models/Rule.cs
sucrose0413/eShopOnContainersDDD
143
7041286
using System; using System.Collections.Generic; using System.Text; namespace eShop.Marketing.Campaign.Entities.Rule.Models { public class Rule { public Guid CampaignId { get; set; } public Guid RuleId { get; set; } public string Description { get; set; } } }
Speak in Public/Assets/Scripts/Activity scripts/ActivityManager.cs
Alby395/Speak-in-Public
0
7041287
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; using UnityEngine.XR; using UnityEditor; using WebSocketSharp; using UnityEngine.Events; using TMPro; public abstract class ActivityManager : MonoBehaviour { private bool MicrophoneEnabl...
src/Vortice.Direct3D11/MappedSubresource.cs
gerhard17/Vortice.Windows
1
7041288
<reponame>gerhard17/Vortice.Windows // Copyright © <NAME> and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. using Vortice.DXGI; namespace Vortice.Direct3D11; /// <summary> /// Provides access to subresource data. /// </summary> public unsafe partial ...
src/Samples/Sample.AzureFunctions.ServiceBus/Consumers/SubmitOrderConsumer.cs
VCKoh/MassTransit
1
7041289
namespace Sample.AzureFunctions.ServiceBus.Consumers { using System; using System.Threading.Tasks; using MassTransit; using MassTransit.Context; public class SubmitOrderConsumer : IConsumer<SubmitOrder> { public Task Consume(ConsumeContext<SubmitOrder> context) { ...
HITUOISR.Toolkit.Settings.Json/src/JsonSettingsBuilderExtensions.cs
HIT-UOI-SR/HITUOISR.Toolkit
0
7041290
<gh_stars>0 namespace HITUOISR.Toolkit.Settings.Json { /// <summary> /// <seealso cref="ISettingsBuilder"/> 扩展方法。 /// </summary> public static class JsonSettingsBuilderExtensions { /// <summary> /// 向设置构造器添加JSON文件。 /// </summary> /// <param name="builder"></param> ...
Assets/Svelto/Svelto.Tasks/Runners/Unity/MonoRunner.cs
jlreymendez/Svelto.Tasks.Tests
179
7041291
#if UNITY_5 || UNITY_5_3_OR_NEWER using System; using System.Collections; using Svelto.DataStructures; using Svelto.Tasks.Internal; using Svelto.Tasks.Unity.Internal; #if TASKS_PROFILER_ENABLED using Svelto.Tasks.Profiler; #endif namespace Svelto.Tasks.Unity { /// <summary> /// Remember, unless you are using ...
FluentAvalonia/UI/Controls/NavigationView/NavigationViewTemplateSettings.cs
memorydream/FluentAvalonia
0
7041292
using Avalonia; namespace FluentAvalonia.UI.Controls { /// <summary> /// Provides calculated values that can be referenced as TemplatedParent /// sources when defining templates for a NavigationView. Not intended for general use. /// </summary> public class NavigationViewTemplateSettings : Avalon...
unity_project/Assets/unity.webp/WebPNativeTypes.cs
shunia/unity.webp
0
7041293
<filename>unity_project/Assets/unity.webp/WebPNativeTypes.cs namespace WebP { [StructLayoutAttribute(LayoutKind.Sequential)] public struct WebPIterator { public int frame_num; public int num_frames; // equivalent to WEBP_FF_FRAME_COUNT. public int x_offset; // offset relative to...
Assets/Scripts/Logic/Model/EnemyBulluetModel.cs
BlueMonk1107/FyingGameDemo
12
7041294
<gh_stars>10-100 using System; using System.Collections.Generic; using UnityEngine; [Bullet(BulletType.Enemy_Normal_0)] public class EnemyBulluetModel : IEnemyBulletModel { private EnemyData _data; public void Init(EnemyData data) { _data = data; } public BulletOwner Owner { ...
src/Foundation/Caching/website/CacheManager.cs
digitalParkour/SitecoreSYM-AzureB2C
2
7041295
<gh_stars>1-10 using System; using SYMB2C.Foundation.DependencyInjection; using Sitecore.Caching.Generics; namespace SYMB2C.Foundation.Caching { [Service(typeof(IStateManager), Lifetime = Lifetime.Singleton)] public class CacheManager : IStateManager { private static readonly int CacheDurationMinut...
Samples/MojoAuth.NET.WebAppSample/Views/Home/Index.cshtml
MojoAuth/mojoauth-dotnet
0
7041296
@{ ViewData["Title"] = "Home Page"; } <style type="text/css"> .alert-bar { display: none; margin-top: 2rem; } </style> <link href="~/css/google-button.css" rel="stylesheet" type="text/css" /> <link href="~/css/home.css" rel="stylesheet" type="text/css" /> <div class="text-center"> <h1 ...
Assets/GameManager.cs
MarcelJurtz/ReactSpin
1
7041297
/* * Copyright (C) <NAME> * twitter.com/MarcelJurtz */ using UnityEngine; public class GameManager : MonoBehaviour { #region Variables private bool gameHasEnded = false; public Rotator rotator; public Spawner spawner; #endregion #region Methods public void endGame() { if (gameHasEnd...
src/NodeCanvas.Tasks.Actions/Flee.cs
moto2002/kaituo_src
1
7041298
using NodeCanvas.Framework; using ParadoxNotion.Design; using System; using UnityEngine; namespace NodeCanvas.Tasks.Actions { [Category("Movement"), Description("Flees away from the target")] public class Flee : ActionTask<NavMeshAgent> { [RequiredField] public BBParameter<GameObject> target; public BBParame...
samples/Revit 2012 SDK/Samples/NewOpenings/CS/ITool.cs
chuongmep/revit
20
7041299
<reponame>chuongmep/revit // // (C) Copyright 2003-2011 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice...
Program.cs
fer-fmatias/test
0
7041300
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WinErrorInfo { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles();...
WorkflowUtilities/ParcelEditHelpers/AddIn_ParcelEditHelpers/SourceCode/ParcelEditHelpers/ClothoidSpiral.cs
Esri/parcel-fabric-desktop-addins
15
7041301
<reponame>Esri/parcel-fabric-desktop-addins using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Windows.Forms; using ESRI.ArcGIS.Editor; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.esriSystem; namespace ParcelEditHelper { public class ClothoidSpiral : ESRI.ArcGIS.Deskt...
SoftDeleteServices/Concrete/Internal/ExpressionBuilder.cs
JonPSmith/EfCore.SoftDeleteServices-Old
1
7041302
// Copyright (c) 2020 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT license. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerService...
Src/Lsj.Util.Win32/Enums/COMBOBOXEXITEMFlags.cs
sdzxwxlsj/lsjutil
3
7041303
using Lsj.Util.Win32.Structs; using static Lsj.Util.Win32.Enums.ComboBoxExNotifications; namespace Lsj.Util.Win32.Enums { /// <summary> /// <para> /// <see cref="COMBOBOXEXITEM"/> Flags /// </para> /// <para> /// From: <see href="https://docs.microsoft.com/zh-cn/windows/win32/api/commctrl/ns-c...
Chavah.NetCore/Controllers/IftttController.cs
JudahGabriel/Chavah
10
7041304
<reponame>JudahGabriel/Chavah using System; using System.Linq; using System.Threading.Tasks; using BitShuva.Chavah.Common; using BitShuva.Chavah.Models; using BitShuva.Chavah.Models.Rss; using BitShuva.Chavah.Settings; using BitShuva.Chavah.Services; using Chavah.Common; using Microsoft.AspNetCore.Mvc; using Micros...
external/arffsharp/Extensions/StringExtensions.cs
matjanos/PublicationClassifier
0
7041305
<filename>external/arffsharp/Extensions/StringExtensions.cs namespace ArffSharp.Extensions { using System; public static class StringExtensions { /// <summary> /// Determines whether the beginning of this string instance matches the specified /// string when using case insensitive ...
E3DC.RSCP.Lib/Tags/UPNPC.cs
mr-sven/E3DC.RSCP
0
7041306
<reponame>mr-sven/E3DC.RSCP namespace E3DC.RSCP.Lib.Tags { [TagGroup(0x15)] public enum UPNPC : uint { DEFAULT_LIST = 0x000001, SET_DEFAULT_LIST = 0x000002, SERVICE_LIST = 0x000003, DEFAULT_LIST_REV = 0x000006, SERVICE_LIST_REV = 0x000007, PARAM_DEVICE_ENTRY ...
src/NRatings.Client/Domain/RaceInfo.cs
ai-line-mod/NRatings.Client
4
7041307
using System.Collections.Generic; namespace NRatings.Client.Domain { public class RaceInfo { public Race Race { get; set; } public int? NumberOfStarters { get; set; } public int? WinnerLaps { get; set; } } public class RaceInfoComparer : IEqualityComparer<RaceInfo> { ...
SimpleAccouning.API/SimpleAccounting.Model/DTOS/AccountingOptionDtos.cs
SimpleAccountingTeam2/Praneet-Thakur
0
7041308
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleAccounting.Model.DTOS { class AccountingOptionDtos { public int OptionId { get; set; } public string OptionDate { get; set; } public string OptionCommas {...
Halforbit.DataStores/FileStores/Serialization/Json/Facets/JsonSerializationAttribute.cs
ryanoshag/data-stores
13
7041309
<gh_stars>10-100 using Halforbit.DataStores.FileStores.Serialization.Json.Implementation; using Halforbit.Facets.Attributes; using System; namespace Halforbit.DataStores.FileStores.Serialization.Json.Facets { public class JsonSerializationAttribute : FacetParameterAttribute { readonly string _...
Google.Api.CommonProtos/Type/Money.g.cs
amanda-tarafa/gax-dotnet
66
7041310
/* * Copyright 2021 Google LLC All Rights Reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // sour...
src/Actions/Item/Get.cs
JeremyTHolland/WheelMUD
0
7041311
<filename>src/Actions/Item/Get.cs //----------------------------------------------------------------------------- // <copyright file="Get.cs" company="WheelMUD Development Team"> // Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is // subject to the Microsoft Public License. All other right...
test/Xenial.Framework.Generators.Tests/Generators/XpoBuilderGeneratorTests.DoesEmitBasicBuilder.DotNet6_0.verified.cs
xenial-io/Xenial
0
7041312
<reponame>xenial-io/Xenial //HintName: MyNormalClassWithoutCtor.MyNormalClassWithoutCtor.Builder.g.cs // <auto-generated /> using System; using System.Runtime.CompilerServices; namespace MyProject { [CompilerGenerated] internal partial class MyNormalClassWithoutCtorBuilder : MyNormalClassWithoutCtorBuilder<M...
src/HomeBalls.Data/PokeApi/RawPokeApiDownloader.cs
blah12629/HomeBalls
0
7041313
using CEo.Pokemon.HomeBalls.Entities; namespace CEo.Pokemon.HomeBalls.Data.PokeApi; public interface IRawPokeApiDownloader : IHomeBallsDataDownloader<IRawPokeApiDownloader> { } public class RawPokeApiDownloader : HomeBallsDataDownloader<String>, IRawPokeApiDownloader, IHomeBallsDataDownloader<RawPoke...
projects/CSharp/Benchmarks/SendReceive.cs
chronoxor/Fast-Binary-Encoding
0
7041314
using BenchmarkDotNet.Attributes; using com.chronoxor.proto; using com.chronoxor.proto.FBE; namespace Benchmarks { public class MySender1 : Sender, ISenderListener { private long Size { get; set; } private long LogSize { get; set; } public long OnSend(byte[] buffer, long offset, long...
2012/Tempo2012/Tempo2012.UI.WPF/Models/FirmModel.cs
TataDvd/Git
0
7041315
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tempo2012.UI.WPF.Models { public class FirmModel { private static readonly string[] yesNo = new string[] { "Да", "Не"}; public virtual int Id{get;set;} public virtual string Name { get; set...
src/Crowbar.Demo.Mvc.Raven/Application/Infrastructure/NinjectWebCommon.cs
gravplats/crowbar
1
7041316
<reponame>gravplats/crowbar using System; using System.Web; using Microsoft.Web.Infrastructure.DynamicModuleHelper; using Ninject; using Ninject.Web.Common; namespace Crowbar.Demo.Mvc.Raven.Application.Infrastructure { public static class NinjectWebCommon { private static readonly Bootstrapper Bootstr...
Samples/NetConnectionSample/Program.cs
rolbeh/magic
1
7041317
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using Magic.Net; namespace NetConnectionSample { class Program { static void Main(string[] args) { ...
Vrmac/Draw/Text/Blocks/LineBreaker.cs
Const-me/Vrmac
91
7041318
using System; namespace Vrmac.Draw.Text { enum eBreakAction: byte { // Do nothing None = 0, // Flush buffer and move to the new line LineFeed = 1, // Flush buffer shifting last word of it to the new line MoveLastWord = 2, } struct LineBreaker { [Flags] enum eLineState: byte {...
src/ArtifactCabinet/UncategorizedFilterableRow.cs
daviscook477/ONI-Mods
4
7041319
<gh_stars>1-10 using System; using System.Collections.Generic; using UnityEngine; using PeterHan.PLib; using PeterHan.PLib.UI; namespace ArtifactCabinet { /// <summary> /// An individual row used to organize type selection /// </summary> public sealed class UncategorizedFilterableRow { /// <summ...
Qurre/API/Controllers/Decontamination.cs
Qurre-Team/Qurre-sl
7
7041320
<filename>Qurre/API/Controllers/Decontamination.cs namespace Qurre.API.Controllers { public static class Decontamination { public static global::LightContainmentZoneDecontamination.DecontaminationController Controller { get; } public static bool DisableDecontamination { get; set; } publ...
ElasticSharp.Mobile/ElasticSharp.Mobile/ViewModels/ItemDetailViewModel.cs
Rajbandi/ElasticSharp
4
7041321
/********************************************** Copyright (c) 2017 <NAME> Licensed under Apache License 2.0. See LICENSE file in the project root for full license information. Name: ItemDetailViewModel.cs Project: ElasticSharp (https://www.github.com/rajbandi/elasticsharp) ***********************************...
SwiftParser/TextBlock.cs
luboid/Swift
12
7041322
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Swift { public class TextBlock : BaseBlockCollection<Tag> { public static readonly string BLOCK_ID = "4"; public TextBlock() ...
FB2Library/Elements/Poem/StanzaItem.cs
wcoder/fb2librarynet
0
7041323
using System; using System.Collections.Generic; using System.Xml.Linq; namespace FB2Library.Elements.Poem { public class StanzaItem : IFb2TextItem { internal const string Fb2StanzaElementName = "stanza"; private readonly List<VPoemParagraph> _lines = new List<VPoemParagraph>(); publi...
Engine/Entities/Environmental/EnvironmentalWorld.cs
cschsch/GameOfLife
2
7041324
using System.Collections.Generic; using Engine.Helpers; using Engine.Strategies.SeasonStrategies; namespace Engine.Entities.Environmental { public class EnvironmentalWorld : BaseWorld<EnvironmentalCell, EnvironmentalCellGrid, EnvironmentalWorldData, EnvironmentalWorld> { [Dependency] public I...
Attribute/InteractionCaseManager.cs
greeduomacro/Unity3D-Blood-Of-Evil-Source
1
7041326
<filename>Attribute/InteractionCaseManager.cs //using UnityEngine; //using System.Collections; //public enum e_interactionCase //{ // Skill_1, // Skill_2, // Skill_3, // Skill_4, // Skill_5, // Skill_6, // Skill_7, // Skill_8, // Skill_9, // Skill_10, // Skill_11, // Skill_12, // ...
PulseAudio.Client/Internal/TaskFactoryExtensions.cs
raphaelr/PulseAudioMixer-dotnet
0
7041327
<reponame>raphaelr/PulseAudioMixer-dotnet using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading.Tasks; using PulseAudio.Client.Ffi; namespace PulseAudio.Client.Internal { internal static class TaskFactoryExtensions { public static Task FromPulseAc...
Puppy.OneSignal/Devices/DevicesResource.cs
stssoftware/Puppy
17
7041328
<reponame>stssoftware/Puppy<filename>Puppy.OneSignal/Devices/DevicesResource.cs #region License //------------------------------------------------------------------------------------------------ // <License> // <Copyright> 2017 © Top Nguyen → AspNetCore → Puppy </Copyright> // <Url> http://topnguyen.net/ </Ur...
src/img2pdf/Impl/DefaultConverter.cs
graduenz/img2pdf
0
7041329
using iTextSharp.text; using iTextSharp.text.pdf; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace img2pdf.Impl { /// <summary> Default converter implementation /// </summary> public class DefaultConverter : ICon...
Performance-Notifier/AppContext.cs
janekb04/Performance-Notifier
0
7041330
<gh_stars>0 // This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System; using System.Windows.Forms; using System.IO; using System.Diagnostics; using Microsoft.VisualBasic.Devices; using System....
Emulator.Common/Protocol/Net/Types/Game/Data/Items/Effects/ObjectEffectMount.cs
Riul/emulator
1
7041331
<gh_stars>1-10 #region License // DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE // Version 2, December 2004 // // Copyright (C) 2013 Phito <<EMAIL>> // // Everyone is permitted to copy and distribute verbatim or modified // copies of this license document, and changing it is allowed as...
HslControlsDemo/FormPipeLineTest.cs
nanwanwang/controls
481
7041332
<reponame>nanwanwang/controls using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using HslControls; namespace HslControlsDemo { public partial class FormPipeLineTest : FormContent ...
ProgramingBasics/TestExam/Multiply Table/Program.cs
Rongusha/cShardStudy
0
7041333
using System; namespace Multiply_Table { class Program { static void Main(string[] args) { string num = Console.ReadLine(); char first = num[2]; char second = num[1]; char third = num[0]; int num1 = int.Parse(first.ToString()); ...
AlipaySDKNet/Response/AlipayEcoMycarVehicleCertifiedQueryResponse.cs
alipay/alipay-sdk-net
117
7041334
using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// <summary> /// AlipayEcoMycarVehicleCertifiedQueryResponse. /// </summary> public class AlipayEcoMycarVehicleCertifiedQueryResponse : AopResponse { ...
Core/Netcode/Packets/MouseResetTimeoutPacket.cs
TheBambino/tModLoader_Minions
2
7041335
<reponame>TheBambino/tModLoader_Minions using Microsoft.Xna.Framework; using System.IO; using Terraria; using Terraria.ID; namespace AmuletOfManyMinions.Core.Netcode.Packets { public class MouseResetTimeoutPacket : PlayerPacket { //For reflection public MouseResetTimeoutPacket() { } public MouseResetTimeoutP...
src/HexManiac.Core/Models/Runs/ArrayRunElementSegment.cs
haven1433/HexManiacAdvance
64
7041336
using HavenSoft.HexManiac.Core.Models.Runs.Sprites; using HavenSoft.HexManiac.Core.Models.Runs.Factory; using HavenSoft.HexManiac.Core.ViewModels.DataFormats; using HavenSoft.HexManiac.Core.ViewModels.Tools; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Tex...
ClassicalSharp/OpenTK/Platform/MacOS/CarbonBindings/Agl.cs
RMuskovets/ClassiCube
2
7041337
<reponame>RMuskovets/ClassiCube // Created by <NAME> on 3/17/08. // Copyright 2008. All rights reserved. using System; using System.Runtime.InteropServices; namespace OpenTK.Platform.MacOS { internal enum AglAttribute { RGBA = 4, DOUBLEBUFFER = 5, RED_SIZE = 8, GREEN_SIZE = 9, BLUE_SIZE = ...
littlebreadloaf/ViewComponents/CartViewComponent.cs
ZombieFleshEaters/LittleBreadLoaf
4
7041338
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System; using System.Threading.Tasks; using littlebreadloaf.Data; namespace littlebreadloaf.ViewComponents { public class CartView { public littlebreadloaf.Data.Cart Cart { ...
testtemplates/fs4net.TestTemplates/Creation/CreateSpecialFolderDirectoryFixture.cs
toroso/fs4net
3
7041339
using System; using System.Text; using fs4net.Framework; using NUnit.Framework; namespace fs4net.TestTemplates.Creation { public abstract class CreateSpecialFolderDirectoryFixture { protected IFileSystem FileSystem { get; private set; } [SetUp] public void SetUp() ...
Source/Tests/UnitTests/Source/ManagedIrbis/Pft/Infrastructure/Ast/PftFieldAssignmentTest.cs
amironov73/ManagedIrbis5
0
7041340
<filename>Source/Tests/UnitTests/Source/ManagedIrbis/Pft/Infrastructure/Ast/PftFieldAssignmentTest.cs // ReSharper disable CheckNamespace // ReSharper disable IdentifierTypo // ReSharper disable StringLiteralTypo using System.IO; using AM.Text; using ManagedIrbis; using ManagedIrbis.Pft.Infrastructure; using Manage...
src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs
nickmcummins/OpenAPI.NET.OData
19
7041341
<reponame>nickmcummins/OpenAPI.NET.OData<filename>src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs<gh_stars>10-100 // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). S...
Sample1_15/task/entity/Entity.cs
danmaq/GameOOP
1
7041342
<reponame>danmaq/GameOOP using Sample1_15.core; using Sample1_15.state; namespace Sample1_15.task.entity { /// <summary>Stateパターンにおける実体となるクラス。</summary> class Entity : ITask { /// <summary>Stateパターンにおける実体へのアクセサ。</summary> public class EntityAccessor : IEntityAccessor { /// <summary...
SetBoxWebUI_New/src/Afonsoft.SetBox.Application.Shared/Authorization/Accounts/Dto/SendEmailActivationLinkInput.cs
afonsoft/SetBox-VideoPlayer
0
7041343
<reponame>afonsoft/SetBox-VideoPlayer using System.ComponentModel.DataAnnotations; namespace Afonsoft.SetBox.Authorization.Accounts.Dto { public class SendEmailActivationLinkInput { [Required] public string EmailAddress { get; set; } } }
MTG4Us/Services/BoxServices.cs
Thijapones/MTG4Us
0
7041344
using Business.Interfaces; using Domain; using Services.Interfaces; using System.Collections.Generic; namespace Services { public class BoxServices : IBoxServices { private readonly IBoxBusiness _boxBusiness; public BoxServices(IBoxBusiness boxBusiness) { _boxBusiness = box...
CharlieBackend.Api/Validators/AccountDTOValidators/CreateAccountDtoValidator.cs
anmorgul/WhatBackend
0
7041345
<gh_stars>0 using CharlieBackend.Business.Helpers; using CharlieBackend.Core.DTO.Account; using FluentValidation; namespace CharlieBackend.Api.Validators.AccountDTOValidators { public class CreateAccountDtoValidator : AbstractValidator<CreateAccountDto> { public CreateAccountDtoValidator() { ...
Echo.Network/PacketHandler.cs
Twometer/Echo
0
7041346
using System; using System.Collections.Generic; using System.Text; namespace Echo.Network { public class PacketHandler { private readonly IDictionary<Type, Action<IPacket>> handlerDict = new Dictionary<Type, Action<IPacket>>(); public void Handle<T>(Action<T> handler) where T : IPacket ...
Numbers/PawnColumnWorkers/PawnColumnWorker_Stat.cs
chzhrr/kNumbers
28
7041347
<reponame>chzhrr/kNumbers namespace Numbers { using RimWorld; using UnityEngine; using Verse; public class PawnColumnWorker_Stat : PawnColumnWorker_Text { public const int minWidthBasedOnNarrowestColumnThatColumnBeingMass = 69; public const int maxWidthBasedOnColumnsWithALongAssNam...
api/src/Scrummie.API/IncidentManagement/IncidentStatusManager.cs
GenesisCoast/Scrummie
0
7041348
using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Scrummie.API.IncidentStatus { /// <summary> /// The incident status manager class. /// </summary> public class IncidentStatusManager { private ConcurrentDictionary<string, IncidentStatusData...
src/Contracts/Masa.Mc.Contracts.Admin/Dtos/MessageTasks/MessageTaskUpsertDto.cs
masastack/MASA.MC
0
7041350
<gh_stars>0 // Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Mc.Contracts.Admin.Dtos.MessageTasks; public class MessageTaskUpsertDto { public string DisplayName { get; set; } = string.Empty; pub...
src/Eventuate.Sql/SqlStatements.cs
Horusiath/Eventuate.NET
13
7041351
<gh_stars>10-100 #region copyright // ----------------------------------------------------------------------- // <copyright file="SqlStatements.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/a...
Kant.Wpf.Controls.Chart.SankeyDiagram/Kant.Wpf.Controls.Chart.SankeyDiagram/SankeyLinkFinder.cs
Burialarmach/SankeyDiagram
22
7041352
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kant.Wpf.Controls.Chart { public class SankeyLinkFinder { public SankeyLinkFinder() { } public SankeyLinkFinder(string from, string to...
tools/test-proxy/Azure.Sdk.Tools.TestProxy.Tests/TransformTests.cs
kurtzeborn/azure-sdk-tools
1
7041353
<gh_stars>1-10 using Azure.Sdk.Tools.TestProxy.Common; using Azure.Sdk.Tools.TestProxy.Transforms; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.IO; using System.Threading.Tasks; using Xunit; namespace Azure.Sdk.Tools.TestProxy.Tests { public class TransformTests { [Fac...
PizzaApp/PizzaLibrary/PizzaLibrary/Classes/User.cs
1806-jun25-net/agocs-project1
0
7041354
<filename>PizzaApp/PizzaLibrary/PizzaLibrary/Classes/User.cs using System; namespace PizzaLibrary.Classes { public class User { public User() { } public User(string userName, string userLastName, string userCity, DateTime orderTime) { UserName = userName; User...
LeetCode/LeetAgain/TwoSumSln.cs
YouenZeng/LeetCode
1
7041355
<reponame>YouenZeng/LeetCode using System; namespace LeetCode.LeetAgain { class TwoSumSln : ISolution { public int[] TwoSum(int[] numbers, int target) { int slow = 0; int fast = numbers.Length - 1; int[] result = new int[2]; while (slow < fast) ...
src/SyncFusionBlazorSamples/Pages/Charts/PointColor.cs
Appizeo/Blazor.Polyfill
4
7041356
<reponame>Appizeo/Blazor.Polyfill using System.Collections.Generic; namespace PointRender { internal class PointColor { internal static List<string> MaterialColors { get; set; } = new List<string>() { "#00bdae", "#404041", "#357cd2", "#e56590", "#f8b883", "#70ad47", "#dd8abd", "#7f84e8", "#7bb4...
src/VectorTiles.Tests/TestMvtInBulk.cs
zhouqime/vector-tile-cs
46
7041357
using System; using NUnit.Framework; using System.IO; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using Mapbox.VectorTile; using System.Collections; using Mapbox.VectorTile.Geometry; using Mapbox.VectorTile.ExtensionMethods; namespace VectorTiles.Tests { [TestFixture] public c...
samples/SharedCode/CommonHelper.cs
ThreeSevenths/Remote.Linq
215
7041358
// Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information. using System; using System.Globalization; using System.Linq; internal static class CommonHelper { private const string TitleBase = ">> (⌐■_■) Remote.Linq Demo"; private const char NewLine = '\n'; p...
mcs/tests/test-primary-ctor-03.cs
lefb766/mono
469
7041359
<gh_stars>100-1000 // Compiler options: -langversion:experimental class D(string arg) : Base (arg) { } abstract class Base (object obj) { public string Prop { get; } = obj.ToString (); } class X { public static int Main () { var d = new D ("test"); if (d.Prop != "test") return 1; return 0; } }
gView.Interoperability.GeoServices/Exceptions/ExecuteQueryException.cs
jugstalt/gview5
8
7041360
<filename>gView.Interoperability.GeoServices/Exceptions/ExecuteQueryException.cs using System; using System.Collections.Generic; using System.Text; namespace gView.Interoperability.GeoServices.Exceptions { public class ExecuteQueryException : GeoServicesException { public ExecuteQueryException() ...
DarkOrbit 7.5.3/Net/netty/ClientCommands.cs
yusufsahinhamza/darkorbit-emulators
15
7041361
<filename>DarkOrbit 7.5.3/Net/netty/ClientCommands.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ow.Net.netty { class ClientCommands { public const string SELECT_SHIP = "SEL"; public const string PORTAL_JUMP = ...
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/CalculateProbabilityProvider.cs
Furti87/UnifiedOddsSdkNet
0
7041362
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serializati...
nylium.Core/DataTypes/String.cs
zCri/nylium
0
7041363
using System.IO; using System.Text; namespace nylium.Core.DataTypes { public class String : DataType<string> { public String() : base(null) { } public String(string value) : base(value) { } public String(Stream stream) : base(null) { Read(stream); } public override int Read(Stre...
TimeNetSync/TimeNetSyncTests/CompetitorListTests.cs
MelHarbour/timenet-sync
0
7041364
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TimeNetSync.ViewModel; namespace TimeNetSyncTests { [TestClass] public class CompetitorListTests { [TestMethod] public void ToggleConnectCommand_ShouldToggleIsConnecting() { CompetitorListViewModel ...
OfficeManagerMini/02_Services/OMM.Services.Data/DTOs/Employees/EmployeeHireBackDto.cs
OniqLoshiq/OfficeManagerMini
1
7041365
using AutoMapper; using OMM.Domain; using OMM.Services.AutoMapper; using OMM.Services.Data.Common; namespace OMM.Services.Data.DTOs.Employees { public class EmployeeHireBackDto : IMapFrom<Employee>,IHaveCustomMappings { public string Id { get; set; } public string Username => Email; ...
Assets/Jagapippi/UnityAsReadOnly/UnityEngine/ReadOnlyTransform.cs
su10/Unity-AsReadOnly
0
7041366
<reponame>su10/Unity-AsReadOnly<filename>Assets/Jagapippi/UnityAsReadOnly/UnityEngine/ReadOnlyTransform.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Jagapippi.UnityAsReadOnly { public interface IReadOnlyTransform : IEnumerable<IReadOnlyTransform> { int ch...
cross-platform-mvvm/Hubb.App.Android/Services/AppNavigationService.cs
derekjwilliams/talks
0
7041367
<filename>cross-platform-mvvm/Hubb.App.Android/Services/AppNavigationService.cs<gh_stars>0 using System; using Android.App; using Caliburn.Micro; using Hubb.App.Android.Activities; using Hubb.Core.Services; namespace Hubb.App.Android.Services { public class AppNavigationService : IAppNavigationService { ...
SharemundoBulgaria/SharemundoBulgaria/Areas/Administration/Services/AddJobPosition/AddJobPositionService.cs
indieza/Sharemundo.bg
1
7041368
<reponame>indieza/Sharemundo.bg<gh_stars>1-10 namespace SharemundoBulgaria.Areas.Administration.Services.AddJobPosition { using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Resources; using System.Threading.Tasks; using Microsoft.Extens...
Engine/Source/ThirdParty/Vorbis/Vorbis.Build.cs
PopCap/GameIdea
0
7041369
<reponame>PopCap/GameIdea<gh_stars>0 // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class Vorbis : ModuleRules { public Vorbis(TargetInfo Target) { Type = ModuleType.External; string VorbisPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "Vorbis/libvorbis-1....
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Ecs/AlibabaCloud/SDK/ROS/CDK/Ecs/NetworkInterfaceAttachmentProps.cs
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
0
7041370
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Ecs { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::ECS::NetworkInterfaceAttachment`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-ecs.NetworkInterfaceAttac...
src/MUDEngine/Combat.cs
Drevarr/ModernMUD
16
7041371
using System; using System.Collections.Generic; using ModernMUD; namespace MUDEngine { /// <summary> /// The Combat class contains violence-related utility functions that can be accessed from anywhere /// in the engine. /// </summary> public class Combat { /// <summary> ...
development/Beyova.StandardContract/Interfaces/IAppPlatform.cs
JTOne123/CommonFoundation
7
7041372
<reponame>JTOne123/CommonFoundation<filename>development/Beyova.StandardContract/Interfaces/IAppPlatform.cs<gh_stars>1-10 namespace Beyova { /// <summary> /// Interface IAppPlatform /// </summary> public interface IAppPlatform { /// <summary> /// Gets or sets the type of the platfor...
Lazy.Core/ViewModels/DesignModels/ElementContainerDesignModel.cs
MarioZisov/Lazy
0
7041373
<reponame>MarioZisov/Lazy using Lazy.Core.ViewModels.UserControls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lazy.Core.ViewModels.DesignModels { public class ElementContainerDesignModel : ElementContainerViewModel { pu...
Assets/Scripts/GameInitializer.cs
F2PM-Vein/FixTheWorld
0
7041374
<reponame>F2PM-Vein/FixTheWorld<filename>Assets/Scripts/GameInitializer.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using Epidemic; public class GameInitializer: MonoBehaviour { #region Gamestart void Start() { //add txt to GM if (GameMana...
Assets/MagnifyingGlass/MagnifyingGlass.cs
gamedevserj/Shader-Graph-Experiments
93
7041375
<reponame>gamedevserj/Shader-Graph-Experiments using UnityEngine; public class MagnifyingGlass : MonoBehaviour { public string offsetX = "_OffsetX"; public string offsetY = "_OffsetY"; public Camera cam; [Range(0, 0.9f)] public float zoom = 0.1f; Transform cameraTrans; Transfo...
GameMaster/GameMasterWS/IEaccService.cs
bbaumann/aws-eacc
1
7041376
using eacc; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; using System.Web.UI; namespace eacc.gamemaster.ws { // NOTE: You can use the "Rename" command on the "Refactor" menu to ch...
src/test/AutoMapperFactoryTests.cs
dimenics/dime-automapper
0
7041377
using AutoMapper; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Dime.AutoMapper.Tests { /// <summary> /// /// </summary> [TestClass] public class AutoMapperFactoryTests { /// <summary> /// /// </summary> public AutoMapperFactoryTests() { ...
PaperFormatDetection/PaperFormatDetection/PaperFormatDetection/Undergraduate/Text.cs
siyuanzhou/PaperFormatDetection
17
7041378
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using DocumentFormat.OpenXml.Wordprocessing; using DocumentFormat.OpenXml.Packaging; using PaperFormatDetection.Tools; namespace PaperFormatDetection.Undergraduate { class Text { /// <summary> /...
src/Identity/ApiAuthorization.IdentityServer/test/Configuration/AspNetConventionsConfigureOptionsTests.cs
phenning/AspNetCore
0
7041379
// 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 Duende.IdentityServer.Configuration; using Microsoft.AspNetCore.Identity; using Xunit; namespace Microsoft.AspNetCore.ApiAuthorization.IdentityS...
SoftwareKobo.UniversalToolkit/SoftwareKobo.UniversalToolkit/Controls/CircleImage.cs
h82258652/SoftwareKobo.UniversalToolkit3
18
7041380
using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace SoftwareKobo.UniversalToolkit.Controls { public sealed class CircleImage : Control { public static readonly DependencyProperty SourceProperty = DependencyProperty.Register(nameof(Source), typeof(ImageSource),...
Vhc.CoreUi/Vhc.CoreUi.AwsLambda/ILambdaHost.cs
churivibhav/CoreUi
0
7041381
using Amazon.Lambda.Core; using System; using System.Collections.Generic; using System.Text; using Vhc.CoreUi.Abstractions; namespace Vhc.CoreUi.AwsLambda { public interface ILambdaHost : IAppHost { ILambdaContext Context { get; } } }
CSharpLabs/AgeCalculator/AgeCalculator.UnitTests/UnitTest1.cs
changhuixu/dotnetlabs
146
7041382
using System; using System.Globalization; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AgeCalculator.UnitTests { [TestClass] public class UnitTest1 { [DataRow("20120101", "20170505", 5)] [DataRow("20120229", "20170301", 5)] [DataRow("20120229", "20170228", 4)] ...
DeveloperNetwork.Common/Library/TreeNodeCollection.cs
tansm/DeveloperNetwork
1
7041383
using System.Collections.ObjectModel; namespace DeveloperNetwork.Common.Library { partial class TreeNode<T> { public sealed class TreeNodeCollection : Collection<TreeNode<T>> { private TreeNode<T> _owner; internal TreeNodeCollection(TreeNode<T> owner) { ...
src/CoreWCF.Primitives/src/CoreWCF/Dispatcher/AuthenticationBehavior.cs
angewa/CoreWCF
1
7041384
<reponame>angewa/CoreWCF<filename>src/CoreWCF.Primitives/src/CoreWCF/Dispatcher/AuthenticationBehavior.cs using System.Runtime.CompilerServices; using System.Collections.ObjectModel; using CoreWCF.Dispatcher; using CoreWCF.Security; using CoreWCF.IdentityModel.Policy; using CoreWCF; using CoreWCF.Runtime; using System...
tests/CosmosDb.Tests/DocumentDataTypesTests.cs
alexdrenea/CosmosDb.Net
11
7041385
using CosmosDB.Net.Domain; using CosmosDb.Tests.TestData; using CosmosDb.Tests.TestData.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CosmosDb.Tests { [TestClass] public class DocumentDataTy...
CrackingCodingInterview/CrackingCodingInterview/LinkedLists/Task23.cs
thenitro/cracking-coding-interview
0
7041386
<filename>CrackingCodingInterview/CrackingCodingInterview/LinkedLists/Task23.cs<gh_stars>0 using System; namespace CrackingCodingInterview.LinkedLists { public class Task23 { public Task23() { var middle = new Node(3) { Next = new Node(4) ...