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
Fb2.Document.Tests/ModelsTests/Fb2ContainerTests.cs
Overrided/Fb2.Document
11
7045717
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; using Fb2.Document.Constants; using Fb2.Document.Exceptions; using Fb2.Document.Extensions; using Fb2.Document.Factories; using Fb2.Document.Models; using Fb2.Document.Models.Base; using Fb2.Document...
tests/Stl.Fusion.Tests/WebSocketTest.cs
wdichler/Stl.Fusion
0
7045718
using System; using System.Diagnostics; using System.Net.WebSockets; using System.Threading.Tasks; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Stl.Fusion.Bridge; using Stl.Fusion.Tests.Services; using Stl.Testing; using Stl.Tests; using Xunit; using Xunit.Abstractions; namespace Stl.F...
.NET/Microsoft.Recognizers.Text.Choice/Utilities/UnicodeUtils.cs
XiaoxiaoMa0815/Recognizers-Text
1
7045719
using System.Globalization; namespace Microsoft.Recognizers.Text.Choice.Utilities { using System.Collections.Generic; public static class UnicodeUtils { public static bool IsEmoji(string letter) { const int whereEmojiLive = 0xFFFF; // Supplementary Unicode Plane. Thi...
tests/CodeDesignPlus.Event.Bus.Test/Helpers/UserEventHandler.cs
codedesignplus/CodeDesignPlus.Event.Bus
8
7045721
using CodeDesignPlus.Event.Bus.Abstractions; using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace CodeDesignPlus.Event.Bus.Test.Helpers { /// <summary> /// Event Handler que procesa los eventos de tipo <see cref="UserCreatedEvent"/> /// </summa...
src/IssueManage/Index/BIndexBase.cs
188867052/Element-Blazor-PDS
0
7045722
using System.Collections.Generic; using System.Threading.Tasks; using AntDesign.Charts; using System; namespace IssueManage { public class BIndexBase : BAdminPageBase { public List<object> data = new List<object>(); protected override async Task OnInitializedAsync() { awai...
Smart.IO.ByteMapper/IO/ByteMapper/IMapping.cs
usausa/Smart-Net-ByteMapper
4
7045723
namespace Smart.IO.ByteMapper { using System; using System.Collections.Generic; using Smart.IO.ByteMapper.Mappers; public interface IMapping { Type Type { get; } int Size { get; } byte Filler { get; } IReadOnlyList<IMapper> Mappers { get; } } ...
KeySndr.Base.Tests/CommandTests/GetProcessNames_Tests.cs
samiy-xx/keysndr
13
7045724
using System.Collections.Generic; using System.Linq; using KeySndr.Base.Commands; using KeySndr.Base.Providers; using KeySndr.Common; using Moq; using NUnit.Framework; namespace KeySndr.Base.Tests.CommandTests { [TestFixture] public class GetProcessNames_Tests { private Mock<ISystemProvider> syste...
Graph#.Controls/Controls/Transitions/FadeOutTransition.cs
DeadlyEmbrace/GraphSharp
21
7045725
<reponame>DeadlyEmbrace/GraphSharp namespace GraphSharp.Controls.Transitions { public class FadeOutTransition : FadeTransition { public FadeOutTransition() : base( 1.0, 0.0 ) { } } }
template/content/src/PlutoNetCoreTemplate.Infrastructure/EntityFrameworkCore/PlutoNetCoreTemplate/PlutoNetTemplateDbContext.cs
pluto-arch/dotnet-project-template
2
7045726
 using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.DependencyInjection; using PlutoNetCoreTemplate.Domain.Aggregates.TenantAggregate; using PlutoNetCoreTemplate.Domain.Entities; using PlutoNetCoreTemplate.Infrastructure.Extensions; using System.Linq; ...
modules/admin/src/Bing.Admin/Apis/Systems/ApplicationController.cs
haptear/Bing.NetCore
914
7045727
using System.Collections.Generic; using System.Threading.Tasks; using Bing.AspNetCore.Mvc; using Bing.Admin.Service.Abstractions.Systems; using Bing.Admin.Service.Shared.Dtos.Systems; using Bing.Admin.Service.Shared.Queries.Systems; using Bing.Admin.Service.Shared.Requests.Systems; using Microsoft.AspNetCore.Mvc; nam...
src/PsnStickers/Tools/SizetypeConverter.cs
drasticactions/PsnStickers
0
7045728
<filename>src/PsnStickers/Tools/SizetypeConverter.cs using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using PsnStickers.Models.Sticker; namespace PsnStickers.Tools { public clas...
Parenthless/Clauses/AllClause.cs
ronnygunawan/parenthless-linq
3
7045729
namespace Parenthless.Clauses { public class AllClause { public bool Condition { get; } public AllClause(bool condition) { Condition = condition; } } }
MemeticApplication.MemeticLibrary/Factories/MutationOperatorFactory.cs
Forczu/Memetic-Algorithms-and-Fitness-Landscape
1
7045730
<reponame>Forczu/Memetic-Algorithms-and-Fitness-Landscape using MemeticApplication.MemeticLibrary.Operators.Mutation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MemeticApplication.MemeticLibrary.Factories { public class MutationOpe...
Runtime/Node/EventSystemNode.cs
pixiv/Mux.Markup.UI
17
7045731
// Copyright 2019 pixiv Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Aspects/Reinforced.Tecture.Aspects.DirectSql/Testing/Extensions.cs
fjod/Reinforced.Tecture
125
7045732
using Reinforced.Tecture.Aspects.DirectSql.Commands; using Reinforced.Tecture.Aspects.DirectSql.Testing.Checks; using Reinforced.Tecture.Testing.Checks; namespace Reinforced.Tecture.Aspects.DirectSql.Testing { /// <summary> /// SQL checks description /// </summary> public static class Extensions {...
CSharp/Solutions/2017/25/Year2017Day25.cs
PDmatrix/advent-of-code
0
7045733
<gh_stars>0 using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using AdventOfCode.Common; using JetBrains.Annotations; namespace AdventOfCode.Solutions._2017._25; [UsedImplicitly] public class Year2017Day25 : ISolution { public object Part1(IEnumerable<string> input) { ...
src/Torch/Manual/torch.cs
SciSharp/CodeMinion
23
7045734
<reponame>SciSharp/CodeMinion<filename>src/Torch/Manual/torch.cs using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using Python.Runtime; using Numpy; using Numpy.Models; namespace Torch { ...
KeplerBI.MVC/Views/Planets/INdex.cshtml
mk-prg-net/KeplerDB
0
7045735
@model KeplerBI.MVC.Models.Planets.PlanetsVM @using Cfg = KeplerBI.MVC.Models.Cfg @using mko.RPN; @{ ViewBag.Title = "Planeten"; var fn = new KeplerBI.Parser.RPN.BasicFunctionNames(); var cpsr = new KeplerBI.Parser.RPN.Composer(fn); } <h2><img src="~/Content/pics/space/Planet-2.png" style="display:inli...
WpfBasicUsage.DAL.SqlServer/MediaLogSqlDAO.cs
BernLeWal/fhtw-bif4-layeredarchitecture-cs
0
7045736
using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using WpfBasicUsage.DAL.Common; using WpfBasicUsage.DAL.DAO; using WpfBasicUsage.Models; namespace WpfBasicUsage.DAL.SqlServer { public class MediaLogSqlDAO : IMediaLogDAO { private const string SQL_FIND_BY_...
Source/Word/Behind/DispatchInterfaces/WebOptions.cs
igoreksiz/NetOffice
0
7045737
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.WordApi; namespace NetOffice.WordApi.Behind { /// <summary> /// DispatchInterface WebOptions /// SupportByVersion Word, 9,10,11,12,14,15,16 /// </summary> /// <remarks> MSDN Online: http://msd...
Assignment6/Assignment6/Program.cs
anhminh10a2hoa/Window-programming
0
7045738
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment6 { class Program { static void Main(string[] args) { List<Room> room = new List<Room>(); room.Add(new Room("1", 20, "Single bed", 50,...
Application/EdFi.Ods.Api/Infrastructure/Pipelines/Steps/GetDeletedResourceModelByIds.cs
AxelMarquez/Ed-Fi-ODS
13
7045740
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.Threading; using System.Threading.Ta...
tests/Fnx.Core.Tests/TypeClasses/Laws/Law.cs
chapiteau-team/Fnx
8
7045741
<filename>tests/Fnx.Core.Tests/TypeClasses/Laws/Law.cs using System; using Fnx.Core.Types; namespace Fnx.Core.Tests.TypeClasses.Laws { public class Law<T> { public string Name { get; } public Func<T, bool> TestLaw { get; } public Law(string name, Func<T, bool> testLaw) { ...
Technologies Fundamentals/Programming Fundamentals/Regex - Exercises/QueryMess/Mess.cs
akaraatanasov/SoftUni
0
7045742
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace QueryMess { public class Mess { public static void Main() { Regex rgx1 = new Regex(@"([^&?]+)=([^&?]+)"); var input = Console.ReadLine(); ...
tests/PoECommerce.TradeService.Tests/Models/JsonSerializationTest/Search/Filters/Enums/SortTypeTest.cs
AyronK/poe-commerce
0
7045743
using System.Text.Json; using System.Text.Json.Serialization; using FluentAssertions; using NUnit.Framework; using PoECommerce.PathOfExile.Models.Search.Enums; namespace PoECommerce.PathOfExile.Tests.Models.JsonSerializationTest.Search.Filters.Enums { [TestFixture] public class SortTypeTest { ...
Src/IronPythonTest/Conversions.cs
btddg28/ironpython
2
7045744
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
IrishRailApiIntegrationTest/UnitTest1.cs
mikescandy/MyNextTrain
0
7045745
using System; using Xunit; namespace IrishRailApiIntegrationTest { public class IrishRailTest { [Fact] public async void GetStations() { var api = new IrishRailApi.IrishRailApiService(); var stations = await api.GetAllStationsAsync(); Assert.NotNull(s...
spec/cases/Class.case.cs
ffMathy/FluffySpoon.JavaScript.CSharpToTypeScriptGenerator
45
7045746
<reponame>ffMathy/FluffySpoon.JavaScript.CSharpToTypeScriptGenerator class BeforeClass { public string MyProperty { get; set; } public void MyMethod(string foo, params string[] bar) { } public void MyNullParameterMethod(string foo = null) { } public Task<IEnumerable<string>> TaskArrayMethod() { } public strin...
Libraries/Atlas.Tabs.Test/Actions/TabTestActions.cs
garyhertel/atlas
0
7045747
using Atlas.Core; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Atlas.Tabs.Test.Actions; public class TabActions : ITab { public TabInstance Create() => new Instance(); public class Instance : TabInstance { public override void Load(Call call, TabMode...
host_agent/Telepathy.HostAgent.Core/Wrapper.cs
jingjlii/Telepathy-1
0
7045748
<filename>host_agent/Telepathy.HostAgent.Core/Wrapper.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Microsoft.Telepathy.HostAgent.Core { using System; using System.Collections.Generic; using System.Text; using Google.Protobuf; using Grpc.Core; public c...
Guan/Logic/GetValPredicateType.cs
microsoft/Guan
27
7045749
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Guan.Logic { usin...
Homeworks/02. LinearDataStructuresHomework/14. Labyrinth/Startup.cs
juvemar/DSA
0
7045750
namespace _14.Labyrinth { using System; public class Startup { private static string[,] matrix; private static int startX; private static int startY; public static void Main() { int n = 6; FillInitialMatrix(n); FillMatrix(); ...
Controllers/HomeController.cs
NazimNaibResidov/AspNetCoreMvc_Edure_Project
0
7045751
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Edure.Web.UI.Repostory.Abstrac; using Edure.Web.UI.Repostory.Abstrac.UniteOfWork; using Microsoft.AspNetCore.Mvc; namespace Edure.Web.UI.Controllers { public class HomeController : Controller { priva...
Mobile/Xamarin.Forms/PlayerSample/PlayerSample/PlayerSample.Tizen.Mobile/Renderer/VideoViewRenderer.cs
aferin/Tizen-CSharp-Samples
217
7045752
using PlayerSample; using PlayerSample.Tizen.Mobile; using System; using Tizen.Multimedia; using Xamarin.Forms; using Xamarin.Forms.Platform.Tizen; [assembly: ExportRenderer(typeof(VideoView), typeof(VideoViewRenderer))] namespace PlayerSample.Tizen.Mobile { /// <summary> /// Renderer for VideoView /// </...
MarcelJoachimKloubert/Collections/Concurrent/SynchronizedDictionaryList.cs
mkloubert/Collections.NET
4
7045753
/********************************************************************************************************************** * Collections.NET (http://github.marcel-kloubert.eu/wiki/index.php/En/Collections.NET) * * ...
DriverSolutions/ModuleDispatches/XU_Dispatch.Designer.cs
Ravenheart/driversolutions
0
7045754
<reponame>Ravenheart/driversolutions namespace DriverSolutions.ModuleDispatches { partial class XU_Dispatch { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up an...
TRLevelToolset/Controls/DataControls/TR/TREntityControl.cs
makotocchi/TR2-Rando
0
7045755
<gh_stars>0 using ImGuiNET; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TRLevelReader.Model; using TRLevelToolset.Interfaces; using TRLevelToolset.IOLogic; namespace TRLevelToolset.Controls.DataControls.TR { internal class TREntityContr...
src/infrastructure.email/interfaces/IEmailService.cs
KlaatuVerataNecto/perun.net
4
7045757
using infrastructure.email.models; using System; namespace infrastructure.email.interfaces { public interface IEmailService { void sendPasswordReminder(string emailTo, string link, DateTime expiryDate); void sendEmailChangeActivation(string emailTo, string link, DateTime expiryDate); /...
src/Services/FastServices.Services/EmployeeOrders/IEmployeeOrdersService.cs
wladimir-georgiew/FastServices
5
7045758
<reponame>wladimir-georgiew/FastServices namespace FastServices.Services.EmployeeOrders { using System.Collections.Generic; using System.Threading.Tasks; using FastServices.Data.Models; public interface IEmployeeOrdersService { public Task AssignEmployeesToOrderAsync(Order order, List<Emp...
AdressDistance/DestinationForm.Designer.cs
boranblok/AddressDistanceCalculator
0
7045759
<reponame>boranblok/AddressDistanceCalculator namespace AdressDistance { partial class DestinationForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resou...
HttpConfiguration/Native/HTTP_SERVICE_CONFIG_ID.cs
rprouse/HttpServiceConfiguration
1
7045760
<filename>HttpConfiguration/Native/HTTP_SERVICE_CONFIG_ID.cs<gh_stars>1-10 // ********************************************************************************** // The MIT License (MIT) // // Copyright (c) 2015 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this softwar...
Assets/Scripts/Character/WeaponManager.cs
MajorPetrov/DemoFPS
0
7045761
<filename>Assets/Scripts/Character/WeaponManager.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeaponManager : MonoBehaviour { public GameObject[] weapons; private int _index; private float _switchDelay = 0.5f; private bool _isSwitching; ...
Resgrid.Audio.Relay.Console/Commands/MonitorCommand.cs
mrpastewart/Relay
8
7045762
<gh_stars>1-10 using System; using System.Threading; using Consolas.Core; using Resgrid.Audio.Core; using Resgrid.Audio.Core.Model; using Resgrid.Audio.Relay.Console.Args; using Serilog; using Serilog.Core; namespace Resgrid.Audio.Relay.Console.Commands { public class MonitorCommand : Command { private static Aud...
SimpleVolumeMixer/UI/Models/AppConfig.cs
samunohito/SimpleVolumeMixer
0
7045763
<filename>SimpleVolumeMixer/UI/Models/AppConfig.cs namespace SimpleVolumeMixer.UI.Models; public class AppConfig { public string? ConfigurationsFolder { get; set; } public string? AppPropertiesFileName { get; set; } }
src/AntiLdapInjection/Internal/Microsoft.Security.Application/CodeCharts/LowerCodeCharts.cs
jonlabelle/AntiLdapInjection
3
7045764
<filename>src/AntiLdapInjection/Internal/Microsoft.Security.Application/CodeCharts/LowerCodeCharts.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CodeCharts.cs" company="Microsoft Corporation"> // Copyright (c) 2008, 2009,...
Plus/Swagger Online/src/IO.Swagger/Controllers/UsersApi.cs
renancerqueira/ICATU-Customer
0
7045765
<reponame>renancerqueira/ICATU-Customer /* * ICATU - API Clientes * * API desenvolvida como um desafio para avançar no processo de seleção da ICATU. Esta API tem o objetivo de disponibilizar o CRUD de clientes e o CRUD de Endereços. * * OpenAPI spec version: 1.0.0 * Contact: <EMAIL> * Generated by: https://githu...
test/GenerateDto/Program.cs
HristoKolev/TvDbSharper
34
7045766
namespace GenerateDto { using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; public static class Program { private const string SWAGGER_URL = "https://thetvdb.github.io/v4-api/swagger.y...
Test/TestTokenizer/TestBinaryNumber.cs
horeaper/Kaleidoscope
3
7045767
<gh_stars>1-10 using Kaleidoscope.Tokenizer; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestTokenizer { [TestClass] public class TestBinaryNumber { [TestMethod] public void TestBinaryDefault() { const string Content = "0b10'00'00'00"; var token = Util.Process<TokenSignedInteger>(Cont...
csharp-10/Source/IdentityConfig.cs
Mahdame/codenation-challenges
2
7045768
using IdentityServer4.Models; using System.Collections.Generic; using IdentityServer4.Test; using System.Security.Claims; using IdentityServer4; namespace Codenation.Challenge { public static class IdentityConfig { public static IEnumerable<IdentityResource> GetIdentityResources() { ...
test/DryIoc.IssuesTests/GHIssue101.cs
jianyuyanyu/DryIoc
0
7045769
using NUnit.Framework; using Example; namespace DryIoc.IssuesTests { [TestFixture] public class GHIssue101 { [Test] public void Resolve_compile_time_generated_example_service() { var c = new Container(); c.Register<Example.RuntimeDependencyC>(); ...
ConsoleApplication1/Model/OpportunityModel.cs
vickykatoch/acme-mvc
0
7045770
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1.Model { public class OpportunityModel { public string Title { get; set; } public string Description { get; set; } public DateTime CreateDate...
Source/HaloSharp/Query/Halo5/Metadata/GetSpartanRanks.cs
gitFurious/HaloSharp
32
7045771
using HaloSharp.Model.Halo5.Metadata; using System.Collections.Generic; namespace HaloSharp.Query.Halo5.Metadata { public class GetSpartanRanks : Query<List<SpartanRank>> { public override string Uri => HaloUriBuilder.Build("metadata/h5/metadata/spartan-ranks"); } }
Presentation/BrnShop.Web/administration/models/HelpModel.cs
leafcxy/BrnShop
2
7045772
using System; using System.Web.Mvc; using System.ComponentModel; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using BrnShop.Core; using BrnShop.Services; namespace BrnShop.Web.Admin.Models { /// <summary> /// 商城帮助列表模型类 /// </summary> public class HelpListModel { ...
Stamps/View/MainWindow.xaml.cs
Savelenko/functional-mvvm
21
7045773
using System; using System.Windows; using System.Windows.Controls; using Stamps.Messaging; using Stamps.ViewModel; namespace Stamps.View { /// <summary> /// The main type of the view layer. This WPF code-behind component translates GUI events to messages and renders /// the view model when it "changes". ...
Online Game Store/Demo.aspx.cs
nabil053/OnlineGameStore
0
7045774
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Online_Game_Store { public partial class Demo1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
CSharpOOP/04.ObjectOrientedProgrammingPrinciples1/School/Class.cs
TsvetanKT/TelerikHomeworks
0
7045775
<filename>CSharpOOP/04.ObjectOrientedProgrammingPrinciples1/School/Class.cs<gh_stars>0 namespace School { using System; using System.Collections.Generic; public class Class : NameableEntity { public Class (string name, List<Teacher> teachers ) :base (name) { thi...
C# Fundamentals Module/CSharp-OOP-Advanced/March 2018 instance/00.ExamPreparations/Minedraft_07.09.2017/Solution/Core/Engine.cs
msotiroff/Softuni-learning
1
7045776
using System.Linq; public class Engine : IEngine { private bool isRunning; private IReader reader; private IWriter writer; private ICommandInterpreter commandInterpreter; public Engine(IReader reader, IWriter writer, ICommandInterpreter commandInterpreter) { this.reader = reader; ...
source/Features/CriticalHitStates/DamageIgnoreHelper.cs
adammartinez271828/MechEngineer
0
7045777
<reponame>adammartinez271828/MechEngineer  using BattleTech; using CustomComponents; namespace MechEngineer { internal static class DamageIgnoreHelper { public static bool IsIgnoreDamage(this MechComponentDef def) { return def.Is<Flags>(out var f) && f.IsSet("ignore_damage"); ...
TubumuMeeting.Mediasoup/MediasoupOptions.cs
694296033/TubumuMeeting
1
7045778
using System; using System.Collections.Generic; namespace TubumuMeeting.Mediasoup { public class MediasoupOptions { public MediasoupStartupSettings MediasoupStartupSettings { get; set; } public MediasoupSettings MediasoupSettings { get; set; } public static MediasoupOptions Default {...
dataStructures/doublyLinkedList/main.cs
ej-sanmartin/ComputerScienceReference
3
7045779
using System; public class DoublyLinkedList { private class Node { public int value; public Node next, previous; public Node(int value){ this.value = value; } } private Node head; private int size; public DoublyLinkedList(int value){ head = new Node(value); } // T - O...
Assets/EZhex1991/EZUnity/Editor/EZCopyList.cs
654306663/EZUnity
0
7045780
<reponame>654306663/EZUnity<filename>Assets/EZhex1991/EZUnity/Editor/EZCopyList.cs<gh_stars>0 /* Author: <EMAIL> * CreateTime: 2019-05-27 16:35:04 * Organization: <EMAIL> * Description: */ using System; using System.IO; using System.Text.RegularExpressions; using UnityEditor; using UnityEditor...
Assets/_Project/Scripts/Systems/ProjectileHitDetectionSystem.cs
Cloud-W/DOTSoftheDead
101
7045781
<reponame>Cloud-W/DOTSoftheDead using Unity.Burst; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Physics; using Unity.Physics.Systems; using Unity.Transforms; using static Unity.Mathematics.math; [UpdateAfter(typeof(Proje...
LeetCode/remote/integer_to_english_word.cs
drone001/interviews
1
7045782
// https://leetcode.com/problems/integer-to-english-words/ // // Convert a non-negative integer to its english words representation. // Given input is guaranteed to be less than 231 - 1. using System; using System.Collections.Generic; public class Solution { String[] smallest = new [] { "Zero", "One", "Two"...
Assets/Libs/Entitas/Entitas/Matcher/Interfaces/IAllOfMatcher.cs
KumoKairo/Entitas-Visual-Jam
6
7045783
<filename>Assets/Libs/Entitas/Entitas/Matcher/Interfaces/IAllOfMatcher.cs using System; namespace Entitas { public interface IAllOfMatcher : IAnyOfMatcher { IAnyOfMatcher AnyOf(params Type[] indices); IAnyOfMatcher AnyOf(params IMatcher[] matchers); } }
Assets/BayatGames/SaveGamePro/Scripts/Extensions/TilemapExtensions.cs
Premanand88/WebGlContainerTest
0
7045784
#if UNITY_2017_2_OR_NEWER using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; namespace BayatGames.SaveGamePro.Extensions { public static class TilemapExtensions { /// <summary> /// Gets all the tiles from tilemap. /// </summary>...
src/Ninject.Extensions.Interception.Test/Fakes/DummyProxyFactory.cs
ladenedge/Ninject.Extensions.Interception
25
7045785
namespace Ninject.Extensions.Interception.Fakes { using Ninject.Activation; using Ninject.Extensions.Interception.ProxyFactory; public class DummyProxyFactory : ProxyFactoryBase { #region Overrides of ProxyFactoryBase /// <summary> /// Wraps the instance in the specified contex...
Infusion.Desktop/ConsoleControl.xaml.cs
uotools/Infusion
1
7045786
<gh_stars>1-10 using System; using System.Collections.Specialized; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using Infusion.Commands; using Infusion.LegacyApi; using Infus...
FYA/PInvoke/Enums/DisplayDeviceStateFlags.cs
Kir-Antipov/FYA
2
7045787
using System; namespace FYA.PInvoke { [Flags] public enum DisplayDeviceStateFlags { AttachedToDesktop = 0b000001, MultiDriver = 0b000010, PrimaryDevice = 0b000100, MirroringDriver = 0b001000, VGACompatible = 0b010000, Removable ...
Skyra/Core/Database/Models/Client.cs
Tylertron1998/skyra-sharp
2
7045788
using System.ComponentModel.DataAnnotations.Schema; namespace Skyra.Core.Database.Models { [Table("clients")] public sealed class Client { /// <summary> /// The ID of the bot's User <see cref="Spectacles.NET.Types.User.Id" />. /// </summary> [Column("id")] public ulong Id { get; set; } /// <summar...
Src/Dev/Toolbox.Core/Toolbox.Actor/Manager/ActorTypeManager.cs
khooversoft/Toolbox.Core
0
7045789
// Copyright (c) KhooverSoft. All rights reserved. // Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information. using Khooversoft.Toolbox; using Khooversoft.Toolbox.Standard; using System; using System.Collections.Concurrent; using System.Collections.Generic; namespac...
test.concepto/clean.components/src/WebApi/UseCases/GetUsers/UsersController.cs
jarman75/net.core
0
7045790
<filename>test.concepto/clean.components/src/WebApi/UseCases/GetUsers/UsersController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Application.Repositories; using Domain.Users; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; ...
Samples/Benchmark/BenchmarkInstanceCreation.cs
jpacelli62/FastTrack
0
7045791
<reponame>jpacelli62/FastTrack<filename>Samples/Benchmark/BenchmarkInstanceCreation.cs using System; using System.Reflection; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using Faaast.Metadata; using Sample.Metadata; namespace Benchmark { [SimpleJob(runtimeMoniker: RuntimeMoniker.Net461)] [Si...
InnerLibs/HtmlTag.cs
kaizonaro/InnerLibs
0
7045792
<gh_stars>0 using InnerLibs.LINQ; using System; using System.Collections.Generic; using System.Linq; namespace InnerLibs { /// <summary> /// Classe para criação de strings contendo tags HTML /// </summary> public class HtmlTag { private Dictionary<string, string> attrs = new Dictionary<str...
src/go-src-converted/runtime/mgcwork_workbufStruct.cs
rgwood/go2cs
249
7045793
<reponame>rgwood/go2cs //--------------------------------------------------------- // <auto-generated> // This code was generated by a tool. Changes to this // file may cause incorrect behavior and will be lost // if the code is regenerated. // // Generated on 2020 October 09 04:46:55 UTC // </auto-gene...
src/Migrations/Engines/SqlServer/ColumnDefinitionExtensions.cs
RoboKiwi/Migrations
0
7045794
using System; using System.Data; using Migrations.Models; namespace Migrations.Engines.SqlServer; public static class ColumnDefinitionExtensions { public static string ToSqlType(this ColumnDefinition def) { switch (def.SqlType) { case SqlDbType.BigInt: return "bigint"; ...
KB.Domain/Services/Tag/ITagDomainService.cs
comm100architects/KB
0
7045795
<filename>KB.Domain/Services/Tag/ITagDomainService.cs using System; using System.Linq; using System.Linq.Expressions; using KB.Domain.Entities; using Comm100.Domain.Services; using System.Collections.Generic; namespace KB.Domain.Services { public interface ITagDomainService : ICrudDomainService<Guid,Tag,TagBase,T...
PasswordStore.cs
alexclooze/passt
0
7045796
<reponame>alexclooze/passt<filename>PasswordStore.cs<gh_stars>0 using System; using System.IO; using System.Windows.Forms; using Tommy; namespace passt { static class PasswordStore { private static readonly string passFileName = ".pass"; private static readonly string passFile = E...
ui/AddGenreWindowVM.cs
dannnoon/Bookcase
0
7045797
using Bookcase.db; using Bookcase.model; using Bookcase.ui.uibases; using Bookcase.util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace Bookcase.ui { class AddGenreWindowVM : BaseDialogWindowVM { ...
ArkBot/Modules/WebApp/Model/PlayerViewModel.cs
Hsilamot/ArkBot
1
7045798
using System.Collections.Generic; namespace ArkBot.Modules.WebApp.Model { public class PlayerViewModel { public PlayerViewModel() { Servers = new Dictionary<string, PlayerServerViewModel>(); Clusters = new Dictionary<string, PlayerClusterViewModel>(); MapNam...
Unity/Assets/Framework/Components/TelemetryTransform/Scripts/UI/TelemetryUIToggle.cs
nasa/Mixed-Reality-Exploration-Toolk
1
7045799
<reponame>nasa/Mixed-Reality-Exploration-Toolk // Copyright © 2018-2021 United States Government as represented by the Administrator // of the National Aeronautics and Space Administration. All Rights Reserved. using UnityEngine; using UnityEngine.UI; namespace GSFC.ARVR.MRET.Telemetry.UI { /** * TelemetryU...
Week1/Demos/RpsGame_RefactoredWithDb/Round.cs
12142020-dotnet-uta/JoshRaneriRepo1
0
7045800
using System; using System.ComponentModel.DataAnnotations; namespace RpsGame_NoDb { public class Round { private Guid roundId = Guid.NewGuid(); [Key] public Guid RoundId { get { return roundId; } set { RoundId = value; }} public Choice Player1Choice { get; set; } //alwa...
Packages/com.reese.nav/Agent/Systems/NavCollisionSystem.cs
codemaker2015/UnityDOTSDemo
381
7045801
using Unity.Entities; using Unity.Mathematics; using Unity.Physics; using Unity.Physics.Systems; using Unity.Transforms; using UnityEngine; using RaycastHit = Unity.Physics.RaycastHit; namespace Reese.Nav { /// <summary> /// Projects raycasts in front of any entity which is flocking and walking, and adds a ne...
Assets/Scripts/data/Level.cs
andrigoBS/gymkhanar-unity
0
7045802
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; namespace DataHelpers { [System.Serializable] public class Level { public static Level fromJSON(string json) { Level level = JsonUtility.FromJson<Level>(json); level.scen...
sources/Interop/Windows/Windows/um/manipulations/IManipulationProcessor.cs
JeremyKuhne/terrafx.interop.windows
0
7045803
<reponame>JeremyKuhne/terrafx.interop.windows // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/manipulations.h and um/manipulations_i.c in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Mi...
Source/DotSpatial.Controls/Header/GroupedItem.cs
eapbokma/DotSpatial
738
7045804
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. namespace DotSpatial.Controls.Header { /// <summary> /// A visually distinguished container of <see cref="ActionItem"/> instances that are Grou...
src/MakeBddName/ITextSelection.cs
jrockwood/MakeBddName
1
7045805
<filename>src/MakeBddName/ITextSelection.cs // --------------------------------------------------------------------------------------------------------------------- // <copyright file="ITextSelection.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. /...
Xsd2Code.Library/TargetFramework.cs
JORIInternational/xsd2code
15
7045806
<filename>Xsd2Code.Library/TargetFramework.cs using System.ComponentModel; namespace Xsd2Code.Library { /// <summary> /// Code generation code base type enumeration /// </summary> /// <remarks> /// Revision history: /// /// Created 2009-02-20 by <NAME> /// /// </r...
Source/TailwindTraders.Mobile/TailwindTraders.Mobile/Features/Localization/Resources.Designer.cs
salihaispir/TailwindTraders_15hvxbre
5
7045807
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
StackExample/Program.cs
ryankueter/c-sharp-collections-examples
0
7045808
/* * Author: <NAME> * Copyright 2019 <NAME>. */ using System; using System.Collections.Generic; namespace StackExample { /// <summary> /// Last-in-first-out (LIFO) collection. /// Push method pushes items to the top. /// Pop removes items from the stack. /// </summary> class Program { ...
src/Cemig.Gecipa.CoreBusiness.WebApi/Mapping.cs
tonihenriques/cemig-gecipa
1
7045809
<reponame>tonihenriques/cemig-gecipa using AutoMapper; using Cemig.Gecipa.CoreBusiness.Domain.Commands.CipaCommands; using Cemig.Gecipa.CoreBusiness.Domain.Commands.EstabelecimentoCommands; using Cemig.Gecipa.CoreBusiness.Domain.Commands.PlanoDeAcaoCommands; using Cemig.Gecipa.CoreBusiness.Domain.Commands.ReuniaoComma...
Start Launcher/PersistentSettings/LaunchProfiles/LaunchProfile.cs
KowalskiPiotr98/StartLauncher
0
7045810
<filename>Start Launcher/PersistentSettings/LaunchProfiles/LaunchProfile.cs<gh_stars>0 namespace StartLauncher.PersistentSettings.LaunchProfiles { public class LaunchProfile { public string Id { get; set; } public string Name { get; set; } public LaunchProfile() { } ...
062. Unique Paths.cs
new2500/LeetCode
2
7045811
/* 62. Unique Paths Total Accepted: 136963 Total Submissions: 338231 Difficulty: Medium Contributor: LeetCode A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the bot...
Mors.Intervals.Generation.Tests/ClosedInterval.cs
morsiu/Intervals
0
7045812
<gh_stars>0 using System.Collections.Generic; namespace Mors.Intervals.Generation.Tests { internal readonly struct ClosedInterval { private readonly int _start; private readonly int _end; private readonly bool _nonEmpty; public ClosedInterval(int start, int end) { ...
Web/Access2Justice.E2ETests/Features/Location.feature.cs
asaperski-gloriumtech/LegalNavigator
13
7045814
<reponame>asaperski-gloriumtech/LegalNavigator // ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:2.4.0.0 // SpecFlow Generator Version:2.4.0.0 // // Changes t...
Can You Open It/Assets/Scripts/ImageDisplay.cs
D3XSKY/CanYouOpenIt
0
7045815
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ImageDisplay : MonoBehaviour { public Texture imageToDisplay; public float timeToDisplayImage; public int nextLevelToLoad; private float timeForNextLevel; public void Start...
com.unity.netcode.gameobjects/Runtime/Serialization/NetworkBehaviourReference.cs
JayPeet/com.unity.netcode.gameobjects
0
7045816
using System; using System.Runtime.CompilerServices; namespace Unity.Netcode { /// <summary> /// A helper struct for serializing <see cref="NetworkBehaviour"/>s over the network. Can be used in RPCs and <see cref="NetworkVariable{T}"/>. /// Note: network ids get recycled by the NetworkManager after a while...
src/Machine.Specifications.Runner.VisualStudio/Execution/ProxyAssemblySpecificationRunListener.cs
machine/machine.vstestadapter
6
7045817
<filename>src/Machine.Specifications.Runner.VisualStudio/Execution/ProxyAssemblySpecificationRunListener.cs using System; using Machine.Specifications.Runner.VisualStudio.Helpers; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.Visua...
Sources/AspDotNet Core WinAuth WebApi NgClient/NgWebApp.Core/Data/DataService.cs
miseeger/VisualStudio.Templates
2
7045818
<filename>Sources/AspDotNet Core WinAuth WebApi NgClient/NgWebApp.Core/Data/DataService.cs using Microsoft.Data.Sqlite; using $safeprojectname$.Data.Interface; using NPoco; namespace $safeprojectname$.Data { // Uses SqliteConnection !!! Only for use with SQLite DB !!! public class DataService : NPoco.Database...
Q-Facade Pattern/Q Solution 2/Program.cs
AshishVishwakarma/Design-Patterns
30
7045819
namespace Q_Solution_2 { class Program { static void Main(string[] args) { Product product1 = new Product("12345", "laptop-dell"); IOrderFacade orderFacade1 = new OrderFacade( new DBInventoryService(), new ICICIPaymentService(), ...
Orbit.Game.Core/Mappings/AccountPlayTimeMap.cs
chr1sto/orbit
0
7045820
<filename>Orbit.Game.Core/Mappings/AccountPlayTimeMap.cs using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Orbit.Game.Core.Models; using System; using System.Collections.Generic; using System.Text; namespace Orbit.Game.Core.Mappings { public class AccountPlayTimeMap...