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/DomainBus/Processing/SagaConfigurationException.cs
DomainBus/DomainBus
3
7061801
<reponame>DomainBus/DomainBus using System; namespace DomainBus.Processing { public class SagaConfigurationException : Exception { public SagaConfigurationException(string message) : base(message) { } } }
src/BatMon.Framework/MonitorResults.cs
fatalwall/BatMon
0
7061802
/* *Copyright (C) 2018 <NAME> - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license, * * You should have received a copy of the MIT license with * this file. If not, visit : https://github.com/fatalwall/BatMon */ using System.Collections.Generic; using Syst...
Library/TitanCore/Data/Components/Textures/EntityTextureData.cs
steele123/Trials-Of-Titan
0
7061803
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Utils.NET.IO.Xml; namespace TitanCore.Data.Components.Textures { public class EntityTextureData : TextureData { public override TextureType Type => TextureType.Entity; /// <summary> /// The nam...
AtominaCraft/ZResources/Maths/Vector2.cs
AngryCarrot789/AtominaCraftV2
3
7061804
using AtominaCraft.ZResources.Strings; using System; namespace AtominaCraft.ZResources.Maths { public class Vector2 { public float X { get; set; } public float Y { get; set; } public static Vector2 Zero => new Vector2(0.0f); public static Vector2 Ones => new Vector2(1.0f); ...
Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentTabViewController.cs
netonjm/Xamarin.PropertyEditing
0
7061805
<reponame>netonjm/Xamarin.PropertyEditing using System; using System.Collections.Generic; using System.ComponentModel; using AppKit; using Xamarin.PropertyEditing.ViewModels; namespace Xamarin.PropertyEditing.Mac { internal class ColorComponentTabViewController : UnderlinedTabViewController<SolidBrushViewModel> { ...
Backend/Application/CQRS/Identities/Commands/LoginUser/LoginUserCommand.cs
prateekkumar1393/Jigyasa
0
7061806
using MediatR; namespace Application.CQRS.Identities.Commands.LoginUser { public class LoginUserCommand : IRequest<AuthenticationVM> { public string Email { get; set; } public string Password { get; set; } } }
Tests/VisualElementsManifestEditorTest.cs
Aldaviva/VisualElementsManifest.xml
0
7061807
using System.Drawing; using System.IO; using VisualElementsManifest; using VisualElementsManifest.Data; using Xunit; using Xunit.Abstractions; using ColorTranslator = VisualElementsManifest.Marshal.ColorTranslator; namespace Tests { public class VisualElementsManifestEditorTest { private rea...
BookGen.AssemblyDocumenter/Units/MemberKind.cs
webmaster442/BookGen
11
7061808
//----------------------------------------------------------------------------- // (c) 2021 <NAME> // Based on the work of <NAME> and the Vsxmd project // https://github.com/lijunle/Vsxmd // This code is licensed under MIT license (see LICENSE for details) //------------------------------------------------------------...
BeetleX.Samples.WebFamily.ElasticSearch/BeetleX.Samples.WebFamily.ElasticSearch/db.cs
IKende/BeetleX-Samples
46
7061809
<gh_stars>10-100 using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeetleX.Samples.WebFamily.ElasticSearch {...
Core/Resgrid.Model/PlanFrequency.cs
dotnetshop/Resgrid-Core
74
7061810
namespace Resgrid.Model { public enum PlanFrequency { Never = 1, Monthly = 2, Yearly = 3, BiYearly = 4, ThreeYear = 5, FourYear = 6, FiveYear = 7 } }
src/Backstage/Test/YC.Neo4jXUnitTest/TestModel/UserInfo.cs
linbin524/YC.Boilerplate
327
7061811
<reponame>linbin524/YC.Boilerplate using System; using System.Collections.Generic; using System.Text; namespace YC.Neo4jXUnitTest.TestModel { public class UserInfo { public string Key { get; set; } public string Name { get; set; } public string Sex { get; set; } public string...
src/Mindosa.Nomad/Mindosa.Nomad.Core/Entities/MigrationStatus.cs
jpbertles/Mindosa.Nomad
0
7061812
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mindosa.Nomad.Core.Entities { public enum MigrationStatus { Baseline, Deployed, Pending } }
src/ResourceManagement/DataLake.StoreFileSystem/DataLakeStoreFileSystemManagement/Generated/Models/FileCreateParameters.cs
hchungmsft/azure-sdk-for-net
1
7061813
<filename>src/ResourceManagement/DataLake.StoreFileSystem/DataLakeStoreFileSystemManagement/Generated/Models/FileCreateParameters.cs // // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compli...
src/DonateTo.WebApi/V1/Controllers/StateController.cs
cognizant-softvision/donate-to
4
7061814
<filename>src/DonateTo.WebApi/V1/Controllers/StateController.cs using Microsoft.AspNetCore.Mvc; using DonateTo.ApplicationCore.Entities; using DonateTo.ApplicationCore.Interfaces.Services; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; using System.Collections.Generic; using DonateTo.ApplicationC...
HoytSys.Messaging/IncomingMessageProcessor.cs
mrh0057/HoytSys.Common
1
7061815
<filename>HoytSys.Messaging/IncomingMessageProcessor.cs using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using A19.Concurrent; using A19.Messaging.Common; using NLog; namespace A19.Messaging { /// <summary> /// Used to process message we have received ev...
Assets/FixCollisionPosition.cs
paulosalvatore/Platform_2D_Prototype
0
7061816
<filename>Assets/FixCollisionPosition.cs using System.Collections.Generic; using System.Linq; using UnityEngine; public class FixCollisionPosition : MonoBehaviour { private List<ContactPoint2D> _contactPoints = new List<ContactPoint2D>(); private List<Collider2D> _colliders = new List<Collider2D>(); [Se...
CP77.CR2W/Types/cp77/worldFoliageBakedDestructionMapping.cs
MasterScott/CP77Tools
1
7061817
<gh_stars>1-10 using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class worldFoliageBakedDestructionMapping : worldFoliageDestructionMapping { [Ordinal(0)] [RED("audioMetadata")] public CName AudioMetadata { ge...
ExpressionLibrary/Expression.cs
middas/ExpressionCalculator
1
7061818
using System; namespace ExpressionLibrary { public class Expression { /// <summary> /// Evaluates the given expression /// </summary> /// <param name="expression"></param> /// <returns></returns> /// <exception cref="ArithmeticException"></exception> pub...
AltFormatter/Utils/ReflectionUtils/ReflectionCallbacks/AbstractReflectionCallback.cs
pavelchai/AltFormatter
0
7061819
<reponame>pavelchai/AltFormatter<filename>AltFormatter/Utils/ReflectionUtils/ReflectionCallbacks/AbstractReflectionCallback.cs /* * AltFormatter. * Licensed under MIT License. * Copyright © 2017 <NAME>. */ using System; namespace AltFormatter.Utils { /// <summary> /// Represents a base class for the refle...
Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Builder/Viewport/BuilderCanvas.cs
kawaitenshi/fools-run
0
7061820
<reponame>kawaitenshi/fools-run using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; namespace Unity.UI.Builder { internal enum BuilderCanvasBackgroundMode { Color, Image, Camera }; internal class BuilderCanvas : Vi...
MariGold.HtmlParser/CSS/Selectors/NthLastChildSelector.cs
SSgumS/MariGold.HtmlParser
7
7061821
<filename>MariGold.HtmlParser/CSS/Selectors/NthLastChildSelector.cs namespace MariGold.HtmlParser { using System; using System.Collections.Generic; using System.Text.RegularExpressions; internal sealed class NthLastChildSelector : CSSelector, IAttachedSelector { private readonly Regex rege...
src/I8Beef.Neato/Nucleo/INucleoClient.cs
Sojaner/I8Beef.Neato
1
7061822
<reponame>Sojaner/I8Beef.Neato using System.Threading; using System.Threading.Tasks; using I8Beef.Neato.Nucleo.Protocol; using I8Beef.Neato.Nucleo.Protocol.Services.Common; using I8Beef.Neato.Nucleo.Protocol.Services.GeneralInfo; using I8Beef.Neato.Nucleo.Protocol.Services.HouseCleaning; using I8Beef.Neato.Nucleo.Prot...
Widgets/EditWidgetCurveAdvanced.cs
taoshang/curvature
214
7061823
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Curvature.Widgets { public partial class EditWidgetCurveAdvanced : User...
MongoDelta/MongoDelta/ChangeTracking/DirtyTracking/MemberDirtyTracker.cs
adibradfield/MongoDelta
7
7061824
using MongoDB.Bson; using MongoDB.Bson.Serialization; namespace MongoDelta.ChangeTracking.DirtyTracking { internal class MemberDirtyTracker : IMemberDirtyTracker { private readonly object _aggregate; private readonly BsonMemberMap _memberMap; public MemberDirtyTracker(object aggregate...
MicroServiceEcoSystem/Base MicroService/ILogger.cs
khtan/Hands-On-Microservices-with-CSharp
26
7061825
using System; namespace MicroServiceEcoSystem { /// <summary> Interface for logger. </summary> public interface ILogger { //////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> Logs an information. </summary> /// ...
Assets/Scripts/Utilities/Extensions.cs
Liam-Harrison/Battle-RPG-Demonstration
0
7061826
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; static class Extensions { public static Vector3 RemoveAxisAndNormalize(this Vector3 i, bool X = false, bool Y = false, bool Z = false) { if (X) i.x = 0; if (Y)...
LightsOutPuzzle.Xam/LightsOutPuzzle.Xam/ViewModels/GameViewModel.cs
bjorndaniel/LightsOutPuzzle
0
7061827
using LightsOutPuzzle.Common; using LightsOutPuzzle.Xam.Helpers; using MvvmHelpers; using MvvmHelpers.Commands; using System.Collections.Generic; using System.Windows.Input; namespace LightsOutPuzzle.Xam.ViewModels { public class GameViewModel : BaseViewModel { private Game _game; private IEnu...
src/Cartographer.Tests/Types/IAccount5Dto.cs
kkozmic/Cartographer
5
7061828
<gh_stars>1-10 namespace CartographerTests.Types { public interface IAccount5Dto { string Number { get; set; } int OwnerId { get; set; } } }
RUCPc/RUCPc/Network/ServerInfo.cs
yazZ3va/RUCP
1
7061829
<filename>RUCPc/RUCPc/Network/ServerInfo.cs /* BSD 3-Clause License * * Copyright (c) 2020, <NAME> (yazZ3va) * All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RUCPc.Network { public class ServerIn...
test/BooksLibrary/Tests/Integration/IntegrationTestBase.cs
hirohito-protagonist/dotnet-core-rest
0
7061830
<filename>test/BooksLibrary/Tests/Integration/IntegrationTestBase.cs using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using System; using System.Text; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using BooksLibrary.Mo...
RoadFlow2.1/RoadFlow.Cache.Factory/Cache.cs
DebugOfTheRoad/RoadFlow-1
6
7061831
<reponame>DebugOfTheRoad/RoadFlow-1 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RoadFlow.Cache.Factory { public class Cache { public static Interface.ICache CreateInstance() { return new RoadFlow.Cache.InProc.Cache(); } ...
src/Features/CSharp/Portable/ImplementInterface/CSharpImplementExplicitlyCodeRefactoringProvider.cs
belav/roslyn
0
7061832
// 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.Collections.Immutable; using System.Composition; using System.Diagnostics.CodeAnalysis; using System.L...
Assets/_TicTacToe/GameStates/TicTacToeScreen/Scripts/UI/TicTacToeUI.cs
wishfuldroplet/unity_tictactoe
0
7061833
using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; namespace FoxCubTicTacToe { /// <summary> /// Handles the UI for a TicTacToe game. /// </summary> public class TicTacToeUI : MonoBehaviour { [Header("Board")] [SerializeField] private RectTransform _boardTilesContainer; ...
Core/Runtime/Extensions/GameObjectExtensions.cs
marcisd/com.marcisd.core
0
7061834
<gh_stars>0 using UnityEngine; /*=============================================================== Project: Core Library Developer: <NAME> Company: Personal - <EMAIL> Date: 08/11/2018 16:35 ===============================================================*/ namespace MSD { public static class GameObjectExtensio...
2.C#-Object-Oriented-Programming/03.OOP-Inheritance-and-Abstraction/02.Animals/Animals/Models/Kitten.cs
evgeni-tsn/CSharp-Web-Development
1
7061835
<filename>2.C#-Object-Oriented-Programming/03.OOP-Inheritance-and-Abstraction/02.Animals/Animals/Models/Kitten.cs using System; using _02.Animals.Animals.Interfaces; namespace _02.Animals.Animals { public class Kitten : Animal { public Kitten(string name, int age) : base(name, age, Gender...
HWSimpleOperations/ThirdProblemTest/ThirdProblemTest.cs
LuGeorgiev/C-SoftUni
0
7061836
using System; namespace ThirdProblemTest { class ThirdProblemTest { static void Main() { //string term = Console.ReadLine(); //Mobile Operator //string typeTerm = Console.ReadLine(); //string internet = Console.ReadLine(); ...
Algorithms.Benchmarker/MatrixOperations/TestDataGenerator.cs
dalealleshouse/algorithms_dotnet
0
7061837
using Algorithms.MatrixOperations; using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace Algorithms.Benchmarker.MatrixOperations { public static class TestDataGenerator { private static IEnumerable<long> ParseFile(string path) { WebClient wc ...
src/OpenRpg.Tactics/Abilities/UnitAbility.cs
openrpg/OpenRpg.Tactics
0
7061838
<reponame>openrpg/OpenRpg.Tactics using OpenRpg.Combat.Abilities; namespace OpenRpg.Tactics.Abilities { public class UnitAbility : Ability { public bool IsPassive { get; set; } public int Range { get; set; } = 1; public AbilityShape Shape { get; set; } = ShapePresets.Empty; publ...
src/Solid.IoC.Registration/TypeMatch.cs
godrose/Solid
16
7061839
<reponame>godrose/Solid<gh_stars>10-100 using System; namespace Solid.IoC.Registration { /// <summary> /// Represents match between two types; used during registration phase. /// </summary> public class TypeMatch { /// <summary> /// Initializes a new instance of the <see cref="Type...
TribalWars/Tools/TupleList.cs
SanguPackage/TWTactics
8
7061840
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TribalWars.Tools { /// <summary> /// Allow use of collection initializers for list of tuples /// </summary> public class TupleList<T1, T2> : List<Tuple<T1, T2>> { public void Add(T1 item, T2 ite...
src/input/posts/2018/06/2018-06-21-migrate-blog-to-ssg-demo-devops-7-seo-should-be-done-after-migration.cshtml
tso1158687/blog-1
0
7061842
Title: "[部落格改版學DevOps][07]搬遷之後要做的SEO處理" Published: 2018-06-21 Modified: 2018-06-21 Image: "/posts/2018/06/2018-06-21-migrate-blog-to-ssg-demo-devops-7-seo-should-be-done-after-migration/a5f6e041-3fb2-4f29-8cfd-0a3659cdd956.jpg" Tags: ["「部落格改版學DevOps」", "seo", "wyam"] Series: ["「部落格改版學DevOps」"] PostDescription: "搬...
Microting.EformMonitoringBase/Migrations/20190920142359_Init.cs
microting/eform-monitoring-base
0
7061843
/* The MIT License (MIT) Copyright (c) 2007 - 2021 Microting A/S 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, copy, modify...
LSVRP/Features/Chat/Commands.cs
KubasGC/lsvrp-rage-cs
3
7061844
/* * LSVRP C# Engine * Script dedicated for Role-play server in Grand Theft Auto V game based on the external Multiplayer called Rage Multiplayer. * @Author: Kubas (<NAME>) * @StartDate: Jun 2018 * * @urls: * @RAGE-MP https://rage.mp * @LSVRP: https://lsvrp.pl * * All Rights Reserved * Copyright prohibited...
src/Docker.Benchmarking.Orchestrator.Core/Entities/Application.cs
smartdockerbenchmarkingorchestrator/Smart-Docker-Benchmarking-Orchestrator
0
7061845
using Docker.Benchmarking.Orchestrator.Core.Enums; using Docker.Benchmarking.Orchestrator.Core.SharedKernel; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace Docker.Benchmarking.Orchestrator.Co...
Telerik/01-Programming-with-C#/03-HighQualityCode01-2016-August/03-Naming/Solution/Task01PrintBoolean/StartUp.cs
dobri19/OldRepos
0
7061846
<gh_stars>0 namespace Task01.PrintBoolean { public class StartUp { public static void Main() { Printer printer = new Printer(); printer.BoolPrint(true); } } }
src/NServiceBus.Core/Licensing/ExpiryChecker.cs
abombss/NServiceBus
0
7061847
<gh_stars>0 namespace NServiceBus.Licensing { using System; static class ExpiryChecker { public static bool IsExpired(DateTime expiry) { var oneDayGrace = expiry >= DateTime.MaxValue.Date ? expiry : expiry.AddDays(1); return oneDayGrace < DateTime.UtcNow.Dat...
MessageBox/ThingLing.Avalonia.Controls.MessageBox/MainWindow.axaml.cs
Bil97/ThingLing
1
7061848
<filename>MessageBox/ThingLing.Avalonia.Controls.MessageBox/MainWindow.axaml.cs using Avalonia; using Avalonia.Controls; using Avalonia.Input; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; namespace ThingLing.Controls { internal partial class MainWindow : Window { internal MessageBoxResult ...
src/Esfa.Vacancy.Application/Commands/CreateApprenticeship/Validators/ExpectedDurationValidator.cs
uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api
2
7061849
using Esfa.Vacancy.Domain.Validation; using FluentValidation; namespace Esfa.Vacancy.Application.Commands.CreateApprenticeship.Validators { public partial class CreateApprenticeshipRequestValidator { private const int MinimumNumberOfWeeks = 52; private const int MinimumNumberOfMonths = 12; ...
HS-Feed-Manager/Core/GlobalValues/LogicConstants.cs
sebleg/Feed-Manager-WPF-App
0
7061850
using System.IO; namespace HS_Feed_Manager.Core.GlobalValues { public static class LogicConstants { public static readonly string LogFilePath = Directory.GetCurrentDirectory() + "\\"; public static readonly string LogFileName = "log.txt"; public static readonly string StandardXmlPath ...
src/Server/Stardust.Flux.Server/Startup.cs
dust63/Stardust.CasparCG.BlazorClient
0
7061851
<gh_stars>0 using System; using Hangfire; using Hangfire.MemoryStorage; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microso...
dp2Catalog/Amazon/AmazonSearchParametersControl.Designer.cs
jasonliaocn/dp2
95
7061852
namespace dp2Catalog { partial class AmazonSearchParametersControl { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing...
revghost.Audio/Features/SoLoud/SoLoudLoaderSystem.cs
guerro323/GameHost
0
7061853
using DefaultEcs; namespace GameHost.Audio; public class SoLoudLoaderSystem : AppSystemWithFeature<SoLoudBackendFeature> { private ILogger logger; private Soloud soloud; public SoLoudLoaderSystem(WorldCollection collection) : base(collection) { DependencyResolver.Add(() => ref logger); }...
src/Host/Client/Impl/Definitions/IConsole.cs
skeptycal/RTVS
429
7061854
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Threading; using System.Threading.Tasks; using Microsoft.R.Common.Core.Output; namespace Microsoft.R.Host.Client { public interface IConsole : IOut...
Source/ModManager/ModButton/ModButtonManager.cs
CandyFiend/ModManager
0
7061855
<reponame>CandyFiend/ModManager // ModButtonManager.cs // Copyright <NAME>, 2018-2018 using System; using System.Collections.Generic; using Verse; using System.Linq; using Harmony; using UnityEngine; namespace ModManager { public static class ModButtonManager { private static List<ModButton> _allButt...
2d-shootemup-prototype/Assets/Scripts/CameraBoundaries.cs
fabhianArkantos/2d-shootemup-prototype-unity
0
7061856
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraBoundaries : MonoBehaviour { /** * Code created by <NAME>, a great GameDev Youtube Channel. * Link of the video: https://www.youtube.com/watch?v=ailbszpt_AI */ #region Co...
TrueCraft/RemoteClient.cs
mrj001/TrueCraft
10
7061857
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using fNbt; using Ionic.Zlib; using TrueCraft.Core; using TrueCraft.Core.Entities; using TrueCraft.Core.Logging; using TrueCraft.Core.Logic; using TrueCraf...
Assets/Extrusion/Scripts/Line Extrusion/TextureMapping/ConnectedSegmentsUVGeneration.cs
TylerDodds/LineExtrusion
0
7061858
<reponame>TylerDodds/LineExtrusion using BabyDinoHerd.Extrusion.Line.Geometry; using System.Collections.Generic; namespace BabyDinoHerd.Extrusion.Line.TextureMapping { /// <summary> /// Generates UVs based on closest segments connecting equal u-parameters of extruded contours. /// </summary> public cl...
p1_2/p1_2.Test/UnitTest1.cs
090820-dotnet-uta/JonSledge_p1
0
7061859
<gh_stars>0 using Xunit; using System; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Caching.Memory; using p1_2.Controllers; using p1_2.Data; using p1_2.Models; using p1...
Assets/CorgiEngine/Common/Scripts/Agents/AI/Advanced/AIActionMoveTowardsTarget.cs
CrayonScript/CrayonScriptPluginUnityProject
0
7061860
<reponame>CrayonScript/CrayonScriptPluginUnityProject<filename>Assets/CorgiEngine/Common/Scripts/Agents/AI/Advanced/AIActionMoveTowardsTarget.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using MoreMountains.Tools; namespace MoreMountains.CorgiEngine { /// <summary> /// Thi...
BenefitsEstimater/Models/person.cs
beckleymd/benefitCalculator
0
7061861
<reponame>beckleymd/benefitCalculator using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BenefitsEstimater.Models { public class person { public int Id { get; set; } public string Name { get; set; } public double Cost { get; set; } } }
src/QSP/FuelCalculation/Calculations/InitialPlanCreator.cs
JetStream96/QSimPlanner
60
7061862
using QSP.AviationTools.Heading; using QSP.FuelCalculation.FuelData; using QSP.FuelCalculation.Results.Nodes; using QSP.LibraryExtension; using QSP.MathTools; using QSP.MathTools.Vectors; using QSP.RouteFinding.Airports; using QSP.RouteFinding.Data.Interfaces; using QSP.RouteFinding.Routes; using QSP.WindAloft; using ...
src/Library.WebApp/Models/BorrowBook.cs
alireza-rezaee/Library
0
7061864
<filename>src/Library.WebApp/Models/BorrowBook.cs using Mohkazv.Library.WebApp.Areas.Identity.Data; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Mohkazv.Library.WebApp.Models { public class BorrowBook { ...
GameObjectUtil.cs
SFGrenade/HK.Core.GameObjectUtil
0
7061865
using System.Reflection; using JetBrains.Annotations; using Modding; using UnityEngine; using UScene = UnityEngine.SceneManagement.Scene; using UObject = UnityEngine.Object; namespace Core.GameObjectUtil; /// <summary> /// Utils specifically for interacting with GameObjects and Scenes. /// </summary> public stat...
Maya.TagHelpers/Maya.AspNetCore.TagHelpers.Metronic/Controls/Forms/InputTagHelper.cs
multinerd/Maya
0
7061866
<gh_stars>0 using System.Linq; using System.Threading.Tasks; using Maya.AspNetCore.TagHelpers.Core; using Maya.AspNetCore.TagHelpers.Core.Attributes.Controls; using Maya.AspNetCore.TagHelpers.Core.Enumerations; using Maya.AspNetCore.TagHelpers.Core.Extensions; using Maya.AspNetCore.TagHelpers.Metronic.Enumerations; usi...
3-Business/3-Modules/lm.Comol.Core.BaseModules/Tickets/Presentation/TicketListUsrPresenter.cs
EdutechSRL/Adevico
1
7061867
using System; using System.Collections.Generic; using System.Linq; using System.Text; using lm.Comol.Core.BaseModules.Tickets.Domain.Enums; using lm.Comol.Core.DomainModel; namespace lm.Comol.Core.BaseModules.Tickets.Presentation { public class TicketListUsrPresenter : lm.Comol.Core.DomainModel.Common.DomainPrese...
src/EasyAbp.Forum.Web/Pages/Forum/Post/CreateModal.cshtml.cs
hnicolus/Forum
5
7061868
using System; using System.Threading.Tasks; using EasyAbp.Forum.Posts; using EasyAbp.Forum.Posts.Dtos; using Microsoft.AspNetCore.Mvc; using Volo.Abp.Json; using CreatePostViewModel = EasyAbp.Forum.Web.Pages.Forum.Post.ViewModels.CreatePostViewModel; namespace EasyAbp.Forum.Web.Pages.Forum.Post { public class Crea...
Xwt/Xwt/ListStoreBase.cs
Therzok/xwt
0
7061869
<reponame>Therzok/xwt // // ListStoreBase.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2014 <NAME> // // 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...
src/QuickCompareModel/DatabaseDifferences/ExtendedPropertyDifference.cs
Scandal-UK/QuickCompare
0
7061870
<gh_stars>0 namespace QuickCompareModel.DatabaseDifferences { /// <summary> Model to represent an extended property and track the differences across two databases. </summary> public class ExtendedPropertyDifference : BaseDifference { /// <summary> /// Initialises a new instance of the <see ...
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs
gokeiyou/WeiXinMPSDK
1
7061871
using Senparc.CO2NET.Helpers; using Senparc.CO2NET.HttpUtility; using Senparc.Weixin.TenPayV3.Apis.BasePay; using Senparc.Weixin.TenPayV3.Apis.BasePay.Entities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Senparc.Weixin...
10.High-Quality-Code/Homeworks/12. Test-Driven Development/Poker.Test/Test_Card.cs
atanas-georgiev/TelerikAcademy
0
7061872
<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="Test_Card.cs" company=""> // // </copyright> // <summary> // The test_ card. // </summary> // --------------------------------------------------------------------...
src/SqlSync.Connection/ThreadedConnectionTester.cs
mmckechney/SqlBuildManager
9
7061873
<reponame>mmckechney/SqlBuildManager using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Extensions.Logging; namespace SqlSync.Connection { public class ThreadedConnectionTester { private static SyncObject SyncObj = new SyncObject(); private sta...
aliyun-net-sdk-live/Live/Transform/V20161101/DescribeToutiaoLivePublishResponseUnmarshaller.cs
pengweiqhca/aliyun-openapi-net-sdk
572
7061874
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Assets/Unvios22 UnityUtils/Runtime/Coroutines/Interpolations.cs
Unvios22/Unvios22_UnityUtils
0
7061875
<reponame>Unvios22/Unvios22_UnityUtils<gh_stars>0 using System; using JetBrains.Annotations; using UnityEngine; using Unvios22_UnityUtils.Runtime.Coroutines.InterpolationTypes; namespace Unvios22_UnityUtils.Runtime.Coroutines { public class Interpolations { /// <summary> /// Starts a coroutine on <paramref na...
Assets/Puzzle Generator/Resources/ScriptableObjects/PuzzleValues.cs
squidgeface/Unity-Puzzle-Plugin
0
7061876
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PuzzleValues : MonoBehaviour { public enum Puzzle_Type { Movement, Collection }; [HideInInspector] public Puzzle_Type PuzzleType; public ValuesObject ThisPuzzleValues; }
src/AddIns/BackendBindings/XamlBinding/XamlBinding/PowerToys/Dialogs/GridLengthEditor.xaml.cs
dongdapeng110/SharpDevelopTest
11
7061877
<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 please see \doc\license.txt) using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.W...
Common/SlotAllocator{T}.cs
arakis/ProcEngine
28
7061878
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; namespace Aximo.Render { public class SlotAllocator<T> { ...
TShock-general-devel/TerrariaServerAPI/Terraria/World.Generation/GenStructure.cs
BloodARG/tModLoaderTShock
1
7061879
<filename>TShock-general-devel/TerrariaServerAPI/Terraria/World.Generation/GenStructure.cs<gh_stars>1-10 using System; namespace Terraria.World.Generation { public abstract class GenStructure : GenBase { protected GenStructure() { } public abstract bool Place(Point origin, StructureMap structure...
DNN Platform/Connectors/GoogleAnalytics/Constants.cs
pierre-loup-tristant-sonarsource/Dnn.Platform
4
7061880
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DNN.Connectors.GoogleAnalytics { internal class Constants { public const string LocalResourceFile = "~/DesktopModules/Connectors/GoogleAnalytics/App_LocalResources/SharedResources.resx"; } }
src/Trezor.Net/Contracts/Management/RecoveryDevice.cs
ThatSlyGuy/Trezor.Net
0
7061881
namespace Trezor.Net.Contracts.Management { [ProtoBuf.ProtoContract()] public class RecoveryDevice : ProtoBuf.IExtensible { private ProtoBuf.IExtension __pbn__extensionData; ProtoBuf.IExtension ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => ProtoBuf.Extensible.G...
src/NServiceBus.Diagnostics/BusStartedContract.cs
simonfox/NServiceBus.MessageRouting
22
7061882
using System; using System.Runtime.Serialization; namespace NServiceBus.Diagnostics { [DataContract] public class BusStartedContract : EventArgs { [DataMember] public string Endpoint { get; set; } } }
Sources/EPiServer.Reference.Commerce.Site/Features/SubOrganization/Controllers/SubOrganizationPageController.cs
danghung1202/MyQuicksilverB2B
9
7061883
using System; using System.Collections.Generic; using System.Web.Mvc; using EPiServer.Core; using EPiServer.Reference.Commerce.Site.B2B; using EPiServer.Reference.Commerce.Site.B2B.Models.ViewModels; using EPiServer.Reference.Commerce.Site.B2B.ServiceContracts; using EPiServer.Reference.Commerce.Site.Features.Start.Pa...
Framework/essentialMix.Windows/Controls/EnumListBox.cs
asm2025/asm
0
7061884
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.Design; using essentialMix.Collections; using essentialMix.Extensions; using essentialMix.Helpers; namespace essentialMix.Windows.Controls { public class EnumListBox : ListBox { public const int ...
src/Larv/GameStates/StartSerpentState.cs
danbystrom/LarvSharpDx
1
7061886
using factor10.VisionThing; using factor10.VisionThing.CameraStuff; using factor10.VisionThing.Util; using Larv.Serpent; using Larv.Util; using SharpDX; using SharpDX.Toolkit; namespace Larv.GameStates { internal class StartSerpentState : IGameState { private readonly Serpents _serpents; priva...
NtApiDotNet/Win32/Device/DeviceTreeNode.cs
MCMrARM/sandbox-attacksurface-analysis-tools
1,024
7061887
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
src/Npgsql.Bulk.SampleRunner.DotNetStandard20/DAL/Address2EF.cs
creste/Npgsql.Bulk
86
7061888
<filename>src/Npgsql.Bulk.SampleRunner.DotNetStandard20/DAL/Address2EF.cs using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Npgsql.Bulk.DAL; using NpgsqlTypes; namespace Npgsql.Bulk.SampleRunner.DotNetStandard20.DAL { [Table("addresses2ef"...
src/NutritionManager.Web.Api/Nutrients/NutrientCommandController.cs
george-vasilchenko/dotnet-core-clean-architecture
0
7061889
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NutritionManager.Application.Nutrients.Commands; using NutritionManager.Application.Nutrients.Handlers; using NutritionManager.Web.Models.Nutrients; namespace NutritionManager.Web...
WDE.SmartScriptEditor/Editor/ViewModels/SmartScriptEditorViewModel.cs
jackpoz/WoWDatabaseEditor
0
7061890
<filename>WDE.SmartScriptEditor/Editor/ViewModels/SmartScriptEditorViewModel.cs<gh_stars>0 using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using Prism.Events; using WDE.Common.Databas...
src/Abp/MultiTenancy/MultiTenancyConsts.cs
tolemac/aspnetboilerplate-guid
0
7061891
using Abp.Extensions; using System; namespace Abp.MultiTenancy { public static class MultiTenancyConsts { /// <summary> /// Default tenant id: 1. /// </summary> public static readonly Guid DefaultTenantId = GuidExtensions.Guid1; } }
Exemplos/1_Criar_tipos/Generic_Restricao_Metod/Generic_Restricao_Metod/Program.cs
shyoutarou/01_Criar_usar_tipos
1
7061892
<filename>Exemplos/1_Criar_tipos/Generic_Restricao_Metod/Generic_Restricao_Metod/Program.cs using System; using System.Collections.Generic; namespace Generic_Restricao_Metod { class Program { static void Main(string[] args) { //Rstrição class string s1 = "target"; ...
src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/IPackage.cs
tameemzabalawi/PowerToys
76,518
7061893
<gh_stars>1000+ // Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.Plugin.Program.Programs { public interface IPackage { string Name { get; } ...
EpisodieWeb/Controllers/HomeController.cs
hypeapps/episodie-web
0
7061894
<filename>EpisodieWeb/Controllers/HomeController.cs using System; using Microsoft.AspNetCore.Mvc; using EpisodieWeb.Dataproviders; namespace EpisodieWeb.Controllers { public class HomeController : Controller { // Definicja obiektu warstwy dostępu do danych TvShowRepository dataSource ...
PdmProAddIn/DelegateCommand.cs
FuntechBlins/PdmProApiExamples
1
7061895
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Windows.Input; namespace PdmProAddIn { /// <summary> /// An <see cref="ICommand"/> whose delegates can be attached for <see cref="Execute"/> and <see cref="CanExecute"/>. ...
src/KidsToyHive.Api/Controllers/CardsController.cs
QuinntyneBrown/KidsToyHive
3
7061896
using KidsToyHive.Domain.Features.Cards; using MediatR; using Microsoft.AspNetCore.Mvc; using System.Net; using System.Threading.Tasks; namespace KidsToyHive.Api.Controllers { [ApiController] [Route("api/cards")] public class CardsController { private readonly IMediator _meditator; pub...
Assets/Scripts/Main/Utils/MinMaxRect.cs
MartinKral/Spherestroyer
11
7061897
<gh_stars>10-100 public struct MinMaxRect { public float MinX; public float MinY; public float MaxX; public float MaxY; public MinMaxRect(float minX, float minY, float maxX, float maxY) { MinX = minX; MinY = minY; MaxX = maxX; MaxY = maxY; } }
lang/csharp/src/apache/ipc/SocketServer.cs
AIngleLab/aae
0
7061898
<filename>lang/csharp/src/apache/ipc/SocketServer.cs /** */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Threading; namespace AIngle.ipc { public class SocketServer { public static ManualResetEvent allDo...
src/MahApps.Metro.IconPacks.Core/Converter/DataTypeValueConverter.cs
eiadxp/MahApps.Metro.IconPacks
1,478
7061899
using System; #if (NETFX_CORE || WINDOWS_UWP) using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #else using System.Globalization; using System.Windows; #endif namespace MahApps.Metro.IconPacks.Converter { #if (NETFX_CORE || WINDOWS_UWP) public class DataTypeValueConverter : MarkupConverter { private ...
MarcelJoachimKloubert/ServiceLocation/ServiceLocator.cs
mkloubert/Composition.NET
1
7061900
<filename>MarcelJoachimKloubert/ServiceLocation/ServiceLocator.cs<gh_stars>1-10 /********************************************************************************************************************** * Composition.NET (https://github.com/mkloubert/Composition.NET) ...
TrolleyTracker/App_Start/WebApiConfig.cs
codeforgreenville/trolley-tracker-api-dot-net
2
7061901
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; namespace TrolleyTracker { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services ...
src/Canary.Tests/DescriptiveRecordValidatorTests.cs
sbartholomeusz/canary
0
7061902
using Canary.Core.Model; using Canary.Core.Validators; using Canary.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Canary.Tests { public class DescriptiveRecordValidatorTests { [Fact] public void Validate_GoodRec1() ...
Assets/Scripts/Teleport.cs
jasonwnorris/GameBoyJam5
0
7061903
using UnityEngine; public class Teleport : MonoBehaviour { #region Constants private const string c_PlayerTag = "Player"; private const string c_RootGameObjectName = "root"; #endregion #region Public Variables public string SceneName; public string SpawnPointName; #endregion ...