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
WeatherLine/Config.cs
yellowsink/WeatherLine
1
7061472
<filename>WeatherLine/Config.cs<gh_stars>1-10 namespace WeatherLine { public class Config { /// <summary> /// Where on Earth ID /// </summary> public MetaWeather.Location Loc { get; set; } } }
Wiki/Services/Seeder.cs
chunfz/AiursoftOnContainers
1
7061473
<filename>Wiki/Services/Seeder.cs<gh_stars>1-10 using Aiursoft.Pylon.Models; using Aiursoft.Pylon.Services; using Aiursoft.Wiki.Data; using Aiursoft.Wiki.Models; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Collections.Generic; using S...
sholan/Compiler/Nodes/IfNode.cs
redxdev/shogun
0
7061474
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace sholan.Compiler.Nodes { public class IfNode : AbstractCompileNode { public ICompileNode Check { get; set; } public ...
Managed/main/Database/AttributeConverters.cs
undancer/oni-data
1
7061475
using System.Collections.Generic; using Klei.AI; using STRINGS; namespace Database { public class AttributeConverters : ResourceSet<AttributeConverter> { public AttributeConverter MovementSpeed; public AttributeConverter ConstructionSpeed; public AttributeConverter DiggingSpeed; public AttributeConverter ...
src/NosCore.Packets/ServerPackets/Mates/ScpPacket.cs
PelideAchille/NosCore.Packets
0
7061476
<filename>src/NosCore.Packets/ServerPackets/Mates/ScpPacket.cs // __ _ __ __ ___ __ ___ ___ // | \| |/__\ /' _/ / _//__\| _ \ __| // | | ' | \/ |`._`.| \_| \/ | v / _| // |_|\__|\__/ |___/ \__/\__/|_|_\___| // ----------------------------------- using NosCore.Packets.Attributes; namespace NosCore.Packets.S...
SampleNET/Client/CommandParserSystem.cs
Lambparade/Server-Client-Monogame
0
7061477
<reponame>Lambparade/Server-Client-Monogame<filename>SampleNET/Client/CommandParserSystem.cs using System; using System.Collections.Generic; using System.Text; namespace ParserSystem { class CommandParserSystem { public CommandParserSystem() { } public void ParseCommand(string Command...
FewBox.Service.Auth.Model/Configs/RoleAssignmentConfig.cs
FewBox/FewBox.Service.Auth
0
7061478
namespace FewBox.Service.Auth.Model.Configs { public class RoleAssignmentConfig { public string Principal { get; set; } public PrincipalTypeConfig PrincipalType { get; set; } public string Role { get; set; } } }
Teams.PA.Graph.UserProfile/Teams.PA.Graph.UserProfile/Models/AzureAdOptions.cs
ejazhussain/Teams-PersonalApp-SSO
1
7061479
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Teams.PA.Graph.UserProfile.Models { /// <summary> /// AzureAdOptions class contain value application configuration properties for Azure Active Directory. /// </summary> public clas...
Source/tusdotnet/IntentAnalyzer.cs
piql/tusdotnet
364
7061480
<reponame>piql/tusdotnet using System; using tusdotnet.Adapters; using tusdotnet.Constants; using tusdotnet.IntentHandlers; using tusdotnet.Interfaces; namespace tusdotnet { internal static class IntentAnalyzer { public static IntentHandler DetermineIntent(ContextAdapter context) { ...
External/json.net.cake
DarkCaster/DotNetBlocks
0
7061481
<reponame>DarkCaster/DotNetBlocks<filename>External/json.net.cake var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); private void Patch(string workDir, string patch, int p) { var settings=new ProcessSettings() { WorkingDirectory = new DirectoryPath(workDir), ...
Shortcut/Forms/HotkeyTextBox.cs
AlexArchive/Shortcut
27
7061482
<reponame>AlexArchive/Shortcut<gh_stars>10-100 using System.Windows.Forms; namespace Shortcut.Forms { public sealed class HotkeyTextBox : TextBox { private Hotkey hotkey; public Hotkey Hotkey { get { return hotkey; } set { hotkey = va...
ES5.Script/EcmaScript/Bindings/RelationalOperators.cs
luboid/ES5.Script
1
7061483
<reponame>luboid/ES5.Script using ES5.Script.EcmaScript.Objects; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace ES5.Script.EcmaScript.Bindings { public partial class Operators { public static object InstanceOf(object aLeft, obj...
src/AudioAnalysisTools/Indices/SpectralCentroid.cs
QutEcoacoustics/audio-analysis
40
7061484
<filename>src/AudioAnalysisTools/Indices/SpectralCentroid.cs // <copyright file="SpectralCentroid.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // </c...
src/Tranquire.Selenium/Questions/Visibility.cs
gitter-badger/tranquire
31
7061485
<filename>src/Tranquire.Selenium/Questions/Visibility.cs using System.Globalization; using OpenQA.Selenium; namespace Tranquire.Selenium.Questions { /// <summary> /// Allow to ask questions about the visibility of an element /// </summary> public class Visibility : SingleUIState<bool, Visibility> ...
test/FactoredSegmenterScriptHelpersTests.cs
microsoft/factored-segmenter
8
7061486
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace TextSegmentation.Segmenter.FactoredSegmenter_GitSubmodule.src.Test { using Common.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics.CodeAnalysis; /// <summary> /// Unit ...
native/mkl/src/api/types/tasks/VslSS/common/VslSSTaskF32.cs
0xCM/z0
0
7061487
<filename>native/mkl/src/api/types/tasks/VslSS/common/VslSSTaskF32.cs //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Mkl { using Syst...
MotoGameEngine/Scene/Scene.cs
rizwan3d/MotoGameEngine
5
7061488
<reponame>rizwan3d/MotoGameEngine using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MotoGameEngine { public class Scene : GameObject { public List<GameObject> _Objects; public event OnSceneLoad OnSceneLoad; pub...
src/TennisBookings.Web/External/Models/Wind.cs
taherkheli/IntTest
0
7061489
namespace TennisBookings.Web.External.Models { public class Wind { public float Speed { get; set; } public float Degrees { get; set; } } }
UnityProject/Assets/Scripts/Managers/LocomotionManager.cs
VRatPolito/LocomotionVR
0
7061490
<filename>UnityProject/Assets/Scripts/Managers/LocomotionManager.cs<gh_stars>0 /* * Custom template by <NAME>. */ using System.Collections; using System.Collections.Generic; using System.Runtime.Remoting.Messaging; using PrattiToolkit; using UnityEditor; using UnityEngine; using UnityEngine.Assertions; public enum...
src/Microsoft.OData.Core/JsonLight/ODataJsonLightContextUriParseResult.cs
Sreejithpin/odata.net
629
7061491
<filename>src/Microsoft.OData.Core/JsonLight/ODataJsonLightContextUriParseResult.cs //--------------------------------------------------------------------- // <copyright file="ODataJsonLightContextUriParseResult.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt...
Realtor.WebApi/Realtor.Core/Entities/Locations.cs
rdtriggs/RealtorSite
1
7061492
<reponame>rdtriggs/RealtorSite<filename>Realtor.WebApi/Realtor.Core/Entities/Locations.cs using System; using Realtor.Core.SharedKernel; namespace Realtor.Core.Entities { public class Locations : AuditableEntity { public string MlsNumber { get; set; } public string Street1 { get; set; } ...
src/Man.Dapr.Sidekick.AspNetCore/Metrics/DaprProcessHostPrometheusCollector.cs
fbridger/dapr-sidekick-dotnet
88
7061493
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Man.Dapr.Sidekick.Process; namespace Man.Dapr.Sidekick.AspNetCore.Metrics { public abstract class DaprProcessHostPrometheusCollector : IPrometheusCollector { private readonly IDaprProcessHost _daprProcessHost; ...
Sources/TimeTable/MyStik.TimeTable.Web/Views/Course/_SubscriptionProfile.cshtml
AccelerateX-org/NINE
4
7061494
<filename>Sources/TimeTable/MyStik.TimeTable.Web/Views/Course/_SubscriptionProfile.cshtml @using MyStik.TimeTable.Web.Helpers @model MyStik.TimeTable.Web.Models.UserCoursePlanViewModel @{ var hasLottery = Model.Summary.Lottery != null && Model.Summary.Lottery.LastDrawing >= DateTime.Now; var hasPrio1 = hasLot...
src/Shipbot.GithubIntegration/IGithubPullRequestService.cs
georgevella/shipbot
2
7061495
using System.Collections.Generic; using System.Threading.Tasks; using Octokit; using Shipbot.Applications.Models; using Shipbot.GithubIntegration.Models; namespace Shipbot.GithubIntegration { public interface IGithubPullRequestService { Task<IEnumerable<GithubPullRequest>> GetOpenPRs(ApplicationImage a...
TGC.MonoGame.TP/Cameras/DefeatedCamera.cs
StevenH18/tgc-monogame-tp
1
7061496
<filename>TGC.MonoGame.TP/Cameras/DefeatedCamera.cs using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Text; using TGC.MonoGame.TP.Ships; namespace TGC.MonoGame.TP.Cameras { public class DefeatedCamera : Camera { private ...
Projections/SearchFilter.cs
Lombiq/Associativy-Extensions
1
7061498
<reponame>Lombiq/Associativy-Extensions using System; using System.Linq; using System.Web.Mvc; using Associativy.Frontends.Models.Pages.Frontends; using Associativy.GraphDiscovery; using Associativy.Models.Services; using Associativy.Services; using Orchard.DisplayManagement; using Orchard.Environment.Extensio...
Ark.Tools.Sql/StoredProcedure/AbstractStoredProcedure.cs
Thieum/Ark.Tools
19
7061499
// Copyright (c) 2018 <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file for license information. using System.Data; using System.Data.Common; using System.Threading.Tasks; namespace Ark.Tools.Sql.StoredProcedure { public abstract class AbstractStoredProcedure<TResult, TPara...
src/DesafioItau.Presentation.API/Config/ExceptionHandler/ApiExceptionHandler.cs
jrsouza95/DesafioItau
0
7061500
<filename>src/DesafioItau.Presentation.API/Config/ExceptionHandler/ApiExceptionHandler.cs using DesafioItau.Presentation.API.ExceptionHandler.Responses; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace DesafioItau.Presentation.API.Config.ExceptionHandler; /// <summary> /// Configures...
src/NorthwindStore.BL/Queries/CategoryBasicListQuery.cs
ammogcoder/dotvvm-samples-northwind
8
7061501
using System.Linq; using AutoMapper.QueryableExtensions; using NorthwindStore.BL.DTO; using Riganti.Utils.Infrastructure.Core; namespace NorthwindStore.BL.Queries { public class CategoryBasicListQuery : AppQueryBase<CategoryBasicDTO> { public CategoryBasicListQuery(IUnitOfWorkProvider unitOfWorkProvid...
Kros.KORM/src/Kros.KORM/Exceptions/CompositePrimaryKeyException.cs
JardoHornak/Kros.Libs
0
7061502
<reponame>JardoHornak/Kros.Libs using System; namespace Kros.KORM.Exceptions { /// <summary> /// Exception class for composite primary key. /// </summary> public class CompositePrimaryKeyException : Exception { /// <summary> /// Initializes a new instance of the <see cref="...
ejemplo_Conexion/Data/Interfaces/IArticulosRepository.cs
ElectNewt/Programacion-avanzada
2
7061503
using DTOs; namespace Data.Interfaces { public interface IArticulosRepository { int InsertarArticulo(string contenido, string titulo, int autorId); Articulo GetArticulo(int id); } }
Blazor.Performance.Api/Program.cs
thinktecture-labs/webinar-blazor-wasm-performance
0
7061504
using Blazor.Performance.Api.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System.Threading.Tasks; namespace Blazor.Performance.Api { public class Program { public static async Task Main(string[] args) { ...
Databases Advanced - Entity Framework Core/OOP/Defining Classes/4. Speed Racing/Car.cs
RAstardzhiev/SoftUni-C-
91
7061505
<gh_stars>10-100 namespace _4.Speed_Racing { using System; public class Car { private const string InsufficientFuelExceptionMessage = "Insufficient fuel for the drive"; private const double InitialDistanceTravelled = 0; public Car(string model, double fuelAmount, double fuelConsu...
src/Cosmos.Extensions.DateTime/Cosmos/Date/Chinese/DateTimeLeapExtensions.cs
cosmos-stack/cosmos-standard
7
7061506
namespace Cosmos.Date.Chinese; /// <summary> /// Cosmos.Core <see cref="DateTime"/> leap extensions. <br /> /// 中国时间日期扩展 /// </summary> public static class DateTimeLeapExtensions { /// <summary> /// Determine whether the specified year is a leap year.<br /> /// 判断指定的年份是否为闰年。 /// </summary> /// <pa...
Source/NetOffice/Attributes/CoreOverriddenAttribute.cs
igoreksiz/NetOffice
544
7061507
using System; namespace NetOffice.Attributes { /// <summary> /// Indicates a method or property is overriden from NetOffice Core /// </summary> [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property)] public class CoreOverriddenAttribute : System.Attribute { } }
Scriber/Bibliography/Styling/Specification/NumberElement.cs
science-docs/Scriber
4
7061508
<reponame>science-docs/Scriber<filename>Scriber/Bibliography/Styling/Specification/NumberElement.cs using Scriber.Bibliography.Styling.Formatting; using System.Xml.Serialization; namespace Scriber.Bibliography.Styling.Specification { /// <summary> /// The cs:number rendering element outputs the number variabl...
Assets/Infrastructure/Validation/ValidationResultElement.cs
zippo227/SampleProject-FightingGame
7
7061510
using System; namespace Assets.Infrastructure.Validation { public class ValidationResultElement { public Type ValidatorType { get; } public ValidationResult Result { get; } public ResultMessage Message { get; } public ValidationResultElement(Type validatorType, ValidationResult result, ResultMessage message)...
src/Apprentice.Functions.NotifyMessageHandlerV2/Dto/From.cs
SkillsFundingAgency/das-provide-feedback-apprentice
1
7061511
namespace ESFA.DAS.ProvideFeedback.Apprentice.Functions.NotifyMessageHandlerV2.Dto { public class From { public string Id { get; set; } public string Name { get; set; } public string Role { get; set; } } }
Ui.Console.Test/CommandHandler/CreateSignatureCommandHandlerTest.cs
MikaelSvenn/Certifier
0
7061512
<reponame>MikaelSvenn/Certifier<gh_stars>0 using Core.Interfaces; using Core.Model; using Moq; using NUnit.Framework; using Ui.Console.Command; using Ui.Console.CommandHandler; namespace Ui.Console.Test.CommandHandler { [TestFixture] public class CreateSignatureCommandHandlerTest { private CreateSi...
test/Microsoft.Azure.WebJobs.ServiceBus.UnitTests/Config/ServiceBusJobHostConfigurationExtensionsTests.cs
zhencui/azure-webjobs-sdk
0
7061513
<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Linq; using Microsoft.Azure.WebJobs.Host; using Microsoft.Azure.WebJobs.Host.Config; using Microsoft.Azure.WebJobs.Host.TestComm...
Ivony.Logs/LogScope.cs
Ivony/LogUtility
29
7061514
using System; using System.Collections.Generic; using System.Linq; #if !NETSTANDARD1_6 using System.Runtime.Remoting.Messaging; #endif using System.Text; using System.Threading; using System.Threading.Tasks; namespace Ivony.Logs { /// <summary> /// 定义日志范畴对象 /// </summary> public class LogScope : IDisposable ...
Sources/EFBot.Shared/Scaffolding/Converters/OpenCvImageToBitmapSourceConverter.cs
iXab3r/EndlessFrontierBot
0
7061515
using System; using System.Globalization; using System.Windows.Data; using Emgu.CV; namespace EFBot.Shared.Scaffolding.Converters { public sealed class OpenCvImageToBitmapSourceConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) ...
src/StrawberryShake/CodeGeneration/src/Generators/Types/TypeDirectiveType.cs
cjstevenson/hotchocolate
26
7061516
using HotChocolate.Types; namespace StrawberryShake.Generators.Types { public class TypeDirectiveType : DirectiveType<TypeDirective> { protected override void Configure( IDirectiveTypeDescriptor<TypeDirective> descriptor) { descriptor.Name("type"); de...
Src/IronJS.Runtime/Objects/FunctionObject.cs
krosk93/IronJS
206
7061517
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.FSharp.Collections; #if !CLR2 using System.Dynamic; #endif namespace IronJS.Runtime { using DynamicScope = FSharpList<Tuple<int, CommonObject>>; public class FunctionObject : CommonObject { publi...
source/CanDatabase/CanDatabase.WebApi/Middleware/SecurityHeaders/SecurityHeadersMiddleware.cs
ipazanin/can-database
0
7061518
<reponame>ipazanin/can-database using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace CanDatabase.WebApi.Middleware.SecurityHeaders { /// <summary> /// Security Headers Middleware /// </summary> public class SecurityHeadersMiddleware { private readonly RequestDelegate _n...
src/HGV.Nullifier.Data/Models/Match.cs
marwahaha/Nullifier
0
7061519
<reponame>marwahaha/Nullifier<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace HGV.Nullifier.Data.Models { public class Match { [Key] public int id { get; set; } [Index...
Music/UserCont1.cs
yaren-kasimoglu/Music
1
7061520
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; using MySql; using MySql.Data.MySqlClient; namespace Music { public partial class UserCont1 : Form ...
src/StarterApp.Core/Areas/Issues/Commands/CreateIssueHeaderCommand.cs
mSamirTT/Simple_Inventory_Public
0
7061521
using MediatR; using StarterApp.Core.Areas.Issues.Entities; using StarterApp.Core.Areas.Issues.ViewModels; using StarterApp.Core.Common.Mappings; using StarterApp.Core.Common.Models; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace StarterApp.Core.Areas.Is...
src/HealthCheck.Windows/Checkers/CpuUsageIsOk.cs
umaeshsundaralingam/HealthCheck
19
7061522
using System; using System.Threading.Tasks; using HealthCheck.Core; using HealthCheck.Windows.Metrics; namespace HealthCheck.Windows.Checkers { public class CpuUsageIsOk : CheckerBase { private readonly ICpuUsage _cpuUsage; private readonly Options _options; public override string Na...
aoe3wpfg/controls/Age3GlowButton.cs
tytannial/AOE3wpfg
1
7061523
using System.Windows; using System.Windows.Controls; namespace aoe3wpfg { public class Age3GlowButton : Age3Button { public bool Glow { get { return (bool)GetValue(GlowProperty); } set { SetValue(GlowProperty, value); } } public static readonly Dependen...
DiscUtils.Streams/Builder/StreamBuilder.cs
Ciastex/DiscUtils-vddcore
0
7061524
<reponame>Ciastex/DiscUtils-vddcore using System.Collections.Generic; using System.IO; namespace DiscUtils.Streams.Builder { /// <summary> /// Base class for objects that can dynamically construct a stream. /// </summary> public abstract class StreamBuilder { /// <summary> /// Build...
src/Captura/ValueConverters/NotNullConverter.cs
Lakritzator/Captura
1
7061525
using System; using System.Collections; using System.Globalization; using System.Windows; namespace Captura.ValueConverters { public class NotNullConverter : OneWayConverter { public override object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var ...
src/Reddit.NET/Things/Widget/WidgetHoverState.cs
emidah/Reddit.NET
493
7061526
<gh_stars>100-1000 using Newtonsoft.Json; using System; namespace Reddit.Things { [Serializable] public class WidgetHoverState : BaseContainer { [JsonProperty("color")] public string Color { get; set; } [JsonProperty("fillColor")] public string FillColor { get; set; } ...
PizzaOrderRefactoringKata.Tests/PizzaCreateOrderTests.cs
AtefMlaouhi/PizzaOrder-Refact-Kata
1
7061527
using System; using NUnit.Framework; using FluentAssertions; namespace PizzaOrderRefactoringKata.Tests { [TestFixture] public class PizzaCreateOrderTests { private PizzaOrder _Ipizza; private readonly int _Logger = 1; readonly static string CheesePizzaResult = "Pizza Order : Chees...
src/Libraries/FaraMedia.Services/Querying/Fundamentals/TrackQuery.fixed.cs
m-sadegh-sh/FaraMedia
0
7061528
<filename>src/Libraries/FaraMedia.Services/Querying/Fundamentals/TrackQuery.fixed.cs namespace FaraMedia.Services.Querying.Fundamentals { using System; using System.Collections.Generic; using System.Linq; using FaraMedia.Core; using FaraMedia.Core.Domain.FileManagement; using FaraMedia.Core.Domain.Fundamentals; ...
DataPoliceUk.AzureMapsWebsite/Api/CrimesStreetController.cs
redmorello/DataPoliceUk.NET
0
7061529
<gh_stars>0 using System; using System.Collections.Generic; using System.Threading.Tasks; using DataPoliceUk.AzureMapsWebsite.Configuration; using DataPoliceUk.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; namespace DataPoliceUk.AzureMapsWebsite...
Jal.Router/Impl/Inbound/HandlerMethodExecutor.cs
bobhonores/Jal.Router
0
7061530
<filename>Jal.Router/Impl/Inbound/HandlerMethodExecutor.cs<gh_stars>0 using Jal.Router.Interface.Inbound; using Jal.Router.Model; namespace Jal.Router.Impl.Inbound { public class HandlerMethodExecutor : IHandlerMethodExecutor { public void Execute<TContent, THandler>(MessageContext context, TContent co...
src/Hostly/Internals/StartupLoader.cs
sebastianszaniszlo/hostly
16
7061531
<reponame>sebastianszaniszlo/hostly<filename>src/Hostly/Internals/StartupLoader.cs using System; using System.Globalization; using System.Linq; using System.Reflection; using Microsoft.AspNetCore.Hosting.Internal; using Microsoft.Extensions.DependencyInjection; namespace Hostly.Internals { internal sealed class S...
Framework/ApplicationRecognizers/AppIdent/Accord/AccordAppIdent.cs
mvondracek/NetfoxDetective
35
7061532
// Copyright (c) 2017 <NAME> // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writin...
EcoFighter/Assets/Scripts/PlayerController.cs
ofpiyush/Robodog
3
7061533
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float speedMultiplier = 5f; public float chargeBurnRate = 5f; public float topSpeed = 15f; float forwardThrust = 0f; float sideThrust = 0f; public float curre...
Geckofx-Core/Generated/nsISystemUpdateProvider.cs
CharlesZHENG/Geckofx
12
7061534
// -------------------------------------------------------------------------------------------- // Version: MPL 1.1/GPL 2.0/LGPL 2.1 // // The contents of this file are subject to the Mozilla Public License Version // 1.1 (the "License"); you may not use this file except in compliance with // the License. You may...
SyncPro.Core/Global.cs
HighEncryption/SyncPro
37
7061535
<gh_stars>10-100 namespace SyncPro { using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Newtonsoft.Json; using SyncPro.Configuration; using SyncPro.Runtime; using SyncPro.Tracing; public static class Global { public static ...
WPFPlayground/EPTIS/Chapter6/Calculator.cs
GadHao/WPFPlayground
1
7061536
namespace EPTIS.Chapter6 { public class Calculator { public string Add(string arg1, string arg2) { double x = 0; double y = 0; double z = 0; if (double.TryParse(arg1, out x) && double.TryParse(arg2, out y)) { return (x ...
NEGOCIO/AcessoNegocio.cs
gparacatu/learning-dotnet-2019-desktop
0
7061537
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; using TRANSFERENCIA; using System.Data; using System.Windows.Forms; namespace NEGOCIO { public class AcessoNegocio { Conexao conexao = new Conexao(); public String Re...
ConsoleApp1/7.2.7/Program.cs
Nestjik/AlgebraCSharp2019
0
7061539
<reponame>Nestjik/AlgebraCSharp2019<filename>ConsoleApp1/7.2.7/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7._2._7 { class Program { static bool DalSiProst(int num) { if (num < 2) ...
MainPlatformerV1/Assets/Scripts/StateMachine/Player/States/AttackState.cs
vazeraja/MainGame
0
7061540
using System; using System.Collections; using System.Collections.Generic; using MainGame.Utils; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Utilities; namespace MainGame { [CreateAssetMenu(menuName = "PluggableAI/State/AttackState")] public class AttackState : State<Player...
sdk/dotnet/Dialogflow/V3/Outputs/GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse.cs
AaronFriel/pulumi-google-native
44
7061541
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Goog...
src/aspect/test/Scorpio.AspectCore.Tests/Scorpio/AspectCoreIntegrated_Tests.cs
project-scorpio/Scorpio
11
7061542
 using Microsoft.Extensions.DependencyInjection; using Scorpio.DependencyInjection.TestClasses; using Scorpio.DynamicProxy; using Scorpio.DynamicProxy.TestClasses; using Shouldly; using Xunit; namespace Scorpio { public class AspectCoreIntegrated_Tests:AspectTestBase { [Fact] public void Pr...
src/RepairTracking.Web/Controllers/ElementController.cs
JonathanLoscalzo/RepairTracking
0
7061543
using System.Collections.Generic; using AutoMapper; using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using RepairTracking.Core.Interfaces.Repositories; using RepairTracking.Web.ViewModels.Element; using RepairTracking.Core.Entities; namespace RepairTracking.Web.Controllers {...
src/Foundation/Metadata/Navigation.cs
lecaillon/foundation
1
7061544
using System; using System.Reflection; using Foundation.Utilities; namespace Foundation.Metadata { /// <summary> /// Represents a navigation property which can be used to navigate a relationship. /// </summary> public class Navigation : PropertyBase { public Navigation(PropertyInfo nav...
app/Server/Data/Server.cs
TheTechRobo/Discord-History-Tracker
298
7061545
<filename>app/Server/Data/Server.cs namespace DHT.Server.Data { public readonly struct Server { public ulong Id { get; init; } public string Name { get; init; } public ServerType? Type { get; init; } } }
ApiGateway.Core/Commons/EntityBase.cs
harry0422/ApiGateway
1
7061546
<reponame>harry0422/ApiGateway using System.Collections.Generic; namespace ApiGateway.Commons { public abstract class EntityBase<TId> { private readonly List<BusinessRule> _brokenRules = new List<BusinessRule>(); public virtual TId Id { get; set; } protected abstract void Validate();...
SanteDB.DisconnectedClient.Core/PeerToPeer/PeerTransferPayload.cs
santedb/santedb-dc-core
0
7061547
/* * Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE.md) * * 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/licen...
Rendering2D/Graphs/RemoveOldestPoints.cs
HLSW/DeltaEngine
81
7061548
<filename>Rendering2D/Graphs/RemoveOldestPoints.cs using DeltaEngine.Datatypes; namespace DeltaEngine.Rendering2D.Graphs { /// <summary> /// Restricts a graph to a limited number of points. Once more than that number are added /// points are removed from the start of the graph and all points are shifted back...
TicTacToe/Game.cs
lucaghersi/tictactoe
0
7061549
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace TicTacToe { /// <summary> /// This class hosts the main game logic. /// </summary> public class Game { /// <summary> /// This list contains all the possibile win...
src/Lykke.Cqrs/Abstractions/ICommandSender.cs
LykkeBusinessPlatform/Lykke.Cqrs
3
7061550
<filename>src/Lykke.Cqrs/Abstractions/ICommandSender.cs using System; using JetBrains.Annotations; namespace Lykke.Cqrs { /// <summary> /// Interface for sending commands. /// </summary> [PublicAPI] public interface ICommandSender : IDisposable { /// <summary> /// Sends command...
EasyExcelDotNet/Modules/BaseModule.cs
brunodev/EasyExcel
0
7061552
<reponame>brunodev/EasyExcel using EasyExcelDotNet.Core; namespace EasyExcelDotNet.Modules { public class BaseModule { protected EasyExcelDocument Document; protected BaseModule(EasyExcelDocument document) { Document = document; } } }
GameServer/ChatCommand.cs
Yugioh-Sims-International/Launcher-Server-System
0
7061553
/* * 由SharpDevelop创建。 * 用户: Hasee * 日期: 2015/11/1 * 时间: 9:00 * * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件 */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using AsyncServer; using YGOCore.Game; using YGOCore.Net; namespace YGOCore { /// <summary> /// Description of...
source/MovieManager.Persistence/MovieRepository.cs
FeckMelzer/MovieManagerFeck-Melzer
0
7061554
<gh_stars>0 using MovieManager.Core.Contracts; using MovieManager.Core.Entities; using MovieManager.Core.DataTransferObjects; using NUnit.Framework; using System.Collections.Generic; using System.Linq; namespace MovieManager.Persistence { public class MovieRepository : IMovieRepository { private reado...
Demos/05-Expand/ContosoExpenses/TimelineService.cs
Bhaskers-Blu-Org2/AppConsult-MSIXDevWorkshop
3
7061555
using AdaptiveCards; using ContosoExpenses.Data.Models; using System; using Windows.ApplicationModel.UserActivities; using Windows.UI.Shell; namespace ContosoExpenses { public class TimelineService { private UserActivityChannel _userActivityChannel; private UserActivity _userActivity; ...
src/DragonFly.Core/ContentItems/Models/Validations/ValidationError.cs
usercode/DragonFly
6
7061556
<filename>src/DragonFly.Core/ContentItems/Models/Validations/ValidationError.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DragonFly.Core.ContentItems.Models.Validations { /// <summary> /// ValidationError /// </summary> ...
desktop/SportClubDesktopVersion/StartForm.cs
vmariiechko/sport-club
0
7061557
<filename>desktop/SportClubDesktopVersion/StartForm.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SportClubDesktopVersion { ...
AssemblerTwo.Lib/Bytecode/PublicSymbol.cs
Mervill/AssemblerTwo
1
7061559
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AssemblerTwo.Lib { public class PublicSymbol { public ushort LabelDefineIndex; public string Name; } }
YKToolkit.Controls/Bindings/NotificationObject.cs
Remon-7L/YKToolkit.Controls
0
7061560
<reponame>Remon-7L/YKToolkit.Controls namespace YKToolkit.Bindings { using System; using System.ComponentModel; #if !NET4 using System.Runtime.CompilerServices; #endif /// <summary> /// <c>System.ComponentModel.INotifyPropertyChanged</c> インターフェースを実装した抽象クラスを表します。 /// </summary> [...
TramsDataApi/Migrations/TramsDb/20211117161151_UpdateConcernsRecordsUrnMigration.cs
DFE-Digital/trams-data-api
0
7061561
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace TramsDataApi.Migrations.TramsDb { public partial class UpdateConcernsRecordsUrnMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<int>( ...
Blinken/MorseCodeGenerator/Service References/MailNotifierService/Reference.cs
rpwjanzen/blinken
0
7061562
<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gener...
Ng.Net.Web/Controllers/UserController.cs
CollapseNav/Angular-DotnetCore-Demo
1
7061563
<gh_stars>1-10 using Microsoft.AspNetCore.Mvc; using Ng.Net.Application.Interface; using Ng.Net.Repository.Domain; using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; using Ng.Net.Application.ReceiveData; namespace Ng.Net.Web.Controllers { [Authorize] [ApiController] [Route("api/[co...
src/Uno.Extensions.Navigation.UI/RouteExtensions.cs
unoplatform/uno.extensions
21
7061564
<filename>src/Uno.Extensions.Navigation.UI/RouteExtensions.cs using System.Text.RegularExpressions; namespace Uno.Extensions.Navigation; public static class RouteExtensions { public static bool IsFrameNavigation(this Route route) => // We want to make forward navigation between frames simple, so don't require + ...
GeatUI/GridSizeToGeometryConverter.cs
nakasu/GeatUI
0
7061565
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; using System.Windows.Media; namespace GeatUI { /// <summary> /// グリッドの単位サイズから実際に描画するジオメトリデータへのコンバータ ...
dotnet-comic-book-library-manager-1.3/src/ComicBookShared/Data/BaseRepository.cs
ChrisAkridge/CodeLouJan2018
0
7061566
<filename>dotnet-comic-book-library-manager-1.3/src/ComicBookShared/Data/BaseRepository.cs using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComicBookShared.Data { public abstract class BaseRepository<TEntity> where...
source/Infrastructure/Monuments.Manager.Persistence/Migrations/20181217151459_PitureMigration.cs
dpozimski/monuments-manager
0
7061567
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Monuments.Manager.Persistence.Migrations { public partial class PitureMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "...
CellSpacePartition.Tests/CalcNeighborTests.cs
dmanning23/CellSpacePartition
3
7061569
using FakeItEasy; using Microsoft.Xna.Framework; using NUnit.Framework; namespace CellSpacePartitionLib.Tests { [TestFixture] public class CalcNeighborTests { TestCellSpacePartition partition; [SetUp] public void Setup() { partition = new TestCellSpacePartition(Vector2.Zero, 10, 10, 10); } [Test] ...
test/samples/CodeSample/Startup.cs
y-code/aspnet-api-group-versioning
0
7061570
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CodeSample { public class Startup { public void ConfigureServices(IServiceCollection services) { serv...
src/Platformus.ECommerce.Frontend/ViewModels/ECommerce/CategoryPage/CategoryPageViewModelFactory.cs
aleks-ivanov/Platformus
0
7061571
<gh_stars>0 // Copyright © 2020 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Platformus.Core; using ...
Project/Source/Assets/Scripts/Player/Footsteps.cs
Tobogganeer/Memory-Lane-Github
0
7061572
<reponame>Tobogganeer/Memory-Lane-Github using System.Collections; using System.Collections.Generic; using UnityEngine; public class Footsteps : MonoBehaviour { public Transform footSource; private void OnEnable() { WeaponSway.OnFootstep += WeaponSway_OnFootstep; PlayerMovement.OnLand += P...
DDDSample.Service/Command/IUserCommandService.cs
alkanoic/DDDSample
0
7061573
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DDDSample.DataModel.Tables; namespace DDDSample.Service.Command { public interface IUserCommandService { void Insert(ServiceModel.InsertUserModel u); } }
VrmacVideo/IO/AAC/Enums.cs
Const-me/Vrmac
91
7061574
// This C# source file has been generated by a T4 template. using System; namespace VrmacVideo.IO.AAC { /// <summary>Transport type identifiers</summary> enum eTransportType: int { /// <summary>Unknown format</summary> Unknown = -1, /// <summary>"as is" access units (packet based since there is obviously no ...
src/Masuit.MyBlogs.Core/Infrastructure/DataContext.cs
Muzsor/Masuit.MyBlogs
0
7061575
<filename>src/Masuit.MyBlogs.Core/Infrastructure/DataContext.cs using Masuit.MyBlogs.Core.Models.Entity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Masuit.MyBlogs.Core.Infrastructure { public class DataConte...
RPLidar/Configuration.cs
mikkleini/rplidar.net
11
7061576
using System; using System.Collections.Generic; using System.Text; namespace RPLidar { /// <summary> /// General configuration /// </summary> public class Configuration { /// <summary> /// Typical scan mode /// </summary> public ushort Typical { get; internal set; }...
2020/Day04/Solution.cs
FaustVX/adventofcode
1
7061577
namespace AdventOfCode.Y2020.Day04; [ProblemName("Passport Processing")] class Solution : Solver { private delegate bool TryParse<T>(string input, out T output); private static Dictionary<string, string>[] GetPassports(string input) { var pattern = new Regex("\r?\n|\\s"); var passports = ...