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/developwithpassion.specification.specs/AccessorDoesNotHaveAValueSpecs.cs
NOtherDev/developwithpassion.specifications
1
7039815
using System; using System.Data; using System.Data.SqlClient; using Machine.Specifications; using developwithpassion.specifications.core.reflection; using developwithpassion.specifications.extensions; using developwithpassion.specifications.rhinomocks; namespace developwithpassion.specification.specs { [Subject(t...
src/OpenSearch.Client/IndexModules/Similarity/CustomSimilarity.cs
opensearch-project/opensearch-net
8
7039816
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
Networking/Progression/NET_ProgressionReplicator.cs
Panthr75/GTFO-CustomLevelProgression
0
7039817
using Player; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; namespace CustomLevelProgression.Networking.Progression { public class NET_ProgressionReplicator : NET_Replicator { public List<NET_Packet> packets; public ExtendedPlayerAgen...
Web Services and Cloud/WCF/StringsHost/Program.cs
aleksandra992/TelerikAcademy
0
7039818
<gh_stars>0 namespace StringsHost { using System; using System.ServiceModel; using System.ServiceModel.Description; using Strings; public class Program { public static void Main(string[] args) { Uri serviceaddress = new Uri("http://localhost:1228/Strings"); ...
src/Microsoft.Azure.ServiceBus/Amqp/AmqpQueueClient.cs
uQr/azure-service-bus-dotnet
6
7039820
<reponame>uQr/azure-service-bus-dotnet // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.ServiceBus.Amqp { using System; using System.Threading.Tasks; using Microsoft.Azure.Amqp; ...
PokeSave/TypeChart.cs
Zazcallabah/PokeSave
1
7039822
<reponame>Zazcallabah/PokeSave using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace PokeSave { public class Line { static readonly IDictionary<char, decimal> _weights = new Dictionary<char, decimal>() { { 'H', 0.5m }, { '...
TestApps/TestApp.UWP/MainPage.xaml.cs
Aftnet/FileSystemPlugin
2
7039823
using Plugin.FileSystem; using TestApp.Shared; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace TestApp.UWP { /// <summary> /// An empty page that can be used on its own or navigated to...
src/AngleSharp/Dom/Html/ValidityState.cs
tbolon/AngleSharp
293
7039824
<reponame>tbolon/AngleSharp namespace AngleSharp.Dom.Html { using System; /// <summary> /// A class for representing the current validity state. /// </summary> sealed class ValidityState : IValidityState { #region Fields private ErrorType _err; #endregion #re...
AddOnBlog.Mvc.Library/AddOnBlogUserManager.cs
leeenglestone/AddOnBlog.Mvc.NuGet
0
7039825
using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AddOnBlog.Mvc.Library { public class AddOnBlogUserManager :UserManager<AddOnBlogUser> { public AddOnBlogUserManager() : base(new Ad...
src/RoslynMapper/Data/DataRecordExtensions.cs
liuhongbo/RoslynMapper
10
7039826
<reponame>liuhongbo/RoslynMapper using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using RoslynMapper.Map; namespace RoslynMapper.Data { public static class DataRecordExtensions { public static string DataRecordCodeRe...
src/iHRS.Infrastructure/Migrations/20201203181724_Mig3.cs
rpanasewicz/iHRS
0
7039827
<reponame>rpanasewicz/iHRS<filename>src/iHRS.Infrastructure/Migrations/20201203181724_Mig3.cs using System; using Microsoft.EntityFrameworkCore.Migrations; namespace iHRS.Infrastructure.Migrations { public partial class Mig3 : Migration { protected override void Up(MigrationBuilder migrationBuilder) ...
Demos/src/demos/figure/CalculateBoneAttributesDemo.cs
pimmelpansen/Frische-Haut
48
7039828
<filename>Demos/src/demos/figure/CalculateBoneAttributesDemo.cs using System; public class CalculateBoneAttributesDemo : IDemoApp { public void Run() { var fileLocator = new ContentFileLocator(); var objectLocator = new DsonObjectLocator(fileLocator); var contentPackConfs = ContentPackImportConfiguration.LoadAl...
Common/Narik.Common.Data/INarikDataService.cs
NarikMe/Narik-AspNetCore
0
7039829
<gh_stars>0 using System; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Narik.Common.Data.DomainService; namespace Narik.Common.Data { public interface INarikDataService { Task<bool> Submit(ChangeSet changes, Action<DbContex...
samples/OIDC/CodeFlowClient/Global.asax.cs
NCARB/Thinktecture.IdentityServer.v2
122
7039830
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Thinktecture.IdentityModel.Oidc; namespace CodeFlowClient { // Note: For instructions on enabling IIS6 or IIS7 classic mo...
C# Homework/DataTypesAndVariables2/UnicodeCharacter/UnicodeChar.cs
Vasilev07/Telerik-2016-2017
0
7039831
<filename>C# Homework/DataTypesAndVariables2/UnicodeCharacter/UnicodeChar.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnicodeCharacter { class UnicodeChar { static void Main(string[] args) { char s...
src/PeykOn/Models/AccessToken.cs
pouladpld/Matrix.Client
1
7039832
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PeykOn.Models { public class AccessToken { public int Id { get; set; } [Required] public int UserId { get; set; } [Required] public string Token { get; set; } ...
src/Eventso.Subscription/Configurations/DeferredAckConfiguration.cs
eventso/subscriptions
1
7039833
<gh_stars>1-10 using System; namespace Eventso.Subscription.Configurations { /// <summary> /// Defaults: /// <see cref="MaxBufferSize"/> = 1000, /// <see cref="Timeout"/> = 10 minutes. /// </summary> public sealed record DeferredAckConfiguration { public static DeferredAckConfigurat...
OOPA/WebbshopProjekt/Jonna/WebshopFrontend/WebshopFrontend/Controller/LoginController.cs
marcusjobb/NET20D
1
7039834
<reponame>marcusjobb/NET20D<filename>OOPA/WebbshopProjekt/Jonna/WebshopFrontend/WebshopFrontend/Controller/LoginController.cs using System; using WebshopFrontend.Views; using WebshopFrontend.Helpers; namespace WebshopFrontend.Controller { public class LoginController { public static WebShop.WebShopApi...
System.ServiceModel.Channels/System/ServiceModel/Channels/HttpResponseMessageExtensionMethods.cs
cnork/referencesource
911
7039835
<filename>System.ServiceModel.Channels/System/ServiceModel/Channels/HttpResponseMessageExtensionMethods.cs // <copyright> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> namespace System.ServiceModel.Channels { using System; using System.Net.Http; using System.Runtime; /...
LuaSTGEditorSharp.Core/EditorData/MessageContainer.cs
Tru-Dev/LuaSTG-Editor-Sharp-X
19
7039836
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using LuaSTGEditorSharp.EditorData.Interfaces; namespace LuaSTGEditorSharp.EditorData { public static class MessageContainer { public static Observa...
Source/Solution/FormEditor/Storage/IUpdateIndex.cs
nick-hoang/FormEditor
112
7039837
<gh_stars>100-1000 using System; using System.Collections.Generic; namespace FormEditor.Storage { /// <summary> /// This interface describes a Form Editor storage index that supports updating entries /// </summary> /// <remarks> /// In an upcoming release, this interface will be merged into IIndex /// </remarks...
test/WebApi/Startup.cs
fossabot/auth0-aspnet-owin
34
7039839
using Microsoft.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Jwt; using Owin; using System.Configuration; using Auth0.Owin; using Microsoft.IdentityModel.Tokens; [assembly: OwinStartup(typeof(WebApi.Startup))] namespace WebApi { public class Startup { public void Configuration(I...
src/Kephas.Messaging/IMessageHandlerRegistry.cs
kephas-software/kephas
19
7039840
<filename>src/Kephas.Messaging/IMessageHandlerRegistry.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="IMessageHandlerRegistry.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. /...
NullObject/Clients/ClientsService.cs
patrickhuizinga/betabit-designpatterns
0
7039841
<gh_stars>0 namespace BetaBit.DesignPatterns { public sealed class ClientsService { public Client GetClient(string clientId) { // Authorize return new Client() { ClientId = clientId, Type = ClientType.Business, ...
Samples/BruTile.Samples.Common/Viewport.cs
w136796481/BruTile
1
7039842
<filename>Samples/BruTile.Samples.Common/Viewport.cs using BruTile.Samples.Common.Geometries; using System; using System.Linq; namespace BruTile.Samples.Common { public class Viewport { #region Fields private double _resolution; private double _centerX; private dou...
Lonnger.GameHouse.Service/Helpers/AuthorizeAttribute.cs
Lonnger/PlaygroundProject
0
7039843
<filename>Lonnger.GameHouse.Service/Helpers/AuthorizeAttribute.cs using Lonnger.GameHouse.Service.Domain.Entities; using Lonnger.GameHouse.Service.Wrappers; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; namespace Lonnger.GameHouse.Service.Helper...
IPPDotNetDevKitCSV3/POC/Linq provider for FMS/QueryProvider.cs
chiller00/QuickBooks-V3-DotNET-SDK
83
7039844
<filename>IPPDotNetDevKitCSV3/POC/Linq provider for FMS/QueryProvider.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Linq.Expressions; namespace IDSLinq { public class QueryProvider : IQueryProvider { IQueryable<TResult> IQueryProvider.CreateQuery...
src/Cottle/Documents/Evaluated/ExpressionExecutors/MapExpressionExecutor.cs
r3c/cottle
84
7039845
using System.Collections.Generic; using System.IO; using System.Linq; using Cottle.Documents.Compiled; namespace Cottle.Documents.Evaluated.ExpressionExecutors { internal class MapExpressionExecutor : IExpressionExecutor { private readonly IReadOnlyList<KeyValuePair<IExpressionExecutor, IExpr...
MultiQuery/Server/MySqlServer.cs
mioux/multi-query
0
7039846
/* * Crée par SharpDevelop. * Utilisateur: SRUMEU * Date: 30/03/2015 * Heure: 11:36 */ using System; using System.Data; using System.Drawing; using System.Runtime.Serialization; using System.Windows.Forms; using MultiQuery.Config; using MySql.Data; using MySql.Data.MySqlClient; namespace MultiQuery.Server { //...
src/Plugin.Workshop/ViewModels/MainWindowViewModel.cs
buildsoft-eu/plugin-workshop
0
7039847
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using System.Xml.Linq; using BuildSoft.BIMExpert.Plugin; using BuildSoft.UBSM; using BuildSoft....
Assets/Scripts/Discontinued/VoteButton.cs
reegomes/CitySleeping
0
7039848
using UnityEngine; using UnityEngine.UI; using TMPro; public class VoteButton : MonoBehaviour { public GameObject[] voteGroupToggle; public Submit[] playersToVote; private void Start() { playersToVote = new Submit[voteGroupToggle.Length]; } public void OnClickInVote() { for (...
Services/src/CSClassroom/CSClassroom.WebApp/Views/Assignment/CreateEdit.cshtml
dave-br/CSClassroom
1
7039849
@using CSC.Common.Infrastructure.Utilities @using CSC.CSClassroom.WebApp.Providers @model Assignment @inject ITimeZoneProvider TimeZoneProvider; @{ ViewData["Title"] = ViewBag.ActionName; var buttonText = ViewBag.ActionName == "Edit" ? "Save assignment changes" : ViewBag.ActionName; } <h2>@ViewBag.ActionName ...
src/SubmissionEvaluation/Client/Services/FileExplorerDomain.cs
amkoroew/challenges
0
7039850
<reponame>amkoroew/challenges using System; using System.Collections.Generic; using System.Linq; using System.Text; using SubmissionEvaluation.Shared.Models.Challenge; using SubmissionEvaluation.Shared.Models.Shared; using SubmissionEvaluation.Shared.Models.Test; namespace SubmissionEvaluation.Client.Services { /*...
advent-of-code-2021/Solvers/Day05/PuzzleA/Solver.cs
SeanECogan/advent-of-code-2021
0
7039851
<reponame>SeanECogan/advent-of-code-2021 using System.Text.RegularExpressions; namespace advent_of_code_2021.Solvers.Day05.PuzzleA { public class Solver { public static int Solve(List<string> inputLines) { var lines = inputLines.Select(il => new Line(il)); var pointCoun...
src/core/Akka/Actor/Scheduler.cs
rodrigovidal/akka.net
0
7039852
using System; using System.Threading; using System.Threading.Tasks; using Akka.Dispatch.SysMsg; namespace Akka.Actor { /// <summary> /// Class Scheduler. /// </summary> public class Scheduler { /// <summary> /// Schedules a message to a receiver once. /// </summary> ...
src/NetCoreKit.Domain/AggregateRoot.cs
Anberm/netcorekit
271
7039853
<gh_stars>100-1000 using System; using System.Collections.Concurrent; using System.Collections.Generic; using static NetCoreKit.Utils.Helpers.IdHelper; using static NetCoreKit.Utils.Helpers.DateTimeHelper; namespace NetCoreKit.Domain { public interface IAggregateRoot : IAggregateRootWithId<Guid> { } p...
tests/Valit.Tests/HelperExtensions/DateTimeOffsetExtensions.cs
dbarwikowski/Valit
347
7039854
<reponame>dbarwikowski/Valit using System; namespace Valit.Tests.HelperExtensions { public static class DateTimeOffsetExtensions { public static DateTimeOffset AsDateTimeOffset(this string stringValue) => Convert.ToDateTime(stringValue); public static DateTimeOffset? AsNul...
C-sharp-Web-Developer/C# OOP Advanced/Exams/The Last Army - Solved/Last Army/Factory/AmmunitionFactory.cs
sevdalin/Software-University-SoftUni
0
7039856
using System; using System.Linq; using System.Reflection; public class AmmunitionFactory : IAmmunitionFactory { public IAmmunition CreateAmmunition(string ammunitionName) { Type type = Assembly .GetExecutingAssembly() .GetTypes() .FirstOrDefault(t => t.Name.Equals(a...
Snippets/Castle/Extensions.DependencyInjection_1/Usage.cs
Jmaharman/docs.particular.net
0
7039857
using Castle.MicroKernel.Registration; using Castle.Windsor.MsDependencyInjection; using NServiceBus; class Usage { Usage(EndpointConfiguration endpointConfiguration) { #region CastleWindsor var containerSettings = endpointConfiguration.UseContainer(new WindsorServiceProviderFactory...
src/WTG.Analyzers/Analyzers/Emit/EmitMatrix.cs
brian-reichle/WTG.Analyzers
10
7039858
using System; using System.Reflection; using Microsoft.CodeAnalysis; using WTG.Analyzers.Utils; namespace WTG.Analyzers { partial class EmitMatrix { public const string Emit = "Emit"; public const string EmitCall = "EmitCall"; public const string EmitCalli = "EmitCalli"; public static bool TryGetEmitMethod(...
src/activities/webhooks/Elsa.Webhooks.Persistence.YesSql/Migrations.cs
tomy2105/elsa-core
3,147
7039859
using Elsa.Persistence.YesSql.Data; using Elsa.Webhooks.Persistence.YesSql.Data; using Elsa.Webhooks.Persistence.YesSql.Indexes; using YesSql.Sql; namespace Elsa.Webhooks.Persistence.YesSql { public class Migrations : DataMigration { public int Create() { SchemaBuilder.CreateMapInde...
PlatformServices/Entities/Account.cs
Akash76/SkyMedia
1
7039860
<reponame>Akash76/SkyMedia using System.Collections.Generic; namespace AzureSkyMedia.PlatformServices { public class UserAccount { public string MobilePhoneNumber { get; set; } } public class MediaAccount { public string Name { get; set; } public string ResourceGroupName ...
NotizMgr/NotizMgr/Views/MainView.cs
zabum/solid-enigma
0
7039861
<reponame>zabum/solid-enigma<filename>NotizMgr/NotizMgr/Views/MainView.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; usin...
Data/PetSanctuary.Data.Models/Vet.cs
aleksanderstoyanov/PetSanctuary
3
7039862
<reponame>aleksanderstoyanov/PetSanctuary namespace PetSanctuary.Data.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using PetSanctuary.Data.Common.Models; using static PetSanctuary.Common.GlobalConstants.Vet; public class Vet : BaseDele...
DotNetDiagrams.Common/Factories/Dependencies/Microsoft.CodeAnalysis/MSBuild/MSBuildWorkspaceFactory.cs
JustinBritt/Diagrams
0
7039863
namespace DotNetDiagrams.Common.Factories.Dependencies.Microsoft.CodeAnalysis.MSBuild { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using global::Microsoft.Build.Locator; using global::Microsoft.CodeAnalysis.MSBuild; ...
DotNet/DotNet/UE4/Generated/MovieSceneTools/Native/MovieSceneUserImportFBXSettings.cs
UE4DotNet/Plugin
2
7039864
<reponame>UE4DotNet/Plugin<filename>DotNet/DotNet/UE4/Generated/MovieSceneTools/Native/MovieSceneUserImportFBXSettings.cs<gh_stars>1-10 // Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; u...
Property4U/Views/Feedbacks/Details.cshtml
rejul/Property4U-fixed
26
7039865
@model Property4U.Models.Feedback @{ ViewBag.Title = "Details"; } @{ var param = (Request.Params["reportAbuse"] != null) ? Request.Params["reportAbuse"].Equals("True") : false; } <div class="row"> <!-- Page Header --> <div class="col-lg-12"> <h1 class="page-header">@ViewBag.Title</h1> </...
examples/experimental/MiniGalaxyBirds/ComponentTimer.cs
amadron/FinalProject_ShaderProg
9
7039866
using Zenseless.Patterns; namespace MiniGalaxyBirds { public class ComponentPeriodicUpdate : PeriodicUpdate, IComponent { public ComponentPeriodicUpdate(float interval) : base(interval) { Enabled = true; } } }
FishGfx/Formats/Obj.cs
cartman300/FishGfx
2
7039868
<reponame>cartman300/FishGfx using FishGfx; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace FishGfx.Formats { public static class Obj { public static void Save(string Fi...
top/FileChunk.cs
it2121/Cheetah-Download-Manager
0
7039869
<gh_stars>0 using System; using System.IO; namespace OctaneDownloadEngine { public class FileChunk { public int Start { get; set; } public int End { get; set; } public string TempFileName {get;} public FileChunk(){} public int Id { get; set; } public FileChun...
source/Sylvan.Common.Tests/IO/EncoderStreamTests.cs
0xced/Sylvan
0
7039870
<reponame>0xced/Sylvan using Sylvan.Benchmarks; using System; using System.IO; using System.Text; using Xunit; namespace Sylvan.IO { public class EncoderStreamTests { byte[] inputData; public EncoderStreamTests() { var sw = new StringWriter(); for (int i = 0; i < 100; i++) { sw.WriteLine($"{i}: ...
Test/Selenium/Selenium.Tests3/Alura.LeilaoOnline.WebApp/Views/Leiloes/Categoria.cshtml
g-aleprojetos/Curso_Alura
1
7039871
 @{ ViewData["Title"] = "Categoria"; } <div class="container"> <div class="section"> <div class="row"> <div class="col s12"> <h4>Leilões da categoria @ViewData["categoria"]</h4> </div> <div class="col s12 m3"> <div class="card"> ...
SIL.DictionaryServices/LiftLexEntryRepository.cs
elisunger/libpalaso
36
7039872
using System; using System.Collections.Generic; using System.Diagnostics; using SIL.Code; using SIL.Data; using SIL.DictionaryServices.Lift; using SIL.DictionaryServices.Model; using SIL.Lift; using SIL.Lift.Options; using SIL.Progress; using SIL.Text; using SIL.UiBindings; using SIL.WritingSystems; namespace SIL.Dict...
FineUI_v6/FineUI.Examples/form/fileupload.aspx.cs
JesterWang/FineUI
0
7039873
<reponame>JesterWang/FineUI using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace FineUI.Examples.form { public partial class fileupload : PageBase { protected void Page_Load(object sender, EventArgs e) { ...
src/CleanArchitecture.Core/Settings/EntryPointSettings.cs
sudnep/WorkerServiceClean
403
7039874
<filename>src/CleanArchitecture.Core/Settings/EntryPointSettings.cs namespace CleanArchitecture.Core.Settings { public class EntryPointSettings { public string ReceivingQueueName { get; set; } public string SendingQueueName { get; set; } } }
mscorlib/System/Char.cs
bbqchickenrobot/IL2JS
42
7039875
// // A reimplementation of Char for the JavaScript runtime. // Underlying representation is a JavaScript number representing Unicode char code. // using Microsoft.LiveLabs.JavaScript.IL2JS; using Microsoft.LiveLabs.JavaScript.Interop; namespace System { [Runtime(true)] public struct Char : IComparable, IComp...
src/Services/AI.ProductSearchImageBased/AI.ProductSearchImageBased.CNTK.API/Controllers/ProductSearchImageBasedController.cs
skynode/eShopOnContainersAI
1
7039876
using Microsoft.eShopOnContainers.Services.AI.ProductSearchImageBased.CNTK.API.Classifier; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Web.Http; using Microsoft.eShopOnContainer...
Src/BilibiliUtilities.Live/Message/DanmuMessage.cs
caolincn/BilibiliUtilities
27
7039877
<filename>Src/BilibiliUtilities.Live/Message/DanmuMessage.cs<gh_stars>10-100 using System; using System.Diagnostics; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace BilibiliUtilities.Live.Message { public class DanmuMessage : BaseMessage { /// <summary> /// 用户UI...
RemoteSignTool/RemoteSignTool.Server/ServerFiles/CustomMultipartFormDataStreamProvider.cs
LukeSonnox/remote-sign-tool
10
7039878
using System.IO; using System.Net.Http; using System.Net.Http.Headers; namespace RemoteSignTool.Server.ServerFiles { public class CustomMultipartFormDataStreamProvider : MultipartFormDataStreamProvider { public CustomMultipartFormDataStreamProvider(string rootPath) : base(rootPath) ...
src/WordCloudGenerator/BlacklistDialog.Designer.cs
SeppPenner/WordCloudGenerator
1
7039879
namespace WordCloudGenerator { partial class BlacklistDialog { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary>...
src/Protocol/Models/DidOpenTextDocumentParams.cs
SherifSafwat/csharp-language-server-protocol-master
3
7039880
<filename>src/Protocol/Models/DidOpenTextDocumentParams.cs<gh_stars>1-10 using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace OmniSharp.Extensions.LanguageServer.Protocol.Models { public class DidOpenTextDocumentParams { /// <summary> /// The document that was opened. ...
Datingapp.API/Controllers/PhotosController.cs
agabak/dataingapp2
0
7039881
using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using AutoMapper; using CloudinaryDotNet; using CloudinaryDotNet.Actions; using Datingapp.API.Data; using Datingapp.API.Dtos; using Datingapp.API.Helpers; using Datingapp.API.Models; using Microsoft.AspNetCore.Authorization; using Microsoft....
src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs
yang-xiaodong/eShopOnContainers
75
7039882
using DotNetCore.CAP; namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.EventHandling { using System.Threading.Tasks; using Infrastructure; using System.Collections.Generic; using System.Linq; using Events; using Serilog.Context; using Extensions.Logging; pu...
Chart/StepArea.aspx.cs
syncfusion/aspnet-ej1-demos
3
7039884
<gh_stars>1-10 #region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicab...
Unity/Assets/AssetsandLibraries/Distributable/RecordingCam/Scripts/SpectatorController.cs
nasa/Mixed-Reality-Exploration-Toolk
1
7039885
using System; using System.Collections.Generic; using UnityEngine; /// <summary> /// Controls the Spectator Camera, specifically smoothing and transferring between locations /// </summary> public class SpectatorController : MonoBehaviour { // Input public KeyCode SwitchCameraKeycode = KeyCode.Space; public List...
WeihanLi.Common/IProfiler.cs
zhaoabing903/SparkTodo-master
2
7039886
<gh_stars>1-10 using System.Diagnostics; namespace WeihanLi.Common { public interface IProfiler { /// <summary>Starts, or resumes, measuring elapsed time for an interval.</summary> void Start(); /// <summary>Stops measuring elapsed time for an interval.</summary> void Stop(); ...
csharp.net/3.4/PubNub-Messaging/PubnubExample.cs
majacQ/c-sharp
0
7039887
<reponame>majacQ/c-sharp<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Threading; namespace PubNubMessaging.Core { public class PubnubExample { static public Pubnub pubnub; static public bool delivery...
Utils.NetTests/Interactivity/AttachedObjectTests.cs
kaloyankrastev/Utils.Net
0
7039888
using System; using System.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Utils.Net.Interactivity.Tests { [TestClass] public class AttachedObjectTests { private readonly DependencyObject testDependencyObject = new DependencyObject(); private class TestAttachedObjec...
SarandevBattleships/GameBoard.cs
MSarandev/Battleships
0
7039889
// Created by <NAME> // Jan 2018 // Custom Software for BEDE Gaming. All rights reserved using System; using System.Collections.Generic; using System.Linq; namespace SarandevBattleships { public class GameBoard { // Defines the game board with all necessary properties and methods //...
Assets/InfinityEngine/Frameworks/ISI Interpolation/Methods/DOScaleMethod.cs
mciissee/IntoTheHole
5
7039890
<reponame>mciissee/IntoTheHole<filename>Assets/InfinityEngine/Frameworks/ISI Interpolation/Methods/DOScaleMethod.cs<gh_stars>1-10 /************************************************************************************************************************************ * Developed by <NAME> ...
Tokenizer.Tests/Validators/EndsWithValidatorTest.cs
AJH16/tokenizer
0
7039891
using NUnit.Framework; using Tokens.Exceptions; namespace Tokens.Validators { [TestFixture] public class EndsWithValidatorTest { private EndsWithValidator validator; [SetUp] public void SetUp() { validator = new EndsWithValidator(); } [Test] ...
src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/TransportServices/ConnectionOriented/ProtocolStream.ReadOperations.cs
copenhagenatomics/dotNext
0
7039892
using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Debug = System.Diagnostics.Debug; namespace DotNext.Net.Cluster.Consensus.Raft.TransportServices.ConnectionOriented; using Buffers; using IO; using IO.Log; using Serializable = Runtime.Serialization.Serializable; internal p...
TobyMeehan.Sql.Tests/EntityModel.cs
TobyMeehan/SqlConnector
0
7039893
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TobyMeehan.Sql.QueryBuilder; namespace TobyMeehan.Sql.Tests { [SqlName("entities")] public class EntityModel : EntityBase { public string Title { get; set; } public str...
sdk/src/Services/ServerMigrationService/Generated/_bcl35/IAmazonServerMigrationService.cs
Bynder/aws-sdk-net
0
7039894
/* * 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...
microservices/Identity.Service.EventHandlers/Responses/IdentityAccess.cs
vidapogosoft/NetCore092021
1
7039895
 namespace Identity.Service.EventHandlers.Responses { public class IdentityAccess { public bool Succeeded { get; set; } public string AccessToken { get; set; } } }
source/Resonance/ResonancePendingContinuousRequest.cs
royben/Resonance
16
7039896
<filename>source/Resonance/ResonancePendingContinuousRequest.cs using Resonance.Reactive; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Resonance { /// <summary> /// Represents a registrat...
src/Library/PackageCache/com.unity.scriptablebuildpipeline@1.7.3/Editor/Interfaces/IBuildParameters.cs
jvirico/augmented-reality-poc-unity
1
7039897
<gh_stars>1-10 using UnityEditor.Build.Content; using UnityEditor.Build.Player; using UnityEngine; namespace UnityEditor.Build.Pipeline.Interfaces { #if UNITY_2018_3_OR_NEWER using BuildCompression = UnityEngine.BuildCompression; #else using BuildCompression = UnityEditor.Build.Content.BuildCompressi...
src/HttpReports.Storage.MySQL/MysqlConnectionFactory.cs
wenfeifei/HttpReports
2
7039898
<gh_stars>1-10 using System.Data; using Microsoft.Extensions.Options; using MySql.Data.MySqlClient; namespace HttpReports.Storage.MySql { internal class MySqlConnectionFactory { public MySqlStorageOptions Options { get; } public string DataBase { get; } public MySqlConnectionFactor...
Assets/ShipScripts/PubNubPowerModel.cs
MatthewValverde/android-ar-simple
0
7039899
using UnityEngine; using System.Collections; public class PubNubPowerModel { public string event_type = ""; public string game_id = ""; public string team_id = ""; public string player_id = ""; public string name = ""; public string device_id = ""; }
IEXSharp/Service/Cloud/PremiumData/AuditAnalytics/AuditAnalyticsService.cs
biyimaks/IEXSharp
83
7039900
<reponame>biyimaks/IEXSharp using System.Collections.Generic; using System.Threading.Tasks; using IEXSharp.Helper; using IEXSharp.Model; using IEXSharp.Model.PremiumData.AuditAnalytics.Response; namespace IEXSharp.Service.Cloud.PremiumData.AuditAnalytics { public class AuditAnalyticsService : IAuditAnalyticsService ...
Client/Assets/Plugins/Fishing.Common/TableData/Fish/Effect/TbDataEffectCreateCoin.cs
qq576067421/Fishing
53
7039902
using System; using System.Collections.Generic; using System.Text; using GF.Common; namespace Ps { public class TbDataEffectCreateCoin : EbData { //------------------------------------------------------------------------- public enum DataState { Default = -1, AC...
Backup/BPlusTree/Exceptions.cs
git-thinh/CSharpTest.Net-source-v2.12.810.409
0
7039903
#region Copyright 2011 by <NAME>, Licensed under the Apache License, Version 2.0 /* 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 * * U...
KoikatuGameSaveEditor/Localization/Translation.cs
egg-number-6/KoikatuGameSaveEditor
3
7039904
using JetBrains.Annotations; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; namespace KGSE.Localization { [JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public sealed class Translation { [JsonConstructor] ...
src/misc.corlib/Security/Cryptography/Encryption-CreateEncryptor.cs
jimkropa/misc.corlib
1
7039905
#region [ license and copyright boilerplate ] /* MiscCorLib.Security.Cryptography Encryption-CreateEncryptor.cs Copyright (c) 2016 <NAME> (https://github.com/jimkropa) 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...
src/Kledex/Domain/IDomainEvent.cs
RaulSebastian/Kledex
306
7039906
using System; using Kledex.Events; namespace Kledex.Domain { public interface IDomainEvent : IEvent { Guid Id { get; set; } Guid AggregateRootId { get; set; } Guid CommandId { get; set; } void Update(IDomainCommand command); } }
data/c-sharp/7c1873a44a9f0039199dafc13fa4ad2a_IResultDescriptionExtensions.cs
maxim5/code-inspector
5
7039907
/* * Data types for the ProbeNet Protocol in C# * Copyright (C) <NAME> * Copyright (C) <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, ...
src/GraphQL.EntityFrameworkCore.Helpers/Builders/ConnectionQueryBuilder.cs
ganhammar/GraphQL.EntityFrameworkCore.Helpers
2
7039908
<filename>src/GraphQL.EntityFrameworkCore.Helpers/Builders/ConnectionQueryBuilder.cs using System; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using GraphQL.Builders; using Microsoft.EntityFrameworkCore; namespace GraphQL.EntityFrameworkCore.Helpers { public class ConnectionQuer...
Tests/Concept Tests/Quack/Quack/DuckTypingProxyFactory.cs
igoreksiz/NetOffice
544
7039909
<reponame>igoreksiz/NetOffice<filename>Tests/Concept Tests/Quack/Quack/DuckTypingProxyFactory.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using System.Reflection.Emit; using System.Threading; namespace Quack { publ...
mcs/class/pscorlib/PlayScript/Profiler.cs
ovrkm/playscript-mono
1
7039910
using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.IO; #if PLATFORM_MONOTOUCH using MonoTouch.Foundation; using MonoTouch.UIKit; #endif namespace PlayScript { public static class Profiler { public static bool Enabled = true; public static void Begin(string...
test/v.2.12.31/TestAllEntities/All/Dev.DevKit.Shared/Entities/PrincipalSyncAttributeMap.generated.cs
Kayserheimer/Dynamics-Crm-DevKit
52
7039911
//--------------------------------------------------------------------------------------------------- // <auto-generated> // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit // </auto-gen...
src/GamingWiki.Models/Genre.cs
AtiVassileva/GamingWiki
0
7039912
using System.ComponentModel.DataAnnotations; namespace GamingWiki.Models { using static Common.DataConstants; public class Genre { public int Id { get; set; } [Required] [MaxLength(GenreNameMaxLength)] public string Name { get; set; } } }
src/Mvc/Jerrycurl.Data/Queries/Internal/Nodes/EnumerateNode.cs
rwredding/jerrycurl
44
7039913
<reponame>rwredding/jerrycurl<filename>src/Mvc/Jerrycurl.Data/Queries/Internal/Nodes/EnumerateNode.cs using System.Collections.Generic; namespace Jerrycurl.Data.Queries.Internal.Nodes { internal class EnumerateNode { public IList<HelperNode> Helpers { get; set; } public IList<MetadataNode> Ite...
Source/Core/Pipeline/030_CheckForRegressionAction.cs
xiaoxiaocoder/Exceptionless
5
7039914
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models.WorkItems; using Exceptionless.Core.Plugins.EventProcessor; using Exceptionless.Core.Repositories; using Exceptionless.Core.Utility; using Foundatio.Cach...
Assets/Scripts/Games/TicTacToe2D/UI/SettingsModal.cs
allenbiehl/GameHub
0
7039915
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using Zenject; namespace GameHub.Games.TicTacToe2D.UI { /// <summary> /// class <c>SettingsModal</c> represents the player settings modal which is used /// to modify various game settings inc...
ZenselessSourceAppEmpty4/Zenseless.HLGL/ShaderException.cs
RinorSvarca/Maze
0
7039916
<reponame>RinorSvarca/Maze using System; namespace Zenseless.HLGL { /// <summary> /// /// </summary> /// <seealso cref="System.Exception" /> public class ShaderException : Exception { /// <summary> /// Gets the shader log. /// </summary> /// <value> ///...
tests/src/GC/Stress/Tests/ExpandHeap.cs
xoofx/coreclr
2
7039917
<filename>tests/src/GC/Stress/Tests/ExpandHeap.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /* This test stimulates heap expansion on the finalizer thread */ using System; using System.Collections.Generic; ...
src/E01D.Base.Objectal.Api/Coding/Code/Domains/XObjectal.cs
E01D/Base
0
7039918
<gh_stars>0 using Root.Coding.Code.Api.E01D.Core; using Root.Coding.Code.Models.E01D.Core.Objectal; namespace Root.Coding.Code.Domains { public static class XObjectal { /// <summary> /// Gets or sets the /// </summary> public static ObjectalApi Api { get; set; } = new Objectal...
AoE2.netDesktop/LibAoE2Net/Parameters/TeamType.cs
teshiba/AoE2.netDesktop
1
7039919
<reponame>teshiba/AoE2.netDesktop namespace AoE2NetDesktop.Form { /// <summary> /// Team type. /// </summary> public enum TeamType { /// <summary> /// even Color No. /// </summary> EvenColorNo, /// <summary> /// odd Color No. /// </summary> ...
tests/Prometheus.Client.Tests/HistogramTests/CollectionTests.cs
jakubneubauer/prom-client
72
7039920
using System.Threading.Tasks; using Xunit; namespace Prometheus.Client.Tests.HistogramTests { public class CollectionTests { private const string _resourcesNamespace = "Prometheus.Client.Tests.HistogramTests.Resources"; [Fact] public Task EmptyCollection() { return ...
demo_api_from_yaml/Program.cs
mattjcowan/servicestack-demos
8
7039921
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Funq; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions...