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/EasyNetQ/Producer/PublishConfirmationListener.cs
lionkon1/EasyNetQ
1
7029409
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; using EasyNetQ.Events; using EasyNetQ.Internals; using RabbitMQ.Client; namespace EasyNetQ.Producer { using UnconfirmedRequests = ConcurrentDictionary<ulong, TaskCompletionSource<object>>; ...
VkNet/Infrastructure/Authorization/ImplicitFlow/AuthorizationFormHtmlParser.cs
sumitseth/vk
0
7029410
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using HtmlAgilityPack; using JetBrains.Annotations; using VkNet.Abstractions.Utils; using VkNet.Exception; using VkNet.Model; using VkNet.Utils; namespace VkNet.Infrastructure.Authorization.ImplicitFlow { /// ...
Src/Gum.Infra/Infra/IErrorCollector.cs
ioklo/gum
1
7029411
using System; using System.Collections.Generic; using System.Text; namespace Gum.Infra { public interface IError { string Message { get; } } public interface IErrorCollector : IMutable<IErrorCollector> { void Add(IError code); bool HasError { get; } } }...
Src/Xamarin.FormsEx/LayoutOperation.cs
cosullivan/Xamarin.FormsEx
0
7029412
<reponame>cosullivan/Xamarin.FormsEx using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xamarin.Forms; namespace Xamarin.FormsEx { internal class LayoutOperation { static readonly BindablePropertyKey LayoutOperationsPropertyKey = Bindable...
source/DeviousCreation.CqrsIdentity.Domain/Commands/UserAggregate/CreateUserCommand.cs
devious-creation/generator-aspnetcore-cqrs-identity
0
7029413
<filename>source/DeviousCreation.CqrsIdentity.Domain/Commands/UserAggregate/CreateUserCommand.cs // TOKEN_COPYRIGHT_TEXT using System; using System.Collections.Generic; using DeviousCreation.CqrsIdentity.Core; using MediatR; using ResultMonad; namespace DeviousCreation.CqrsIdentity.Domain.Commands.UserAggregate { ...
Packages/BaseAtoms/Runtime/EventReferences/Collision2DPairEventReference.cs
RichLogan/unity-atoms
461
7029416
using System; using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Event Reference of type `Collision2DPair`. Inherits from `AtomEventReference&lt;Collision2DPair, Collision2DVariable, Collision2DPairEvent, Collision2DVariableInstancer, Collision2DPairEventInstancer&gt;`. /// </summary> ...
Daenet.DurableTaskMicroservices/Daenet.DurableTaskMicroservices.Host/InstanceStoreFactory.cs
ddobric/DurableTaskMicroservices
13
7029417
<gh_stars>10-100  using Daenet.DurableTask.SqlInstanceStoreProvider; using DurableTask.Core; using DurableTask.ServiceBus.Tracking; using System; using System.Collections.Generic; using System.Text; namespace Daenet.DurableTaskMicroservices.Host { internal static class InstanceStoreFactory { public st...
OPSRoutingInterception_source/Common/OzCommonBroadcasts/Model/Csv/ICsvExporter.cs
SmarterDB/secret-sensa
3
7029418
using System; using System.Collections.Generic; using OzCommon.Utils; namespace OzCommonBroadcasts.Model.Csv { public interface ICsvExporter<T> where T : class { void ExportToFile(List<T> objects, string path); bool IsSaving { get; } void Cancel(); event EventHandler<CounterE...
OpenSheets.Auth/Models/Requests/RegisterRequest.cs
architecture-astronaut/OpenSheets
0
7029419
<filename>OpenSheets.Auth/Models/Requests/RegisterRequest.cs namespace OpenSheets.Auth.Requests { public class RegisterRequest { public string Username { get; set; } public string Email { get; set; } } }
src/Nest/Indices/MappingManagement/PutMapping/PutMappingRequest.cs
Henr1k80/elasticsearch-net
0
7029420
<reponame>Henr1k80/elasticsearch-net<gh_stars>0 using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { [JsonConverter(typeof(ReadAsTypeJsonConverter<PutMappingRequest>))] public partial interface IPutMappingRequest : ITypeMapping { } public interface IPutMappingRequest<T> : IPutMa...
src/Messaging/src/MessagingBase/Support/NativeMessageHeaderAccessor.cs
SteeltoeOSS/steeltoe-testbed
495
7029421
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; namespace Steeltoe.Messaging.Support { public class Nat...
Arrays/BinarySearch/BinarySearch.cs
pavelhristov/CSharpAdvanced
0
7029422
using System; class BinarySearch { static void Main() { //input int N = int.Parse(Console.ReadLine()); int[] numbers = new int[N]; for (int i = 0; i < N; i++) { numbers[i] = int.Parse(Console.ReadLine()); } int X = int.Parse(Console.ReadLine()); //logic ...
Rig/Library/PackageCache/com.unity.ugui@1.0.0/Editor/UI/MenuOptions.cs
RhysTheTiger/FABRIK
5
7029423
<reponame>RhysTheTiger/FABRIK<filename>Rig/Library/PackageCache/com.unity.ugui@1.0.0/Editor/UI/MenuOptions.cs using System; using UnityEditor.SceneManagement; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace UnityEditor.UI { /// <summary> /// This script adds the UI menu optio...
SotnWiki/UnitTests/Services/SotnWiki.DataServices.Tests/RunServiceTests/GetRunsInCategoryShould.cs
TalicZealot/Frontslide-WebForms
0
7029424
using SotnWiki.Models; using Moq; using NUnit.Framework; using SotnWiki.Data.Common; using System; using SotnWiki.Data.Common.Contracts; namespace SotnWiki.DataServices.Tests.RunServiceTests { [TestFixture] public class GetRunsInCategoryShould { [TestFixture] public class ConstructorShould...
src/DeliveryOrderProcessor/Models/Order.cs
maksim-dudarev/eShopOnWeb
0
7029425
<reponame>maksim-dudarev/eShopOnWeb<filename>src/DeliveryOrderProcessor/Models/Order.cs using Newtonsoft.Json; using System.Collections.Generic; namespace DeliveryOrderProcessor.Models { public class Order { [JsonProperty(PropertyName = "id")] public string Id { get; set; } public Addr...
src/Client/Pages/Movies/MovieTable.razor.cs
peter-andersson/peterpedia
0
7029426
<reponame>peter-andersson/peterpedia using Microsoft.AspNetCore.Components; namespace PeterPedia.Client.Pages.Movies; public partial class MovieTable : ComponentBase { [Parameter] public List<PeterPedia.Shared.Movie> Movies { get; set; } = null!; [Parameter] public string ReturnUrl { get; set; } = nu...
NADD/NADD/Views/Questoes1/Edit.cshtml
caiodomingues/Projeto-NADD
1
7029427
@model NADD.Models.Questoes @{ ViewData["Title"] = "Edit"; } <p class="sub-titulo">Editar Questão</p> <div class="row"> <div class="col-md-12"> <form asp-action="Edit"> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <input type="hidden" asp-for="Questoe...
src/window/CodeBrowser.cs
JoeBostic/FinalFrontier
0
7029428
using System.Collections.Generic; using UnityEngine; namespace Nereid { namespace FinalFrontier { internal class CodeBrowser : AbstractWindow { public static int WIDTH = 350; public static int HEIGHT = 500; private static readonly GUIStyle STYLE_CODE = new GUIStyle(HighLogic.Skin.label); private st...
MvcClient/MvcClient/Views/Library/Jquery.cshtml
nodashin/MvcTraning
0
7029429
 @{ ViewBag.Title = "Jquery"; } <h2>Jquery</h2> <div id="books"> <p><img src="http://wings.msn.to/books/978-4-7741-6566-0/978-4-7741-6566-0_logo.jpg" class="other" /></p> <p><img src="http://wings.msn.to/books/978-4-8222-9836-4/978-4-8222-9836-4_logo.jpg" /></p> <p><img src="http://wings.msn.to/books...
ServerConnectionLicense/ServerConnectionDefinition.cs
joshooaj/mipsdk-samples-plugin
6
7029430
using System; using System.Collections.Generic; using System.Drawing; using System.Reflection; using System.Windows.Forms; using ServerConnection.Admin; using ServerConnection.Background; using VideoOS.Platform; using VideoOS.Platform.Admin; using VideoOS.Platform.Background; using VideoOS.Platform.Client; namespace S...
heracles/UI/UIControllerWorker.cs
namtazpro/heracles-ai
0
7029431
<reponame>namtazpro/heracles-ai using Microsoft.Extensions.Logging; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Heracles.UI { class UIControllerWorker { private readonly Random random = new Random...
Services/CountryService.cs
Dhaval2702/MagicalMemory
0
7029432
<filename>Services/CountryService.cs using AutoMapper; using System.Collections.Generic; using System.Linq; using WebApi.Helpers; using WebApi.Models.Country; namespace WebApi.Services { /// <summary> /// Interface for Country Service /// </summary> public interface ICountryService { IEnum...
P07.SpeedRacing/Program.cs
albozhinov/OOP-Basic-Part-I
0
7029433
using System; using System.Collections.Generic; using System.Linq; namespace P07.SpeedRacing { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); List<Car> myCars = new List<Car>(); for (int i = 0; i < n; i++) ...
src/SoundFingerprinting.SQL/ORM/IReader.cs
LaudateCorpus1/soundfingerprinting.sql
6
7029434
<filename>src/SoundFingerprinting.SQL/ORM/IReader.cs namespace SoundFingerprinting.SQL.ORM { using System; internal interface IReader { string GetString(string name); bool GetBoolean(string name); short GetInt16(string name); int GetInt32(string name); long GetIn...
Persistence/aers_tbl_staffSqlMapDao.cs
TanHaoran/NurseService1.0
0
7029435
<reponame>TanHaoran/NurseService1.0 /** * Name:Aersysm.SqlMapDao-aers_tbl_staff * Author: banshine * Description: aers_tbl_staff Dao层 * Date: 2015-6-8 11:13:02 * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aersysm.Domain; using System.Collections; using Sy...
Assets/Plugins/Rewired/Examples/CustomControllersTouch/Scripts/TouchJoystickExample.cs
Eresia/Harpooneers
0
7029436
<reponame>Eresia/Harpooneers<filename>Assets/Plugins/Rewired/Examples/CustomControllersTouch/Scripts/TouchJoystickExample.cs<gh_stars>0 // Author: Unity Technologies. // Translated into C# by <NAME>, with a slightly modified API. // Modified by <NAME> to include mouse support. // Source: http://wiki.unity3d.com/index...
TestPlugin0Lib/Plugin.cs
diamtr/ivari-mef-plugins
0
7029437
using System; using System.ComponentModel.Composition; using TestSharedInterfacesLib; namespace TestPlugin0Lib { [Export(typeof(IPlugin))] public class Plugin : IPlugin { public void BeAwesome() { throw new NotImplementedException("Test plugin-0 is awesome."); } } }
src/THNETII.Twitch.HelixApi/TwitchHelixBaseClient.GetGamesById.cs
thnetii/twitch
0
7029438
using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using THNETII.Twitch.HelixApi.Models; namespace THNETII.Twitch.HelixApi { partial class TwitchHelixBaseClient { public async Task<List<HelixGameRecord>> GetGamesByI...
app/Server/src/SERVERAPI/Views/Farm/FarmIncomplete.cshtml
plasticviking/agri-nmp
6
7029439
@model SERVERAPI.ViewModels.FarmIncompleteViewModel @{ Layout = null; } <div id="target"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h2 class="modal-title" id="myModalLabel">Required - Select a Region</h2> ...
src/Kralizek.AspNetCore.Metrics.Collectors.EC2/EC2MetricCollector.cs
elindanielsson/AspNetCore.Metrics
2
7029440
using Amazon.Util; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using static Kralizek.AspNetCore.Metrics.EC2MetadataDimensions; namespace Kralizek.AspNetCore.Metrics { public class EC2MetricCollector : IMetricCollector { public Task OnActionExecutedA...
src/Raven.Server/Documents/Indexes/Index.cs
ryanheath/ravendb
0
7029441
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; usin...
src/Verify/Serialization/TupleConverter.cs
0xced/Verify
0
7029442
#if !NETSTANDARD2_0 using System.Reflection; using System; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Collections.Generic; using System.Linq; static class TupleConverter { public static Dictionary<string, object> ExpressionToDictionary(Expression<Func<ITuple>> exp...
blazor-wasm-retaining-search-conditions/Server/Migrations/DataContextModelSnapshot.cs
YujiKametoku/blazor-wasm-retaining-search-conditions
0
7029443
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using blazorwasmretainingsearchconditions.Server.Data; namespace blazorwasmretainingsearchco...
Exam/ConsoleApplication1/Pages/IPsPage/IPsPageMap.cs
tanyta78/qa-fundamentals-repo
0
7029444
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; namespace QAExamSite.Pages.IPsPage { public partial class IPsPage { public IWebElement CountryNamesInputElement { get ...
Wrapper.v2/Entities/Ticket.cs
zkhan75/Freshdesk.Api.Net
0
7029445
<gh_stars>0 using System; using System.Collections.Generic; using Freshdesk.Net.Enums; using Newtonsoft.Json; namespace Freshdesk.Sharp.Entities { [JsonObject(MemberSerialization.OptIn)] public class Ticket { /// <summary> /// Ticket attachments. The total size of these attachments cannot ...
marana/Classes/Help.cs
xpertdev/marana
7
7029446
<filename>marana/Classes/Help.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; namespace Marana { public class Help { private Version version = Assembly.GetExecutingAssembly().GetName().Version; public stri...
src/Sql/Sql.Test/ScenarioTests/SqlTestsBase.cs
Aviv-Yaniv/azure-powershell
3,336
7029447
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://ww...
Library/Rebilly/helper/HttpBuildQuery.cs
dara123/rebilly-dotnet-client
0
7029448
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Reflection; using System.Web; namespace Rebilly.helper { public class HttpBuildQuery { public static string build(Dictionary<string, string> queryParam) { Li...
src/WWT.Providers/TileProviders/Tiles2Provider.cs
Carifio24/wwt-website
45
7029449
<reponame>Carifio24/wwt-website<gh_stars>10-100 #nullable disable using System.IO; using System.Threading; using System.Threading.Tasks; using WWT.PlateFiles; namespace WWT.Providers { [RequestEndpoint("/wwtweb/tiles2.aspx")] public class Tiles2Provider : RequestProvider { private readonly IPlate...
Source/Metro/TransportLayer/ICMP/IcmpPingManager.cs
gbachs/Terminals
0
7029450
/******************************************************************************\ * Metro * * * * Copyright (C) 2004 <NAME> <<EMAIL>> * * ...
Starter Project/Unity Of The Dead (Part 2)/Assets/Scripts/GameOverOnDestroyed.cs
mindcandy/lu-unity-of-the-dead-part-2
1
7029451
using UnityEngine; using System.Collections; public class GameOverOnDestroyed : MonoBehaviour { private bool _isShuttingDown = false; void OnDestroy(){ if(!_isShuttingDown/* && !Application.isLoadingLevel*/) { Application.LoadLevel("GameOver"); } } void OnApplicationQuit() { _isShuttingDown = true...
WordInput.cs
vuchampion/KeyFighters
0
7029452
<filename>WordInput.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class WordInput : MonoBehaviour{ public WordManager wordManager; // Update is called onceper frame void Update() { foreach( char letter in Input.inputString) { ...
Assets/Scripts/Components/Tween.cs
liguorien/PaintECS
0
7029453
using Unity.Entities; namespace PaintECS { public interface ITween { float Delay { get; set; } float Duration { get; set; } float Elapsed { get; set; } Easing Easing { get; set; } bool Enabled { get; set; } } }
SQLServer/AdventureWorks2012/Domain/Vstorewithdemographics.cs
antosilva/Easy.NHibernate.Samples
0
7029454
using System; using System.Text; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Sample.CustomerService.Domain { public class Vstorewithdemographics { [Required] public virtual int Businessentityid { get; set; } [Re...
src/Models/Address.cs
alexcosta97/web-apps-project
0
7029455
<gh_stars>0 using System.ComponentModel.DataAnnotations; namespace src.Models { public class Address { public int AddressID { get; set; } [Display(Name = "County")] public string county { get; set; } [Display(Name = "Post Code")] [Required] public string postCode { get; set; } [Display(Name = "Stree...
Webinar.TranslationDemo.Infrastructure.Common/Enumerators/Enumerators.cs
EstebanVallejoMorales/TranslationDemo
1
7029456
using System; using System.Collections.Generic; using System.Text; namespace Webinar.TranslationDemo.Infrastructure.Common.Enumerators { public class Enumerators { public enum Command { UpdateStock } } }
Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FastPoly1PointTransformer.cs
QualitySolution/-GMap.NET
1
7029457
using Jama; using System; namespace MSR.CVE.BackMaker.ImagePipeline { internal class FastPoly1PointTransformer : IPolyPointTransformer { private double[] c = new double[6]; public FastPoly1PointTransformer(JamaMatrix matrix) : base(matrix) { this.polynomialDegree = 1; for (int i = 0; i < 6; i++)...
src/RuleEngine/IRuleStore.cs
OData/odata-validation
23
7029458
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace ODataValidator.RuleEngine { #region Namespaces using System.Collections.Generic; #endregion /// <summary> /// Interface o...
LabsProject.BackEnd/LabProject.BackEnd.Api/Controllers/TestsController.cs
nandoriba/LabsProject
0
7029459
using LabsProject.BackEnd.Domain.Commands; using LabsProject.BackEnd.Domain.Commands.Tests; using LabsProject.BackEnd.Domain.Entities; using LabsProject.BackEnd.Domain.Handlers; using LabsProject.BackEnd.Domain.Queries; using LabsProject.BackEnd.Domain.Repositories; using Microsoft.AspNetCore.Mvc; using System; using ...
dingtalk/csharp/core/service_group_1_0/Models/CreateGroupSetRequest.cs
aliyun/dingtalk-sdk
15
7029460
<filename>dingtalk/csharp/core/service_group_1_0/Models/CreateGroupSetRequest.cs // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkservice_group_1_0.Models { public class CreateGroupSetRequest : Te...
test/benchmark/SearchBenchmarkData.cs
Afanyiyu/SearchSharp
4
7029461
<gh_stars>1-10 using System; using System.Text; namespace SearchSharp.Test.Benchmark { public class SearchBenchmarkData { public SearchBenchmarkData(int itemCount, int searchTextCount) { ChineseSearchItemData = GenerateChineseChar(itemCount); ChineseSearchTextData = Gen...
Migrations/ReplaysContextModelSnapshot.cs
gandjustas/ParseTsgReplays
0
7029462
<gh_stars>0 using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using ParseTsgReplays; namespace ParseTsgReplays.Migrations { [DbContext(typeof(ReplaysContext))] par...
Managed/firstpass/ProcGen/MobSettings.cs
undancer/oni-data
1
7029463
using System; namespace ProcGen { [Serializable] public class MobSettings : IMerge<MobSettings> { public static float AmbientMobDensity = 1f; private TagSet mobkeys; public ComposableDictionary<string, Mob> MobLookupTable { get; private set; } public MobSettings() { MobLookupTable = new ComposableDi...
Sources/Entitas.Unity.Editor/Entitas.Unity.Editor/Editor/ScriptingDefineSymbols.cs
woshihuo12/Entitas-Lite
129
7029464
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using UnityEditor; namespace Entitas.Unity.Editor { public class ScriptingDefineSymbols { public Dictionary<BuildTargetGroup, string> buildTargetToDefSymbol { get { return _buildTargetToDefSymbol; } } readonly ...
vsintegration/src/vs/FsPkgs/FSharp.Project/Common.Source.CSharp/Project/ProjectOptions.cs
damageboy/visualfsharp
1
7029466
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Specialized; using System.Diagnostics.CodeAnalysis; namespace Microsoft.VisualStudio.FSharp.Pro...
CommonTypeSystem/01-03.Students/StudentsTest.cs
AYankova/CSharp
0
7029467
namespace _01_03.Students { using System; class StudentsTest { static void Main() { Student pesho = new Student("Pesho", "Peshev", "Peshev", 10025030, "Mladost 1", "+359888777222", "<EMAIL>", 2, Specialty.Engineering, University.TU, Faculty.FEn); Student gosho = ne...
SharpILMixins.Annotations/BaseMixinAttribute.cs
jmarolf/SharpILMixins
0
7029468
using System; namespace SharpILMixins.Annotations { [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] public abstract class BaseMixinAttribute : Attribute { protected BaseMixinAttribute() { } protected BaseMixinAttribute(string method, int pri...
CoyoteActors/Framework/Coyote_N/Source/Core/Runtime/Threading/MachineTaskAwaiter.cs
uditagarwal97/nekara-artifact
2
7029469
// ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
NetCoreApp/MainForm.cs
setsuodu/NetCoreServer
0
7029470
<filename>NetCoreApp/MainForm.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Diagnostics; using System.Threading.Tasks; using System.Windows.Forms; namespace WinFormsApp1 { publi...
src/Dispatcher.cs
Sammuel-Miranda/MailDispatcher
2
7029471
<reponame>Sammuel-Miranda/MailDispatcher namespace Dispatcher { public static class CSV { public struct Record { public readonly string[] Row; public string this[int index] { get { return this.Row[index]; } } public Record(string[] row) { this.Row = row; } ...
UCloudSDK/Models/ULB/DescribeULB.DataSet.cs
sanjusss/ucloud-csharp-sdk
1
7029472
using System.Collections.Generic; namespace UCloudSDK.Models { /// <summary> /// 显示负载均衡实例信息 /// <para> /// http://docs.ucloud.cn/api/ulb/describe_ulb.html /// </para> /// </summary> public partial class DescribeULBDataSet { /// <summary> /// 负载均衡实例的Id ...
CueGen/Analysis/CueEntry.cs
mganss/CueGen
12
7029473
using BinarySerialization; using System.Diagnostics.CodeAnalysis; namespace CueGen.Analysis { /// <summary> /// Indicates whether this is a memory cue or a loop. /// </summary> public enum CueEntryType: byte { /// <summary> /// Memory cue /// </summary> Memory = 1, ...
TDD/Inlämning1/Nils/GeometriTDD/Geometry/Rectangle.cs
marcusjobb/NET20D
1
7029474
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace GeometriTDD.Geometry { /// <summary> /// Klass som räknar ut arean och omkretsen av en rektangel, ärver ifrån GeometricThing /// </summary> public class Rectangle : GeometricThing { public float Bas...
Sora/Entities/Info/GroupRequestInfo.cs
cc004/Sora
58
7029475
using Newtonsoft.Json; namespace Sora.Entities.Info; /// <summary> /// <para>群组请求信息</para> /// <para>通过获取群系统消息API获得</para> /// </summary> public readonly struct GroupRequestInfo { /// <summary> /// 请求ID /// </summary> [JsonProperty(PropertyName = "request_id")] public long ID { get; internal init;...
OSnack.Web.Api/Database/Models/oOrderItem.cs
MJ300/OSnackFYP
1
7029476
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace OSnack.Web.Api.Database.Models { [Table("OrderItems")] public class oOrderItem { [Key] public int Id { get; set; } [ForeignKey("ProductId")]...
src/OpenRiaServices.Tools/Test/TypeUtilityTests.cs
ehsangfl/OpenRiaServices
39
7029477
<filename>src/OpenRiaServices.Tools/Test/TypeUtilityTests.cs<gh_stars>10-100 extern alias SystemWebDomainServices; extern alias TextTemplate; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace OpenRiaServices.Tools.Test { [TestClass] public class TypeUtilityTests { [TestMethod] ...
test/EFCore.PG.FunctionalTests/ConnectionInterceptionNpgsqlTest.cs
cockroachdb/efcore.pg
1
7029478
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.TestUtilities; using Microsoft.Extensions.DependencyInjection; using Npgsql.EntityFrameworkCore.PostgreSQ...
Pentagonal/src/Pentagonal.Auth/Services/ApiClientAuthenticationService.cs
0xFireball/Pentagonal
1
7029479
<filename>Pentagonal/src/Pentagonal.Auth/Services/ApiClientAuthenticationService.cs using Nancy; using System; using System.Security.Claims; using System.Security.Principal; using System.Threading.Tasks; namespace Pentagonal.Auth.Services { public class ApiClientAuthenticationService { public static C...
00. Old Exams/05. 18 March 2017/CarToGo/Program.cs
VeselinBPavlov/programming-basics
2
7029480
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CarToGo { class Program { static void Main(string[] args) { decimal budget = decimal.Parse(Console.ReadLine()); string season = Console.ReadLine...
Views/Account/StudentRegister.cshtml
abdallah-h/SchoolEMS
0
7029481
<gh_stars>0 @model SchoolEMS.Models.Student @{ ViewBag.Title = "StudentRegister"; } <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card"> <div class="header"> <h2>Admin Membership</h2> </div> <div class="...
Minesweeper hexagon/Assets/Scripts/Core/Singleton.cs
botikori/Minesweeper-hexagon
0
7029482
<gh_stars>0 using UnityEngine; namespace Sweeper.Core { public abstract class Singleton<T> : MonoBehaviour where T : Component { public static T Instance { get; private set; } public virtual void Awake() { if (Instance == null) { Instance = this ...
src/Brother.Bpac/BpacDocument.cs
rmja/PTouchCli
1
7029483
<reponame>rmja/PTouchCli<filename>src/Brother.Bpac/BpacDocument.cs using bpac; using System; using System.Collections.Generic; using System.IO; namespace Brother.Bpac { public class BpacDocument { private readonly DocumentClass _doc; public BpacDocument() { _doc = new Docu...
EES.DataLayer/Concrete/NHibernate/NhSystemLogDal.cs
bseker/EES
0
7029484
using Mitras.Core.DataAccess.NHibernate; using EES.Entities.Concrete; using EES.DataLayer.Abstract; namespace EES.DataLayer.Concrete.NHibernate { public class NhSystemLogDal : NhEntityRepositoryBase<SystemLog>, ISystemLogDal { public NhSystemLogDal(NHibernateHelper nHibernateHelper):base(nHibernateHelper...
Runtime/Wrappers/Wrap.cs
dimmpixeye/ACTORS
331
7029485
// Project : ecs // Contacts : Pixeye - <EMAIL> using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine; namespace Pixeye.Actors { public class Wrap<TSource, TProp> : IWrap<TProp> { public TSource source; public Func<TSource, TProp> prop; public Acti...
sdk/search/Microsoft.Azure.Search.Service/src/Customizations/Models/IResourceWithETag.cs
gjy5885/azure-sdk-for-net
3,268
7029486
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Microsoft.Azure.Search.Models { /// <summary> /// Model classes that implement this interface represent resources that are persisted with a...
src/Bet.Notifications.Razor/DependencyInjection/RazorNotificationBuilderExtensions.cs
kdcllc/Bet.Notifications
2
7029487
<reponame>kdcllc/Bet.Notifications<gh_stars>1-10 using Bet.Notifications.Abstractions.TemplateRenderers; using Bet.Notifications.Razor; using Bet.Notifications.Razor.Options; using Bet.Notifications.Razor.Repository; using Bet.Notifications.Razor.Repository.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; us...
Source/Stencil.Server/Stencil.Primary/Emaling/EmailFormat.cs
watfordsuzy/stencil
1
7029488
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stencil.Primary.Emaling { public enum EmailFormat { /// <summary> /// %recipient_email%, %recipient_name%, %sender_email%, %sender_name%, %subject%, %body% /// ...
site/service.subscribe.aspx.cs
theill/iquomi
1
7029489
<reponame>theill/iquomi<filename>site/service.subscribe.aspx.cs #region Using directives using System; using System.Configuration; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Web; using System.Web.SessionState; usi...
pogged/ServerFetch.cs
pogged/pogged
5
7029490
<filename>pogged/ServerFetch.cs using Dapper; using Dapper.Contrib.Extensions; using MySqlConnector; using pogged.Model; using pogged.Model.Xml; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Timers; using System.Xml.Linq; using System.Xml.Serialization; namespace pogged { ...
src/Tests/IntegrationTests/SampleBuildArtifactsUsage.cs
TattsGroup/TeamCitySharp
0
7029491
using System.Configuration; using System.IO; using System.Linq; using System.Net; using System.Resources; using NUnit.Framework; namespace TeamCitySharp.IntegrationTests { [TestFixture] public class test_build_artifact_download { private ITeamCityClient m_client; private readonly string m_server; pr...
tests/Grace.Tests/DependencyInjection/Factory/OneArgFactoryTests.cs
Lex45x/Grace
265
7029492
using Grace.DependencyInjection; using Grace.Tests.Classes.Simple; using Xunit; namespace Grace.Tests.DependencyInjection.Factory { public class OneArgFactoryTests { [Fact] public void FactoryOneArg_Create_Instance() { var container = new DependencyInjectionContainer(); ...
src/Tel.Egram.Services/Graphics/IBitmapLoader.cs
workwhileweb/egram.tel
307
7029493
using System; using Avalonia.Media.Imaging; using TdLib; using Tel.Egram.Services.Persistance; namespace Tel.Egram.Services.Graphics { public interface IBitmapLoader { IObservable<IBitmap> LoadFile(TdApi.File file, LoadPriority priority); } }
src/MuzeyAngular.Application/Configuration/ConfigurationAppService.cs
muzeyc/MuzeyWebForNetCore
0
7029494
<filename>src/MuzeyAngular.Application/Configuration/ConfigurationAppService.cs using System.Threading.Tasks; using Abp.Authorization; using Abp.Runtime.Session; using MuzeyAngular.Configuration.Dto; namespace MuzeyAngular.Configuration { [AbpAuthorize] public class ConfigurationAppService : MuzeyAngularAppSe...
WeakAuraAutomationTool/WeakAuras/Data/Animation.cs
Dana-Ferguson/WeakAuraAutomationTool
1
7029495
<reponame>Dana-Ferguson/WeakAuraAutomationTool using WeakAuraAutomationTool.LuaMachine; namespace WeakAuraAutomationTool.WeakAuras.Data { public class Animation { [LuaField("finish")] public AnimationStyle Finish; [LuaField("main")] public AnimationStyle Main; [LuaField("start")] publi...
Plugins/BulletUnity/BulletSharp/Dynamics/Featherstone/MultiBodyJointLimitConstraint.cs
chauffer/BulletSharpUnity3d
488
7029496
using System; using System.Runtime.InteropServices; using System.Security; namespace BulletSharp { public class MultiBodyJointLimitConstraint : MultiBodyConstraint { internal MultiBodyJointLimitConstraint(IntPtr native) : base(native) { } public MultiBodyJointLimitConstraint(MultiBody body, int link, flo...
wa.Orm.Pg.Test/Reflection/TypeHandler.cs
wootapa/wa-pg-orm
0
7029497
using wa.Orm.Pg.Reflection; using wa.Orm.Pg.Test.Models; using System; using System.Linq; using Xunit; namespace wa.Orm.Pg.Test.Reflection { public class TypeHandlerTest { [Fact] public void ReadByClass() { Assert.NotNull(TypeHandler.Get<Person>()); } [Fact]...
Feli.RocketMod.JoinLeaveMessages/Configuration.cs
F-Plugins/JoinLeaveMessages
1
7029498
<filename>Feli.RocketMod.JoinLeaveMessages/Configuration.cs using Rocket.API; namespace Feli.RocketMod.JoinLeaveMessages { public class Configuration : IRocketPluginConfiguration { public bool JoinMessages { get; set; } public bool ShowCountry { get; set; } public string CustomImageUrl...
ExoPlayer/Additions/IExoMediaDrmOnEventListener.cs
diegotormes/ExoPlayerXamarin
100
7029499
<filename>ExoPlayer/Additions/IExoMediaDrmOnEventListener.cs using System; using JavaObject = global::Java.Lang.Object; /* namespace Com.Google.Android.Exoplayer2.Drm { public interface IExoMediaDrmOnEventListener<JavaObject> : IExoMediaDrmOnEventListener { } } */
Xamarin.Forms.Core/Shell/MenuShellItem.cs
brainoffline/Xamarin.Forms
4
7029500
<gh_stars>1-10 namespace Xamarin.Forms { public class MenuShellItem : ShellItem { internal MenuShellItem(MenuItem menuItem) { MenuItem = menuItem; SetBinding(TitleProperty, new Binding("Text", BindingMode.OneWay, source: menuItem)); SetBinding(IconProperty, new Binding("Icon", BindingMode.OneWay, sourc...
SettingsProvider/AddIn.cs
brook-source/Samples
87
7029501
<filename>SettingsProvider/AddIn.cs<gh_stars>10-100 using ExcelDna.Integration; namespace SettingsProvider { public class AddIn : IExcelAddIn { public void AutoOpen() { } public void AutoClose() { } } }
src/Microsoft.Diagnostics.EventFlow.Inputs.Etw/StandardTraceEventSession.cs
tedvanderveen/diagnostics-eventflow
0
7029502
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; using System....
src/HelperClasses.cs
eltomjan/Gason
2
7029503
<gh_stars>1-10 using System; namespace Gason { public partial class JsonNode { #if DoubleLinked public JsonNode Next2next(ref DebugVisual dv) { // 9 Parent / - , - , Next JsonNode retVal = next; parent.node = next; next.parent = parent; // null not set by pa...
EasyAuth/Storage/EntityUserStore/EntityUserStore.cs
adamkdean/EasyAuth
3
7029504
using System; using System.Linq; using System.Collections.Generic; using System.Runtime.CompilerServices; using EasyAuth.Helpers; using EntityFramework.Extensions; using EasyAuth.Security; using System.ComponentModel; /* We only want the Tests to be able to call IUserStore.Reset() */ [assembly: InternalsVisibleTo("Ea...
SharpPlayer/PlayerInstance/VlcInterops/libvlc_audio_set_mute.cs
DK189/SharpPlayer
1
7029505
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpPlayer.PlayerInstance.VlcInterops { internal delegate void libvlc_audio_set_mute(IntPtr mediaPlayerInstance, int status); }
src/Papabytes.Cronofy.NetCore/Requests/SmartInviteRequest.cs
Toky0/cronofy-csharp
0
7029506
namespace Papabytes.Cronofy.NetCore.Requests { using Newtonsoft.Json; /// <summary> /// Class for the serialization of an Smart Invite request. /// </summary> public sealed class SmartInviteRequest { /// <summary> /// Gets or sets the method for the invite. /// </summar...
BristolNightlife.Core/ViewModels/EventSummaryViewModel.cs
CBurbidge/BristolNightlife
0
7029507
using System; using System.Windows.Input; using Cirrious.CrossCore; using Cirrious.MvvmCross.ViewModels; using BristolNightlife.Core.Models; using BristolNightlife.Core.Services; namespace BristolNightlife.Core.ViewModels { public class EventSummaryViewModel : MvxViewModel { private readonly INavStringS...
src/ArchitectureLearning.CQRS/Extensions.cs
bioyeneye/ASPNetCore.Architecture
1
7029508
using System.Linq; using System.Text; using System.Text.Json; using ArchitectureLearning.CQRS.Persistence.DbContext; using FluentValidation; using FluentValidation.Results; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; u...
source/Components/AvalonDock/Layout/LayoutGroupBase.cs
rwg0/AvalonDock
816
7029509
<filename>source/Components/AvalonDock/Layout/LayoutGroupBase.cs /************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at https:/...
KsFetch/AssociatedTextAttribute.cs
Hozuki/KsFetch
1
7029510
<filename>KsFetch/AssociatedTextAttribute.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace KsFetch { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] sealed class AssociatedTe...
Sources/Sandbox.Game/Definitions/MyFloraElementDefinition.cs
Legion2/PCSS
0
7029511
using Sandbox.Common.ObjectBuilders.Definitions; using Sandbox.Definitions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VRage; using VRage.Library.Utils; using VRage.Utils; namespace Sandbox.Definitions { [MyDefinitionType(typeof(MyObjectBuilder_FloraElementDefiniti...