max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/Cake.Flutter/Doctor/Flutter.Alias.Doctor.cs
cake-contrib/Cake.Flutter
0
7056592
<gh_stars>0 using Cake.Core; using Cake.Core.Annotations; using System; using System.Collections.Generic; namespace Cake.Flutter { partial class FlutterAliases { /// <summary> /// Show information about the installed tooling. /// </summary> /// <param name="context">The context.</param> /// <para...
Firebend.AutoCrud.EntityFramework/Abstractions/AbstractDbContextRepo.cs
djayd/auto-crud
16
7056593
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Firebend.AutoCrud.Core.Extensions; using Firebend.AutoCrud.Core.Implementations; using Firebend.AutoCrud.Core.Interfaces.Models; using Firebend.AutoCrud.EntityFra...
src/Orleans.Activities/Hosting/WorkflowInterfaceProxy.cs
OrleansContrib/Orleans.Activities
79
7056594
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using Orleans.Activities.Helpers; namespace Orleans.Activities.Hosting { /// <summary> /// Nongeneric helpe...
src/BingoX/BingoX.DataAccessor.EF/EFDataAccessorFactory.cs
BingoRoom/BingoX
0
7056595
<reponame>BingoRoom/BingoX using System; using System.Collections; using BingoX.Helper; using BingoX.Domain; using System.Linq; using System.Collections.Generic; using System.Reflection; namespace BingoX.DataAccessor.EF { public class EFDataAccessorFactory<TContext> : DataAccessorFactory<TContext>, IDataAccessorF...
NDProperty.Core/Providers/ValueProvider.cs
LokiMidgard/NDProperty
7
7056596
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using NDProperty.Propertys; namespace NDProperty.Providers { /// <summary> /// Base class to provide aloternative value lookup for NDP Propertys /// </summary> /// <...
src/Infrastructure/Extensions/ArrayExtensions.cs
sucrose0413/eShopOnContainersDDD
143
7056597
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Infrastructure.Extensions { public static class ArrayExtensions { public static string[] TryAdd(this string[] source, string element) { if (source == null) source = new s...
App/ConnectionChangeNotificationQueue.cs
tomblchr/atem-streamlia
1
7056598
using SwitcherServer.Atem; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace SwitcherServer { public class ConnectionChangeNotificationQueue : NotificationQueue<ConnectionChangeNotify>, ...
TestApplication.Tests/ServicesTests.cs
tobysmith568/di-attributes
0
7056599
<gh_stars>0 using Microsoft.AspNetCore.Mvc.Testing; using System.Net; using System.Text.Json; using TestApplication.Services; namespace TestApplication.UnitTests; public class ServicesTests { HttpClient httpClient; private readonly ServicesResponse expectedServicesResponseResult = new() { Scoped ...
Sylabs/Parsing/Effect/FunctionExpression.cs
pratamabayu/Sylabs
2
7056600
<filename>Sylabs/Parsing/Effect/FunctionExpression.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sylabs.Parsing { public class FunctionExpression : Symbol { public string Name { get; private set; } public FunctionExpression(params Object[] s...
src/MiniCover/Commands/Options/CoverageLoadedFileOption.cs
rickywo/minicover
0
7056601
<reponame>rickywo/minicover using MiniCover.Model; using Newtonsoft.Json; using System; using System.IO; namespace MiniCover.Commands.Options { internal class CoverageLoadedFileOption : CoverageFileOption, IMiniCoverOption<InstrumentationResult> { private InstrumentationResult _value; Instrum...
RocketMQ.Client/Protocal/Header/GetConsumerRunningInfoRequestHeader.cs
leeveel/RocketMQ.Client
3
7056602
<gh_stars>1-10 using System; namespace RocketMQ.Client { public class GetConsumerRunningInfoRequestHeader : CommandCustomHeader { [CFNotNull] public string consumerGroup { get; set; } [CFNotNull] public string clientId { get; set; } [CFNullable] public bool jsta...
Source/WatchMe/Common/WatchMe.Web.Common/WebConstants.cs
ginovski/WatchMe
3
7056603
namespace WatchMe.Web.Common { public class WebConstants { public const string DataServicesAssembly = "WatchMe.Services.Data"; public const string WebServicesAssembly = "WatchMe.Services.Web"; public const string MoviesImagesPath = "/Images/Movies"; public const string ...
src/Scratch/Calculator/Calculator.cs
handcraftsman/Scratch
12
7056604
<reponame>handcraftsman/Scratch // * ********************************************************************************** // * Copyright (c) <NAME> // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this di...
Assets/Scripts/BoltProjectile.cs
deruitda/LudumDare49
0
7056605
<filename>Assets/Scripts/BoltProjectile.cs using Assets.Scripts.Interfaces; using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoltProjectile : BaseProjectile { [SerializeField] private float _despawnTimeSeconds = 2f; [SerializeField] private float _damage = 20...
ClothShop.Core/ApplicationServices/Impl/SizeService.cs
thor1824/G3ClothingShop
0
7056606
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ClothShop.Core.DomainServices; using ClothShop.Core.Entity.Enum; namespace ClothShop.Core.ApplicationServices.Impl { public class SizeService : ISizeService { private IRepository<ClothingSize> _repo; p...
Content.Client/Decals/DecalPlacementSystem.cs
MaxNox7/space-station-14
1
7056607
<gh_stars>1-10 using Content.Shared.Decals; using Robust.Client.GameObjects; using Robust.Client.Input; using Robust.Shared.Input; using Robust.Shared.Input.Binding; namespace Content.Client.Decals; // This is shit and basically a half-rewrite of PlacementManager // TODO refactor placementmanager so this isnt shit a...
AllJoynTemperatureHumidityApp/DhtSensorLibrary/DataItemChangedEventArgs.cs
niko-achilles/AllJoynTemperatureHumidity
0
7056610
// **************************************************************************** // <author><NAME></author> // <email><EMAIL></email> // <date>22.06.2016</date> // <web>http://nikolaoskokkinos.wordpress.com/</web> // **************************************************************************** using System; name...
src/BaGet.Core/Metadata/BaGetRegistrationLeafResponse.cs
gekkedev/BaGet
0
7056611
<gh_stars>0 using System; using System.Collections.Generic; using BaGet.Protocol; namespace BaGet.Core.Metadata { public class BaGetRegistrationLeafResponse : RegistrationLeafResponse { public long Downloads { get; set; } } }
Service/CLF.Service.DTO/Account/PermissionDTO.cs
linfei-chen/hello-world
2
7056612
using CLF.Service.DTO.Core; using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace CLF.Service.DTO.Account { public class PermissionDTO: TreeNodeDTO<PermissionDTO> { public PermissionDTO() { } [DisplayName("Area名称")] public string Area...
csharp/ESPkMeansLib/Helpers/StorageHelper.cs
johpro/es-kmeans
0
7056613
<gh_stars>0 using System; using System.Collections.Generic; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ESPkMeansLib.Helpers { public static class StorageHelper { public static BinaryWriter GetWriter(string fn, bool useGzipCompression = fa...
src/client/Fig.Client/Exceptions/InvalidSettingException.cs
mzbrau/fig
1
7056614
<filename>src/client/Fig.Client/Exceptions/InvalidSettingException.cs<gh_stars>1-10 using System; namespace Fig.Client.Exceptions { public class InvalidSettingException : Exception { public InvalidSettingException(string message) : base(message) { } } }
ExtendedHubClient.Abstractions/ITypedHubClient.cs
EnergyNick/HubClient
0
7056615
<filename>ExtendedHubClient.Abstractions/ITypedHubClient.cs namespace ExtendedHubClient.Abstractions { /// <summary> /// Interface of strongly typed SignalR client. /// </summary> /// <typeparam name="TServerMethods">The type of client.</typeparam> public interface ITypedHubClient<out TServerMethod...
Databases Advanced - Entity Framework/Auto Mapping Objects/Homework.Client/Commands/EmployeePersonalInfo.cs
spiderbait90/C-Sharp-DB-Fundamentals
0
7056616
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using AutoMapper; using Homework.Client.ModelsDBO; using Homework.Data; namespace Homework.Client.Commands { public class EmployeePersonalInfo { public static string Execute(string[] command) { int id; ...
Assets/Scripts/Rotate.cs
maxartDanny/GDDi0000_Roll-a-Ball_Danny
0
7056617
<filename>Assets/Scripts/Rotate.cs using UnityEngine; /// <summary> /// /// </summary> public class Rotate : MonoBehaviour { #region Variables private Transform myTransform; private Vector3 rotateValues = new Vector3(15, 30, 45); public bool IsRotating { get; set; } = false; #endregion ^ Variables #regio...
WindowsFormsApplication1/WindowsFormsApplication1/Settings.cs
Hartman14/VirtualKane
0
7056618
<reponame>Hartman14/VirtualKane using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial clas...
Assets/Scripts/Core/QueryBuilder.cs
sauterl/gofind
1
7056619
using System; using System.Collections.Generic; using Assets.GoFindMap.Scripts; using Assets.Modules.SimpleLogging; using Assets.Scripts.UI; using Assets.Scripts.UI.Query; using CineastUnityInterface.Runtime.Vitrivr.UnityInterface.CineastApi.Models.Messages.Query; using CineastUnityInterface.Runtime.Vitrivr.Uni...
src/CoiniumServ/Server/Web/Modules/HelpModule.cs
sebseb7/merit-pool
0
7056620
<reponame>sebseb7/merit-pool<gh_stars>0 #region License // // MIT License // // CoiniumServ - Crypto Currency Mining Pool Server Software // // Copyright (C) 2013 - 2017, CoiniumServ Project // Copyright (C) 2017 - 2018 The Merit Foundation // // Permission is hereby granted, free of charge, to any...
2020/csharp/Aoc2020/Day01.cs
zawupf/aoc
0
7056621
using System; using System.Collections.Generic; using System.Linq; namespace Aoc2020 { public class Day01 : IDay { public override string Day { get; } = nameof(Day01)[3..]; public override string Result1() { int[] expenseReport = InputLines.Select((line) => int.Parse(line))...
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass160.cs
hdefucom/HDF
1
7056622
using DCSoft.Printing; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [DefaultMember("Item")] [ComVisible(false)] public class GClass160 : CollectionBase { public PrintJob method_0(int int_0) { return (PrintJob)base.List[int_0]; } p...
Assets/Scripts/TodoListApp/Views/TaskView.cs
1boker1/TodoList
0
7056624
using System; using Mvc.Scripts.Views; using TodoListApp.Actions; using TodoListApp.Installers; using TodoListApp.Models.Interfaces; using TodoListApp.Notifications; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; namespace TodoListApp.Views { public class TaskView : View { [Seriali...
MemberPoint/MemberPoint.Business/ContextFactory.cs
hc-hub/MemberPoints
0
7056625
<reponame>hc-hub/MemberPoints using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MemberPoint.Entity.POCOModel; using System.Data.Entity; using System.Runtime.Remoting.Messaging; namespace MemberPoint.Business { /// <summary> /// 从线程中获取数据访问...
Sample/Reservation/v1/Registration/Registration.Infra.Data/Mappings/SiteMap.cs
Liang-Zhinian/CqrsFrameworkDotNet
0
7056626
using System; using System.ComponentModel.DataAnnotations.Schema; using Registration.Domain.ReadModel.Security; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Registration.Infrastructure.Mappings { public class SiteMap : IEntityTypeConfiguration<Site> { ...
FunctionalProgrammingExercises/FindEvensOrOdds/FindEvensOrOdds.cs
vesopk/C-AdvancedModule
0
7056627
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FindEvensOrOdds { public static class FindEvensOrOdds { public static void Main() { var boundries = Console.ReadLine().Split(new[] {' '}, StringSplitOptions....
AzureFunctionDemo/FunctionController.cs
khoa-nguyendang/AzureFunctionDemo
0
7056628
using AzureFunctionDemo.Efcore; using AzureFunctionDemo.Models; using AzureFunctionDemo.Usecases.Interfaces; using Microsoft.Azure.Functions.Worker; using Microsoft.Azure.Functions.Worker.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System.Net; namespace AzureFunctionDemo { public class F...
src/Application/Participants/Queries/GetParticipantDetail/GetParticipantDetailQuery.cs
dinamostafaghazalla/CleanArchitecture
1
7056629
using AutoMapper; using AutoMapper.QueryableExtensions; using MediatR; using Microsoft.EntityFrameworkCore; using CleanArchitecture.Application.Common.Interfaces; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace CleanArchitecture.Application.Participants.Queries.GetParticipantDetail ...
Interfaces/IPos.cs
zdmohib/Restaurant-Managemnet-System
2
7056630
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Interfaces { public interface IPos<TEntity> where TEntity : class { int Insert(TEntity entity); } }
src/test/HostActivation.Tests/DotnetArgValidation.cs
danyeh/core-setup
6
7056631
<filename>src/test/HostActivation.Tests/DotnetArgValidation.cs<gh_stars>1-10 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using X...
src/apis/Ingest/Vocalia.Ingest/DTOs/Podcast.cs
AdamMYoung/Vocalia-API
0
7056632
<reponame>AdamMYoung/Vocalia-API<gh_stars>0 using System; using System.Collections.Generic; namespace Vocalia.Ingest.DTOs { public class Podcast { public Guid UID { get; set; } public string Name { get; set; } public string Description { get; set; } public string ImageUrl { get...
AdoTools.Common/Extensions/DumpValuesExtension.cs
robbratton/AdoTools.Ado
0
7056633
<reponame>robbratton/AdoTools.Ado<gh_stars>0 using System; // ReSharper disable UnusedMember.Global namespace AdoTools.Common.Extensions { /// <summary> /// Dump Values Extensions /// </summary> public static class DumpValuesExtension { /// <summary> /// Dump fields for a ...
src/Stact.Playground/Data/Internal/SingleFTreeM.cs
base31/Stact
71
7056634
<filename>src/Stact.Playground/Data/Internal/SingleFTreeM.cs namespace FingerTree { using System.Collections.Generic; using Stact.Data.Internal; public partial class SingleFTreeM<T, M> : FTreeM<T, M> where T : Measurable<M> { public Monoid<M> theMonoid; protected T theSingle; public SingleFTr...
test/Maxfire.Prelude.Core.Tests/EnumerationTests.cs
maxild/Prelude
0
7056635
<filename>test/Maxfire.Prelude.Core.Tests/EnumerationTests.cs using System; using Xunit; using Shouldly; namespace Maxfire.Prelude.Tests { public class EnumerationTests { public class FooBarEnumeration : Enumeration<FooBarEnumeration> { public static readonly FooBarEnumeration Foo =...
src/Plainion.GraphViz.Modules.Documents/DotLang/MatchNewLine.cs
plainionist/Plainion.GraphViz
14
7056638
<gh_stars>10-100 using System; using System.Text; namespace Plainion.GraphViz.Modules.Documents.DotLang { class MatchNewLine : MatcherBase { protected override Token IsMatchImpl( Tokenizer tokenizer ) { var str = new StringBuilder(); while( tokenizer.Current...
Cross-Cutting/OS.Common/TranslationServices/ITRSServicesRole.cs
Orl4ne/OnlineServices
0
7056639
<reponame>Orl4ne/OnlineServices<gh_stars>0 using OS.Common.Enumerations; using OS.Common.SecurityServices.TransfertObjects; using OS.Common.TranslationServices.TransfertObjects; using System; namespace OS.Common.TranslationServices { public interface ITRSInternalServicesRole { //TODO Refactorer à Arg...
EczaneOtomasyonu/ilacBilgileriForm.cs
akbuz9455/Eczane-Otomasyonu
2
7056640
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; //sql kullanma kütüphanemizi yükledik using System.Data.SqlClient; using System.IO; using Microsoft.Offic...
RichTextCleanerUwp/Helpers/DispatcherExtensions.cs
hdkesting/RichTextCleaner
0
7056641
using System; using System.Runtime.CompilerServices; using Windows.UI.Core; namespace RichTextCleanerUwp.Helpers { public static class DispatcherExtensions { /// <summary> /// Switches the execution to the UI thread. /// </summary> /// <param name="dispatcher">The dispatcher.</...
src/TomCore.Tls.Functions/Guard.cs
TomCoreIO/TomCore.Tls
0
7056642
using System; namespace TomCore.Tls.Functions { internal static class Guard { public static void NotNull<T>(T t, string name) where T : class { if (t is null) { throw new ArgumentNullException(name); } } } }
MusicCollection/Views/Albums/Index.cshtml
cfloryiv/MusicCollection
1
7056643
@model IEnumerable<MusicCollection.Models.Album> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <form asp-controller="Albums" asp-action="Create" method="get"> <button class="btn btn-default">Create</button> <input type="text" name="UPC" value="" /> </form> </p> <table class="table...
app/iSukces.Translation/_translations/ITranslationHolder.cs
isukces/iSukces.Translation
0
7056644
using System; namespace iSukces.Translation { public interface ITranslationHolder { bool TryGetTranslation(string fullTransaltionKey, out string translation); event EventHandler OnChangeTranslations; } }
Microsoft.SqlServer.CatalogStore/CodeGen/SysDatabasePermissionCatalog.g.cs
pensivebrian/catalogstore
2
7056646
//------------------------------------------------------------------------------ // <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> //---...
Assets/PCL/Scripts/PCL/Unit/Humanoid/HumanoidAction/CombatAction/HAC_SaoTangTui.cs
sacshadow/ProceduralCharacterLocomotion
2
7056647
<gh_stars>1-10 using System; using System.Collections; using System.Collections.Generic; //using System.Linq; //using UnityEditor; using UnityEngine; //using UnityEngine.UI; //using Uhity.Entities; using URD = UnityEngine.Random; public class HAC_SaoTangTui : HumanoidAction { public DFA saoTangTui; public float...
src/WeatherForecast/Data/Data.OpenWeathermap.Tests/Clients/WeathermapUriBuilderTests.cs
SergeyVoytovich/weather-forecast
0
7056648
<gh_stars>0 using NUnit.Framework; using WeatherForecast.Data.OpenWeather.Clients; namespace WeatherForecast.Data.OpenWeather.Tests.Clients { public class WeathermapUriBuilderTests { [Test] public void Uri() { const string apiKey = "123456"; const string cityNam...
HeboTech.NLF.Loggers/FormatLogger.cs
icerocker/NLF
0
7056649
<filename>HeboTech.NLF.Loggers/FormatLogger.cs<gh_stars>0 using HeboTech.NLF.Loggers.TimeProvider; using HeboTech.NLF.Loggers.Writers; using System; using System.IO; using System.Runtime.CompilerServices; namespace HeboTech.NLF.Loggers { public class FormatLogger : ILogger { public LogLevel Level { ge...
Core/Api/Models/JsonModel.cs
OpenCodeDev/OpenCodeDev.NetCMS.Compiler
0
7056650
using OpenCodeDev.NetCMS.Compiler.Core.Builder.JsonModel; using System; using System.Collections.Generic; using System.Text; namespace OpenCodeDev.NetCMS.Compiler.Core.Api.Models { public class JsonModel { public CollectionItemModel Collection { get; set; } public List<AttributesItemModel> Att...
src/ServerMonitoring.Data/Storages/InMemory/Data/InMemoryInternalData.cs
ZOXEXIVO/WindowsServerMonitoring
3
7056651
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ServerMonitoring.Data.Collections; using ServerMonitoring.Data.Enums; using ServerMonitoring.Data.Models.Common; using ServerMonitoring.Data.Models.Query; namespace ServerMonitoring.Data.Storages.InMemory.Data { ...
src/NServiceBus.FluentValidation/TestHelper.cs
NServiceBusExtensions/Validation
0
7056652
using FluentValidation; namespace NServiceBus.FluentValidation; public static class TestHelper { public static IEnumerable<Type> FindMessagesWithoutValidator(params Assembly[] messageAssemblies) => messageAssemblies.SelectMany(assembly => FindMessagesWithoutValidator(assembly)); public static IEnume...
src/2 - Application/Challenge.RealEstates.Application/DTOs/PricingInfosDTO.cs
guisaulo/eng-zap-challenge-dotNet
0
7056653
<filename>src/2 - Application/Challenge.RealEstates.Application/DTOs/PricingInfosDTO.cs<gh_stars>0 namespace Challenge.RealEstates.Application.DTOs { public class PricingInfosDTO { public string BusinessType { get; set; } public string Price { get; set; } public string RentalTotalPrice ...
XMLEdit/TreeViewForm.cs
mullak99/XMLEdit
0
7056654
<filename>XMLEdit/TreeViewForm.cs using System; using System.Windows.Forms; using System.Xml; namespace XMLEdit { public partial class TreeViewForm : Form { private NotepadPage _xmlPage; public TreeViewForm() { InitializeComponent(); } public TreeViewForm(...
src/Specificati/PagingSpecification.cs
devvelopi/Specificati
3
7056655
using System.Collections.Generic; using System.Linq; namespace Specificati { public record PagingSpecification { public int? Skip { get; set; } public int? Take { get; set; } public IQueryable<T> Apply<T>(IQueryable<T> query) { var compiledQuery = query; ...
CodeChallenge/Program.cs
1804-Apr-USFdotnet/leibow-cooper-project0
0
7056656
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeChallenge { class Program { static void Main(string[] args) { PalChecker palcheck = new PalChecker(); Console.WriteLine(palcheck...
src/Share/Models/ResourceTypeDefinitionDtos/ResourceTypeDefinitionUpdateDto.cs
AterDev/DevCenter
0
7056657
namespace Share.Models.ResourceTypeDefinitionDtos; /// <summary> /// 资源类型的定义 /// </summary> public class ResourceTypeDefinitionUpdateDto { [MaxLength(100)] public string? Name { get; set; } [MaxLength(400)] public string? Description { get; set; } /// <summary> /// 图标 /// </summary> [Max...
Project/Project.App/Common/Installers/WebInstaller.cs
matsE1994/Discography
0
7056659
<gh_stars>0 using FluentValidation.AspNetCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Project.App.Common.Installers { public class WebInstaller : IInstaller { public void Install(IServiceCollection services, IConfiguration configuration) ...
Axxes.ToyCollector.Plugins.Lego/TypeRegistrar.cs
bgamble62/Axxes.ToyCollector
10
7056660
<filename>Axxes.ToyCollector.Plugins.Lego/TypeRegistrar.cs using Axxes.ToyCollector.Core.Contracts.Database; using Axxes.ToyCollector.Core.Contracts.DependencyResolution; using Axxes.ToyCollector.Core.Contracts.Services; using Axxes.ToyCollector.Plugins.Lego.DataAccess; using Axxes.ToyCollector.Plugins.Lego.Logic;...
ShopData/Interface/IOrder.cs
KamilBory/TPUMProjekt
0
7056661
<reponame>KamilBory/TPUMProjekt<filename>ShopData/Interface/IOrder.cs using System; using System.Collections.Generic; namespace ShopData.Interface { public interface IOrder : ICloneable { int clientId { get; set; } HashSet<int> offerChoiceIds { get; set; } DateTime creationTime { get; ...
Meerkat/Library/Converters/DefaultConverter.cs
d0rj/Meerkat
0
7056662
<reponame>d0rj/Meerkat<filename>Meerkat/Library/Converters/DefaultConverter.cs using LingvoNET; using Meerkat.Library.Converters.Utils; using Meerkat.Library.Exceptions; namespace Meerkat.Library.Converters { internal class DefaultConverter : IFormConverter<Noun> { protected readonly Case convertCase; protect...
Tests/RollingMeanFloatTests.cs
Macabresoft/Macabresoft.Core
1
7056663
namespace Macabresoft.Core.Tests { using System; using FluentAssertions; using FluentAssertions.Execution; using NUnit.Framework; [TestFixture] public class RollingMeanFloatTests { [Test] [Category("Unit Tests")] public void Clear_Should_SetMeanValueToZero() { ...
SRC/Fiskinfo.Fangstanalyse.API/Constants/ClimateAndWeatherDataControllerRoute.cs
SINTEF-SE/FangstAnalyse
0
7056664
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Fiskinfo.Fangstanalyse.API.Constants { public class ClimateAndWeatherDataControllerRoute { public const string GetWindData = ControllerName.ClimateAndWeatherData + nameof(GetWindData); } }
TestClient/Connected Services/ServiceReference/Reference.cs
cesarrrguez/ServiceWCF
0
7056665
<reponame>cesarrrguez/ServiceWCF<gh_stars>0 //------------------------------------------------------------------------------ // <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. // </auto-generated>...
winforms-collection/winforms-collection/containers/DropTargetContainer.cs
Tvede-dk/c-winforms-componets-collection
1
7056666
<reponame>Tvede-dk/c-winforms-componets-collection<filename>winforms-collection/winforms-collection/containers/DropTargetContainer.cs using System.Windows.Forms; namespace winforms_collection.containers { public partial class DropTargetContainer : UserControl { public DropTargetContainer() { I...
tests/AOTSerializer.Tests/FloatConversionTest.cs
ashikns/AOTSerializer
2
7056667
<reponame>ashikns/AOTSerializer using System; using Xunit; namespace AOTSerializer.Tests { public class FloatConversionTest : IClassFixture<ResolverFixture> { [Theory] [InlineData(-10)] [InlineData(-120)] [InlineData(10)] [InlineData(0.000006f)] [InlineData(byte...
UnityScripts/scripts/Events/event_kill_npc.cs
KarlClinckspoor/UnderworldExporter
267
7056668
<reponame>KarlClinckspoor/UnderworldExporter using UnityEngine; using System.Collections; public class event_kill_npc : event_base { //Take a guess. public override void ExecuteEvent () { base.ExecuteEvent(); int WhoAmI = RawData[4]; NPC[] npc = findNPC(WhoAmI); if (npc!=null) { for (in...
9.3/Sitecore.Commerce.Engine.SDK.5.0.76/src/Sitecore.Commerce.Sample.Console/Bootstrapping.cs
ajsuth/CatalogSynchronizer
3
7056669
using System; using System.IO; using FluentAssertions; using Sitecore.Commerce.Extensions; using Sitecore.Commerce.Sample.Contexts; using Sitecore.Commerce.ServiceProxy; namespace Sitecore.Commerce.Sample.Console { using CommerceOps = CommerceOps.Sitecore.Commerce.Engine; public static class Bootstrapping ...
PseudoCQRS/PropertyValueProviders/FormDataPropertyValueProvider.cs
RendaniTshinakaho/PseudoCQRS
1
7056670
using System; using System.Collections; using System.Collections.Generic; using System.Web; namespace PseudoCQRS.PropertyValueProviders { public class FormDataPropertyValueProvider : BasePropertyValueProvider, IPropertyValueProvider { private string GetKey( Type objectType, string propertyName ) { return ...
poker.cs
vovapolu/ExploadHackathonContract
1
7056671
<filename>poker.cs using System; using Com.Expload; [Program] class MyProgram { public Mapping<Bytes, Bytes> PlayerCards1 = new Mapping<Bytes, Bytes>(); public Mapping<Bytes, Bytes> PlayerCards2 = new Mapping<Bytes, Bytes>(); public Mapping<int, int> TableCards = new Mapping<int, int>(); public Mapping...
src/TransformationsPopup.Designer.cs
devdept/EWS
1
7056672
<gh_stars>1-10 namespace EyeshotWcfClientWinForms { partial class TransformationsPopup { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used....
ScriptsLib/APIs/League of Legends/Enums.cs
Milkenm/ScriptsLib
4
7056673
namespace ScriptsLib.APIs { public partial class LeagueOfLegendsAPI { public enum Regions { RU, KR, BR1, OC1, JP1, NA1, EUN1, EUW1, TR1, LA1, LA2, } public enum Queues { RANKED_SOLO_5x5, RANKED_TFT, RANKED_FLEX_SR, RANKED_FLEX_TT, } public enum Tiers { ...
contest-731/c-cs/Program.cs
easimonenko/solution-problems-from-codeforces
1
7056674
using System; using System.Collections.Generic; namespace ccs { class MainClass { public static void Main(string[] args) { var line1 = Console.ReadLine().Split(); var n = Int32.Parse(line1[0]); var m = Int32.Parse(line1[1]); var k = Int32.Parse(line1[2]); var colors = new int[n]; var line2 = C...
Source/IritNet/VMdlInterTrimPointStruct.cs
Zulkir/ClarityWorlds
1
7056676
namespace IritNet { public unsafe struct VMdlInterTrimPointStruct { public VMdlInterTrimPointStruct* Pnext; public IPAttributeStruct* Attr; /* curves that pass through this point. */ public VMdlInterTrimCurveSegRefStruct* InterCurveSegRefList; public IrtPtType E3Pnt; ...
PatTuring2016.Common/ScreenModels/FullScreenModels/WordScreenModel.cs
AILanguages/Win-Learning
0
7056677
<gh_stars>0 //----------------------------------------------------------------------- // <copyright file="WordScreenModel.cs" company="Pat Inc."> // Copyright (c) Pat Inc. 2016. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace PatTuring2016.C...
Tests/EndToEnd.Selenium.Tests/Infrastructure/ClientLoaderTestConfiguration.cs
stefanbemelmans/BlazorP9LinkerBug
0
7056678
<filename>Tests/EndToEnd.Selenium.Tests/Infrastructure/ClientLoaderTestConfiguration.cs namespace P9Control.EndToEnd.Tests.Infrastructure { using P9Control.Client.Features.ClientLoaderFeature; using System; public class TestClientLoaderConfiguration : IClientLoaderConfiguration { public TimeSpan DelayTime...
RunKeeper.HealthGraph/Activities/ActivityHistoryPageDto.cs
stonemonkey/Wontstop
1
7056679
// Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Newtonsoft.Json; namespace RunKeeper.WinRT.HealthGraph.Activities { public class ActivityHistoryPageDto { [JsonPro...
backend/src/Modules/Discount/DiscountController.cs
erecord/Developer-Test
0
7056680
<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using StoreBackend.Interfaces; using StoreBackend.Models; namespace StoreBackend { [Route("api/[controller]")] [ApiController] [Authorize] public class D...
src/PowerShell/SourceInfo.cs
skyhoshi/psmsi
127
7056681
<filename>src/PowerShell/SourceInfo.cs // The MIT License (MIT) // // Copyright (c) Microsoft Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including...
src/main/Port.Adapter/In/InProcess/TerminalAdapter.cs
Neurul/Brain
0
7056682
using CQRSlite.Commands; using neurUL.Cortex.Application.Neurons.Commands; using neurUL.Cortex.Common; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace neurUL.Cortex.Port.Adapter.In.InProcess { public class TerminalAdapter : ITerminalAdapter { ...
OctoAwesome/OctoAwesome/Serialization/Entities/EntityComponentsDbContext.cs
TheBlubb14/octoawesome
86
7056683
using OctoAwesome.Database; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OctoAwesome.Serialization.Entities { public sealed class EntityComponentsDbContext { private readonly IDatabaseProvider databaseProvider; pr...
src/Errata/Rendering/DiagnosticRenderer.cs
pascalberger/errata
0
7056684
using System.Collections.Generic; using System.Linq; using Spectre.Console; namespace Errata { internal sealed class DiagnosticRenderer { private readonly ReportContext _reportContext; public DiagnosticRenderer(ReportContext context) { _reportContext = context ?? throw new ...
PathFinder/Agent.cs
JavierTobar/GameDev
0
7056685
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class Agent : MonoBehaviour { // this is for testing purposes if we want to manually enter a destination, // otherwise it's taken care of by AgentGenerator.cs public PathVertex d...
src/Data/Extensions.cs
aTiKhan/RDO.Net
23
7056686
<filename>src/Data/Extensions.cs using DevZest.Data.Primitives; using System; using System.Threading; using System.Threading.Tasks; namespace DevZest.Data { /// <summary> /// Provides extension methods. /// </summary> public static class Extensions { /// <summary> /// Gets child Da...
CSharp Advanced/LINQ Exercises/09. Students Enrolled in 2014 or 2015/Program.cs
vlganev/CSharp-Fundamentals
0
7056687
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Students_Enrolled_in_2014_or_2015 { class Program { static void Main(string[] args) { var group = new List<string[]>(); string input = Console.R...
ReactiveObservableCollectionMapper/_ObservableCollection/MultiValuesObservableCollection.cs
syo00/ReactiveLinqToObservableCollection
3
7056688
using Kirinji.LightWands; using Kirinji.LinqToObservableCollection.Support; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics.Contracts; using System.Linq; using Sys...
src/Rendering/Vertex2D.cs
yufeih/Nine.Graphics
31
7056689
namespace Nine.Graphics.Rendering { using System.Numerics; public struct Vertex2D { public Vector2 Position; public int Color; public Vector2 TextureCoordinate; public const int SizeInBytes = 8 + 4 + 8; } }
Core/Vault.Security.Tests/Random/RecoveryCodeGeneratorTests.cs
sonquer/Vault
1
7056690
<gh_stars>1-10 using NUnit.Framework; using Vault.Security.Random; namespace Vault.Security.Tests.Random { public class RecoveryCodeGeneratorTests { [TestCase] public void Generate_RandomString_StringsAreNotEquals() { var random1 = RecoveryCodeGenerator.Instance.Generate();...
BlazorHero.CleanArchitecture.Infrastructure/Extensions/ServiceCollectionExtensions.cs
jino-shaji/blazor-hero-template
0
7056691
<reponame>jino-shaji/blazor-hero-template<filename>BlazorHero.CleanArchitecture.Infrastructure/Extensions/ServiceCollectionExtensions.cs using System; using Microsoft.Extensions.DependencyInjection; using System.Reflection; using BlazorHero.CleanArchitecture.Application.Interfaces.Repositories; using BlazorHero.CleanA...
Research/Prototype/CrossValidation/CrossValidation.cs
godtopus/GeneCSCC
3
7056692
<gh_stars>1-10 using System.Threading; using Prototype.Extensions; using Prototype.Util; namespace Prototype.CrossValidation { internal static class CrossValidation { public static void Shuffle<T>(this T[] array) { var random = RandomProvider.GetThreadRandom(); for (in...
LiquidTorque/Activities/VehicleDetailsActivity.cs
masgeek/automotive
0
7056693
using System; using System.Collections.Generic; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.OS; using Android.Widget; using AndroidHUD; using HockeyApp; using liquidtorque.ComponentClasses; using liquidtorque.DataAccessLayer; using UniversalImageLoader.Core; using UniversalImag...
src/KaiHeiLa.Net.Rest/KaiHeiLaRestClient.cs
gehongyan/KaiHeiLa.Net
4
7056694
<filename>src/KaiHeiLa.Net.Rest/KaiHeiLaRestClient.cs using System.Collections.Immutable; using System.Text.Encodings.Web; using System.Text.Json; namespace KaiHeiLa.Rest; public class KaiHeiLaRestClient : BaseKaiHeiLaClient, IKaiHeiLaClient { #region KaiHeiLaRestClient internal static readonly JsonSerialize...
Kentico.Kontent.Management.Tests/Modules/ActionInvoker/ActionInvokerTests.cs
matus666/kontent-management-sdk-net
0
7056695
using Kentico.Kontent.Management.Models.Items; using Kentico.Kontent.Management.Modules.ActionInvoker; using Kentico.Kontent.Management.Modules.HttpClient; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Kentico.Kontent.Management.Models.Assets; using Xunit; namespace Kentico.Kontent.Mana...
src/Dionach.ShareAudit.Modules.Services/ICredentialsValidationService.cs
ph1ll/ShareAudit
24
7056696
using Dionach.ShareAudit.Model; using System.Threading.Tasks; namespace Dionach.ShareAudit.Modules.Services { public interface ICredentialsValidationService { Task<(string domain, string username)> GetCurrentUserInformation(); Task<(bool isValid, string errorMessage)> ValidateCredentialsAsync...
HueShift/LightScheduler.cs
akutruff/HueShift
4
7056697
<filename>HueShift/LightScheduler.cs using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threadin...
back-end/Domain/CustomFieldServices/Query/DTOs/CustomFieldListGetResponse.cs
yj7o5/samples-yabt
43
7056698
<reponame>yj7o5/samples-yabt<filename>back-end/Domain/CustomFieldServices/Query/DTOs/CustomFieldListGetResponse.cs using Raven.Yabt.Database.Common; using Raven.Yabt.Database.Common.BacklogItem; using Raven.Yabt.Domain.Common; namespace Raven.Yabt.Domain.CustomFieldServices.Query.DTOs { public class CustomFieldListG...
Model/Specifications/RunningTimeBetweenSpecification.cs
tbarabas/Cinema
0
7056700
<filename>Model/Specifications/RunningTimeBetweenSpecification.cs using System; using System.Linq.Expressions; using Model.DomainModel; namespace Model.Specifications { public class RunningTimeBetweenSpecification : AbstractRangeSpecification<Movie> { public RunningTimeBetweenSpecification(int? minim...