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
Source/Server/Showcase.Server.Infrastructure/Queries/ProjectSearchQueryAttribute.cs
TelerikAcademy/ShowcaseSystem
68
7025950
namespace Showcase.Server.Infrastructure.Queries { using System.Web.OData; using System.Web.OData.Query; using Showcase.Server.Common; public class ProjectSearchQueryAttribute : EnableQueryAttribute { public ProjectSearchQueryAttribute() { this.MaxTop = Constants.MaxPr...
Sockets/Tcp/Async/BinarySerialization/Launcher.cs
melardev/.NetCSharpNetworkSnippets
1
7025951
using System.Threading; namespace NetworkSnippets.Sockets.Tcp.Async.BinarySerialization { class Launcher { public static void Launch() { // This snippet shows how to send and receive C# Objects // over the network using serialization Server server = new Serv...
LongjiangAgricultureCloud/Areas/Mobile/Views/Mall/AlipayReturn.cshtml
yukozh/LongjiangAgricultureCloud
0
7025952
<gh_stars>0  @{ ViewBag.Title = "AlipayReturn"; Layout = "~/Areas/Mobile/Views/Shared/_Layout.cshtml"; } @model Com.Alipay.AlipayReturnViewModel <h1 class="widget-title">支付结果</h1> <div> @Model.message<br> 商户订单号: @Model.out_trade_no<br> 支付宝交易号 : @Model.trade_no<br> 交易状态 : @Model.trade_statu...
CookBookAPI/CookBookAPI/Migrations/20190208013811_imageUrls.Designer.cs
KKetter/CookBookAPI
0
7025953
// <auto-generated /> using CookBookAPI.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace CookBookAPI.Migrat...
Toggl.Daneel/ViewControllers/OnboardingViewController.designer.cs
HectorRPC/Toggl2Excel
3
7025954
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace Toggl.Daneel.ViewControllers { ...
samples/Worker/Worker.cs
gore01/Micronetes
0
7025955
using System; using System.Runtime.ExceptionServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Micronetes; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespa...
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Media/BitmapCacheFactory.cs
kant2002/wpf-test
25
7025956
<reponame>kant2002/wpf-test // 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.Windows.Media; using Microsoft.Test.Stability.Core; using Mi...
src/BenchmarkDotNet.Core/Toolchains/InProcess/BenchmarkActionFactory.cs
uQr/BenchmarkDotNet
0
7025957
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Running; using JetBrains.Annotations; namespace BenchmarkDotNet.Toolchains.InProcess { /// <summary>Helper class that creates <see cref="BenchmarkActi...
Project Files/Source/Console/wmm.cs
jwestmoreland/OpenHPSDR-PowerSDR-Spot-WIP
0
7025958
//============================================================== //Copyright by FlexRadio Systems, 2004 //This software is licensed under the GNU General Public License //============================================================== //wmm.cs //============================================================== using Syste...
AlipaySDKNet/Response/AlipayTradeCreditFinanceRefundResponse.cs
alipay/alipay-sdk-net
117
7025959
<filename>AlipaySDKNet/Response/AlipayTradeCreditFinanceRefundResponse.cs using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayTradeCreditFinanceRefundResponse. /// </summary> public class AlipayTradeCreditFinanceRefundResponse : AopResponse { ...
src/Abc.Zebus.Persistence.Cassandra/Util/MessageIdExtensions.cs
alexandrekow/Zebus
0
7025960
<filename>src/Abc.Zebus.Persistence.Cassandra/Util/MessageIdExtensions.cs using System; namespace Abc.Zebus.Persistence.Cassandra.Util { public static class MessageIdExtensions { public static DateTime GetDateTimeForV2OrV3(this MessageId messageId) { var dateTime = messageId.GetDat...
src/NOption.Tests/Option_FlatMap_Should.cs
nmangue/NOption
0
7025961
using Xunit; namespace NOption.Tests { public class Option_FlatMap_Should { [Fact] public void ReturnFunctionResult_WhenSome() { var callResult = TestFunctions.CallWithSomeValue(); var mapResult = callResult.FlatMap(ToOptionString); Assert.True(mapResult.HasSome(out var value)); Assert.Equal(Test...
pro-asp.net-mvc-5/Chapter 20/Views/Views/Infrastructure/DebugDataView.cs
jimidark/pro-aspnet-mvc-5-fifth-edition
0
7025963
using System.IO; using System.Web.Mvc; namespace Views.Infrastructure { public class DebugDataView : IView { public void Render(ViewContext viewContext, TextWriter writer) { Write(writer, "---Routing Data---"); foreach (string key in viewContext.RouteData.Values.Keys) { ...
FTX.Net/Enums/KlineInterval.cs
GeorgeF0/FTX.Net
0
7025964
namespace FTX.Net.Enums { /// <summary> /// Kline intervals /// </summary> public enum KlineInterval { /// <summary> /// 15s /// </summary> FifteenSeconds, /// <summary> /// 1m /// </summary> OneMinute, /// <summary> //...
src/Extensions/DataServices/BootstrapBlazor.DataAcces.PetaPoco/PetaPocoServiceCollectionExtensions.cs
First-Coder/BootstrapBlazor
1
7025965
// Copyright (c) <NAME> (<EMAIL>). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; using BootstrapBlazor.DataAcces.PetaPoco; using ...
ConsoleBox/IConsoleOutput.cs
decoy/ConsoleBox
4
7025966
<filename>ConsoleBox/IConsoleOutput.cs using System.Drawing; namespace ConsoleBox { /// <summary> /// Defines a console output writer. /// </summary> public interface IConsoleOutput { void Clear(); void Set(int x, int y, char c, Color fg, Color bg, CellAttributes attr); v...
Service/GroupMembershipManagement/Hosts/GraphUpdater/Services.Contracts/IServiceBusMessageService.cs
microsoftgraph/group-membership-management
23
7025967
<filename>Service/GroupMembershipManagement/Hosts/GraphUpdater/Services.Contracts/IServiceBusMessageService.cs<gh_stars>10-100 // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.Azure.ServiceBus; using Services.Entities; namespace Services.Contracts { public interface IServi...
dotnet/Util/Quartz/trunk/src/I/AbstractPpwRetryJob.cs
jandppw/ppwcode
0
7025968
using System; using System.Linq; using PPWCode.Util.Quartz.I.Scheduler; using Quartz; using Quartz.Spi; using log4net; namespace PPWCode.Util.Quartz.I { public abstract class AbstractPpwRetryJob : AbstractPpwJob, ISchedulerPlugin { private static readonly ILog s_Logger = Log...
DarkestCavern/Assets/scripts/structs/UIData.cs
TeoKohan/DarkestCavern
0
7025969
<gh_stars>0 public struct UIData { public int[] ores; public float light; public UIData (int[] ores, float light) { this.ores = ores; this.light = light; } }
qckdev/ComponentModel/TypeDescriptorHelper.cs
hfrances/qckdev
0
7025970
#if PORTABLE // EXCLUDE. #else using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using qckdev.Linq; namespace qckdev.ComponentModel { /// <summary> /// Provides information about the characteristics for a component, such as its attributes, properties, and events...
System.Data/System/Data/SqlClient/SqlBulkCopyOptions.cs
ludovic-henry/referencesource
3
7025971
<reponame>ludovic-henry/referencesource<filename>System.Data/System/Data/SqlClient/SqlBulkCopyOptions.cs //------------------------------------------------------------------------------ // <copyright file="SqlBulkCopyOptions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // <...
blqw.MIS/ApiProperty.cs
blqw/blqw.UIF
0
7025972
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace blqw.MIS { /// <summary> /// API属性 /// </summary> public struct ApiProperty { public ApiProperty(PropertyInfo property,object v...
KinectWindowsUI/KinectWindowsUI/KinectWindowsUI/Gestures/BaseController.cs
SREEHARIR/Interact
197
7025973
<filename>KinectWindowsUI/KinectWindowsUI/KinectWindowsUI/Gestures/BaseController.cs // // Copyright (c) <NAME>. // All rights reserved. // // http://lightbuzz.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: ...
HastaneProgrami/Controllers/HastaController.cs
FurkanAltintas/Hospital_Management_System
0
7025974
<reponame>FurkanAltintas/Hospital_Management_System<gh_stars>0 using FluentValidation.Results; using HastaneProgrami.Models; using HastaneProgrami.Models.Entity_Framework; using HastaneProgrami.ValidationRules; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Ne...
CSSBot/Models/MsdnApiResult.cs
drew-loukusa/CSSBot
7
7025975
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace CSSBot { [JsonObject] public class MsdnApiResult { [JsonProperty("displayName")] public string DisplayName { get; set; } [JsonProperty("url")] public string Url { get; set; }...
Assets/RLCreature/Sample/Common/UI/UIComponents/CreatureInfoCell.cs
Hi-king/RLCreature
29
7025976
<gh_stars>10-100 using UniRx; using UnityEngine; using UnityEngine.UI; namespace RLCreature.Sample.Common.UI.UIComponents { public class CreatureInfoCell : MonoBehaviour { [SerializeField] private Color DefaultColor = Color.white; public RectTransform Header; public Text HeaderName; ...
src/Nethereum.Contracts/Builders/FunctionBuilder.cs
OPEXGroup/Nethereum
1
7025977
<reponame>OPEXGroup/Nethereum using Nethereum.ABI.Decoders; using Nethereum.ABI.Model; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.Hex.HexTypes; using Nethereum.RPC.Eth.DTOs; namespace Nethereum.Contracts { public class FunctionBuilder : FunctionBuilderBase { public FunctionBuilder(...
src/frames/FrameManager.cs
Chr1st1anSzech/Enable-Now-Konnektor-Editor
0
7025978
<filename>src/frames/FrameManager.cs using System.Collections.ObjectModel; using System.Linq; using System.Windows.Controls; namespace Enable_Now_Konnektor_Editor.src.frames { internal class FrameManager { private protected static FrameManager s_manager; private readonly TabControl _tabControl...
src/OpenPerpetuum.Core.Killboard/KillboardDataModel.cs
OpenPerpetuum/APIv2
0
7025979
using OpenPerpetuum.Core.Killboard.DataModel; using System.Collections.ObjectModel; namespace OpenPerpetuum.Core.Killboard { public class KillboardDataResultModel { public int Page { get; set; } public int ResultsPerPage { get; set; } public int ResultsReturned { get; set; } pu...
source/R5T.NetStandard.Types/Code/Extensions/ICollectionExtensions.cs
MinexAutomation/R5T.NetStandard.Types
0
7025980
<gh_stars>0 using System; using System.Collections.Generic; namespace R5T.NetStandard.Extensions { public static class ICollectionExtensions { public static IEnumerable<T> ExceptLast<T>(this ICollection<T> collection, int count) { var totalNumber = collection.Count; ...
src/EmfPlus/Records/EmfPlusSetClipPath.cs
hughbe/Metafile-Dumper
0
7025981
<filename>src/EmfPlus/Records/EmfPlusSetClipPath.cs using MetafileDumper.EmfPlus.Enumerations; namespace MetafileDumper.EmfPlus { /// <summary> /// Combines the current clipping region with a graphics path. /// [MS-EMFPLUS] 2.3.1.3 /// </summary> public class EmfPlusSetClipPath : EmfPlusRecord ...
samples/snippets/csharp/VS_Snippets_Data/XslTransform.Load4/CS/trans_ev.cs
broken240/dotnet-api-docs
1
7025982
<reponame>broken240/dotnet-api-docs using System; using System.IO; using System.Xml; using System.Xml.Xsl; public class Sample { private const String stylesheet = @"c:\tmp\output.xsl"; private const String myURL = @"http://localhost/data"; public static void Main () { XmlTextRe...
Assets/DataRenderer2D/Polygon/Scripts/CircleCalculator.cs
geniikw/DataRenderer2D
137
7025983
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace geniikw.DataRenderer2D.Polygon { public class CircleCalculator { readonly IPolygon _target; readonly IUnitSize _unit; public CircleCalculator(IPolygon target, IUnitSize size) { _ta...
Blazor.FlexGrid/src/Blazor.FlexGrid/Components/Configuration/ValueFormatters/ValueFormatter.cs
OsvaldoMartini/Blazor_Projects
0
7025984
using System; using System.Linq.Expressions; namespace Blazor.FlexGrid.Components.Configuration.ValueFormatters { /// <summary> /// Represent base class for formatting value which is displayed in grid /// </summary> public abstract class ValueFormatter { public abstract Func<object, string...
LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/ProgramType.cs
gtri-iead/LEXS-NET-Sample-Implementation-4.0
0
7025985
<filename>LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/ProgramType.cs namespace Lexs4SearchRetrieveWebService { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStep...
src/HotChocolate/Core/src/Types/Types/Descriptors/TypeReferences/SchemaTypeReference.cs
erwan-joly/hotchocolate
1
7025986
using System; namespace HotChocolate.Types.Descriptors { public sealed class SchemaTypeReference : TypeReferenceBase , ISchemaTypeReference { public SchemaTypeReference(ITypeSystemMember type) : this(type, null, null) { } public SchemaTypeReference( ...
NandGame.UnitTests/PlumbingTests/DataFlipFlopTests.cs
EdoVanAsseldonk/NandGameCSharp
0
7025987
using FluentAssertions; using NandGame.Core; using NUnit.Framework; namespace NandGame.UnitTests.PlumbingTests { public class DataFlipFlopTests { [Test] public void Test1() { var output = new DataFlipFlop().Do(false, false, false); output.Should().BeFalse(); ...
server/gameserver/logic/skills/TossSetpiece.cs
xoxobby/LoE-Realm-NC-2
2
7025988
#region using LoESoft.GameServer.networking.outgoing; using LoESoft.GameServer.realm; using LoESoft.GameServer.realm.mapsetpiece; using System; #endregion namespace LoESoft.GameServer.logic.behaviors { public enum SpecialSetPiece : byte { ABYSS_IDOL = 0, ON_SELF = 255 } public class...
NowPlaying-for-TIDAL/Discord/DiscordApi.cs
Kaufi-Jonas/Discord-Rich-Presence-for-TIDAL
5
7025989
using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Text.Json; using nowplaying_for_tidal.Data; namespace nowplaying_for_tidal.Discord { public class DiscordApi { private readonly HttpClient HttpClient = new()...
Assets/Scripts/MusicController.cs
ckidwell/GDTVGameJam2021
0
7025990
<reponame>ckidwell/GDTVGameJam2021 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicController : MonoBehaviour { GameController gamecontroller; [SerializeField] AudioSource audioSource; [SerializeField] AudioSource policeChatter; [SerializeField] float ...
src/ServiceStack.Interfaces/Service/IReplyClient.cs
niemyjski/ServiceStack
1
7025991
<filename>src/ServiceStack.Interfaces/Service/IReplyClient.cs<gh_stars>1-10 using System.IO; namespace ServiceStack.Service { public interface IReplyClient { /// <summary> /// Sends the specified request. /// </summary> /// <param name="request">The request.</param> /// <returns></returns> TRe...
DesignPatternSamples/CSharpLib.FactoryPattern/Pluralsight_FactorySample/Factory3/Auto/MiniCooper.cs
DefectBuster/DesignPatterns
0
7025992
<filename>DesignPatternSamples/CSharpLib.FactoryPattern/Pluralsight_FactorySample/Factory3/Auto/MiniCooper.cs using System; namespace CSharpLib.FactoryPattern.Pluralsight_FactorySample.Factory3 { public class MiniCooper : IAuto { public string Name { get; private set; } ...
Source/Server/WebPortal/Apps/Calendar/Modules/UpdateConfirmation.ascx.cs
InstantBusinessNetwork/IBN
21
7025993
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Mediachase.Ibn.Data; using Mediachase.Ibn.Events; using Mediachase.Ibn.Web.UI.WebControls; using Mediachase.Ibn.Core.Business; namespace Mediachase.Ibn.Web.UI.Calendar.Modules { public partia...
src/Services/Courses/University.Courses.Api/Consumer/StudentCreatedSubscriber.cs
MedAmineBenbaha/University-Microservices
1
7025994
<reponame>MedAmineBenbaha/University-Microservices using System; using DotNetCore.CAP; using University.Courses.Application.Events.External; namespace University.Courses.Api.Consumer; public class StudentCreatedSubscriber : ICapSubscribe { [CapSubscribe("StudentCreated")] public void CheckReceivedMessage(Stu...
Softeq.XToolkit.Common/Collections/EventArgs/NotifyKeyGroupsCollectionChangedEventArgs.cs
Softeq/XToolkit.WhiteLabel
25
7025995
// Developed by Softeq Development Corporation // http://www.softeq.com using System.Collections.Generic; using System.Collections.Specialized; namespace Softeq.XToolkit.Common.Collections.EventArgs { public class NotifyKeyGroupsCollectionChangedEventArgs : System.EventArgs { public NotifyKeyGroupsCo...
Assets/Scripts/UI/FinishScore.cs
Feonya/JetPaper_Edu
0
7025996
<reponame>Feonya/JetPaper_Edu using UnityEngine; using UnityEngine.UI; public class FinishScore : MonoBehaviour { private Text scoreText; private void Start() { scoreText = GetComponent<Text>(); scoreText.text = "总得分:" + TotalScores.score; } }
OpenNefia.Content/UI/UiColors.cs
Zechsu/OpenNefia
0
7025997
using OpenNefia.Core.Maths; namespace OpenNefia.Content.UI { public static class UiColors { public static readonly Color TextWhite = new(255, 255, 255, 255); public static readonly Color TextBlack = new(0, 0, 0, 255); public static readonly Color ListSelectedAdd = new(50, 50, 50, 255)...
CSharpExample/ASP.NET/WebApp/Page/FormSample/Logon.aspx.designer.cs
huruiyi/CSharpExample
3
7025998
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace WebApp.Page.FormSample { public partial...
src/tests/JIT/Methodical/AsgOp/i8/i8flat.cs
berkansasmaz/runtime
1
7025999
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Xunit; namespace Test_i8flat_cs { public class test { [Fact] public static int TestEntryPoint() { Int64 x; Int64 y; bool pas...
Source/Qi4CS.Samples/Qi4CSDocumentation/CILManipulatorCodeContent.cs
CometaSolutions/Qi4CS
1
7026000
///* // * Copyright 2013 <NAME>. 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 // * ...
ALS.Glance.UoW/Repository/Implementation/ApplicationSettingsRepository.cs
smeegoan/als-glance
0
7026001
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using ALS.Glance.Models; using ALS.Glance.UoW.EF; using ALS.Glance.UoW.Repository.Interface; namespace ALS.Glance.UoW.Repository.Implementation { pu...
Source/TeamMate/Model/Settings/ApplicationSettings.cs
john-alessi/TeamMate
8
7026002
using Microsoft.Tools.TeamMate.Foundation.Diagnostics; using Microsoft.Tools.TeamMate.Resources; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Windows.Input; namespace Microsoft.Tools.TeamMate.Model.Settings ...
templates/template-publish/content/src/SkorubaDuende.IdentityServerAdmin.Admin.Api/Dtos/IdentityResources/IdentityResourcesApiDto.cs
FabienDehopre/Duende.IdentityServer.Admin
143
7026003
// Copyright (c) <NAME>. All Rights Reserved. // Licensed under the Apache License, Version 2.0. using System.Collections.Generic; namespace SkorubaDuende.IdentityServerAdmin.Admin.Api.Dtos.IdentityResources { public class IdentityResourcesApiDto { public IdentityResourcesApiDto() { ...
Samples and SDK/Server/FhirOnAzureServer/Spark.Engine/Service/FhirServiceExtensions/ISnapshotPaginationProvider.cs
HowardEdidin/HL7-FHIR-ON-AZURE
4
7026004
#region Information // Solution: Spark // Spark.Engine // File: ISnapshotPaginationProvider.cs // // Created: 07/12/2017 : 10:35 AM // // Modified By: <NAME> // Modified: 08/20/2017 : 1:53 PM #endregion namespace FhirOnAzure.Engine.Service.FhirServiceExtensions { using Core; public interface ISnapshotP...
Dexter/Databases/Mail/ModMail.cs
FeroxFoxxo/Dexter
1
7026005
using System.ComponentModel.DataAnnotations; namespace Dexter.Databases.Mail { /// <summary> /// The Mod Mail class contains information on a message sent to the moderators. /// </summary> public class ModMail { /// <summary> /// The TrackerID field is the KEY of the table. It is unique per mail. /// It...
samplecode/apisamples/EducationAccelerator.WebApi/EducationAccelerator.WebApi/Models/OauthToken.cs
teachteamnfp/Industry-Accelerator-Education
39
7026006
<reponame>teachteamnfp/Industry-Accelerator-Education /* * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ using System; using System.ComponentModel.DataAnnotations; namespace EducationAccelerator.Models { pu...
Source/TimeWarp.Architecture.Template/templates/TimeWarp.Architecture/Source/Common/Common.Contracts/Base/BaseMessage.cs
TimeWarpEngineering/timewarp-console
0
7026007
namespace TimeWarp.Architecture.Features; /// <summary> /// Utlimate Base Class for Requests and Responses /// </summary> public abstract record BaseMessage { /// <summary> /// Unique Identifier to Correlate request and response /// </summary> public Guid CorrelationId { get; init; } = Guid.NewGuid(); }
WebHost/PlayerHostCollection.cs
Ivony/TableGames
18
7026008
<reponame>Ivony/TableGames<gh_stars>10-100 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Web; namespace Ivony.TableGame.WebHost { public class PlayerHostCollection : KeyedCollection<Guid, PlayerHost> { protected override Guid GetKeyForIte...
MClam/Sigtool/DatabaseType.cs
Vikneshwarsmn/Knitrix.Antivirus.Console
0
7026009
// // DatabaseType.cs is part of MClam. // Copyright (C) 2017 <NAME> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at...
Source/Services/OnlineAtelier.Services/Contracts/IPhotosOrderService.cs
IskraNikolova/OnlineAtelier
0
7026010
<reponame>IskraNikolova/OnlineAtelier namespace OnlineAtelier.Services.Contracts { using System.Collections.Generic; using OnlineAtelier.Models.Models; using Web.Models.ViewModels.UsersPicture; public interface IPhotosOrderService : IDeletable { void AddPictureToOrder(byte[] content, int i...
TDAmeritrade/Models/Response`1.cs
AnCh7/tdameritrade
1
7026011
<reponame>AnCh7/tdameritrade //----------------------------------------------------------------------- // <copyright file="Response`1.cs" company="KriaSoft, LLC"> // TD Ameritrade .NET SDK v1.1.0 (June 01, 2011) // Copyright © 2011 <NAME> (<EMAIL>) // </copyright> //--------------------------------------------...
SharedViewModels/ViewModels/UserSwitchViewModel.cs
mindleaving/dataapi
0
7026012
using System; using System.Windows.Input; using DataAPI.Client; using SharedViewModels.Helpers; namespace SharedViewModels.ViewModels { public class UserSwitchViewModel { private readonly IDataApiClient dataApiClient; private readonly Action loginSuccessfulCallback; private ...
LNF/Data/IChargeType.cs
lurienanofab/lnf
1
7026013
namespace LNF.Data { public interface IChargeType { int ChargeTypeID { get; set; } string ChargeTypeName { get; set; } int AccountID { get; set; } bool IsInternal { get; set; } } }
RestaurantReviewsLibrary/RR.Web/Views/Reviews/Details.cshtml
1804-Apr-USFdotnet/billy-do-project1
0
7026014
<filename>RestaurantReviewsLibrary/RR.Web/Views/Reviews/Details.cshtml @model DataAccessLayer.Models.Review <div> <h4>Review</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.DateCreated) </dt> <dd> @Html.DisplayFor(model => mo...
TEAMModelOS.SDK/Module/AzureCosmosDB/Configuration/AzureCosmosDBConfig.cs
cdhabook/TEAMModelOS
4
7026015
<filename>TEAMModelOS.SDK/Module/AzureCosmosDB/Configuration/AzureCosmosDBConfig.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace TEAMModelOS.SDK.Module.AzureCosmosDB.Configuration { public class AzureCosmosDBConfig { public readonly static string AZURE_CHI...
Assets/FootballGame/Scripts/Game/VersusController.cs
BaptisteMarechaux/VRFEET
0
7026016
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class VersusController : MonoBehaviour { [SerializeField] GameObject uiScore; [SerializeField] Text player1Name; [SerializeField] Image[] player1Goals; [SerializeField] Text ...
server/Ntreev.Crema.ServerService.Test/Extensions.cs
NtreevSoft/Crema
68
7026017
<filename>server/Ntreev.Crema.ServerService.Test/Extensions.cs using Ntreev.Crema.ServiceModel; using Ntreev.Library; using Ntreev.Library.Random; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ntreev.Crema.ServerService.Test { static ...
src/System.Management.Automation/engine/SessionStateDynamicProperty.cs
drakeg/PowerShell
4
7026018
<gh_stars>1-10 /********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections.ObjectModel; using System.Management.Automation.Provider; using Dbg = System...
source/nuPickers/Shared/DotNetDataSource/IDotNetDataSourceKeyed.cs
niekvanderreest/nuPickers
46
7026019
namespace nuPickers.Shared.DotNetDataSource { /// <summary> /// Implementing this interface will enable a dot-net-data-source to support returning returning only those options matching specific keys /// This is required when using a csv save format (that doesn't store any label data) & a data source depend...
sdk/dotnet/DataFactory/Latest/GetFactoryGitHubAccessToken.cs
pulumi/pulumi-azure-nextgen
31
7026020
<reponame>pulumi/pulumi-azure-nextgen // *** 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...
CoreSharp.Breeze.Tests/Entities/CompositeOrderRow.cs
cime/CoreSharp
7
7026021
using CoreSharp.Common.Attributes; using CoreSharp.NHibernate; using FluentNHibernate.Automapping; using FluentNHibernate.Automapping.Alterations; namespace CoreSharp.Breeze.Tests.Entities { public class CompositeOrderRow : Entity { [NotNull] public virtual CompositeOrder CompositeOrder { get;...
Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/UIKit/Core/ISN_UIViewController.cs
Alnirel/com.stansassets.running-dinosaur-clone
2
7026022
<reponame>Alnirel/com.stansassets.running-dinosaur-clone<filename>Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/UIKit/Core/ISN_UIViewController.cs using System; using SA.iOS.Utilities; namespace SA.iOS.UIKit { /// <summary> /// An object that manages a view hierarchy for your UIKit app. ...
EyeInTheSky/Exceptions/ConfigurationException.cs
stwalkerster/eyeinthesky
0
7026023
<reponame>stwalkerster/eyeinthesky namespace EyeInTheSky.Exceptions { using System; public class ConfigurationException : Exception { public ConfigurationException(string message) : base(message) { } } }
ShowdownReplayScouter.Core/ReplayCollectors/ShowdownReplayCollector.cs
FullLifeGames/Showdown-Replay-Scouter
5
7026024
<gh_stars>1-10 using ShowdownReplayScouter.Core.Util; using System; using System.Collections.Generic; using System.Linq; namespace ShowdownReplayScouter.Core.ReplayCollectors { public class ShowdownReplayCollector : IReplayCollector { public async IAsyncEnumerable<CollectedReplay> CollectReplaysAsync(...
CSharp/Reflection/InvokeMember.cs
piovezan/SOpt
148
7026025
<filename>CSharp/Reflection/InvokeMember.cs using static System.Console; using System.Reflection; public class Program { public static void Main() { var xml = new Servico(); var tipoServico = xml.GetType(); tipoServico.InvokeMember("SalvarXmlRetornoEm", BindingFlags.SetProperty, null, xml, new object[] { "local...
src/Avalonia.Layout/Utils/ListUtils.cs
luthfiampas/Avalonia
4
7026026
<filename>src/Avalonia.Layout/Utils/ListUtils.cs using System.Collections.Generic; using System.Linq; namespace Avalonia.Layout.Utils { internal static class ListUtils { public static void Resize<T>(this List<T> list, int size, T value) { int cur = list.Count; if (size...
sdk/dotnet/OpenId/GetClientServiceAccountUser.cs
davide-talesco/pulumi-keycloak
0
7026027
// *** 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; using ...
DI.Coupled/Classes/BillingProcessor.cs
sumeshes07/Dependency-Injection-Methods
0
7026028
<reponame>sumeshes07/Dependency-Injection-Methods using System; namespace DI.Coupled.Classes { public class BillingProcessor { public void ProcessPayment( string customer, string creditCard, double price) { // perform billing gatway processing Console.WriteL...
src/Waddle/Supports/EnumSupport.cs
boyarsky/azure-devops-security
9
7026029
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Waddle.Constants; namespace Waddle.Supports { public static class EnumSupport { public static string GetStringValue(this SecurityNamespaceConstants value) { var ...
src/Eurofurence.App.Domain.Model.MongoDb/Repositories/EventRepository.cs
Pinselohrkater/ef-app_backend-dotnet-core
3
7026030
<reponame>Pinselohrkater/ef-app_backend-dotnet-core<filename>src/Eurofurence.App.Domain.Model.MongoDb/Repositories/EventRepository.cs using Eurofurence.App.Domain.Model.Events; using MongoDB.Driver; namespace Eurofurence.App.Domain.Model.MongoDb.Repositories { public class EventRepository : MongoDbEntityR...
osu.Game.Rulesets.Catch/Objects/Drawable/DrawableDroplet.cs
goaaats/osu
1
7026031
<gh_stars>1-10 // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces; using osuTK; using osuTK.Graphics; nam...
Poynt.NET.Model/PriceBookItem.cs
segios/PoyntSDK.NET
1
7026032
<gh_stars>1-10 //==================================================================================================== //The Free Edition of Java to C# Converter limits conversion output to 100 lines per file. //To purchase the Premium Edition, visit our website: //https://www.tangiblesoftwaresolutions.com/order/order-...
src/IdentityServer4.Admin/Views/Configuration/ApiResourceProperties.cshtml
ganmuru/IdentityServer4.Admin
0
7026033
@using Microsoft.AspNetCore.Mvc.Localization @using IdentityServer4.Admin.BusinessLogic.Shared.Dtos.Common @model IdentityServer4.Admin.BusinessLogic.Dtos.Configuration.ApiResourcePropertiesDto @inject IViewLocalizer Localizer @{ ViewBag.Title = Localizer["PageTitle"]; Layout = "_Layout"; } <form asp-controller="C...
Eveneum.Tests/ReadingStreamBetweenVersions.feature.cs
ekjuanrejon/Eveneum
0
7026034
<filename>Eveneum.Tests/ReadingStreamBetweenVersions.feature.cs // ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (https://www.specflow.org/). // SpecFlow Version:3.9.0.0 // SpecFlow Generator Version:3.9.0.0 // ...
RoseliaControlWindows/RoseliaControl/Form1.cs
Somainer/roselia-control
0
7026035
using System; using System.ComponentModel; using System.Drawing; using System.Text.RegularExpressions; using System.Windows.Forms; namespace RoseliaControl { public partial class Form1 : Form { private readonly RoseliaWebSocket _ws; public Form1() { InitializeComponent(); ...
AlipaySDKNet/Domain/AlipayBossBaseProcessTaskProcessModel.cs
alipay/alipay-sdk-net
117
7026036
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// AlipayBossBaseProcessTaskProcessModel Data Structure. /// </summary> [Serializable] public class AlipayBossBaseProcessTaskProcessModel : AopObject { /...
Chapter 11/Catalog/src/VinylStore.Catalog.Domain/Commands/Artists/GetArtistCommand.cs
samueleresca/Hands-On-RESTful-Web-Services-with-ASP.NET-Core
2
7026037
<filename>Chapter 11/Catalog/src/VinylStore.Catalog.Domain/Commands/Artists/GetArtistCommand.cs<gh_stars>1-10 using System; using MediatR; using VinylStore.Catalog.Domain.Responses.Item; namespace VinylStore.Catalog.Domain.Commands.Artists { public class GetArtistCommand : IRequest<ArtistResponse> { pu...
Laberinto/Form1.Designer.cs
barbosaGonzalez/Juego-de-Laberinto-WII
1
7026038
namespace Laberinto { partial class Form1 { /// <summary> /// Variable del diseñador requerida. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se estén utilizando. /// </su...
Packages/com.unity.addressables@1.19.4/Runtime/ResourceManager/ResourceProviders/BundledAssetProvider.cs
FengSiyuan92/AddressablesTest
0
7026039
<reponame>FengSiyuan92/AddressablesTest using System; using System.Collections.Generic; using System.ComponentModel; using UnityEngine.ResourceManagement.AsyncOperations; using UnityEngine.ResourceManagement.Util; namespace UnityEngine.ResourceManagement.ResourceProviders { /// <summary> /// Provides assets st...
Source/Events/DomainEventNotifier.cs
kirnosenko/Hive
1
7026041
<reponame>kirnosenko/Hive using Hive.SeedWorks.TacticalPatterns; namespace Hive.SeedWorks.Events { /// <summary> /// Нотификатор о доменных событиях. /// Базовый класс проксирования агрегата. /// </summary> /// <typeparam name="TBoundContext">Ограниченный контекст.</typeparam> /// <typeparam n...
ServiceStack.Text/tests/Northwind.Common/DataModel/NorthwindFactory.cs
filipsky/ServiceStack
1
7026042
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Northwind.Common.DataModel { public static class NorthwindFactory { public static readonly List<Type> ModelTypes = new List<Type> { typeof(Employee), typeof(Category), ...
Assets/Scripts/TriggerWall.cs
GeorgTsabou/LagaDoll
0
7026043
<reponame>GeorgTsabou/LagaDoll using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerWall : MonoBehaviour { int lastFlicker = 0; public int flicker = 0; int lastGloves = 0; public int gloves = 0; public OSC osc; public string glovesHeaderL = "/Le...
source/Src/Validation/Configuration/ValidatedFieldReferenceCollection.cs
icnocop/validation-application-block
2
7026044
<gh_stars>1-10 // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; using System.Configuration; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design; namespace Micr...
Assets/Scripts/GeneratedCode/SOPROContainers/SODictionaryTransformContainer.cs
ErrorNullReference/INVASIONnnn
3
7026045
using System; using System.Collections.Generic; using UnityEngine; namespace SOPRO { /// <summary> /// A class used to represent a shared container of objects /// </summary> [Serializable] [CreateAssetMenu(fileName = "Container", menuName = "SOPRO/Containers/SODictionaryTransformContainer")] public cl...
Assets/RFG/Platformer/Character/Abilities/SmashDownAbility.cs
retro-fall-games/happy-holidays
0
7026047
<reponame>retro-fall-games/happy-holidays using System; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.EventSystems; namespace RFG { [AddComponentMenu("RFG/Platformer/Character/Ability/Smash Down")] public class SmashDownAbility : MonoBehaviour, IAbility { private Character _...
src/StackExchange.Redis.Extensions.Core/ServerIteration/ServerEnumerable.cs
muabanjsc/StackExchange.Redis.Extensions
0
7026049
using System; using System.Collections; using System.Collections.Generic; using System.Net; using StackExchange.Redis.Extensions.Core.Configuration; namespace StackExchange.Redis.Extensions.Core.ServerIteration { public class ServerEnumerable : IEnumerable<IServer> { private readonly IConnectionMultiplexer multip...
Assets/Scripts/Game/Cinematics/DialogueManager.cs
pdxparrot/ssjJune2021
0
7026050
<reponame>pdxparrot/ssjJune2021 using System; using UnityEngine; using pdxpartyparrot.Core.DebugMenu; using pdxpartyparrot.Core.Util; using pdxpartyparrot.Game.State; namespace pdxpartyparrot.Game.Cinematics { // TODO: if this could pre-allocate all of the dialogues we need // rather than instantiating them...
sources/presentation/Stride.Core.Presentation.Graph/Properties/AssemblyInfo.cs
profan/stride
3
7026051
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Reflection; using System.Windows; using System.Windows.Markup; [assembly: ThemeInf...
MonoDevelop.StyleCopAnalyzers/StartupHandler.cs
eromba/MonoDevelop.StyleCopAnalyzers
1
7026052
using MonoDevelop.Components.Commands; namespace StyleCopAnalyzersAddin { public class StartupHandler : CommandHandler { protected override void Run() { base.Run(); } } }
Neos.IdentityServer 2.2/Neos.IdentityServer.QrCodeNet/DataEncodation/EightBitByteEncoder.cs
anorstrom/adfsmfa
97
7026053
<reponame>anorstrom/adfsmfa //******************************************************************************************************************************************************************************************// // Copyright (c) 2011 <NAME> ...