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
Assets/Project/Model/Tests/PuyoBoardTest.cs
elipmoc/PuyoPuyoMVP
2
7062115
<reponame>elipmoc/PuyoPuyoMVP using System.Collections; using System.Collections.Generic; using UnityEngine; using NUnit.Framework; public class PuyoBoardTest : MonoBehaviour { [Test] public void MatchPuyoTest() { PuyoBoard board = new PuyoBoard(6, 6, 4); Assert.That(true); ...
Nami/Modules/Currency/BankModule.cs
Thalitech/Nami
0
7062116
<gh_stars>0 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attributes; using DSharpPlus.Entities; using DSharpPlus.Exceptions; using Humanizer;...
C# Fundamentals Module/CSharp-OOP-Basics/Feb 2018 instance/04.Inheritance/Inheritance/P03.Mankind/Models/Worker.cs
msotiroff/Softuni-learning
1
7062117
namespace P03.Mankind.Models { using System; using System.Text; using static Common.Constants; public class Worker : Human { private decimal weekSalary; private double workHoursPerDay; public Worker(string firstName, string lastName, decimal weekSalary, double workHoursPer...
Appinion.ApplicationService/Commands/Usuario/PararSeguirUsuarioCommand.cs
eduardosbcabral/appinion-backend
1
7062118
using Appinion.Domain.Enum; using FluentValidation; using System; using System.Collections.Generic; using System.Text; namespace Appinion.ApplicationService.Commands { public class PararSeguirUsuarioCommand : ICommand { public TransacaoOpt Operacao => TransacaoOpt.PARAR_SEGUIR_USUARIO; public...
compiler/json/FileInfoSerializer.cs
0xF6/mana_lang
13
7062119
namespace vein.json; using System; using System.IO; using Newtonsoft.Json; [ExcludeFromCodeCoverage] public class FileInfoSerializer : JsonConverter<FileInfo> { public override void WriteJson(JsonWriter writer, FileInfo value, JsonSerializer serializer) => writer.WriteValue(value.FullName); public ov...
sources/Framework/org.ohdsi.cdm.framework.common2/Attributes/CDMSourceAttribute.cs
AnthonyMolinaro/ETL-LambdaBuilder
3
7062120
<reponame>AnthonyMolinaro/ETL-LambdaBuilder<gh_stars>1-10 using System; namespace org.ohdsi.cdm.framework.common2.Attributes { public class CdmSourceAttribute : Attribute { public CdmSourceAttribute(string value) { this.Value = value; } public string Value { get; }...
donguler_for_loop/Program.cs
rumeysalyk/kodluyoruzilkrepo
1
7062121
using System; namespace donguler_for_loop { class Program { public static void Main(string[] args) { //Ekrandan girilen sayıya kadar olan tek sayıları ekrana yazdır. Console.WriteLine("Lütfen bir sayi giriniz: "); int sayac = int.Parse(Console.Re...
JewelInventory/Connections/Interfaces/IUserService.cs
itsbijay/jewelinventory
2
7062123
using System.Linq; namespace Connections { public interface IUserService { UserResponse SaveUser(UserRequest request); User AuthenticateUser(UserLoginRequest request); User GetUserByUserName(string userName); IQueryable<User> GetAllUser(); } }
src/OpenVsixSignTool.Core/Timestamp/TimestampBuilder.netcoreapp.cs
manuelxmarquez/OpenOpcSignTool
21
7062124
using System; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; using System.Threading.Tasks; namespace OpenVsixSignTool.Core.Timestamp { static partial class TimestampBuilder { private static async Task<(TimestampResult, byte[])> Sub...
Library/PackageCache/com.unity.render-pipelines.lightweight@4.6.0-preview/Runtime/Data/LightweightRenderPipelineAsset.cs
vabyz971/Tower-Defense
26
7062125
#if UNITY_EDITOR using System; using UnityEditor; using UnityEditor.ProjectWindowCallback; #endif namespace UnityEngine.Experimental.Rendering.LightweightPipeline { public enum ShadowCascadesOption { NoCascades, TwoCascades, FourCascades, } public enum ShadowQuality { ...
TrainingDesign/OpenClosed/Lab01/Excercise/Solution/Your/MealFactory.cs
hdowalil/software-design-c_sharp
1
7062126
using System; using System.Collections.Generic; using System.Text; namespace OpenClosed.Lab01.Excercise.Solution.Your { /// <summary> /// The Factory Method Pattern is kind of obsolete, since the introduction of lambdas. /// Simplify the sample.solution by using java 8 features /// </summary> clas...
test/DocumentFormat.OpenXml.Framework.Features.Tests/DisposableFeatureTests.cs
sorensenmatias/Open-XML-SDK
2,667
7062127
<gh_stars>1000+ // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml.Packaging; using NSubstitute; using NSubstitute.Extensions; using System; using Xunit; namespace DocumentFormat.OpenXml.F...
Tests/Revo.Core.Tests/Commands/CommandContextTests.cs
chengliang-git/Revo
290
7062128
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FluentAssertions; using Revo.Core.Commands; using Revo.Core.Transactions; using NSubstitute; using Xunit; namespace Revo.Core.Tests.Commands { public class CommandContextTests { [F...
Assets/LSystemRuleSet.cs
MariusKM/L-Systems-Unity
0
7062129
<filename>Assets/LSystemRuleSet.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; public class LSystemRuleSet { private Dictionary<char, string> rules = new Dictionary<char, string>(); private string axiom; private float angle; private ...
Cringebot/Cringebot/Wrappers/DeviceWrapper.cs
KRA2008/cringebot
1
7062130
using System; using Xamarin.Forms; namespace Cringebot.Wrappers { public interface IDeviceWrapper { void OpenUri(string uri); string RuntimePlatform(); } public class DeviceWrapper : IDeviceWrapper { public void OpenUri(string uri) { Devi...
source/R5T.Norsica.Base/Code/Services/Extensions/IDotnetOperatorExtensions.cs
SafetyCone/R5T.Norsica.Base
0
7062131
<reponame>SafetyCone/R5T.Norsica.Base using System; using R5T.Angleterria; namespace R5T.Norsica { public static class IDotnetOperatorExtensions { public static void Publish(this IDotnetOperator dotnetOperator, string projectFilePath, string outputDirectoryPath, string buildConfigurationNam...
Tests/Tests/Entitas/describe_GroupObserver.cs
Mwimwii/Entitas-CSharp
1
7062132
using NSpec; using Entitas; class describe_GroupObserver : nspec { Pool _pool; void when_created() { Group groupA = null; GroupObserver observerA = null; IMatcher matcherA = Matcher.AllOf(new[] { CID.ComponentA }); before = () => { _pool = new Pool(CID.NumCompo...
Unity/Codes/HotfixView/Demo/UI/UIHelp/SceneChangeFinishEvent_CreateUIHelp.cs
ZeroKeving/ET-EUI
1
7062133
<reponame>ZeroKeving/ET-EUI namespace ET { public class SceneChangeFinishEvent_CreateUIHelp : AEvent<EventType.SceneChangeFinish> { protected override async ETTask Run(EventType.SceneChangeFinish args) { await args.CurrentScene.GetComponent<UIComponent>().ShowWindowAsync(WindowID.Wi...
classes/Lesson_4/Program.cs
mbakin/cs-101
0
7062134
using System; namespace Lesson_4 { class Program { static void Main(string[] args) { Console.WriteLine("Count workers : {0}", Worker.CountWorker); Worker worker = new Worker("Dwight", "Schrute","Sales Manager"); Console.WriteLine("Count workers : {0}", Worke...
Tooll/Components/SelectionView/ShowScene/TransformGizmo/GizmoPart.cs
kajott/tooll
639
7062136
<gh_stars>100-1000 // Copyright (c) 2016 Framefield. All rights reserved. // Released under the MIT license. (see LICENSE.txt) using System.Collections.Generic; using Framefield.Core; using Framefield.Core.Commands; using Framefield.Core.Curve; using SharpDX; namespace Framefield.Tooll.Components.SelectionView.ShowS...
Assets/Scripts/PathfindingVisualization.cs
smashriot/Pathfinding
0
7062137
<reponame>smashriot/Pathfinding<gh_stars>0 // ------------------------------------------------------------------------------------------------- // PathfindingVisualization.cs // Created by <NAME> (<EMAIL>) on 2017/03/02 // Copyright 2017 SmashRiot, LLC. All rights reserved. // ---------------------------------------...
Assets/Scripts/EnemyController.cs
Nikhil2194/2D-Platformer-Game
0
7062138
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { private void OnCollisionEnter2D(Collision2D collision) //added enemy { if (collision.gameObject.GetComponent<PlayerController>() != null) { Pl...
source/MikhailKhalizev.Max/source/Program/Auto/z-0019-8bd0.cs
mikhail-khalizev/max
3
7062139
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x19_8bd0-5e9bfa0f")] public void Method_0019_8bd0() { ii(0x19_8bd0, 1); push(ds); /...
src/Imml/Scene/Controls/Model.cs
craigomatic/IMML
0
7062140
<reponame>craigomatic/IMML<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; using Imml.ComponentModel; namespace Imml.Scene.Controls { /// <summary> /// Provides functionality for displaying mesh data. /// </summary> public class Model : CubicEl...
azure-service-bus-active-receiver-lib/EventRepo.cs
jpda/azure-service-bus-active-rep
2
7062141
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Documents.Linq; namespace azure_service_bus_active_receiver_lib { public class EventRepo<T> ...
System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/Hosting/IDocumentPersistenceService.cs
cnork/referencesource
911
7062142
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Presentation.Hosting { using System; using System.Collection...
Source/HaloSharp/Model/HaloWars2/Metadata/CardKeyword/CardKeyword.cs
gitFurious/HaloSharp
32
7062143
<filename>Source/HaloSharp/Model/HaloWars2/Metadata/CardKeyword/CardKeyword.cs using System; using Newtonsoft.Json; namespace HaloSharp.Model.HaloWars2.Metadata.CardKeyword { [Serializable] public class CardKeyword : IEquatable<CardKeyword> { [JsonProperty(PropertyName = "Keyword")] public ...
BootstrapVue.Net/Components/Nav/VueNavDropdown.cs
JosephKimbrough/bootstrap-vue.net
0
7062144
<filename>BootstrapVue.Net/Components/Nav/VueNavDropdown.cs using System; using System.Collections.Generic; using static Showout.BootstrapVue.Net.Components.Nav.Constants.NavDropdownProperties; namespace Showout.BootstrapVue.Net.Components.Nav { public partial class VueNav { public class VueNavDropDow...
Program.cs
qianniaoge/SharpNukeEventLog
105
7062145
using System; using System.Text; using System.Management; using System.Runtime.InteropServices; using System.Security.Principal; using DInvoke.DynamicInvoke; using Native = DInvoke.Data.Native; namespace SharpEventMuter { class Program { [DllImport("psapi.dll")] private static extern uint GetM...
src/ReactiveDomain.Foundation.Tests/SynchronizedStreamListenerTests/Common/TestStreamNameBuilder.cs
npiani/reactive-domain
19
7062146
using System; namespace ReactiveDomain.Foundation.Tests.SynchronizedStreamListenerTests.Common { /// <summary> /// Generate stream names for testing. /// </summary> /// <remarks> /// todo: /// The use of the extra Guid doesn't match the generation by the <see cref="ReactiveDomain.Foundation.I...
src/Controls/src/Core/Platform/Tizen/Extensions/CollectionViewExtensions.cs
abod1944/maui
0
7062147
<reponame>abod1944/maui using System.Collections.Specialized; using System.Linq; using Microsoft.Maui.Controls.Handlers.Items; using Tizen.UIExtensions.ElmSharp; using TCollectionView = Tizen.UIExtensions.ElmSharp.CollectionView; using TCollectionViewSelectionMode = Tizen.UIExtensions.ElmSharp.CollectionViewSelectionMo...
src/SimSharp/Visualization/Basic/Styles/Style.cs
KlaraDurst/SimSharp
0
7062148
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace SimSharp.Visualization.Basic.Styles { public class Style { public string Fill { get; } public string Stroke { get; } public int StrokeWidth { get; } public Style(string fill = "", string stroke = "",...
Protocols/IoTWork.Protocol/Types/Payload.cs
samnium/IoTWork.Central
0
7062149
<reponame>samnium/IoTWork.Central<gh_stars>0 using IoTWork.Protocol.Datas; using IoTWork.Protocol.Devices; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace IoTWork.Protocol.Types...
SOURCE/base/Kernel/Singularity.Hal.LegacyPC/HalDevices.cs
pmache/singularityrdk
3
7062150
<reponame>pmache/singularityrdk /////////////////////////////////////////////////////////////////////////////// // // Microsoft Research Singularity // // Copyright (c) Microsoft Corporation. All rights reserved. // // File: HalDevices.cs // // Note: // using System; using System.Collections; using System.Runtime...
02-CDC/EmailService/Message.cs
bsstahl/AvoidingDualWrites
2
7062151
<reponame>bsstahl/AvoidingDualWrites<filename>02-CDC/EmailService/Message.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmailService { public class Message { public Guid Id { get; set; } public string SendToAddr...
CodiceFiscale/Models/Fiscale.cs
pallaxx/CodiceFiscale
0
7062152
<filename>CodiceFiscale/Models/Fiscale.cs using System; using System.Collections.Generic; using System.IO; using System.Text; namespace CodiceFiscale.Models { class Fiscale { char[] vocali = { 'a', 'e', 'i', 'o', 'u' }; char[] consonanti = { 'b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', '...
Scripts/ScreenTransitioning/UIScreenTransition.cs
AndrewLevada/UnityKit
1
7062153
<reponame>AndrewLevada/UnityKit namespace UnityKit.ScreenTransitioning { public class UIScreenTransition { private readonly UIScreen from; private readonly UIScreen to; private readonly UIScreenTransitionBehaviour behaviour; public UIScreenTransition(UIScreen from, UIScreen to, UIS...
sourceCode/dotNet4.6/ndp/fx/src/DataWeb/Server/System/Data/Services/Epm/EpmContentDeSerializer.cs
csoap/csoap.github.io
5
7062154
<filename>sourceCode/dotNet4.6/ndp/fx/src/DataWeb/Server/System/Data/Services/Epm/EpmContentDeSerializer.cs<gh_stars>1-10 //--------------------------------------------------------------------- // <copyright file="EpmContentDeSerializer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights ...
Source/Help/HelpBuilder.cs
rushfive/RunInfoBuilder
41
7062155
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace R5.RunInfoBuilder.Help { internal static class HelpBuilder { private const string Padding = " "; private static string PaddingRepeated(int repeatCount) => new StringBuilder().Insert(0, Padding, repeatCount).ToString...
RT.Lingo/LanguageHelperWpf.cs
Emik03/RT.Util
1
7062156
using System; using System.Windows.Controls; using System.Windows.Media; using RT.Util.Forms; namespace RT.Lingo { /// <summary>Helps an application using Lingo to display language selection UI using WPF controls.</summary> /// <typeparam name="TTranslation">The type of the class holding the program’s transla...
MapSuiteGisEditor/GisEditorPluginCore/Shares/Wizards/SimplifyWizard/Steps/SimplifyWizardSaveResultsUserControl.xaml.cs
hoangduit/MapSuiteGisEditor
2
7062157
<filename>MapSuiteGisEditor/GisEditorPluginCore/Shares/Wizards/SimplifyWizard/Steps/SimplifyWizardSaveResultsUserControl.xaml.cs /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regard...
Dragablz/TabablzControl.Helpers.cs
sakib1361/Dragablz
1
7062158
using System; using System.Collections.Generic; using System.Linq; namespace Dragablz { public partial class TabablzControl { /// <summary> /// Helper method to add an item next to an existing item. /// </summary> /// <remarks> /// Due to the organisable nature of the c...
RandomOrgSharpUnitTest/RandomOrgApiServiceTest.cs
gsteinbacher/RandomOrgSharp
0
7062159
using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Obacher.Framework.Common.SystemWrapper; using Obacher.RandomOrgSharp.Core; using Obacher.UnitTest.Tools; using Obacher.UnitTest.Tools.Mocks; using Should.Fluent; nam...
src/CodeGenerator.Infra.Common/Context/UserContext.cs
ileego/CodeGenerator
1
7062160
using CodeGenerator.Infra.Common.ValueModel; namespace CodeGenerator.Infra.Common.Context { /// <summary> /// 用户存储当前用户上下文 /// </summary> public class UserContext { public string UserKey { get; set; } public UserModel User { get; set; } } }
mvp-file-manager/MiniTCPanelView.Designer.cs
luksari/winforms-file-manager
0
7062161
<filename>mvp-file-manager/MiniTCPanelView.Designer.cs namespace mvp_file_manager { partial class MiniTCPanelView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean...
SteamAutoMarketWPF/SteamAutoMarket/SteamAutoMarket/UI/Models/SteamAccountHyperlinkModel.cs
Shamanovski/SteamAutoMarket
3
7062162
namespace SteamAutoMarket.UI.Models { using System; using System.Linq; using SteamAutoMarket.UI.Repository.Settings; using SteamKit2; [Serializable] public class SteamAccountHyperlinkModel { public SteamAccountHyperlinkModel(SteamID steamId) { this.AccountName...
Assets/Scripts/Prototype/ScrollableTextures.cs
Whalics/Cube-Dudes
0
7062163
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScrollableTextures : MonoBehaviour { // Start is called before the first frame update public float scrollX; public float scrollY; // Update is called once per frame void Update() { fl...
abbTools/UnitTests/EmbeddedResource.cs
piopon/abb-tools
7
7062164
using System.IO; using System.Linq; using System.Reflection; namespace abbTools.UnitTests { class EmbeddedResource { public static string getResource(string name) { Assembly currAssembly = Assembly.GetExecutingAssembly(); string resourceName = currAssembly.GetManifestRe...
Samples/TimeOutXUnitTest/TimeOutXUnitTest.cs
tmds/dotnet-bunny
0
7062166
<gh_stars>0 using System; using System.Threading; using Xunit; namespace Samples { public class PassingXUnitTest { [Fact] public void Test1() { TimeSpan duration = new TimeSpan(hours: 1, minutes: 0, seconds: 0); Thread.Sleep(duration); } } }
OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo8/Uncoupled/Chapter1/Page1_0.cs
starburst997/.NET-Ogg-Vorbis-Encoder
42
7062167
<reponame>starburst997/.NET-Ogg-Vorbis-Encoder namespace OggVorbisEncoder.Setup.Templates.BookBlocks.Stereo8.Uncoupled.Chapter1 { public class Page1_0 : IStaticCodeBook { public int Dimensions { get; } = 4; public byte[] LengthList { get; } = { 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 8, 8, 7, 9,...
FractalMachineLib/Code/Components/Function.cs
LightAlliance/FractalMachine
0
7062168
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace FractalMachineLib.Code.Components { public class Function : Component { internal List<Overload> overloads = new List<Overload>(); internal bool isEntryPoint = false; public Function(Component pare...
samples/ObfuscationFodySamples/Program.cs
VAllens/Obfuscation.Fody
10
7062170
// See https://aka.ms/new-console-template for more information using System.Reflection; using ObfuscationFodySamples; Type type = typeof(IAllenInterface); Type obfuscationAttributeType = typeof(ObfuscationAttribute); CustomAttributeData obfuscationAttributeInstance = type.CustomAttributes.First(x => x.AttributeTyp...
Assets/Script/UI/Menu/InTitle/LoginScript.cs
ozt88/Hmmo
0
7062171
using UnityEngine; using System.Collections; public class LoginScript : MonoBehaviour { public PopUpScript popUpMenu; public UIInput IdInput; public UIInput PswInput; public UIButton LoginButton; public UIButton RegisterButton; SocketScript network; public void Start() { netwo...
Nodes/VVVV.DX11.Nodes.Bullet/Core/ConstraintPersister.cs
mhusinsky/dx11-vvvv
0
7062172
using BulletSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VVVV.PluginInterfaces.V2; namespace VVVV.Bullet.Core { /// <summary> /// Rigid body listener, process deleted items /// <typeparamref name="TConstraint">Constraint ...
evsservices/EVSAppController/FileHelpers.cs
david-poindexter/Dnn.EVS
4
7062173
<gh_stars>1-10 #region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software w...
InstaSync/InstaSync.API/Managers/Content.cs
alexandertsema/Desktop
0
7062175
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using InstaSharp.Endpoints; using InstaSharp.Models.Responses; using InstaSync.API.Configuration; using InstaSync.Models.Enums; using InstaSync.Models.Models; namespace InstaSync.API.Managers { public class Content ...
argonaut-subscription-server-proxy/Zulip/ZulipExtensionsR4.cs
microsoft-healthcare-madison/argonaut-subscription-server-proxy
0
7062176
<gh_stars>0 // <copyright file="ZulipExtensionsR4.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // </copyright> extern alias fhir4; extern alias fhir5; using Syst...
DeviantartApi/Objects/Comments.cs
JTOne123/DeviantartApi
8
7062177
using Newtonsoft.Json; using System.Collections.Generic; namespace DeviantartApi.Objects { public class Comments : Pageable { [JsonProperty("thread")] public List<Comment> Thread { get; private set; } } }
Source/DfBAdminToolkit/Model/TeamHealthListViewItemModel.cs
dropbox/DropboxBusinessAdminTool
45
7062178
<reponame>dropbox/DropboxBusinessAdminTool namespace DfBAdminToolkit.Model { using System.ComponentModel; using System; public class TeamHealthListViewItemModel : INotifyPropertyChanged, IModel { private string _usage; private string _provisionedUsers; private string _status; public string Usage { ...
Kuic.Core/Collections/DictionaryExtensions.cs
krimog/kuic
0
7062179
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Kuic.Core.Collections { public static class DictionaryExtensions { [return: MaybeNull] public static TValue GetOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> source, TKey key) { ...
Octgn.Communication/Packets/Message.cs
octgn/Octgn.Communication
1
7062180
namespace Octgn.Communication.Packets { public class Message : RequestPacket { static Message() { RegisterPacketType<Message>(); } public string Body { get => (string)this[nameof(Body)]; set => this[nameof(Body)] = value; } public ov...
DiscordHackWeek2019/DiscordHackWeek2019/Models/Investment.cs
aopell/Emoje
2
7062182
<filename>DiscordHackWeek2019/DiscordHackWeek2019/Models/Investment.cs using System; using System.Collections.Generic; using System.Text; namespace DiscordHackWeek2019.Models { public class Investment { public long Amount { get; set; } public float PurchasePrice { get; set; } ...
Controllers/GithubController.cs
antuneswilliam/TodoApi
0
7062183
using Microsoft.AspNetCore.Mvc; [ApiController] [Route("[controller]")] public class GithubController : ControllerBase { private readonly IGithubClient githubClient; public GithubController(IGithubClient githubClient) { this.githubClient = githubClient; } [HttpGet] public async Task<...
KSPF/Parts/PartModules/ModulePartData.cs
Electrocutor/KSPF
1
7062184
using System; using System.Collections.Generic; namespace KSPF.Parts.PartModules { /// <summary> /// Allows persisting of part-level properties per instance of part that are usually only at the AvailablePart definition level /// </summary> public class ModulePartData : PartModule { [KSPFie...
LogicalShift.Reason.Tests/DispatchingSolver.cs
Logicalshift/Reason
0
7062185
<gh_stars>0 using LogicalShift.Reason.Api; using LogicalShift.Reason.Solvers; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LogicalShift.Reason.Tests { [TestFixture] public class DispatchingSolver { [Test] ...
b2xtranslator/Xls/XlsFileFormat/Records/HideObj.cs
kafkaesqu3/Macrome
484
7062186
<gh_stars>100-1000 using System.Diagnostics; using b2xtranslator.StructuredStorage.Reader; namespace b2xtranslator.Spreadsheet.XlsFileFormat.Records { /// <summary> /// HIDEOBJ: Object Display Options (8Dh) /// /// The HIDEOBJ record stores options selected in the Options dialog box, View tab. //...
Desktop/PawPrints/AddEditForm.cs
cgolds2/ThePetDatabase
0
7062187
<filename>Desktop/PawPrints/AddEditForm.cs 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 PawPrints { public partial class AddEditForm : ...
PholioVisualisationWS/Services/PracticeChart.cs
publichealthengland/fingertips-open
2
7062188
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.IO; using Dundas.Charting.WebControl; using PholioVisualisation.Cache; using PholioVisualisation.DataConstruction; using PholioVisualisation.PholioObjects; using PholioVisualisa...
Pds/Pds.Web.Models/Bill/FilterSettings.cs
SelitskiySergey/bloggers-cms
32
7062189
namespace Pds.Web.Models.Bill; public class FilterSettings { public List<SocialMediaFilterItem> SocialMediaFilterItems { get; set; } public List<BillTypeFilterItem> BillTypeFilterItems { get; set; } public List<PaymentTypeFilterItem> PaymentTypeFilterItems { get; set; } public List<BrandFilterItem> Br...
src/LinqBuilder/ISpecification.cs
Baune8D/linqbuilder
25
7062190
using LinqBuilder.Internal; namespace LinqBuilder { public interface ISpecification<TEntity> where TEntity : class { SpecificationBase<TEntity> Internal { get; } } }
Internet-Of-Things-IoT/Withings-To-IoT/backend/api/Core/Models/Fhir/Base.cs
BhuvanaBellala/health-architectures
0
7062191
<filename>Internet-Of-Things-IoT/Withings-To-IoT/backend/api/Core/Models/Fhir/Base.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace H3.Core.Models.Fhir { using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; /// <summary> ...
src/JaegerOpenTelemetryDotnetExample/JaegerOpenTelemetryDotnetExample.ServiceA/Controllers/PingController.cs
benbhall/jaeger-opentelemetry-dotnet
3
7062192
//using Microsoft.AspNetCore.Mvc; //using System.Collections.Generic; //using System.Diagnostics; //using System.Net.Http; //using System.Text; //using System.Threading.Tasks; //namespace JaegerOpenTelemetryDotnetExample.ServiceA.Controllers //{ // [ApiController] // [Route("[controller]")] // public class P...
ShiftOS.WinForms/GUILogin.cs
JamesTryand/shiftos
1
7062193
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 ShiftOS.Engine; using ShiftOS.Objects; using ShiftOS.WinForms.Tools; namespace ShiftOS.WinForms { ...
3D/senior/IWD Senior 3D developer challenge/Assets/Scripts/CameraViewAllObjectController.cs
tlegorju/tech-challenges
0
7062194
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraViewAllObjectController : MonoBehaviour { //"Encadre" le champs de vision de la caméra private Plane[] planes; public Plane[] Planes { get { return planes; } } //Référence à la caméra pri...
AssetStudio/Mxr/Classes/MxrEar.cs
jaytwo/AssetStudio
0
7062195
<reponame>jaytwo/AssetStudio using AssetStudio.Mxr.Fields; using System.Collections.Generic; namespace AssetStudio.Mxr.Classes { class MxrEar : NamedObject, IMxrPropertyInfo { public string InfoText { get; private set; } public MxrEar(ObjectReader objectReader) : base(objectReader...
PhotoKiosk/Core/ThumbnailControl/QueueProcessingThread.cs
aurigma/PhotoKiosk
5
7062196
// Copyright (c) 2018 Aurigma Inc. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.Threading; namespace Aurigma.PhotoKiosk { public interface IQueueItem { void Proc...
LiveScanServer/KinectServerBufferObject.cs
yiannis88/LiveScan3D
0
7062197
/** * This class has been created to hold all information stored in the buffer from each client. * It creates a list of objects (lFrameRGB, lFrameVerts, lBodies, tsArray). This will help us to * sort the list everytime a new frame arrives (or upon request) to avoid synchronisation issues... * ...
src/PowerShell/Models/Usage/PSCustomerMonthlyUsageRecord.cs
rvdintercept/Partner-Center-PowerShell
65
7062198
<gh_stars>10-100 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Store.PartnerCenter.PowerShell.Models.Usage { using Extensions; using PartnerCenter.Models.Usage; /// <su...
Multiplayer.Networking/Server/Managers/BanManager.cs
Agwebberley/software-inc-multiplayer
0
7062199
<reponame>Agwebberley/software-inc-multiplayer using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Multiplayer.Networking.Server.Managers { public class BanManager { public HashSet<string> Bans = new HashSet<string>(); ...
PolymorphismDemo/Skeleton/Demo.Main/Startup.cs
albozhinov/TelerikTasks
0
7062200
<reponame>albozhinov/TelerikTasks using Demo.RegistrationModule; using Demo.LoggingModule; using System; namespace Demo.Main { public class Startup { static void Main(string[] args) { var service = new RegistrationService(new FileLogger()); service.Run(); } ...
Lifes a Beach/Assets/Scripts/DialogueScript.cs
DanielNeale/CreativityCardsGroup6
0
7062202
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DialogueScript : MonoBehaviour { public GameObject shopkeeperAllMenus; public GameObject shopkeeperFlirt; public GameObject shopkeeperFriendly; public GameObject shopkeeperNasty;...
SmartifyBotStudio/RobotDesigner/TaskModel/Email/SendMessages.cs
codertuhin/BotStudio
0
7062203
<reponame>codertuhin/BotStudio<filename>SmartifyBotStudio/RobotDesigner/TaskModel/Email/SendMessages.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SmartifyBotStudio.Models; using System.Xml.Serialization; using System.IO; using SmartifyBotS...
ToutEmballe/Form1.Designer.cs
gitgeek68/WinFormTout
0
7062205
<filename>ToutEmballe/Form1.Designer.cs<gh_stars>0 namespace ToutEmballe { partial class Production2Caisses { /// <summary> /// Variable nécessaire au concepteur. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Nettoy...
src/XgPush.SDK.Server/XgPush.SDK.Server/Compat/XingeApp.cs
AigioL/XgPush.SDK.Server
0
7062206
using JetBrains.Annotations; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using XgPush.SDK.Server.Internal; using static XgPush.SDK.Server.Internal.Constants; #pragma warning disable IDE1006 // 命名样式 namespace XgPu...
test/EFCore.Relational.Tests/Metadata/DbFunctionMetadataTests.cs
h0wXD/EntityFrameworkCore
1
7062207
<reponame>h0wXD/EntityFrameworkCore<gh_stars>1-10 // 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.Linq.Expressions; using System.Reflection; using Microsoft.EntityFramework...
JiraWebApi/Internal/IssueLinkTypesResponse.cs
chcg/JiraWebApi
5
7062208
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiraWebApi.Internal { internal class IssueLinkTypesRespnse { [JsonProperty("issueLinkTypes")] public IEnumerable<IssueLinkType> IssueLinkTypes { ...
Game3d/Convert/Convert.cs
madeso/PrettyGood.net
0
7062209
<filename>Game3d/Convert/Convert.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using SimpleEngine; using System.Xml; namespace Convert { class Convert { static void Main(string[] args) { string filepath = arg...
src/application/Page/Dto/UpdatePageResourceDto.cs
MostafaEsmaeili/AccessControl
0
7062210
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotnetAccessControl.Application.Page.Dto { public record UpdatePageResourceDto(Guid Id, string Title, string Name, string Link); }
src/Schema.Integration.Tests/EndpointTests/Tags/ReleaseTagsTests.cs
7digital/SevenDigital.Api.Schema
1
7062211
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using SevenDigital.Api.Schema.Integration.Tests.Infrastructure; using SevenDigital.Api.Wrapper; using SevenDigital.Api.Schema.Tags; namespace SevenDigital.Api.Schema.Integration.Tests.EndpointTests.Tags { [TestFixture] public class Re...
WithOutEntity.mvc/APP/DAL/Events/EventMessage.cs
MorrisonRed/DemoCode
0
7062212
using System; using System.IO; using System.Text; using System.Data; using System.Reflection; using System.Data.Common; using System.Collections; using MySql.Data.MySqlClient; using System.ComponentModel; using System.Xml.Serialization; using System.Collections.Generic; using System.Security.Cryptography; namespace ...
src/Jsonyte/Validation/RelationshipFlagsExtensions.cs
robertcoltheart/Jsonapi
4
7062213
namespace Jsonyte.Validation { internal static class RelationshipFlagsExtensions { public static bool IsSet(this RelationshipFlags flags, RelationshipFlags value) { return (flags & value) == value; } } }
SherlockArray.cs
tanmayghosh2507/hacker-rank-programs-csharp
0
7062214
<filename>SherlockArray.cs<gh_stars>0 namespace HackerRankCode { class SherlockArray { /* * To determine if there exists an element in the array such that the sum * of the elements on its left is equal to the sum of the elements on its right. */ public string solve(...
Assets/Scripts/UIScripts/BaseUI.cs
Telvy/PerezToroLuisE_HW01
0
7062215
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public abstract class BaseUI : MonoBehaviour { public Player _playerRef; public Text _collectUI = null; protected abstract void UpdateUI(); private void FixedUpdate() { UpdateU...
tests/NuGet.Services.Configuration.Tests/ConfigurationAttributeFacts.cs
agr/ServerCommon
21
7062216
<filename>tests/NuGet.Services.Configuration.Tests/ConfigurationAttributeFacts.cs // 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 Xunit; namespace NuGet.Services.Configuration....
src/Plus.AutoMapper/PlusAutoMapperConfiguration.cs
Meowv/.netcoreplus
13
7062217
using AutoMapper; using System; using System.Collections.Generic; namespace Plus.AutoMapper { /// <summary> /// PlusAutoMapperConfiguration /// </summary> public class PlusAutoMapperConfiguration : IPlusAutoMapperConfiguration { public List<Action<IMapperConfigurationExpression>> Configura...
src/Helpers.cs
medo64/Labeleer
0
7062218
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Printing; using System.Globalization; using System.Reflection; using System.Windows.Forms; namespace Labeleer; internal static class Helpers { #region ToolStripBorderlessProfessionalRenderer ...
Services/LockStepService.cs
mikudos/mikudos-locker-step-game-service
0
7062219
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Grpc.Core; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Configuration; using MikudosLockStepGameService.Services.Models; using MikudosLockStepGameService.Rx; using MikudosLock...
MailBoxTestApp/Job.cs
BBGONE/MailboxProcessor
1
7062220
using MailboxProcessor; using MailBoxTestApp.Messages; using System; using System.Threading.Tasks; namespace MailBoxTestApp { public static class Job { public static async Task Run(IAgent<Message> agent, string workPath, string jobName, IAgent<Message> countAgent) { StartJobReply ...
Third Party/NPersist/Source Code/NPersist/Framework/Persistence/IdentityMap/IIdentityMap.cs
jjvanzon/JJ.TryOut
0
7062221
<gh_stars>0 // * // * Copyright (C) 2005 <NAME> : http://www.puzzleframework.com // * // * This library is free software; you can redistribute it and/or modify it // * under the terms of the GNU Lesser General Public License 2.1 or later, as // * published by the Free Software Foundation. See the included license.txt /...
Pype/Models/FittingResponseStatus.cs
omarhimada/FloPype
1
7062222
<gh_stars>1-10 using Newtonsoft.Json; using System; namespace Pype.Models { public class FittingResponseStatus { [JsonProperty("health")] public string Health { get; set; } [JsonProperty("requestUtcDateTime")] public DateTime RequestUtcDateTime { get; set; } [JsonProp...