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
Tests/Core.Tests/Features/OnHaltTest.cs
alexsyeo/PSharp
2
7067570
<gh_stars>1-10 // ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // -----------------------------------------...
sdk/dotnet/Sagemaker/Outputs/HumanTaskUIUiTemplate.cs
chivandikwa/pulumi-aws
260
7067571
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
surreal_game/Assets/Scripts/ItemScripts/Item_Pickup.cs
ethanfischer/surrealgame
0
7067572
using UnityEngine; using System.Collections; namespace SurrealGame { public class Item_Pickup : MonoBehaviour { private Item_Master itemMaster; public string pickupSFX = "sfx_item_pickup"; public bool hasBeenPickedUp = false; private Transform playerInventory; private...
src/Kip/NamespaceDeclarationCollection.cs
kei10in/KipSharp
0
7067573
<reponame>kei10in/KipSharp<filename>src/Kip/NamespaceDeclarationCollection.cs using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Xml.Linq; namespace Kip { public interface IReadOnlyNamespaceDeclarationCollection : IReadOnly...
Web/Gradebook.Web.ViewModels/Subject/AbsenceViewModel.cs
Plotso/Gradebook
0
7067575
<reponame>Plotso/Gradebook namespace Gradebook.Web.ViewModels.Subject { using Data.Models.Absences; using Services.Mapping; public class AbsenceViewModel : IMapFrom<Absence> { public int Id { get; set; } public AbsencePeriod Period { get; set; } public AbsenceType Typ...
Assets/UIRadialLayoutGroup/RadialLayoutGroup.cs
aillieo/UnityRadialLayoutGroup
24
7067576
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace AillieoUtils.UI { public class RadialLayoutGroup : LayoutGroup { public enum Direction { Clockwise = 0, Counterclockwise = 1, Bidirectional = 2 } public enum ConstraintMode { Interval = 0, Range = 1...
DesignJam/Assets/OVR/Editor/OVRCameraControllerEditor.cs
AlexBoyd/MDMDesignJam
14
7067577
<filename>DesignJam/Assets/OVR/Editor/OVRCameraControllerEditor.cs /************************************************************************************ Filename : OVRCameraControllerEditor.cs Content : Player controller interface. This script adds editor functionality to the OVRCameraController ...
src/app-ropio/AppRopio.Base/Droid/Services/Settings/SettingsService.cs
pocheshire/AppRopio.Mobile
0
7067578
using System; using AppRopio.Base.Core.Services.Settings; using System.IO; using Android.Content.Res; using Android.App; using System.Reflection; using Android.Content; namespace AppRopio.Base.Droid.Services.Settings { public class SettingsService : ISettingsService { private Context _context = Applic...
Structural/Composite/IComponent.cs
SergiySeletsky/Patterns
3
7067579
<filename>Structural/Composite/IComponent.cs namespace Patterns.Structural.Composite { /// <summary> /// Определяет операции, которые имеют смысл и для компонентов и для композитов (например, для файлов и для каталогов). /// </summary> internal interface IComponent { void Operation(); ...
test/WebSites/Basic/Swagger/TestParameterFilter.cs
ARKlab/Swashbuckle.AspNetCore
1
7067580
<reponame>ARKlab/Swashbuckle.AspNetCore using Swashbuckle.AspNetCore.SwaggerGen; using Swashbuckle.AspNetCore.Swagger; namespace Basic.Swagger { public class TestParameterFilter : IParameterFilter { public void Apply(IParameter parameter, ParameterFilterContext context) { parameter...
src/SFA.DAS.EmployerIncentives.Web/Services/ReadStore/AccountUsersReadOnlyRepository.cs
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-web
2
7067581
<reponame>uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-web<filename>src/SFA.DAS.EmployerIncentives.Web/Services/ReadStore/AccountUsersReadOnlyRepository.cs using Microsoft.Azure.Documents; using SFA.DAS.CosmosDb; using SFA.DAS.EmployerIncentives.Web.Services.ReadStore.Types; using SFA.DAS.EmployerIncentiv...
2020/day07/Program.cs
sprz/Advent-Of-Code
0
7067582
using System; using System.IO; using System.Collections.Generic; using System.Linq; namespace day07 { class Program { static void Main(string[] args) { var lines = File.ReadAllLines("data.txt"); part1(lines); part2(lines); } static void part1...
Havit.Business.BusinessLayerGenerator/Helpers/MoneyHelper.cs
havit/HavitFramework
23
7067583
<filename>Havit.Business.BusinessLayerGenerator/Helpers/MoneyHelper.cs using System; using System.Collections.Generic; using Havit.Business.BusinessLayerGenerator.Helpers.NamingConventions; using Microsoft.SqlServer.Management.Smo; namespace Havit.Business.BusinessLayerGenerator.Helpers { public static class MoneyHe...
Assets/Scripts/Bridge/Cyber/Protobuf/planning/proto/planning_internal.cs
ZhenshengLee/simulator
9
7067584
<reponame>ZhenshengLee/simulator // This file was generated by a tool; you should avoid making direct changes. // Consider using 'partial classes' to extend these types // Input: planning_internal.proto #pragma warning disable 0612, 1591, 3021 namespace apollo.planning_internal { [global::ProtoBuf.ProtoContract()...
src/BenchmarkDotNet.Diagnostics.Windows/LogCapture.cs
ivandrofly/BenchmarkDotNet
0
7067585
<reponame>ivandrofly/BenchmarkDotNet<filename>src/BenchmarkDotNet.Diagnostics.Windows/LogCapture.cs using System; using System.Collections.Generic; using BenchmarkDotNet.Loggers; namespace BenchmarkDotNet.Diagnostics.Windows { internal class LogCapture : ILogger { public IList<OutputLine> CapturedOutp...
Bimbim/q8/Project 1 - MuLan/Mulan Version 2.0/MMS/frmUser.cs
ducdhm/niit-doc
1
7067586
<reponame>ducdhm/niit-doc<filename>Bimbim/q8/Project 1 - MuLan/Mulan Version 2.0/MMS/frmUser.cs 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; public partial class frmUser : Form { ...
FmShell/ConsoleUtilities.cs
henry701/FmShell
0
7067587
<reponame>henry701/FmShell<filename>FmShell/ConsoleUtilities.cs using System; namespace FmShell { internal static class ConsoleUtilities { public static void AdvanceCursor() { if (Console.CursorLeft + 1 < Console.BufferWidth) { Console.CursorLeft += 1; ...
integrations/streamdeck/StreamDeckService/Form1.Designer.cs
willie68/ReCoS-Remote-Command-Service
2
7067589
 namespace StreamDeckService { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
Assets/Scripts/MainMenu/LevelManager.cs
riti1867/tensquared
3
7067590
<filename>Assets/Scripts/MainMenu/LevelManager.cs<gh_stars>1-10 using System.Collections.Generic; using UnityEngine; using TMPro; /* * manages the accessability of the levels (level buttons9 of the level menu (inside main menu) */ public class LevelManager : MonoBehaviour { /* * ================= * === S...
LocalBusinessApi/Models/UserManagementService.cs
zakkreyshort/LocalBusiness
0
7067591
<filename>LocalBusinessApi/Models/UserManagementService.cs using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Identity; using LocalBusinessApi.Models; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; namespace LocalBusinessApi.Models { public class UserManagementService : I...
CodeEmbed.GitHubClient/Models/UserPlan.Generated.cs
aetos382/CodeEmbed
0
7067592
<reponame>aetos382/CodeEmbed<filename>CodeEmbed.GitHubClient/Models/UserPlan.Generated.cs namespace CodeEmbed.GitHubClient.Models { using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.Contracts; using CodeEmbed.Git...
Phoenix/Assets/Scripts/Level/Platform/PlatformFactory.cs
finalspace/Phoenix
0
7067593
<filename>Phoenix/Assets/Scripts/Level/Platform/PlatformFactory.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlatformFactory : SingletonBehaviour<PlatformFactory> { public List<GameObject> platforms; public GameObject GetPlatform(int id) { ...
DailyTimeScheduler.DAL/TimeBlockDal.cs
GoodSSenDev/DailyTimeScheduler
0
7067594
<gh_stars>0 using DailyTimeScheduler.DAL.DataContext; using DailyTimeScheduler.IDAL; using DailyTimeScheduler.Model; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DailyTimeScheduler.DAL { public class TimeBlockDal : ...
Assets/HighscoreManager/Scripts/HighscoreManager.cs
SiiMeR/Unity-component-templates
0
7067595
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HighscoreManager : MonoBehaviour { [SerializeField] private GameObject highScoreHolder; private List<GameObject> highScoreLabels; // Use this for initialization void Awake () { highScoreLabels ...
Rafy/Rafy/Env/WCF/CompactMessageEncoder/CompactMessageEncoder.cs
zgynhqf/trunk
0
7067596
<reponame>zgynhqf/trunk #if NET45 using System.ServiceModel.Channels; using System; using System.IO; using System.IO.Compression; using System.Diagnostics; namespace Rafy.WCF { /// <summary> /// A message encoder class that compacts the message size by compressing it. /// </summary> internal class Co...
Robot Battle/Assets/Editor/MapEditor.cs
SardineFish/RobotBattle
1
7067597
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; using Assets.Scripts; namespace Assets.Editor { [CustomEditor(typeof(Map))] public class MapEditor: UnityEditor.Editor { public override void OnInspectorGUI() { ...
BarterEvolution/src/BarterEvolution.Core/Domain/TipoCliente.cs
christiandelgadillo21/ProyectoBarterEvolution.Net
0
7067598
<filename>BarterEvolution/src/BarterEvolution.Core/Domain/TipoCliente.cs using System; using System.Collections.Generic; namespace BarterEvolution.Infrastructure { public partial class TipoCliente { public TipoCliente() { Clientes = new HashSet<Clientes>(); } publi...
XAMLator.Server/DiscoveryBroadcaster.cs
davidortinau/XAMLator
1
7067599
using System; using System.Diagnostics; using System.Net; using System.Net.Sockets; using System.Net.Http; using System.Timers; using System.Threading.Tasks; using System.Text; namespace XAMLator.Server { /// <summary> /// Publishes <see cref="DiscoveryBroadcast"/> messages announcing the service /// runn...
SchedulerBot/SchedulerBot.Infrastructure.Utils/RandomByteGenerator.cs
Scheduler-Bot/scheduler-bot
0
7067600
<filename>SchedulerBot/SchedulerBot.Infrastructure.Utils/RandomByteGenerator.cs using System; using System.Security.Cryptography; using SchedulerBot.Infrastructure.Interfaces.Utils; namespace SchedulerBot.Infrastructure.Utils { /// <summary> /// Provides a way of generating a cryptographically strong random sequenc...
tests/SystemTest.cs
okinta/agrix
0
7067601
<reponame>okinta/agrix<gh_stars>0 using AProgram = agrix.Program.Program; using FluentAssertions; using MockHttp.Net; using tests.Properties; using Xunit; namespace tests { /// <summary> /// Tests provisioning via configuration. /// </summary> public class SystemTest { private...
Assets/Scripts/PobScript.cs
dclamage/PathOfBuildingUnity
1
7067602
using System; using System.Linq; using System.Text; using UnityEngine; using LuaExtensions; using MoonSharp.Interpreter; using System.IO; using System.Collections.Generic; using System.Threading; using Ionic.Zlib; using UnityEngine.UI; using System.Threading.Tasks; using System.Runtime.InteropServices.WindowsRuntime; ...
ConsoleApp/Controllers/DemoController.cs
StrongAndyZhang/AbpEmbedIODemo
1
7067603
using ConsoleApp.Services; using EmbedIO; using EmbedIO.Routing; using EmbedIO.WebApi; namespace ConsoleApp.Controllers { public class DemoController : WebApiController { private readonly IDemoService _demoService; public DemoController(IDemoService demoService) { _demoSer...
src/SigStat.Common/Model/Signer.cs
bmeaut/sigstat
3
7067604
<reponame>bmeaut/sigstat using System; using System.Collections.Generic; using System.Linq; using System.Collections.ObjectModel; using System.Text; namespace SigStat.Common { /// <summary> /// Represents a person as a <see cref="ID"/> and a list of <see cref="Signatures"/>. /// </summary> public clas...
src/SteamSpy/Services/Implementations/SystemService.cs
elamaunt/W40kDoWSS-GameSpy
4
7067605
<filename>src/SteamSpy/Services/Implementations/SystemService.cs using System; using ThunderHawk.Core; namespace ThunderHawk { public class SystemService : ISystemService { public void OpenLink(Uri uri) { try { System.Diagnostics.Process.Start(uri.ToStri...
CodeEval/Easy/SumOfDigits/SumOfDigits.cs
joshimoo/Challenges
1
7067606
<gh_stars>1-10 using System; using System.IO; namespace CodeEval.SumOfDigits { /// <summary> /// Sum of Digits Challenge /// Difficulty: Easy /// Description: Given a positive integer, find the sum of its constituent digits /// Problem Statement: https://www.codeeval.com/open_challenges/21/ //...
Unity-Reader/Assets/Extensions/TobisUnityUtilities/MeshCreator/MeshCreator.cs
TobiasWehrum/demolabs-ungehoersam
256
7067607
<reponame>TobiasWehrum/demolabs-ungehoersam<filename>Unity-Reader/Assets/Extensions/TobisUnityUtilities/MeshCreator/MeshCreator.cs<gh_stars>100-1000 using System.Collections.Generic; using UnityEngine; namespace UnityUtilities { /// <summary> /// Stores the vertex/triangle data of a mesh in easily modifiable ...
Assets/Source/Data/Question.cs
Syncano-Community/unity-quiz-app
1
7067608
<reponame>Syncano-Community/unity-quiz-app using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Syncano; using Newtonsoft.Json; public class Question : SyncanoObject { /// <summary> /// Quesion's text. /// </summary> [JsonProperty("text")] public string Text { get; s...
src/FastGenericNew.SourceGenerator/Utilities/GeneratorInstance{T}.cs
BThree496/FastGenericNew
2
7067609
namespace FastGenericNew.SourceGenerator.Utilities; public static class GeneratorInstance<T> where T : CodeGenerator, new() { public static readonly T Instance = new(); private static CodeGenerationResult? _cachedResult; public static CodeGenerationResult Generate(in GeneratorOptions _oldOptions, in Gen...
Assets/Scripts/Game/nn41/NnPlayer.cs
da1fanshu/1234ewsd
2
7067610
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using System.Linq; using Assets.Scripts.Common.Utils; using Sfs2X.Entities.Data; using UnityEngine; using YxFramwork.Common; using YxFramwork.ConstDefine; using YxFramwork.Framework.Core; using YxFramwork.Manager; using YxFramwork.Framework; us...
NewsAggregator/NewsAggregator.App/Controllers/SourceController.cs
DreiK-one/NewsAggregator
0
7067611
using AutoMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using NewsAggregator.App.Models; using NewsAggregator.Core.DTOs; using NewsAggregator.Core.Interfaces; namespace NewsAggregator.App.Controllers { [Authorize(Roles = "Admin")] public class SourceController : Controller ...
BRGAME/Assets/Devdog/InventoryPro/Scripts/Integration/PlayMaker/CraftingEnableDisableBlueprint.cs
PotentialGames/Cal-tEspa-l
0
7067612
#if PLAYMAKER using HutongGames.PlayMaker; using UnityEngine; namespace Devdog.InventoryPro.Integration.PlayMaker { [ActionCategory(InventoryPro.ProductName)] [HutongGames.PlayMaker.Tooltip("Enable or disable a blueprint")] public class CraftingEnableDisableBlueprint : FsmStateAction { public...
src/SharpLife.CommandSystem/Commands/Variable.cs
voed/SharpLife-Engine
2
7067613
<filename>src/SharpLife.CommandSystem/Commands/Variable.cs<gh_stars>1-10 /*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * This so...
Src/Sample/Sample.Persistence/Repositories/RepositoryBase.cs
JTOne123/IFramework
57
7067614
using IFramework.EntityFrameworkCore.Repositories; using IFramework.UnitOfWork; using Microsoft.Extensions.Logging; namespace Sample.Persistence.Repositories { public class RepositoryBase<TEntity> : Repository<TEntity> where TEntity : class { public RepositoryBase(SampleModelContext dbContext, IUnitOf...
src/HomematicIp/Data/HomematicIpObjects/Home/VoiceControlSettings.cs
kprueckl/HomematicIp
9
7067615
using System.Collections.Generic; namespace HomematicIp.Data.HomematicIpObjects.Home { public class VoiceControlSettings { public string Language { get; set; } public List<string> AllowedActiveSecurityZoneIds { get; set; } = new List<string>(); /// <summary> /// This seems to c...
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/AlwaysEncryptedEnclaveProviderUtils.cs
winseros/SqlClient
0
7067616
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; namespace Microsoft.Data.SqlClient { internal class EnclavePublicKey { ...
ConsoleExtension/ConsoleActions.cs
DevelApp-dk/consoleextension
0
7067617
<gh_stars>0 using System; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Windows.Forms; namespace ConsoleExtension { public static class ConsoleActions { private static bool _debug; public static void RunDebug() { _debug = true; ...
FxGenerator/Perspective.PixelShader.Build/Properties/AssemblyInfo.cs
technodesigner/PerspectiveFX
2
7067618
<reponame>technodesigner/PerspectiveFX using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations ...
Maoui.Forms/Exports.cs
mrmandrake/maoui
0
7067619
using System; using Maoui.Forms; using Maoui.Forms.Cells; using Maoui.Forms.Renderers; using Xamarin.Forms; [assembly: Dependency(typeof(ResourcesProvider))] [assembly: ExportRenderer(typeof(ActivityIndicator), typeof(ActivityIndicatorRenderer))] [assembly: ExportRenderer(typeof(BoxView), typeof(BoxRenderer))] [assem...
Penguin.ParserTools/Regex/AST/SequenceNode.cs
jordan-hemming/ParserTools
0
7067620
<reponame>jordan-hemming/ParserTools using System; using System.Collections.Generic; using System.Text; namespace Penguin.ParserTools.Regex.AST { class SequenceNode : RegexNode { private List<RegexNode> _nodes; public SequenceNode() { _nodes = new List<RegexNode>(); ...
Avalonia.ExtendedToolkit/Extensions/TreeExtensions.cs
FCUnlimited/Avalonia.ExtendedToolkit
0
7067621
<reponame>FCUnlimited/Avalonia.ExtendedToolkit using System.Collections.Generic; using System.Linq; using Avalonia.Controls; using Avalonia.LogicalTree; using Avalonia.VisualTree; namespace Avalonia.ExtendedToolkit.Extensions { /// <summary> /// visual/logical tree extensions /// </summary> public sta...
samples/BoltOn.Samples.WebApi/Controllers/StudentsController.cs
BoltOnSuite/BoltOn
13
7067622
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BoltOn.Requestor.Pipeline; using BoltOn.Samples.Application.DTOs; using BoltOn.Samples.Application.Handlers; using Microsoft.AspNetCore.Mvc; namespace BoltOn.Samples.WebApi.Controllers { publi...
CSharp Workshops/MoiteRecepti/Web/MoiteRecepti.Web/Controllers/RecipesController.cs
lkrastanov/SoftUni
188
7067623
<gh_stars>100-1000 namespace MoiteRecepti.Web.Controllers { using System; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.As...
Alipay.AopSdk.Core/Response/KoubeiCateringTablelistQueryResponse.cs
gaojunhuang/Alipay.AopSdk.Core
708
7067624
using Newtonsoft.Json; using Alipay.AopSdk.Core.Domain; namespace Alipay.AopSdk.Core.Response { /// <summary> /// KoubeiCateringTablelistQueryResponse. /// </summary> public class KoubeiCateringTablelistQueryResponse : AopResponse { /// <summary> /// 返回tablelistresult列表 /// </summary> [JsonPropert...
EasyCommands/Common/Properties.cs
msetze01/EasyCommands
5
7067625
using Sandbox.Game.EntityComponents; using Sandbox.ModAPI.Ingame; using Sandbox.ModAPI.Interfaces; using SpaceEngineers.Game.ModAPI.Ingame; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using VRage; using VRage.Collections; using VRage.Game; using VRage...
AutoStop/SimpleRankMgr.cs
ghotm/HearthbuddyPlugins
2
7067626
<gh_stars>1-10 using System; using System.Reflection; using Triton.Common; using Triton.Game.Mapping; using Triton.Game.Mono; namespace Triton.Game.Mono { public class SimpleRankMgr : MonoBehaviour { public SimpleRankMgr(IntPtr address, string className) : base(address, className) { } ...
LanguageBuilder/LanguageBuilder.Tests/Services/BaseServiceTest.cs
peter-stoyanov/ASP.NET-Core-MVC
0
7067627
using LanguageBuilder.Data; using Microsoft.EntityFrameworkCore; using System; namespace LanguageBuilder.Tests.Services { public abstract class BaseServiceTest : BaseTest { protected BaseServiceTest() { TestStartup.Initialize(); } protected LanguageBuilderDbContext...
src/Test.Utilities/MinimalImplementations/NewtonsoftJsonNetApis.cs
wagnerhsu/dotnet-roslyn-analyzers
0
7067628
<filename>src/Test.Utilities/MinimalImplementations/NewtonsoftJsonNetApis.cs<gh_stars>0 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Test.Utilities.MinimalImplementations { public static c...
src/LibHac/Fs/Shim/Host.cs
Xpl0itR/LibHac
0
7067629
<reponame>Xpl0itR/LibHac<gh_stars>0 using System; using System.Runtime.CompilerServices; using LibHac.Common; using LibHac.Diag; using LibHac.Fs.Fsa; using LibHac.Fs.Impl; using LibHac.FsSrv.Sf; using LibHac.FsSystem; using LibHac.Os; using LibHac.Util; using static LibHac.Fs.StringTraits; using static LibH...
CompanyCode.ApiTemplate.Repository.Ingres/IngresConfiguration/IngresOdbcConnection.cs
cedd82/CompanyCode.ApiTemplate
0
7067630
<gh_stars>0 using FluentNHibernate.Cfg.Db; using NHibernate.Dialect; using NHibernate.Driver; namespace CompanyCode.ApiTemplate.Repository.Ingres.IngresConfiguration { public class IngresOdbcConnection : PersistenceConfiguration<IngresOdbcConnection, OdbcConnectionStringBuilder> { private IngresOdbcC...
CueX.Geometry/Circle.cs
trevex/CueX
0
7067631
// Copyright (c) <NAME>. All rights reserved. // Licensed under the Apache2 license. See LICENSE file in the project root for full license information. namespace CueX.Geometry { public class Circle : IArea { private readonly double _radius; private Circle(double radius) { ...
Hassan.MyAnimeList/Authentication/AuthenticationService.cs
mdabrarhassan/Hassan.MyAnimeList
0
7067632
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Hassan.MyAnimeList.Preconditions; using Hassan.MyAnimeList.Profiles; using Hassan.MyAnimeList.Profiles.Providers; using OneOf; using OneOf.Types; namespace Hassan.MyAnimeList.Authentication { /// <summary> /// Describes a...
SlothEnterprise.ProductApplication/Processors/ConfidentialInvoiceDiscountProcessor.cs
aderke/Sloths.Recruitment
0
7067633
<filename>SlothEnterprise.ProductApplication/Processors/ConfidentialInvoiceDiscountProcessor.cs using SlothEnterprise.External; using SlothEnterprise.External.V1; using SlothEnterprise.ProductApplication.DTO.Company; using SlothEnterprise.ProductApplication.DTO.Product; using SlothEnterprise.ProductApplication.Service...
Watts.Azure.Common/Security/AzureActiveDirectoryAuthentication.cs
kfaerk/watts.azure
2
7067634
namespace Watts.Azure.Common.Security { using System; using Interfaces.Security; using Microsoft.Azure; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Rest; using Microsoft.Rest.Azure.Authentication; public class AzureActiveDirectoryAuthentication : IAzureActiveDirec...
src/MAVN.Service.CustomerProfile/Controllers/CustomerPhonesController.cs
mavn-alliance/MAVN.Service.CustomerProfile
0
7067635
using System.Net; using System.Threading.Tasks; using MAVN.Service.CustomerProfile.Client.Api; using MAVN.Service.CustomerProfile.Client.Models.Enums; using MAVN.Service.CustomerProfile.Client.Models.Requests; using MAVN.Service.CustomerProfile.Client.Models.Responses; using MAVN.Service.CustomerProfile.Domain.Services...
Assets/Scripts/PauseMenu.cs
Jay-Mehta/ClassicPlatformer
0
7067636
<reponame>Jay-Mehta/ClassicPlatformer<gh_stars>0 using UnityEngine; using System.Collections; public class PauseMenu : MonoBehaviour { public GameObject pausedUI; public bool paused = false; private float someTime = 0; void Start(){ pausedUI.active = false; } void Update () { if (Input.GetKey (KeyCode.E...
1-2-FactoryMethod/Solution1/EmployeeFactory.cs
hasandogn/Design-Patterns
0
7067637
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _1_2_FactoryMethod.Solution1 { public class EmployeeFactory : Factory { public Employee Create() { Employee employee = new Employee(EmployeeRandomizer.Creat...
Sebo/Sebo/Model/DBContext.cs
LarryPavanery/disciplina.net
0
7067638
using Sebo.Migrations; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sebo.Model { class DBContext : DbContext { public DbSet<Editora> Editoras { get; set; } public DbSet<Livro> Livros { ge...
src/TonClientBlazor.Domain/Modules/Crypto/TonCryptoChaCha20Result.cs
ch1seL/TonClientBlazor
6
7067639
<reponame>ch1seL/TonClientBlazor<filename>src/TonClientBlazor.Domain/Modules/Crypto/TonCryptoChaCha20Result.cs using System.Text.Json.Serialization; namespace ch1seL.TonClientBlazor.Modules.Crypto { public class TonCryptoChaCha20Result { [JsonPropertyName("data")] public string Data { get; set; } ...
Assets/Scripts/UI/UI.cs
alexismorin/rooms
0
7067641
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UI : MonoBehaviour { [SerializeField] Text subtitle; [SerializeField] Color subtitleColor = Color.white; [SerializeField] public Text prompt; [SerializeField] Text object...
Assets/Scripts/Network/NetworkSync/NetworkSyncToHost.cs
drifter-handbook/NetworkLibrary
0
7067642
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class NetworkSyncToHost : MonoBehaviour { NetworkSync networkSync; public object this[string key] { get { if (GameController.Instance.IsHost) { throw new InvalidOperationException("Invalid ...
ReplayEditor2/BMAPI/v1/Events/ContentEvent.cs
silvio0497/OsuReplayEditorV2
23
7067643
<reponame>silvio0497/OsuReplayEditorV2  namespace BMAPI.v1.Events { public class ContentEvent : EventBase { public ContentEvent() { } public ContentEvent(EventBase baseInstance) : base(baseInstance) { } public ContentType Type = ContentType.Image; public string Filename { get; ...
burialplots/views/Home/TestPage.cshtml
neocodejack/burial-plots
0
7067644
<gh_stars>0 <!DOCTYPE html> <html class="js" lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <title>Burial Plots</title> <link href="ht...
src/Caliburn.Light.WinUI/Services/IFrameAdapter.cs
tibel/Caliburn.Light
59
7067645
<reponame>tibel/Caliburn.Light using System.Collections.Generic; using Microsoft.UI.Xaml.Controls; namespace Caliburn.Light.WinUI { /// <summary> /// The interface to attach the framework to a <see cref="Frame"/>. /// </summary> public interface IFrameAdapter { /// <summary> /// At...
DSLiteral.MUGEN.Characters/StateController.cs
DarksideLiteral/MUGEN
0
7067646
#nullable enable using System; using System.Collections.Generic; using System.Dynamic; using System.Runtime.CompilerServices; using System.Text; namespace DSLiteral.MUGEN.Characters { public sealed class StateController : DynamicObject { private readonly Dictionary<Trigger, Expression> items = new Di...
WebAPI2AuthenticationExample.iOS/ServiceViewController.cs
BenAtStatement1/WebAPI2AuthenticationExample
59
7067647
<filename>WebAPI2AuthenticationExample.iOS/ServiceViewController.cs using System; using System.Collections.Generic; using System.Text; using MonoTouch.Foundation; using MonoTouch.UIKit; using WebAPI2AuthenticationExample.iOS.Services; namespace WebAPI2AuthenticationExample.iOS { public partial class ServiceViewContro...
UnitsNet.NanoFramework/GeneratedCode/Quantities/MassFlow.g.cs
Muximize/UnitsNet
1
7067648
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
src/OSharp/Audits/IAuditStore.cs
zipiii/osharp-ns20
0
7067649
// ----------------------------------------------------------------------- // <copyright file="IAuditStore.cs" company="OSharp开源团队"> // Copyright (c) 2014-2017 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2017-12-31 1:26</l...
Src/Couchbase.UnitTests/IO/Operations/Subdocument/MultiGetTests.cs
SchoolMasterNL/couchbase-net-client
0
7067650
using Couchbase.Core; using Couchbase.Core.Transcoders; using Couchbase.IO; using Couchbase.IO.Operations.SubDocument; using NUnit.Framework; namespace Couchbase.UnitTests.IO.Operations.Subdocument { [TestFixture] public class MultiGetTests { [TestCase(null)] [TestCase("")] [TestCa...
Lab 5/Lab 5/Composition.cs
ernestochaves/DAS3C2018
0
7067651
<reponame>ernestochaves/DAS3C2018 using System; namespace Lab_5 { public class StudentC { Person person = new Person(); public string FormatNameAndId(string name, int id) { //Changes to person interface not necessarily need to break all the code, just this part. ...
Moviebase.Core/Components/IFileScanner.cs
GreenDragonflyStudio/Moviebase
4
7067652
using System.Collections.Generic; namespace Moviebase.Core.Components { /// <summary> /// Provides file system search support. /// </summary> public interface IFileScanner { /// <summary> /// Gets or sets movie file detection based on file extension. /// </summary> L...
source/Cosmos.IL2CPU/AssemblyIdentity.cs
zarlo/IL2CPU
207
7067653
using System; using System.Reflection; namespace Cosmos.IL2CPU { /// <summary> /// Wrapper for <seealso cref="AssemblyName" />, used to compare <seealso cref="AssemblyName" /> objects equality. /// Only the assembly name is compared (<seealso cref="AssemblyName.Name" />). /// </summary> internal c...
KeepAChangelogParser/Models/ChangelogToken.cs
shuelsmeier/keepachangelogparser
1
7067654
using System.Diagnostics; namespace KeepAChangelogParser.Models { [DebuggerDisplay("{debuggerDisplay,nq}")] internal class ChangelogToken { public ChangelogTokenType Type { get; } public int LineNumber { get; } public int Index { get; } public string Value { get; } public ChangelogToke...
BooksUI.Tests/UnitTest1.cs
valentinJonev/Books
0
7067655
using System; using BooksUI.Controllers; using Model.Models; using System.Web; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BooksUI.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void LoginWithNoUsersRegisteredFail() { ...
src/server/MUDhub.Core/Models/Inventories/ItemInstance.cs
MUDHub/MUDhub
8
7067659
using System; namespace MUDhub.Core.Models.Inventories { public class ItemInstance { public ItemInstance() { Id = Guid.NewGuid().ToString(); } public ItemInstance(string id) { Id = id; } public string Id { get; } public ...
Tripous/Enums/DateRange.cs
tbebekis/Tripous
0
7067660
/*-------------------------------------------------------------------------------------- Copyright © 2018 <NAME> <EMAIL> --------------------------------------------------------------------------------------*/ using System; namespace Tripous { //...
sources/set.web.test/Shared/BaseBehaviourTest.cs
cihancoskun/set-web
1
7067661
<gh_stars>1-10 using System; using System.Threading; using set.web.Data.Entities; using set.web.Helpers; using set.web.Models; namespace set.web.test.Shared { public class BaseBehaviourTest { public const string ACTION_LOGIN = "Login"; public const string ACTION_LOGOUT = "Logout"; pub...
bhimesh.cint.app.tests/OfficeFloorTest.cs
bhimeshchauhan/RobotCleaner
0
7067662
<reponame>bhimeshchauhan/RobotCleaner  using NUnit.Framework; namespace bhimesh.cint.app.tests { [TestFixture] public class OfficeFloorTest { [Test] public void NorthStep_isCorrect() { Coord answer = OfficeFloor.Movetowards(Moveto.N); Assert.Ar...
Server.Tests/Controllers.Tests/UsersControllerTests.cs
Faurby/BlackOps
0
7067663
<reponame>Faurby/BlackOps<filename>Server.Tests/Controllers.Tests/UsersControllerTests.cs using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using MongoDB.Bson; using Moq; using Newtonsoft.Json; namespace Server.Tests; public class UsersControllerTests { // If you're l...
src/View.Core/Interfaces/IEntity.cs
View12138/View.Libraries
2
7067664
<filename>src/View.Core/Interfaces/IEntity.cs using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; namespace View.Core.Interfaces { /// <summary> /// 实体类 接口 /// </summary> public interface IEntity { } }
Tests/Concerning_the_API/Given_a_TextBox/When_the_color_is_set_to_black.cs
W0dan/PdfCraft
2
7067665
using System.Drawing; using NUnit.Framework; using PdfCraft.API; using PdfCraft.Fonts; namespace Tests.Concerning_the_API.Given_a_TextBox { [TestFixture] public class When_the_color_is_set_to_black : BaseTest { private TextBox _sut; private Document _document; private Color _color;...
demo/Library/PackageCache/com.unity.entities@0.0.12-preview.24/Unity.Entities.Properties/ProxyProperties/TypeIdProperty.cs
Thanalan/GameBookClient
71
7067666
<filename>demo/Library/PackageCache/com.unity.entities@0.0.12-preview.24/Unity.Entities.Properties/ProxyProperties/TypeIdProperty.cs using Unity.Properties; namespace Unity.Entities.Properties { internal class TypeIdStructProperty : ValueStructProperty<StructProxy, string> { public TypeIdStructPropert...
src/RequestLog.MySql/MySqlOptionsExtension.cs
zhenlei520/RequestLog
9
7067667
<gh_stars>1-10 using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using RequestLog.Persistence; namespace RequestLog.MySql { /// <summary> /// /// </summary> internal class MySqlOptionsExtension : ...
cake/Cake.Recipe/Content/version.cake
garyng/wtfd
2
7067668
public class BuildMetaData { public static string Date { get; } = "2019-10-19 13:58:06"; public static string Version { get; } = "2.0.0-custombuild"; }
Models/TreeViewNodeModel.cs
tcd1nc/ProjectRep-PTR
0
7067669
<reponame>tcd1nc/ProjectRep-PTR namespace PTR.Models { public class TreeViewNodeModel : ViewModelBase { int parentid; public int ParentID { get { return parentid; } set { SetField(ref parentid, value); } } int id; public int I...
Assets/Event System/Demo/Scripts/Gameplay/Pool.cs
daniazram/Event-System-
0
7067670
<reponame>daniazram/Event-System- using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pool : MonoBehaviour { private static Pool instance; [SerializeField] private int size; [SerializeField] private GameObject bulletPrefab; private List<Bullet> bullets;...
Sources/Ditch.BitShares/Models/MarketTrade.cs
abitmore/Ditch
33
7067671
<filename>Sources/Ditch.BitShares/Models/MarketTrade.cs using Ditch.Core.Models; using Newtonsoft.Json; namespace Ditch.BitShares.Models { /// <summary> /// market_trade /// libraries\app\include\graphene\app\database_api.hpp /// </summary> [JsonObject(MemberSerialization.OptIn)] public class M...
test/EventStore.Client.Streams.Tests/read_stream_backward_messages.cs
EventStore/EventStore-Client-Dotnet
54
7067672
<reponame>EventStore/EventStore-Client-Dotnet using System.Linq; using System.Threading.Tasks; using Xunit; namespace EventStore.Client { [Trait("Category", "Network")] public class read_stream_backward_messages : IClassFixture<read_stream_backward_messages.Fixture> { private readonly Fixture _fixture; public r...
Code/DependencyInjection/MyApplication.cs
daveteske/csharp-code
0
7067673
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace DependencyInjection { public class MyApplication { private readonly IConcreteService concreteService; public MyApplication(IConcreteService concreteService) { this.concre...
OnionPattern/OnionPattern.Service/Requests/Platform/DeletePlatformByIdRequest.cs
CubicleJockey/OnionPattern
4
7067674
using System; using AutoMapper; using OnionPattern.Domain.Platform.Responses; using OnionPattern.Domain.Repository; using OnionPattern.Domain.Services.Requests.Platform; using Serilog; namespace OnionPattern.Service.Requests.Platform { public class DeletePlatformByIdRequest : BaseServiceRequest<Domain.Platform.En...
src/Yoti.Auth/DocScan/Session/Create/NotificationConfigBuilder.cs
getyoti/yoti-dotnet-sdk
6
7067675
<reponame>getyoti/yoti-dotnet-sdk<filename>src/Yoti.Auth/DocScan/Session/Create/NotificationConfigBuilder.cs using System.Collections.Generic; namespace Yoti.Auth.DocScan.Session.Create { public class NotificationConfigBuilder { private readonly List<string> _topics = new List<string>(); priva...