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
Geekshoping/GeekShopping.OrderApi/Repository/IOrderRepository.cs
betomgarcia/Beto-microservices-dotnet6
0
7054883
<gh_stars>0 using GeekShopping.OrderApi.Model; using System.Threading.Tasks; namespace GeekShopping.CartApi.Repository { public interface IOrderRepository { Task<bool> AddOrder(OrderHeader header); Task UpdateOrderPaymentStatus(long orderHeaderId, bool paid); } }
BackEnd/Biblioteca.Infra.SqlServer.EF/Repositories/Base/Repository.cs
reginaldobrz/LibraryControll
0
7054884
using Biblioteca.Domain.Shared.Repositories.Interface; using Biblioteca.Infra.SqlServer.EF.Context; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System....
Scripts/Runtime/TPSCharacterCoordinator.cs
SorraTheOrc/TPSCharacterController
12
7054885
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; using DoubTech.TPSCharacterController.Animation.Control; using DoubTech.TPSCharacterController.Inventory.Weapons; using DoubTech.TPSCharacterController.Stats; using UnityEngine.Events; namespace DoubTech.TPSCharacterController...
Documents/AnyChat/AnyChatCoreSDK_Win32_r4840/src/server/c#/AnyChatCallCenterServer/CallCenterServer/frmTest.Designer.cs
alucard263096/AMKRemoteClass
0
7054886
<gh_stars>0 namespace QueueServer { partial class frmTest { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
ExamPrep/SoftUniExam from Tihomir/Task3/Program.cs
NikiSpasov/Progr_Fundamentals
0
7054887
<reponame>NikiSpasov/Progr_Fundamentals<filename>ExamPrep/SoftUniExam from Tihomir/Task3/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace Task3 { class Program { static void Main() { ...
Bargio/Areas/User/Pages/Historique.cshtml.cs
Gunlek/Bargio
2
7054888
<filename>Bargio/Areas/User/Pages/Historique.cshtml.cs // Bargio - Historique.cshtml.cs // Copyright (c) <NAME> 2019-2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) using System.Co...
src/Npgsql/Tls/TlsClientStream.cs
gps035/npgsql
1
7054889
#region License // The PostgreSQL License // // Copyright (C) 2018 The Npgsql Development Team // // Permission to use, copy, modify, and distribute this software and its // documentation for any purpose, without fee, and without a written // agreement is hereby granted, provided that the above copyright notice // and...
MiningPrototype/Assets/Scripts/Interaction/TransitionTrigger.cs
LucxMangaJet/BAMiningPrototype
1
7054890
<filename>MiningPrototype/Assets/Scripts/Interaction/TransitionTrigger.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class TransitionTrigger : MonoBehaviour { [SerializeField] Transform target; [Zenject.Inject] CameraController cameraController; private void On...
apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/UploadValidationMode.cs
boxstack/google-cloud-dotnet
474
7054891
<filename>apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/UploadValidationMode.cs // Copyright 2017 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...
tools/EdgeDB.BinaryDebugger/Program.cs
quinchs/EdgeDBClient
4
7054892
using EdgeDB; using EdgeDB.BinaryDebugger; var connection = EdgeDBConnection.ResolveConnection(); var config = new EdgeDBConfig(); var client = new EdgeDBClient(new EdgeDBClientPoolConfig { ClientFactory = async (id) => { var client = new DebuggerClient(connection, config, id); await client.C...
osu.Framework.Tests/Audio/SampleChannelVirtualTest.cs
vinaqq/osu-framework
0
7054893
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Threading; using NUnit.Framework; using osu.Framework.Audio.Sample; using osu.Framework.Development; using osu.Framework.Threading; namespace o...
TestSuites/FileServer/src/SMB2/TestSuite/Compound/Compound.cs
LiuXiaotian/WindowsProtocolTestSuites
1
7054894
<gh_stars>1-10 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Text; using System.Collections.Generic; using Microsoft.Protocols.TestTools; using Microsoft.VisualStudio.TestTools.Un...
src/CodeGeneration/CodeGeneration.LowLevelClient/Overrides/Descriptors/IDescriptorOverrides.cs
Bloomerang/elasticsearch-net
2
7054895
using System.Collections.Generic; namespace CodeGeneration.LowLevelClient.Overrides.Descriptors { /// <summary> /// Tweaks the generated descriptors /// </summary> public interface IDescriptorOverrides { /// <summary> /// Sometimes params can be defined on the body as well as on the querystring /// We favo...
Tests/Diffstore.DBMS/Drivers/EmbeddedDBMSTest.cs
RaZeR-RBI/diffstore-dbms
0
7054896
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diffstore; using Diffstore.DBMS; using Diffstore.DBMS.Core; using Diffstore.DBMS.Core.Exceptions; using Diffstore.Entities; using Moq; using Xunit; namespace Tests.Diffstore.DBMS.Drivers { public clas...
third_party/OpenFace/gui/OpenFaceOffline/UI_items/MultiBarGraphHorz.xaml.cs
Hussam-Turjman/FLDServer
2
7054897
<filename>third_party/OpenFace/gui/OpenFaceOffline/UI_items/MultiBarGraphHorz.xaml.cs /////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2016, <NAME> University and University of Cambridge, // all rights reserved. // // THIS SOFTWARE IS PROVIDED “AS IS” FOR ACADEMIC USE ON...
Desktop/PC_KAB_KLATEN_JOKO_SUPRIYANTO/PC_KAB_KLATEN_JOKO_SUPRIYANTO/MandhegParkingSystem.designer.cs
jokomanza/LKS-Provinsi-2020
0
7054898
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is re...
src/STAIExtensions/STAIExtensions.Abstractions/CQRS/DataSetViews/Commands/AttachViewToDataSetCommand.cs
TrevorMare/STAIExtensions
0
7054899
<filename>src/STAIExtensions/STAIExtensions.Abstractions/CQRS/DataSetViews/Commands/AttachViewToDataSetCommand.cs using MediatR; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.Extensions.DependencyInjection; using STAIExtensions.Abstractions.Collections; namesp...
Assets/Scripts/Utils/UIWorldTransformFollow.cs
lobinuxsoft/solar-system
0
7054900
using UnityEngine; using UnityEngine.Events; public class UIWorldTransformFollow : MonoBehaviour { [SerializeField] Transform targetToFollow = default; [SerializeField, Range(0.01f, 1f)] float maxScale = 1; [SerializeField] Vector3 offset = Vector3.up * 3; [SerializeField] float maxDistanceToSee = 30; ...
test/Mono.Linker.Tests.Cases/DataFlow/ArrayDataFlow.cs
AlexanderSemenyak/linker
0
7054901
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.CodeAnalysis; using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tests.Cases.Expecta...
src/Starlight/Network/IPacketHandler`2.cs
mrseeker/Starlight
1
7054902
using System; using System.Collections.Generic; using System.Text; namespace Starlight.Network { public interface IPacketHandler<TRequestContext, TPacket> : IPacketHandler<TRequestContext> { void HandlePacket(TRequestContext requestContext, TPacket packet); } }
src/Lykke.Service.MonitoringUI.DomainServices/MonitoringServiceCallerService.cs
LykkeBusinessPlatform/Lykke.Service.MonitoringUI
0
7054903
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JetBrains.Annotations; using Lykke.MonitoringServiceApiCaller; using Lykke.Service.MonitoringUI.Domain; using Lykke.Service.MonitoringUI.Domain.Services; namespace Lykke.Service.MonitoringUI.DomainServices { pub...
src/NuGet.Core/NuGet.PackageManagement/Context/IDEExecutionContext.cs
huangqinjin/NuGet.Client
1
7054904
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using NuGet.Packaging.Core; using NuGet.ProjectManagement; namespace NuGet.PackageManagement { public c...
ParkingAudit/SQLHelper.cs
smoo7h/IPhoneParkingAudit
0
7054905
using System; using System.Collections.Generic; using SQLite.Net; using SQLite.Net.Interop; namespace ParkingAudit { public class SQLHelper { public SQLHelper() { CreateDB(); } public SQLiteConnection conn; public void Dispose() { conn....
Views/Home/About.cshtml
OdairRos/CrudASPNET.CORE
0
7054906
<filename>Views/Home/About.cshtml<gh_stars>0 @{ ViewData["Title"] = "Sobre este projeto"; } <header class="font-monospace"> <h2>@ViewData["Title"]</h2> </header> <main> <section class="font-monospace"> <p> <article> Sou <cite><NAME></cite>, Estudante de engenharia de sof...
src/Tiandao.CoreLibrary/Services/CommandExecutorContextBase.cs
jonfee/Tiandao.CoreLibrary
0
7054907
<filename>src/Tiandao.CoreLibrary/Services/CommandExecutorContextBase.cs using System; using System.Collections.Generic; namespace Tiandao.Services { #if !CORE_CLR public class CommandExecutorContextBase : MarshalByRefObject #else public class CommandExecutorContextBase #endif { #region 私有字段 private ICommandE...
FleetAndStaffLocationVisualizer/Assets/Scripts/Data/Providers/FmkDataProvider.cs
BuloZB/Fleet-And-Staff-Location-Visualizer
0
7054908
using Assets.Scripts.Data.Interfaces; using Assets.Scripts.Data.Model.Objects; using Assets.Scripts.Data.Model.Telemetrics; using Assets.Scripts.Data.Providers.Fmk; using Assets.Scripts.Data.Providers.Fmk.Model; using System; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.Data.Providers...
src/Simple.Web.Razor/Engine/SimpleRazorEngineHost.cs
tegeek/Simple.Web
64
7054909
<gh_stars>10-100 namespace Simple.Web.Razor.Engine { using System.Web.Razor; using System.Web.Razor.Generator; using System.Web.Razor.Parser; internal class SimpleRazorEngineHost : RazorEngineHost { public SimpleRazorEngineHost(RazorCodeLanguage codeLanguage) : base(codeLanguage) ...
src/BlazorJSInterop.SourceGenerator/Diagnostics/DiagnosticReporter.cs
Alesagal/BlazorJSInterop
4
7054910
<filename>src/BlazorJSInterop.SourceGenerator/Diagnostics/DiagnosticReporter.cs<gh_stars>1-10 using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis; namespace BlazorJSInterop.SourceGenerator.Diagnostics { internal class DiagnosticReporter { public bool HasReported { get; privat...
GitVersionExe/HelpWriter.cs
carolynvs/GitVersion
0
7054911
namespace GitVersion { using System; class HelpWriter { public static void Write() { const string message = @"Use convention to derive a SemVer product version from a GitFlow or GitHub based repository. GitVersion [path] [/l logFilePath] path The director...
src/LightningBug.Polly/Timeout/TimeoutAttributeBase.cs
jasondentler/lightning-bug
2
7054912
<gh_stars>1-10 using System; using LightningBug.Polly.Providers.Attributes; using Polly.Timeout; namespace LightningBug.Polly.Timeout { public abstract class TimeoutAttributeBase : PolicyAttribute { public virtual int Order { get; set; } protected internal override int GetOrder() { ...
test/Opdex.Platform.Application.Tests/Assemblers/TokenDtoAssemblerTests.cs
Opdex/opdex-v1-api
7
7054913
<gh_stars>1-10 using AutoMapper; using FluentAssertions; using MediatR; using Moq; using Opdex.Platform.Application.Abstractions.Queries.Tokens; using Opdex.Platform.Application.Assemblers; using Opdex.Platform.Common.Enums; using Opdex.Platform.Common.Extensions; using Opdex.Platform.Common.Models.UInt; using Opdex.Pl...
Assets/Scripts/Player/ProfileLoader.cs
jelte/Creeper
0
7054914
<filename>Assets/Scripts/Player/ProfileLoader.cs using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; namespace ProjectFTP.Player { class ProfileLoader { private static BinaryFormatter formatter = new BinaryFormatter(...
Content.Client/Markings/MarkingPicker.xaml.cs
RandomDeathMatch/space-station-14
1
7054915
<filename>Content.Client/Markings/MarkingPicker.xaml.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Content.Client.CharacterAppearance; using Content.Client.Stylesheets; using Content.Shared.CharacterAppearance; using Content.Shared.Markings; using Content.Shared.S...
Telerik.Sitefinity.Frontend/Resources/Resolvers/DatabaseResourceResolver.cs
Sitefinity/feather
89
7054916
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Telerik.Sitefinity.Abstractions.VirtualPath; using Telerik.Sitefinity.Data; using Telerik.Sitefinity.Frontend.Mvc.Infrastructure; using T...
PureDITest/ScopeTestData/FactoryPrototype.cs
mikedamay/SimpleIOCContainer
1
7054917
<gh_stars>1-10 using System.Dynamic; using PureDI; using PureDI.Attributes; using IOCCTest.TestCode; namespace IOCCTest.ScopeTestData { [Bean] public class FactoryPrototype : IResultGetter { [BeanReference(Factory = typeof(MyPrototyeFactory), Scope = BeanScope.Prototype)] private int firstNumber =...
src/FlowSharp/SideFlow/Casting.cs
bazer/flowsharp
0
7054918
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlowSharp { public static class SideFlowCasting { //public static SideFlow<O, F> SideFlow<O, F>(this O value) //{ // return new SideFlow<O, F>(value); ...
src/picfit.application/Queries/GetScaledImageQueryHandler.cs
spqr911/picfit
2
7054919
using MediatR; using Microsoft.Extensions.Logging; using picfit.application.Infrastructure; using picfit.application.Infrastructure.Storage; using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namespace picfit.a...
src/Services/System/MsSystem.Sys.Schedule.Infrastructure/Enums/JobStatus.cs
geffzhang/MsSystem-BPM-ServiceAndWebApps
379
7054920
namespace MsSystem.Sys.Schedule.Infrastructure.Enums { /// <summary> /// 任务运行状态 /// </summary> public enum JobStatus { 已启用 = 1, 已停止 = 0 } }
ctacke.Xamarin.Forms/MVVM/ViewModelBase.cs
ctacke/ctacke-xamarin
0
7054921
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq.Expressions; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace ctacke.Xamarin.MVVM { public abstract class ViewModelBase : IViewModel { public event PropertyChangedEventHandler PropertyCh...
src/Acr.UserDialogs.Shared/UserDialogs.cs
Prandtl/userdialogs
0
7054922
<reponame>Prandtl/userdialogs using System; #if __IOS__ using UIKit; #endif #if __ANDROID__ using Android.App; using Acr.Support.Android; #endif namespace Acr.UserDialogs { public static class UserDialogs { #if __ANDROID__ /// <summary> /// Initialize android user dialogs /// </su...
Assets/_Project/Data/Enums.cs
Turmolt/Project-V
0
7054923
<gh_stars>0 using UnityEngine; using System.Collections; public enum ItemType{ /* //If we use item subtypes Weapon, Armor, Accessory */ //Weapons Sword = 0, Dagger = 1, Axe = 2, Mace = 5, Spear = 6, Bow = 3, Staff = 4, Wand = 14, //Armor HeavyArmor = 7, LeatherArmor = 8, Robe = 9, Shield = 10, ...
src/Azos.Wave/WorkMatch.Composite.cs
JohnPKosh/azos
183
7054924
/*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System.Linq; using Azos.Conf; using Azos.Collections; using Azos.S...
Utils/TypeConverters/LongConverter.cs
tofx/core
0
7054925
<gh_stars>0 using tofx.Core.Abstractions; using System; namespace tofx.Core.Utils.TypeConverters { public class LongConverter : ITypeConverter { public object Convert(object valueToConvert) { if (valueToConvert == null || valueToConvert == DBNull.Value) return 0; ...
src/System.Binary.Base64/System/Binary/Base64Decoder.cs
maryamariyan/corefxlab
0
7054926
<filename>src/System.Binary.Base64/System/Binary/Base64Decoder.cs // 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.Buffers; using System.ComponentModel...
src/CodeGenerator.Core/Implements/Key.cs
ileego/CodeGenerator
1
7054927
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using CodeGenerator.Core.Interfaces; using CodeGenerator.Infra.Common; using CodeGenerator.Infra.Common.Extensions.String; using JetBrains.Annotations; namespace CodeGenerator.Core.Implements { /// <summary> /// 键 /// </summ...
Homeworks/DSA/03.Recursion/05.NKSubsets/Startup.cs
jorosoft/Telerik-Academy
0
7054928
<filename>Homeworks/DSA/03.Recursion/05.NKSubsets/Startup.cs using System; namespace _05.NKSubsets { internal class Startup { private static string[] subSet; private static string[] set; private const int n = 3; internal static void Main() { int k = 2; ...
Assets/Scripts/PlayerControlToggler.cs
AJ-Ora/SkeletonMistake
0
7054929
<gh_stars>0 using System; using System.Collections; using UnityEngine; namespace SkeletonMistake { public class PlayerControlToggler : MonoBehaviour { private PlayerController controller; void Start() { controller = GetComponent<PlayerController>(); Events.OnDi...
Wox/Commands/SystemCommand.cs
zlsun/Wox
0
7054930
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using Wox.Infrastructure.Storage.UserSettings; using Wox.Plugin; using Wox.Plugin.SystemPlugins; using Wox.PluginLoader; namespace Wox.Commands { public class SystemCommand : BaseCommand {...
Tests/RT.Util.Core.Tests/ExtensionMethods/DateTimeExtensionsTests.cs
Emik03/RT.Util
1
7054931
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using RT.Util.ExtensionMethods; namespace RT.Util.ExtensionMethods { [TestFixture] public sealed class DateTimeExtensionsTests { private void Assert_DateTimeContentIs(DateTime dt, int year,...
YanZhiwei.DotNet.Core.Model/CacheProviderItem.cs
wind2006/DotNet.Utilities
2
7054932
<filename>YanZhiwei.DotNet.Core.Model/CacheProviderItem.cs namespace YanZhiwei.DotNet.Core.Model { using System.Xml.Serialization; /// <summary> /// 缓存Provider /// </summary> /// 时间:2015-12-31 14:21 /// 备注: public class CacheProviderItem : ConfigNodeBase { #region Properties ...
DemoCatleProxyRestartableFlow-story4/DemoCatleProxy.RestartableFlow.Tests/DemoFlow1.cs
euklad/BlogCode
37
7054933
using System; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace DemoCatleProxy.RestartableFlow.Tests { public class Model1 { public string ReceivedMessage { get; set; } public string Signature { get; set; } public bool IsSubmitted { get; set; } ...
Monad/Monads/StrangeMonad.cs
TeoVincent/TeoMonad
0
7054935
using System; namespace Monad.Monads { /// <summary> /// The class is not contain exactly monads. /// It is my maneuvering area. /// Don't open this file any more. /// </summary> public static class StrangeMonad { #region With public static Person GetManager1(this Building...
Controllers/ControllerBase.cs
rmnavz/OnlineShop
0
7054936
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Security.Principal; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Online_Shop.Code; using Online_Shop.Models; namespace Online_Shop.Controllers { public class ControllerBase : C...
DockerSdk/Registries/Dto/AuthResponse.cs
tsonto/DockerSdk
2
7054937
<gh_stars>1-10 namespace DockerSdk.Registries.Dto { internal class AuthResponse { public string? IdentityToken { get; set; } public string Status { get; set; } = null!; } }
Examples/CSharp/AIn/AInForm.Common.cs
hamishharvey/daqflex
1
7054938
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Globalization; using MeasurementComputing.DAQFlex; namespace AIn { public partial class AInForm { private DaqDevice Device; private DaqResponse Response; private str...
Lib.Web.Mvc/JqGridSortingOrders.cs
Vampire2008/Lib.Web.Mvc
1
7054940
namespace Lib.Web.Mvc.JqGridFork { /// <summary> /// jqGrid sorting order values /// </summary> public enum JqGridSortingOrders { /// <summary> /// Use JqGrid default value /// </summary> Default, /// <summary> /// Ascending /// </summary> ...
Scripts/Runtime/Events/BuiltinTypes/IntGameEvent.cs
yolanother/UnityScriptableEvents
0
7054941
<reponame>yolanother/UnityScriptableEvents using System; using UnityEngine; namespace DoubTech.ScriptableEvents.BuiltinTypes { [CreateAssetMenu(fileName = "IntGameEvent", menuName = "DoubTech/Game Events/Built In Types/Int Game Event")] [Serializable] public class IntGameEvent : GameEvent<int> { ...
Assets/PCL/Scripts/PCL/Unit/Humanoid/HumanoidAction/HA_DefaultAction.cs
sacshadow/ProceduralCharacterLocomotion
2
7054942
using System; using System.Collections; using System.Collections.Generic; //using System.Linq; //using UnityEditor; using UnityEngine; //using UnityEngine.UI; //using Uhity.Entities; using URD = UnityEngine.Random; public class HA_DefaultAction : HumanoidAction { public DFA idle; public DFA[] walk; public floa...
UnitUnderTest/ComplexUnitUnderTest.cs
bexxx/wewillmockyou
0
7054944
namespace UnitUnderTest { using System; using System.Threading.Tasks; using Autofac.Features.AttributeFilters; public class ComplexUnitUnderTest { private readonly IDocumentProvider complexFunctionality1; private readonly IDocumentProvider complexFunctionality2; public Com...
Assets/Scripts/GenericUIIcon.cs
yzngo/UnityGameplayAbilitySystem
1
7054945
using UnityEngine; using UnityEngine.UI; public class GenericUIIcon : MonoBehaviour { public Image ImageIcon; public Image CooldownOverlay; public void SetCooldownRemainingPercent(float cooldownPercentRemaining) { this.CooldownOverlay.fillAmount = Mathf.Clamp01(1 - cooldownPercentRemaining); ...
src/JWTExample/Authentication/PrincipalAccessor.cs
TufanOzdemir/JWTBasic
0
7054946
<reponame>TufanOzdemir/JWTBasic<gh_stars>0 using JWTExample.Interfaces; using System.Security.Claims; namespace JWTExample.Authentication { public class PrincipalAccessor : IPrincipalAccessor { public ClaimsPrincipal CurrentPrincipal { get; set; } } }
OnionPattern/OnionPattern.Api/Controllers/BaseAsyncController.cs
CubicleJockey/OnionPattern
4
7054947
<filename>OnionPattern/OnionPattern.Api/Controllers/BaseAsyncController.cs using Microsoft.AspNetCore.Mvc; using OnionPattern.Domain.Errors; using System; using System.Threading.Tasks; namespace OnionPattern.Api.Controllers { /// <inheritdoc /> /// <summary> /// Base Async Controller for Common Methods ...
Server/Manager/BlogManager.cs
leigh-pointer/oqtane.blogs.fork
12
7054948
<reponame>leigh-pointer/oqtane.blogs.fork<filename>Server/Manager/BlogManager.cs using System.Collections.Generic; using System.Linq; using System.Text.Json; using Oqtane.Modules; using Oqtane.Models; using Oqtane.Infrastructure; using Oqtane.Repository; using Oqtane.Blogs.Models; using Oqtane.Blogs.Repository; using O...
Client.Sync.SignalR/Contexts/BaseSignalrSyncContext.cs
alexnoddings/Quibble
0
7054949
<reponame>alexnoddings/Quibble using Microsoft.AspNetCore.SignalR.Client; using Microsoft.Extensions.Logging; using Quibble.Client.Sync.SignalR.Extensions; using Quibble.Shared.Sync.SignalR; using System.Linq.Expressions; namespace Quibble.Client.Sync.SignalR.Contexts; internal class BaseSignalrSyncContext : IDispos...
Loop54.Test.AspNetMvc/Models/AutoCompleteViewModel.cs
joelwkall/.NET-Connector
2
7054950
using System.Collections.Generic; namespace Loop54.Test.AspNetMvc.Models { public class AutoCompleteViewModel { public int Count { get; set; } public IList<string> Results { get; set; } public string ScopedQuery { get; internal set; } public string ScopeAttribute { get; internal...
src/modules/fancyzones/editor/FancyZonesEditor/EditorWindow.cs
MichaelWhi/PowerToys
3
7054952
<filename>src/modules/fancyzones/editor/FancyZonesEditor/EditorWindow.cs // 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. using System; using System.Windows; using FancyZonesEdit...
src/DurableTask.Netherite/PartitionState/ActivitiesState.cs
microsoft/durabletask-netherite
114
7054953
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace DurableTask.Netherite { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading; using...
decompiled/src/AbyssaliteRecipe/KILNCONFIG_PACH_00x1.cs
ekfvoddl3536/OniMods
11
7054954
using System; using System.Collections.Generic; using Harmony; using STRINGS; using UnityEngine; namespace AbyssaliteRecipe { // Token: 0x02000003 RID: 3 [HarmonyPatch(typeof(KilnConfig), "ConfigureBuildingTemplate")] public static class KILNCONFIG_PACH_00x1 { // Token: 0x06000003 RID: 3 RVA: 0x0000...
project/EmuTarkov.Common/Utils/HTTP/Request.cs
NikitaBuyanov/Emutarkov-modules-development
1
7054955
<gh_stars>1-10 using System; using System.IO; using System.Net; using System.Text; using UnityEngine; using ComponentAce.Compression.Libs.zlib; namespace EmuTarkov.Common.Utils.HTTP { public class Request { public string Session; public string RemoteEndPoint; public Request(string session, string remoteEndPo...
FunGameAi/APackman/BehTree.cs
hoggins/codingame
1
7054956
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; [Serializable] public class Prediction { public Pac Pac; public List<List<Path>> Path = new List<List<Path>>(); // pac path[0] * -> 1 pathFromP[0] } public class BehTree { private List<Pac> _enemyPacs; private readonly List<Po...
src/Tool/Helpers/MsBuild.cs
btshft/ProjectPack
3
7054957
namespace PackProject.Tool.Helpers { public static class MsBuild { public static string Property(string name, string value) { return value != null ? $"/p:{name}={value}" : null; } public static string Target(params string[] targets) { return $"/t...
CodeWars/7kyu/ExtendingCObjectsCalculateWordScoresWithMethod.cs
a-kozhanov/codewars_csharp
11
7054958
<gh_stars>10-100 /* https://www.codewars.com/kata/5c81aaf99043851c65ce7f5b/csharp 7 kyu Extending C# Objects: Calculate Word Scores With a Method Your task is to write an extension method for the String class called Score(), that returns an integer score for any given string. The score is calculated thus: Each le...
Tauron.Application.Master.Commands/ServiceRegistry/ServiceRegistry.cs
augustoproiete-bot/Project-Manager-Akka
0
7054959
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Akka.Actor; using Akka.Cluster; using Akka.Cluster.Utility; using JetBrains.Annotations; using Tauron.Akka; namespace Tauron.Application.Master.Commands ...
QIQO.Business.Engines/Services/AccountTypeEntityService.cs
rdrrichards/QIQO.Business.Services.Solution
7
7054960
using QIQO.Business.Contracts; using QIQO.Business.Entities; using QIQO.Data.Entities; namespace QIQO.Business.Engines { public class AccountTypeEntityService : IAccountTypeEntityService { public AccountType Map(AccountTypeData account_type_data) { return new AccountType() ...
08. High Quality Code/07. High-Quality Classes/Abstraction/Figure.cs
DimitarGaydardzhiev/TelerikAcademy
0
7054961
<reponame>DimitarGaydardzhiev/TelerikAcademy<filename>08. High Quality Code/07. High-Quality Classes/Abstraction/Figure.cs namespace Abstraction { using System; internal abstract class Figure : IFigure { public Figure() { } public abstract double CalcPerimeter(); ...
WOClient/Components/Main/MainWindowViewModel.cs
bitoninbal/WO
0
7054962
using System; using System.Timers; using WOClient.Components.Base; using WOClient.Components.Employees; using WOClient.Components.ForgetPassword; using WOClient.Components.Login; using WOClient.Components.Reports; using WOClient.Components.TrackingTasks; using WOClient.Enums; using WOClient.Library.Models; namespace ...
Umbraco2FA/Umbraco/Fortress/Attributes/uProtectPluginControllerAttribute.cs
dinc5150/Umbraco-2FA
14
7054963
<reponame>dinc5150/Umbraco-2FA using Orc.Fortress; using Umbraco.Web.Mvc; namespace Orc.Fortress.Attributes { public class FortressPluginControllerAttribute : PluginControllerAttribute { public FortressPluginControllerAttribute() : base(FortressConstants.UmbracoApplication.ApplicationAlias) { ...
Engine.Experimental/Calendar/Occasions.cs
Shkyrockett/engine
4
7054964
// <copyright file="Occasions.cs" company="Shkyrockett" > // Copyright © 2005 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </license...
OzekiDemoSoftphone/GUI/ForwardCallForm.cs
SmarterDB/secret-sensa
3
7054965
<reponame>SmarterDB/secret-sensa using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using OzekiDemoSoftphone.Softphone; namespace OzekiDemoSoftphone.GUI { public partial class Forwa...
Assets/Scripts/School/Session2Evangelia.cs
Bartlett-RC3/skilling-module-1-EvangeliaT
0
7054966
// Session 2: Conditionals, Loops and Classes // UCL RC3 12Nov2017 using System.Collections; using System.Collections.Generic; using UnityEngine; // using Something -> libraries (bunch of classes) //LOOK AT PLATONIC OBJECTS (for workshop) public class Session2Evangelia : MonoBehaviour { int number1 = 10; ...
AI_proj/AI_proj/Controllers/NeuralClassifierController.cs
msk-one/AI_proj
0
7054967
<reponame>msk-one/AI_proj<filename>AI_proj/AI_proj/Controllers/NeuralClassifierController.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; usin...
Sendwithus/SendwithusClient/API/DripCampaign.cs
sendwithus/sendwithus_csharp
4
7054969
using Newtonsoft.Json; using Sendwithus.Net; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Threading.Tasks; namespace Sendwithus { /// <summary> /// sendwithus DripCampaign class /// </summary> public class DripCampaign { public EmailRec...
Stardust.Core/Core/Security/ThumbprintResolver.cs
JonasSyrstad/stardust
6
7054970
<gh_stars>1-10 using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IdentityModel.Configuration; using System.IdentityModel.Services; using System.IdentityModel.Tokens; using System.Linq; using System.Net; using System.Security.Cryptography.X509Certificates; using System.Ser...
Runtime/EventBus/HandlerT.cs
studentutu/EventBus
6
7054971
<reponame>studentutu/EventBus using System; using Futuclass.EventBus; namespace Futuclass.EventBus { internal sealed class Handler<TEvent> : IHandler<TEvent> where TEvent : EventBase { /// <summary> /// Action that is called when event is received /// </summary> public Action<T...
Source/ASurvivedDesease.cs
hodldeeznuts/RimStory
5
7054972
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using Verse.AI; using RimWorld; using RimWorld.Planet; using Verse.AI.Group; namespace RimStory { class ASurvivedDesease : IEvent { private Date date; private Pawn pawn; public ASurvive...
EntityAndValueObjectBase/EntityAndValueObjectBase.Infrastructure/TestHelpers/Stubs/ValidateEntityInValidStateStub.cs
jefferydutra/EntityAndValueObjectBase
2
7054973
using System; using System.Collections.Generic; using EntityAndValueObjectBase.Infrastructure.Domain; using EntityAndValueObjectBase.Infrastructure.DomainValidation; namespace EntityAndValueObjectBase.Infrastructure.TestHelpers.Stubs { public class ValidateEntityInValidStateStub : IValidateEntity { pu...
MonoJavaBridge/android/generated/java/math/RoundingMode.cs
JeroMiya/androidmono
3
7054974
namespace java.math { [global::MonoJavaBridge.JavaClass()] public sealed partial class RoundingMode : java.lang.Enum { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; internal RoundingMode(global::MonoJavaBridge.JNIEnv @__env) : base(@__env) { } private static global::MonoJavaBridge...
src/DailySoccerSolution/DailySoccer.Shared/Shared/Models/MatchInformation.cs
teerachail/xdailysoccer
0
7054975
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DailySoccer.Shared.Models { public class MatchInformation { public int Id { get; set; } public DateTime BeginDate { get; set; } public string LeagueName { get; ...
SfmlProject/Map/EntityLocationCache.cs
Some-Yes-Man/SFML-Project
0
7054976
using SfmlProject.Entities; using SfmlProject.Geometry; using System; using System.Collections.Generic; using System.Numerics; namespace SfmlProject.Map { public class EntityLocationCache { private const int INITIAL_CHUNK_LOOKUP_SIZE = 1000; private readonly int dimension; private readonl...
baasdt/csharp/core/Models/ChannelCounter.cs
alipay/antchain-openapi-prod-sdk
6
7054977
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BAASDT.Models { // 渠道统计结果 public class ChannelCounter : TeaModel { // 渠道名字 [NameInMap("channel_name")] [Validation(Required=true)] ...
src/Microsoft.Css.Parser/TreeItems/Functions/FunctionArgument.cs
omajid/cssparser
9
7054978
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Css.Parser.Parser; using Microsoft.Css.Parser.Text; using Microsoft.Css.Parser.Tokens; using Microsoft.Css.Parser.TreeItems.PropertyValues; namespace Microsoft.Css.Pa...
G1ANT.Addon.ZoomAndroid/ZoomAndoidJoinCommandcs.cs
sanskar1419/G1ANT_LEGIONS
0
7054980
<reponame>sanskar1419/G1ANT_LEGIONS using System; using System.Collections.Generic; using System.Windows.Forms; using System.Linq; using System.Text; using G1ANT.Language; namespace G1ANT.Addon.ZoomAndroid { [Command(Name = "zoom.setting", Tooltip = "Clicks on the setting tab present in the applicati...
src/Microsoft.Health.Fhir.SqlServer.UnitTests/Features/Search/Expressions/ResourceColumnPredicatePushdownRewriterTests.cs
shengdamao/fhir-server
0
7054981
<gh_stars>0 // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------...
MagiRogue/Data/DataManager.cs
Sofistico/MagiRogue
3
7054982
using MagiRogue.Data.Materials; using MagiRogue.System.Magic; using MagiRogue.Utils; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace MagiRogue.Data { public static class DataManager { private readonly static string _appDomain = AppDomain.CurrentDomain.Base...
src/Isop/Domain/Recognizes.cs
wallymathieu/isop
4
7054983
<filename>src/Isop/Domain/Recognizes.cs using System.Collections.Generic; namespace Isop.Domain { /// <summary> /// What controllers and global arguments are recognized by Isop /// </summary> public class Recognizes { /// <summary> /// /// </summary> /// <param nam...
src/Citrina/MethodEnums/Messages_GetConversations_filter.cs
khrabrovart/vkontakte-net
7
7054985
<reponame>khrabrovart/vkontakte-net namespace Citrina { /// <summary> /// Filter to apply: 'all' — all conversations, 'unread' — conversations with unread messages, 'important' — conversations, marked as important (only for community messages), 'unanswered' — conversations, marked as unanswered (only for com...
BookLovers.Publication/Domain/BookReaders/BookReaderManager.cs
kamilk08/BookLoversApi
0
7054986
<reponame>kamilk08/BookLoversApi using System; using System.Collections.Generic; using BookLovers.Base.Domain.Rules; using BookLovers.Base.Domain.Services; using BookLovers.Publication.Events.BookReaders; namespace BookLovers.Publication.Domain.BookReaders { internal class BookReaderManager : IAggregateManager<Bo...
unity project/Assets/Scripts/PlatformSetup/PlatformSetupController.cs
benbeezy/VR_ga
0
7054987
using UnityEngine; using System.Collections.Generic; using Valve.VR; using UnityEngine.SceneManagement; using VRGait.Data; namespace VRGait.Platforms { public enum Corner { BottomLeft, BottomRight, TopRight, TopLeft, None } public delegate void OnChangeCorner(string coner); public delegate void OnFinis...
src/Nacos.Grpc/NacosConfigurationGrpcClient.cs
StratosBlue/Cuture.Extensions.Configuration.Nacos
0
7054988
using System; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Nacos.Exceptions; using Nacos.Grpc.Messages; using Nacos.Middleware; namespace Nacos.Grpc { /// <summary> /// Nacos Grpc 配置客户端 /// </summary> publ...
02Methods/MethodsLab/02SignOfInteger/Program.cs
tanyta78/ProgramingFundamentals
0
7054990
<filename>02Methods/MethodsLab/02SignOfInteger/Program.cs<gh_stars>0 namespace _02SignOfInteger { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class SignOfInt { static void Main() { ...