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/Shamyr.Expendity.Server.Service/Models/PaginationModelValidator.cs
prixladi/expendity-server
0
7064324
<reponame>prixladi/expendity-server using FluentValidation; namespace Shamyr.Expendity.Server.Service.Models { public class PaginationModelValidator: AbstractValidator<PaginationModel> { public PaginationModelValidator() { RuleFor(x => x.Skip) .GreaterThanOrEqualTo(0); RuleFor(x => x....
src/FunctionPipes/Abstractions/IPipe.cs
ThomasBleijendaal/AzureFunctionPipes
0
7064325
<gh_stars>0 using FunctionPipes.Abstractions.Elements; using FunctionPipes.Abstractions.Providers; using FunctionPipes.Contexts; using Microsoft.AspNetCore.Http; using Microsoft.Azure.WebJobs; namespace FunctionPipes.Abstractions { public interface IPipe { IPipeElement<HttpPipeContext, HttpRequest, TR...
src/VPFrameworks.Messaging.RabbitMQ/TopicSubscriber.cs
vpaulino/infrastructure
2
7064326
<gh_stars>1-10 using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using RabbitMQ.Client; using RabbitMQ.Client.Events; using VPFrameworks.Messaging.Abstractions; using VPFrameworks.Messaging.Abstractions.Subscriber; using VPFrameworks.Messaging.RabbitMQ; us...
Assets/Samples/State Sample/SpinningCube.cs
ambocclusion/HauntedGeocities
0
7064327
using UnityEngine; using System.Collections; public class SpinningCube : MainBehaviour { public Vector3 RotateSpeed = new Vector3(1,1,1); protected override void GameUpdate(){ transform.Rotate(RotateSpeed * DeltaTime); } }
Model/forum_q.cs
nature-track/wenCollege-CSharp
0
7064328
/** 版本信息模板在安装目录下,可自行修改。 * forum_q.cs * * 功 能: N/A * 类 名: forum_q * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2017-1-4 17:13:17 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披...
CuiMallet/Maroontress/Cui/Options.cs
maroontress/CuiMallet.CSharp
0
7064329
<gh_stars>0 namespace Maroontress.Cui { using Maroontress.Cui.Impl; /// <summary> /// Provides <see cref="OptionSchema"/> instances. /// </summary> public static class Options { /// <summary> /// Gets an empty OptionSchema object. /// </summary> /// <returns> ...
src/HugMun.Data/CaseExtensions.cs
artemiymax/hugmun
0
7064330
<filename>src/HugMun.Data/CaseExtensions.cs using System; using System.Collections.Generic; using HugMun.Core; namespace HugMun.Data { public static class CaseExtensions { public static IEnumerable<TCase> ToEnumerable<TCase>(this ICaseFrame caseFrame) where TCase : class, new() { i...
KeplerBI.DB/CelesticalBodyTypeDescriptor.cs
mk-prg-net/KeplerDB
0
7064331
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KeplerBI.DB { public class CelesticalBodyTypeDescriptor { /// <summary> /// ID des Himmelskörpertyps /// </summary> public virtual CelesticalBodyType Ty...
AESystem/addProgramme.aspx.cs
omerahm/AESystem
0
7064332
<reponame>omerahm/AESystem using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AESystem { public partial class addProgramme : System.Web.UI.Page ...
csharp/Database/Revenj.DatabasePersistence.Postgres/Setup.cs
hperadin/revenj
4
7064333
using System.Configuration; using Revenj.DatabasePersistence.Postgres.QueryGeneration; using Revenj.DomainPatterns; using Revenj.Extensibility; using Revenj.Utility; namespace Revenj.DatabasePersistence.Postgres { public static class Setup { public static int MinBatchSize { get; private set; } public...
src/JustGiving.EventStore.Http.SubscriberHost/AdHocInvocationResult.cs
PKI-InVivo/JustGiving.EventStore.Http
16
7064334
<filename>src/JustGiving.EventStore.Http.SubscriberHost/AdHocInvocationResult.cs using System; using System.Collections.Generic; namespace JustGiving.EventStore.Http.SubscriberHost { public class AdHocInvocationResult { public AdHocInvocationResultCode ResultCode { get; private set; } public I...
Apps/BitChangeSetManager/AspNetCore/Dto/CityDto.cs
meysambagheri96/bitframework
120
7064335
using Bit.Model.Contracts; using System; namespace BitChangeSetManager.Dto { public class CityDto : IDto { public virtual Guid Id { get; set; } public virtual string Name { get; set; } public virtual Guid ProvinceId { get; set; } } }
C#Advanced/C#Advanced-Exams/Csharp Advanced Exam - 26 June 2021/01.Masterchef/Program.cs
MDeyanov/SoftUni
0
7064336
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace _01.Masterchef { class Program { static void Main(string[] args) { int[] inputIngredients = Console.ReadLine().Split().Select(int.Parse).ToArray(); int[] inputFreshness = Console.Re...
src/CcAcca.LogEvents.Tests/LogEventInfoSpecs/ToString.cs
christianacca/LogEvents
0
7064337
<gh_stars>0 using NUnit.Framework; namespace CcAcca.LogEvents.Tests { [TestFixture] public class ToString { [Test] public void EventName_Only() { var evt = new LogEventInfo("Test"); Assert.That(evt.ToString(), Is.EqualTo("Event: Test")); } [...
Advanced.Algorithms/BitAlgorithms/SwapBits.cs
tajwal/Advanced-Algorithms
2
7064338
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Advanced.Algorithms.BitAlgorithms { /// <summary> /// Problem details below /// http://www.geeksforgeeks.org/swap-bits-in-a-given-number/ ...
E1Translator/Core/Config/E1ConnectorInitializer.cs
nathanjml/E1.AisContext
0
7064339
<reponame>nathanjml/E1.AisContext using E1Translator.Core.AIS; using E1Translator.Core.Common; using E1Translator.Core.Extensions; using FluentValidation; using Microsoft.Extensions.DependencyInjection; using SimpleInjector; using System.Linq; using System.Net.Http; using System.Reflection; using TurnerTablet.Core.Sca...
AcidarX.Kernel/Input/AXMouseButton.cs
joffarex/Acidarex
2
7064340
<gh_stars>1-10 using Silk.NET.Input; namespace AcidarX.Kernel.Input { public enum AXMouseButton { Unknown = MouseButton.Unknown, Left = MouseButton.Left, Right = MouseButton.Right, Middle = MouseButton.Middle, Button4 = MouseButton.Button4, Button5 = MouseButton...
src/EShop.Web/ViewComponents/BestSellingProductsViewComponent.cs
sradd3/EShop
0
7064341
using EShop.Services.Contracts; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace EShop.Web.ViewComponents { public class BestSellingProductsViewComponent : ViewComponent { private readonly IProductService _productService; public BestSellingProductsViewComponent(IProduct...
OutlookPrivacyPlugin/FormPassphrase.cs
GPGatHGB/OutlookPrivacyPlugin
0
7064342
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using Org.BouncyCastle.Bcpg.OpenPgp; namespace OutlookPrivacyPlugin { internal partial class FormPassphrase : Form { internal FormPassphrase(PgpSecretKey masterKey, PgpSecretKey key) { TopMost = tr...
Sources/Platform/BrainSimulator/Nodes/DeviceInputView.cs
GoodAI/BrainSimulator
313
7064343
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GoodAI.BrainSimulator.NodeView; using GoodAI.Core.Configuration; using GoodAI.Core.Execution; using GoodAI.Core.Nodes; using Graph; namespace GoodAI.BrainSimulator.Node...
code/UI/UWP/RYB/Pages/MainContent/View.xaml.cs
XElementDev/RYB
1
7064344
<reponame>XElementDev/RYB<filename>code/UI/UWP/RYB/Pages/MainContent/View.xaml.cs using Microsoft.Toolkit.Uwp.UI.Controls; using System.Collections; using System.Linq; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com...
Samples/VersionAdaptiveCode/cs/Scenario4_StateTrigger.xaml.cs
dujianxin/Windows-universal-samples
2,504
7064345
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
2015/Recursion/15.HeadToHeadLeagueMatchesGenerator/HeadToHeadLeagueMatchesGenerator.cs
bstaykov/Telerik-DSA
0
7064346
namespace _15.HeadToHeadLeagueMatchesGenerator { using System; using System.Collections.Generic; using System.Text; public class RoundsMatchesGenerator { private const char SwapValue = 'x'; private const char Empty = ' '; private const char Match = 'M'; private int ...
BSolutions.Bocons/BSolutions.Bocons/Controls/Table/TheadTagHelper.cs
samoruk/bootstrap-tag-helper
37
7064347
namespace BSolutions.Bocons.Controls.Table { using BSolutions.Brecons.Core.Controls; using BSolutions.Brecons.Core.Enumerations; using BSolutions.Brecons.Core.Extensions; using Microsoft.AspNetCore.Razor.TagHelpers; [OutputElementHint("thead")] [HtmlTargetElement("thead", ParentTag = "table")]...
Assets/RhinoScript.cs
nikolakofotis/KingsAdventure
1
7064348
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RhinoScript : MonoBehaviour { private float life,speed; private bool run,isCharged,hitEnemy,lockHit,move,isHit,lockedEnemy,death; private string isLooking; private PlayerMove target; public Animator animato...
src/Android/Views/RoundedImageView.cs
Vineymahendru/Conference-app-module
0
7064349
<reponame>Vineymahendru/Conference-app-module<gh_stars>0 using System; using Android.Widget; using Android.Content; using Android.Graphics; using Android.Graphics.Drawables; using Android.Util; namespace CouchbaseConnect2014.Android.Views { public class RoundedImageView : ImageView { public RoundedImageView...
01-CSharp-Part1/06-Loops/09-Matrix-of-Numbers/MatrixOfNumbers.cs
petar-p/TelerikAcademy
0
7064351
<reponame>petar-p/TelerikAcademy using System; class MatrixOfNumbers { static void Main() { /* * Problem 9: Matrix of Numbers * * - Write a program that reads from the console a positive integer number n (1 = n = 20) * and prints a matrix like in the example...
blockchain/csharp/core/Models/QueryTraceabilityTxCheckRequest.cs
alipay/antchain-openapi-prod-sdk
6
7064352
<gh_stars>1-10 // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class QueryTraceabilityTxCheckRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] ...
ImageViewer/Tools/Standard/PresetVoiLuts/Operations/PresetVoiLutOperationFactory.cs
econmed/ImageServer20
1
7064353
<gh_stars>1-10 #region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the abov...
Src/Tiger.Build/Compiler/Ast/AssignExpression.cs
dayanruben/TigerConverters
1
7064354
using Tiger.Build.Compiler.Error; namespace Tiger.Build.Compiler.Ast { using MAst = System.Linq.Expressions.Expression; public class AssignExpression : Statement { #region Ast members public Expression Left { get; set; } public Expression Right { get; set; } #endregion ...
CSharp/CC-Lib/CC-Lib/Structures/Geometry2D/DirectionMover.cs
SgtDomo/CC_Lib
3
7064355
<filename>CSharp/CC-Lib/CC-Lib/Structures/Geometry2D/DirectionMover.cs namespace CC_Lib.Structures.Geometry2D { public class DirectionMover { public DirectionMover() : this(new Vector2()) { } public DirectionMover(Vector2 position, Direction direction = Direction.Up) {...
src/hardWareViewer/reports/estimateReport/estimateReport.cs
nonenane/hardware
0
7064356
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using Nwuram.Framework.ToExcelNew; namespace hardWareViewer { /// <summary> /// Формирование сметы /// </summary> class estimateReport { int posFooter = 1; public estimateReport...
PublicStash/Model/Items/old/Armour/Chest.cs
Razkan/CSharpPoE
8
7064357
using System; using System.Collections.Generic; namespace PathOfExile.Model.Items.Armour { public class Chest : Armour { public static readonly IEnumerable<String> BASES = new List<String> { "Arena Plate", "Assassin's Garb", "Astral Plate", "Batt...
TeamCity.CSharpInteractive/AddNuGetReferenceCommandFactory.cs
NikolayPianikov/teamcity-csharp-interactive
11
7064358
// ReSharper disable ClassNeverInstantiated.Global namespace TeamCity.CSharpInteractive { using System.Collections.Generic; using System.Text.RegularExpressions; using NuGet.Versioning; internal class AddNuGetReferenceCommandFactory: ICommandFactory<string> { private static readonly Regex N...
Assembly-CSharp/DDRRating.cs
larryeedwards/openyan
1
7064359
using System; // Token: 0x0200012C RID: 300 public enum DDRRating { // Token: 0x04000777 RID: 1911 Perfect, // Token: 0x04000778 RID: 1912 Great, // Token: 0x04000779 RID: 1913 Good, // Token: 0x0400077A RID: 1914 Ok, // Token: <KEY> RID: 1915 Miss, // Token: 0x0400077C RID: 1916 Early }
src/AddIns/Misc/PackageManagement/Test/Src/Helpers/OneRegisteredPackageSourceHelper.cs
dongdapeng110/SharpDevelopTest
11
7064360
<reponame>dongdapeng110/SharpDevelopTest<filename>src/AddIns/Misc/PackageManagement/Test/Src/Helpers/OneRegisteredPackageSourceHelper.cs<gh_stars>10-100 // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details ple...
Assets/Script/Branch.cs
fernhw/UnityTreeGenerator
7
7064361
/** * Copyright (c) 2018 <NAME> - All Rights Reserved * * Permission is hereby granted, free of charge, to any person obtaining a copy of the Unity Tree Generator * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use...
SurucuKursuOtomasyonu/SurucuKursuOtomasyonu/DireksiyonDersi.Designer.cs
doganozcan/Driving-School-Automation
0
7064362
namespace SurucuKursuOtomasyonu { partial class DireksiyonDersi { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
src/Obfuscar.MsBuild.Tasks/ITaskExtensions.cs
TonyValenti/msbuild-obfuscar
2
7064363
using Microsoft.Build.Framework; namespace Obfuscar.MsBuild.Tasks { internal static class ITaskExtensions { public static T Initialize<T>(this T This, ITask Source) where T : ITask { return This.Initialize(Source.BuildEngine, Source.HostObject); } public static T Initializ...
Log/GZipViewer/Program.cs
git-thinh/CSharpTest.Net-source-v2.12.810.409
0
7064364
<gh_stars>0 #region Copyright 2008-2012 by <NAME>, Licensed under the Apache License, Version 2.0 /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LIC...
src/Backend/VideoCollection/Features/Blog/GetArticlesQuery.cs
QuinntyneBrown/video-collection
5
7064365
using MediatR; using VideoCollection.Data; using VideoCollection.Utilities; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace VideoCollection.Features.Blog { public class GetArticlesQuery { public class GetArticlesRequest : IRequest<G...
Core.UnitTests/CodeGeneration/ReflectionEmit/MethodTrampolineProviderTest.cs
bubdm/TypePipe
22
7064366
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
src/Activities/Maui.Tools.Scripts/StockRanking.cs
bg0jr/Maui
0
7064367
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using Maui.Shell; using Maui.Tasks; using Maui.Trading.Evaluation; using Maui.Trading.Modules; using Maui.Trading.Reporting; using Maui.Trading.Reporting.Rendering; using Maui.Tra...
Library/src/ContentImpl/NotesvelText.cs
Maynek/Notesvel
0
7064368
<reponame>Maynek/Notesvel //******************************** // (c) 2021 <NAME> // This software is released under the MIT License. //******************************** namespace Maynek.Notesvel.Library.ContentImpl { public class NotesvelText : PlainText { //================================ ...
Wpf/Microsoft.DataTransfer.WpfHost/Helpers/InfrastructureConfigurationProperties.cs
costinBol/azure-documentdb-datamigrationtool
338
7064369
<reponame>costinBol/azure-documentdb-datamigrationtool using Microsoft.DataTransfer.Basics.Extensions; using Microsoft.DataTransfer.WpfHost.ServiceModel.Configuration; namespace Microsoft.DataTransfer.WpfHost.Helpers { static class InfrastructureConfigurationProperties { public static readonly string ...
Assets/3rdParty/GamelogicGrids/Plugins/Gamelogic/Grids/GridTypes/FlatRhomb/FlatRhombOp.cs
jvlppm/ggj-2017-abaiara
0
7064370
<filename>Assets/3rdParty/GamelogicGrids/Plugins/Gamelogic/Grids/GridTypes/FlatRhomb/FlatRhombOp.cs //----------------------------------------------// // Gamelogic Grids // // http://www.gamelogic.co.za // // Copyright (c) 2013 Gamelogic (Pty) Ltd // //---------...
Scripts/TeamSetUp.cs
zephyo/Wholesome-Cats
24
7064372
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using System.Linq; public class TeamSetUp : MonoBehaviour { public Sprite Q; public List<TeamSelector> selectPositions; private TeamSelector currentChosen; private List<GameO...
TripNotes/Controllers/HorsesController.cs
meganhepner/TripNotes.Solution
0
7064373
using Microsoft.AspNetCore.Mvc; using TripNotes.Models; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; namespace TripNotes.Controllers { public class HorsesController : Controller { private readonly TripNotesCont...
V3/TextAdventure3/Playground/Alt/Engine/Internal/WorldConstructor/WorldBuilder.cs
Tauron1990/TextAdventure
0
7064374
<gh_stars>0 using Akka.Actor; using TextAdventures.Builder.Internal; using TextAdventures.Engine.Commands.Actors; using TextAdventures.Engine.Commands.Rooms; namespace TextAdventures.Engine.Internal.WorldConstructor { public sealed class WorldBuilder { private readonly IActorRef _gameMaster; p...
SulfurXunitTests/UrlActionServiceTests.cs
Energizers/Energize.Sulfur
1
7064376
<gh_stars>1-10 using Moq; using Sulfur; using Sulfur.Constants; using Sulfur.Models; using Sulfur.Services.UrlHeaderActions; using Xunit; namespace SulfurXunitTests { public class UrlActionServiceTests { private readonly IUrlActionService actionService; public UrlActionServiceTests() {...
CallbackWithDelegates/CallbackWithDelegates/Program.cs
nojronatron/cSharpPractice
0
7064377
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CallbackWithDelegates { // Note: Instead of using a separate Library, everything will be done here so the mechanics are easier to follow // define a class that will make...
CP77.CR2W/Types/cp77/ScannerSkillCheckConditionDataItemLogicController.cs
MasterScott/CP77Tools
1
7064378
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class ScannerSkillCheckConditionDataItemLogicController : inkWidgetLogicController { [Ordinal(0)] [RED("ConditionDataDescriptionName")] public CName ConditionD...
FileSyncLib/SourceCode/FileSync.cs
peteward44/auto-usb-backup
2
7064379
using System; using System.Collections.Generic; using System.Text; namespace PWLib.FileSyncLib { public class FileSync { public delegate void LogHandler( object sender, string source ); public static event LogHandler OnLog; public static void __Log( object parent, string message ) { if ( ...
test/JoinMonster.Tests.Unit/Stubs/BatchPlannerStub.cs
umbraco/join-monster-dotnet
14
7064380
<reponame>umbraco/join-monster-dotnet using System.Threading; using System.Threading.Tasks; using GraphQL; using JoinMonster.Configs; using JoinMonster.Data; using JoinMonster.Language.AST; namespace JoinMonster.Tests.Unit.Stubs { public class BatchPlannerStub : IBatchPlanner { public Task NextBatch(Sq...
src/Senticode.XFT.Core/Interfaces/Base/IInitializer.cs
Senticode/Senticode.Xamarin.Tools
1
7064381
using Unity; namespace Senticode.Xamarin.Tools.Core.Interfaces.Base { /// <summary> /// The interface for dependency injection of the application module in the common <see cref = "IUnityContainer" />. /// </summary> public interface IInitializer { /// <summary> /// The meth...
04-SB/05-Eureka/EurekaViewModel.cs
ashleyversvik/FFXIVRelicTracker
0
7064382
<gh_stars>0 using FFXIVRelicTracker._04_SB.SBHelpers; using FFXIVRelicTracker.Helpers; using FFXIVRelicTracker.Models; using FFXIVRelicTracker.Models.Helpers; using Prism.Events; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Windows.Controls; usin...
src/Essensoft.AspNetCore.Payment.JDPay/Response/JDPayTradeQueryResponse.cs
tuxuan5200/-Core
6
7064383
using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.JDPay.Response { public class JDPayTradeQueryResponse : JDPayResponse { /// <summary> /// 提交者会员号 /// </summary> [JsonProperty("customer_no")] public string CustomerNo { get; set; } /// <summary> ...
CooRPC/CooRPCServer/Program.cs
coocms/CooRPC
0
7064384
<reponame>coocms/CooRPC<gh_stars>0 using CoocRPCCore; using System; namespace CooRPCServer { class Program { static void Main(string[] args) { CooServer server = new CooServer() { ip = "127.0.0.1", port = 8909 }; server.Start(); Console.WriteLine("Holding"...
src/Compilers/Core/Portable/Text/TextLineCollection.cs
TheGreatSageEqualToHeaven/Loretta
0
7064385
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; using System.Diagnostics.CodeAnalysis; namespace Loretta.CodeAnalysis.Text { /// <summary> /// Abstract base class for <see cref="TextLine"/> coll...
src/Sources.Objects/Util/EmptyChangeToken.cs
JanDonnermayer/Extensions.Configuration.Resolver
2
7064387
<reponame>JanDonnermayer/Extensions.Configuration.Resolver using System; using Microsoft.Extensions.Primitives; namespace Extensions.Configuration.Sources.Objects { internal class EmptyChangeToken : IChangeToken { public bool HasChanged => false; public bool ActiveChangeCallbacks => false; ...
src/Nest/XPack/MachineLearning/GetJobStats/GetJobStatsResponse.cs
jslicer/elasticsearch-net
0
7064388
<reponame>jslicer/elasticsearch-net using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { public interface IGetJobStatsResponse : IResponse { [JsonProperty("count")] long Count { get; } [JsonProperty("jobs")] IReadOnlyCollection<JobStats> Jobs { get; } } public class GetJobStatsRespo...
sample/MultiMigrationSample/BaseLibrary/BaseLibraryDbContext.cs
christianacca/EntityFramework-MultiMigrate
0
7064389
<filename>sample/MultiMigrationSample/BaseLibrary/BaseLibraryDbContext.cs using System.Data.Common; using System.Data.Entity; using CcAcca.EntityFramework.MigrationUtils.Conventions; namespace CcAcca.BaseLibrary { public class BaseLibraryDbContext : DbContext { public const string BaseSchemaName = "Ba...
ECCE/ECCE/Views/Home/ProdutoDetail.cshtml
vieiraigor8787/EcommerceEmCasaComEstilo
0
7064390
<gh_stars>0  @{ @model ProdutoView; } <h5>Carrinho</h5> <hr /> <div class="row"> <div> <div>Código: @Model.tb_produto.CodigoInterno</div> <div>Nome: @Model.tb_produto.Nome</div> <div>Descrição: @Model.tb_produto.Descricao</div> <div>Preço: @Model.tb_produto.Valor</div> ...
code/src/Plexdata.CfgParser.NET/Settings/ConfigSettingsWindows.cs
akesseler/Plexdata.CfgParser
1
7064391
/* * MIT License * * Copyright (c) 2019 p<EMAIL>data.de * * 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 without limitation the rights * to use, cop...
ReleaseTags/0.9/Source/LateBindingApi.Office/Enums/MsoTextCaps.cs
NetOfficeFw/Excel-XlLateBinding
0
7064392
//Generated by LateBindingApi.CodeGenerator using LateBindingApi.Core; namespace LateBindingApi.Office.Enums { [SupportByLibrary("OF12","OF14")] public enum MsoTextCaps { [SupportByLibrary("OF12","OF14")] msoCapsMixed = -2, [SupportByLibrary("OF12","OF14")] msoNoCaps = 0, [SupportByLibrary("OF12","OF14")...
1-2-FactoryMethod/Solution2/Factory2.cs
hasandogn/Design-Patterns
0
7064393
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _1_2_FactoryMethod.Solution2 { public interface Factory2 { public Employee2 Create(string name); } }
Sop.Common.Charts/Axis/AxisLine.cs
sopcce/sop-dotnet-lib
1
7064394
<filename>Sop.Common.Charts/Axis/AxisLine.cs using System; using Sop.Common.Charts.Axis; namespace Sop.Common.Charts.Axis { public class AxisLine { /// <summary> /// 是否显示坐标轴轴线。 /// </summary> public bool? Show { get; set; } /// <summary> /// X 轴或者 Y 轴的轴线是否在另一个轴的...
XnbConvert/XnbDeserializer.cs
janfokke/StardewValleyLocalization
3
7064395
using System; using System.Collections.Generic; using System.IO; using XnbConvert.Compression; namespace XnbConvert { public class XnbDeserializer { private const int XnbCompressedPrologueSize = 14; public XnbFile<T> Deserialize<T>(byte[] data) { Stream stream = new Memory...
src/runtime/Native/PyMemberFlags.cs
nobbi1991/pythonnet
3,183
7064396
<filename>src/runtime/Native/PyMemberFlags.cs<gh_stars>1000+ using System; namespace Python.Runtime.Native; [Flags] enum PyMemberFlags: int { None = 0, ReadOnly = 1, ReadRestricted = 2, WriteRestricted = 4, Restricted = (ReadRestricted | WriteRestricted), AuditRead = ReadRestricted, }
StolotoParser/Services/JsonService.cs
EveKS/StolotoParser_v2
0
7064397
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace StolotoParser_v2.Services { public class JsonService : IJsonService { T IJsonService.JsonConvertDeserializeObject<T>(string json) { try { ...
Code/Utils/OverrideUtils.cs
shg166/Realistic-Population-Revisited
13
7064398
<gh_stars>10-100 namespace RealPop2 { /// <summary> /// Utilities to handle building overrides. /// </summary> internal static class OverrideUtils { /// <summary> /// Returns the customised number of households for a given prefab. /// Returns 0 if no custom settings...
Fo/Flow/MultiPropertySet.cs
modiCAS/fo.net
1
7064399
<reponame>modiCAS/fo.net namespace Fonet.Fo.Flow { internal class MultiPropertySet : ToBeImplementedElement { protected MultiPropertySet( FObj parent, PropertyList propertyList ) : base( parent, propertyList ) { Name = "fo:multi-property-set"; } public ne...
Example/Example.cs
Cyral/BooleanByte
2
7064400
<reponame>Cyral/BooleanByte using System; using BoolByte; namespace BoolByte.Example { /// <summary> /// BooleanByte Example /// </summary> /// <see cref="https://github.com/Cyral/BooleanByte/"/> public class Example { public static bool Foo { get { return data[0]; ...
Modder/Skills/Entities/SkillDescriptor.cs
miguelcjalmeida/DOTEModder
1
7064401
using System.Collections.Generic; using Modder.HeroItems.Entities.SimulationDescriptor; namespace Modder.Skills.Entities { public class SkillDescriptor { public bool AppliesToTarget { get; set; } public IList<ModifierDescriptor> Modifiers { get; set; } public string GetType(SkillLevel...
DatumCollection.Data/SqlServer/SqlServerStorage.cs
TangsCode/DatumCollection
4
7064402
using Dapper; using DatumCollection.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Text; using System.Linq; using System.Threading.Tasks; using DatumCollection.Infrastructure.Data; using System.Reflection; ...
sess-api/Security/ApiKeyManager.cs
ffquintella/sess
0
7064403
<filename>sess-api/Security/ApiKeyManager.cs using System.IO; using NLog; using Newtonsoft.Json; using System.Collections.Generic; using domain.Security; using sess_api.Tools; namespace sess_api.Security { public static class ApiKeyManager { private static Logger logger = LogManager.GetCurrentClassLog...
core/leetcode/832.cs
tarunbatta/ipg
1
7064404
// Url: https://leetcode.com/problems/flipping-an-image/ /* 832. Flipping an Image Easy Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means that each row of the image is reversed. For example, flipping [1, 1, 0] horizon...
Riot/Riot/Riot/Riot/Optimizer/ScriptOptimizer.cs
stackprobe/Lunarwalk
0
7064405
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Tools; using Charlotte.Optimizer.Utils; namespace Charlotte.Optimizer { public static class ScriptOptimizer { public delegate string[] Routine_d(string[] lines); public static Routine_d Routine = null; publ...
Master/ASTRA.EMSG.Business/Models/Strassennamen/ZustandsabschnittImportModel.cs
astra-emsg/ASTRA.EMSG
4
7064406
<reponame>astra-emsg/ASTRA.EMSG using System; using ASTRA.EMSG.Business.Entities.Strassennamen; using ASTRA.EMSG.Common; using ASTRA.EMSG.Common.Enums; namespace ASTRA.EMSG.Business.Models.Strassennamen { public class ZustandsabschnittImportModel : Model, IExternalIdHolder { public Guid Strassenabschn...
main/MavenThought.Commons/Pair.cs
amirci/mt_commons
2
7064407
namespace MavenThought.Commons { /// <summary> /// Implementation of IPair /// </summary> /// <typeparam name="TFirst">First element type</typeparam> /// <typeparam name="TSecond">Second element type</typeparam> public class Pair<TFirst, TSecond> : IPair<TFirst, TSecond> { /// <summa...
VsIntegration/Spect.Net.VsPackage/ToolWindows/StackTool/StackToolWindow.cs
Toysoft/spectnetide
219
7064409
<reponame>Toysoft/spectnetide<filename>VsIntegration/Spect.Net.VsPackage/ToolWindows/StackTool/StackToolWindow.cs<gh_stars>100-1000 using System.Runtime.InteropServices; using Microsoft.VisualStudio.Shell; using Spect.Net.VsPackage.Vsx; namespace Spect.Net.VsPackage.ToolWindows.StackTool { [Guid("C5B4C2DE-5F72-40...
Tests/SimpleTest/SimpleTest/DebugProcess.cs
ShadowKnightMK4/DebugDotNet
0
7064410
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security; using System.Runtime.ConstrainedExecution; using System.ComponentModel; using DebugEventDotNet.Root; using DebugDotNet.Win32.Tools; namespace DebugEventDotNet.Root ...
src/Infrastructure/DbPatch/IPatcher.cs
ildoc/Extensions
0
7064411
<reponame>ildoc/Extensions<filename>src/Infrastructure/DbPatch/IPatcher.cs namespace Infrastructure.DbPatch { public interface IPatcher { void QueuePatch(Func<Task> patch); Task ApplyPatches(); Version Version { get; } } }
RestaurantsPlatform/Web/RestaurantsPlatform.Web.ViewModels/Restaurants/AuthorIdFromRestaurantBindingModel.cs
Botche/RestaurantsProject
2
7064412
namespace RestaurantsPlatform.Web.ViewModels.Restaurants { using RestaurantsPlatform.Data.Models.Restaurants; using RestaurantsPlatform.Services.Mapping; public class AuthorIdFromRestaurantBindingModel : IMapFrom<Restaurant> { public string UserId { get; set; } } }
sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/MonitoringSettingProperties.cs
v-kaifazhang/azure-sdk-for-net
0
7064413
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.AppPlatform.Models { /// <summary> Monitoring Setting properties payload. </summary> public partial class MonitoringSettingProperties { ...
Assets/Scripts/UI/Windows/CheatsWindow.cs
Sumrix/DAZVillage
0
7064414
<reponame>Sumrix/DAZVillage using UnityEngine; namespace GameUI { public class CheatsWindow : MonoBehaviour { [RequiredField] public ActiveObjects.ZombieSpawner ZombieSpawner; public void SetImmortal(bool value) { Managers.Player.IsImmortal = value; ...
BarManagerApplication.Backend/src/BackendGestionaleBar.BusinessLayer/Services/CategoryService.cs
N1K0232/BarManagerApplication
1
7064415
<filename>BarManagerApplication.Backend/src/BackendGestionaleBar.BusinessLayer/Services/CategoryService.cs<gh_stars>1-10 using AutoMapper; using BackendGestionaleBar.DataAccessLayer; using BackendGestionaleBar.Shared.Models; using BackendGestionaleBar.Shared.Models.Requests; using ApplicationCategory = BackendGestiona...
src/Jasper.Persistence.Marten/EnvelopeTables.cs
SVemulapalli/jasper
0
7064416
using Jasper.Persistence.Marten.Persistence.DbObjects; using Marten; using Marten.Schema; namespace Jasper.Persistence.Marten { public class EnvelopeTables { public EnvelopeTables(JasperOptions settings, StoreOptions storeConfiguration) { Incoming = new DbObjectName(storeConfigurat...
Andrei15193.Interactive.Tests/Validation/LinearConstraintTests.cs
Andrei15193/Andrei15193.Interactive
0
7064417
using System; using System.Linq; using System.Threading.Tasks; using Andrei15193.Interactive.Validation; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Andrei15193.Interactive.Tests.Validation { [TestClass] public class LinearConstraintTests { [TestMethod] public async Task ...
RASP/Central/DataCommunicator/Models/ModulesType.cs
SamuelFinatto/TCC_2021_2
0
7064418
<filename>RASP/Central/DataCommunicator/Models/ModulesType.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataCommunicator.Models { public enum ModulesType { unknown, assistive, rural, relay }...
Demo.UI/Manager/ReportManager.cs
chungpj/demo.flexcelReport
1
7064419
using Demo.UI.Manger; using FlexCel.Core; using FlexCelReport; using System.IO; namespace Demo.UI.Manager { public static class ReportManager { public static byte[] ExportPdfReport<T>(ExcelReport<T> report, T filter, string extension = "pdf") { var reportDocument = report.Build(fil...
Tests/ParseTest.cs
adamstyl/sharp-convert
2
7064420
<filename>Tests/ParseTest.cs<gh_stars>1-10 using System; using System.Globalization; using MmiSoft.Core.Math.Units; using NUnit.Framework; namespace UnitTests.MmiSoft.Core.Math.Units { [TestFixture] public class ParseTest { [Test] public void ParseFeet_HappyPathScenario_UsingInvariantCulture() { UnitBase p...
framework/src/Bing/Helpers/Ioc.cs
stoplyy/Bing.NetCore
2
7064421
using System; using System.Collections.Generic; using System.Linq; using Bing.DependencyInjection; namespace Bing.Helpers { /// <summary> /// 容器操作 /// </summary> public static class Ioc { /// <summary> /// 创建集合 /// </summary> /// <typeparam name="T">对象类型</typeparam>...
Bachup/Model/BachupItems/BI_Geodatabase.cs
ChrisStayte/Bachup_WPF
0
7064422
using Bachup.Model; using Bachup.ViewModel; using Ionic.Zip; using Microsoft.WindowsAPICodePack.Dialogs; using System; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Bachup.Model.BachupItems { class BI_Geodatabase : BachupItem { public BI_Geodatabase(string name, string s...
DendriteLib/OnnxModelProvider.cs
fel88/Dendrite
8
7064423
<reponame>fel88/Dendrite using Google.Protobuf; using Onnx; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; namespace Dendrite { public class OnnxModelProvider : ModelProvider { public override string SaveDialogFilter => "Onnx f...
application/FSS.Omnius.Modules/Migrations/MSSQL/201602251931211_Mozaic - modal settings.Designer.cs
simplifate/omnius
2
7064425
// <auto-generated /> namespace FSS.Omnius.Modules.Migrations.MSSQL { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed pa...
ModernSlavery.Infrastructure.Hosts/Extensions.WebHost.cs
mccabesp/ModernSlavery-Beta
0
7064426
using Autofac; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using ModernSlavery.Core.Interfaces; using ModernSlavery.Infrastructure.Configuration; using System.Collections.Generic; using System.IO; using Microsoft.AspNetCore.Builder; using Micr...
src/Maestro/Microsoft.DotNet.Maestro.Tasks/src/ItemsToSignComparer.cs
sunandabalu/arcade-services
36
7064427
// 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.Collections.Generic; namespace Microsoft.DotNet.Maestro.Tasks { /// <summary> //...
MDXHelper/MDXHelperData/Data/MdxUnclassifiedCalc.cs
TKostyrkaWSEI/MDXHelper
0
7064428
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MDXHelperData.Data { public class MdxUnclassifiedCalc { ...
PlayLibrary/ToyModel.cs
Shaw6157/PlayLibrary
0
7064429
<reponame>Shaw6157/PlayLibrary using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace PlayLibrary { public class ToyModel { public string Toyid { get; set; } public string Toyname { get; set; } public string ImgSource { get; set; } public...