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
ActionBarSherlock/ActionBarSherlockTest/CollapsibleActionItem.cs
darcythomas/monodroid-samples
1,862
7034667
<gh_stars>1000+ /* * Copyright (C) 2012 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Face/FaceStruct.cs
xys20071111/Kalidokit-Unity
2
7034668
<reponame>xys20071111/Kalidokit-Unity using System; using System.Collections.Generic; using System.Text; namespace Kalidokit { public struct FaceStruct { public HeadStruct Head; public MouthStruct Mouth; public EyeStruct Eye; public PupilsStruct Pupil; public float Brow...
OrderAutomationSystem/OrderAutomationSystem/OrderDetail.cs
GNFulLT/OrderAutomationSystem
0
7034669
<reponame>GNFulLT/OrderAutomationSystem using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrderAutomationSystem { public class OrderDetail : IOrderDetail { public List<Item> Items { get; set; } public string A...
Assets/AnyPortrait/Assets/Scripts/OptimizedObjects/Modifier/Calculate/MetaData/apOptCalculatedLerpArea.cs
LuanmaStudio/Seek-The-Trace
0
7034670
<reponame>LuanmaStudio/Seek-The-Trace<gh_stars>0 /* * Copyright (c) 2017-2020. RainyRizzle. All rights reserved * Contact to : https://www.rainyrizzle.com/ , <EMAIL> * * This file is part of [AnyPortrait]. * * AnyPortrait can not be copied and/or distributed without * the express perission of [Seungjik Lee]. * * Unles...
Assets/Scripts/Components/MonoBehaviourSingleton.cs
albrdev/marvin42-dacapo-simulator
0
7034671
using System; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.Components { [DisallowMultipleComponent] public abstract class MonoBehaviourSingleton : MonoBehaviour { private static readonly Dictionary<System.Type, MonoBehaviourSingleton> s_Instances = new Dictionary<S...
CustomBehavior/EndpointBehavior/ClientInterpector.cs
justin0522/hello_WCF
0
7034672
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Dispatcher; using System.Text; using System.Threading.Tasks; namespace CustomBehavior { class ClientInterpector : IClientMessageInspector { public...
src/Tippy/Startup.cs
nervosnetwork/tippy
18
7034673
using System; using System.IO; using System.Linq; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.Server.Features; using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.EntityFramewor...
CharaChipGen/ManagementForm/MaterialManagementForm.cs
kapuusagi/CharaChipGen
0
7034674
using CharaChipGen.Model.Material; using CharaChipGen.Properties; using System; using System.Windows.Forms; namespace CharaChipGen.ManagementForm { /// <summary> /// 素材の管理画面を提供する。 /// </summary> public partial class MaterialManagementForm : Form { /// <summary> /// 新しいインスタンスを構築する。 ...
src/Libraries/Web/Html/DropEffects.cs
doc22940/scriptsharp
1
7034675
<filename>src/Libraries/Web/Html/DropEffects.cs // DropEffects.cs // Script#/Libraries/Web // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace System.Html { [IgnoreNamespace] [Imported] [NamedValues] ...
Assets/Scripts/Generator.cs
cpiemontese/run-sparty-run
1
7034676
<filename>Assets/Scripts/Generator.cs<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Generator : MonoBehaviour { public GameObject[] props; [Range(0f, 5f)] public float area = 1f; public bool generateContinuosly = false; public f...
WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs
kokoska69/WalletWasabi
13
7034677
<reponame>kokoska69/WalletWasabi<gh_stars>10-100 using ReactiveUI; using System; using System.Collections.ObjectModel; using System.Composition; using System.Linq; using System.Reactive.Disposables; using WalletWasabi.Blockchain.Keys; using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets; using WalletWasabi.Gui.Tab...
Nethereum.BlockProcessing.Tests/Processing/ContractTransactionProcessor/ProcessTransactionTests.cs
ConsenSys/Nethereum.BlockchainProcessing
0
7034678
<reponame>ConsenSys/Nethereum.BlockchainProcessing using System; using System.Threading.Tasks; using Nethereum.BlockchainStore.Tests.Processing.ContractTransactionProcessorTests.Scenarios; using Nethereum.Hex.HexTypes; using Newtonsoft.Json.Linq; using Xunit; namespace Nethereum.BlockProcessing.Tests { public cl...
Hospital/Hospital.Server/Views/Doctors/AllDoctors.cshtml
heartbeat0415/hospital
4
7034679
<gh_stars>1-10 @model List<Hospital.Server.Models.DoctorViewModel> <div class="container"> @foreach (var doctor in Model) { <div class="col-md-9 blogShort"> <h2>@doctor.Name</h2> <strong>Speciality: </strong> @doctor.SpecialityTitle <a class="btn btn-blog pull-right...
Script/FieldMode.cs
bendyline/Former
0
7034680
// FieldMode.cs /* Copyright (c) Bendyline LLC. All rights reserved. Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. */ using System; #if NET namespace Bendyline.Forms #elif SCRIPTSHARP namespace BL.Forms #endif { public enum...
CurioExchange/CurioExchange/Agents/UserAgent.cs
NinaArens/curio-exchange
0
7034681
<reponame>NinaArens/curio-exchange<filename>CurioExchange/CurioExchange/Agents/UserAgent.cs using CurioExchange.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; using CurioExchange.Models; using CurioExchangeService; using AutoMapper; using CurioExchangeService.Entities; namespace CurioExch...
src/Stryker.Core/Stryker.Core.UnitTest/TestResources/ExampleSourceFile.cs
cmenzi/stryker-net
1,222
7034682
<reponame>cmenzi/stryker-net using System; namespace ExampleProject { public class Recursive { public int Fibinacci(int len) { return Fibonacci(0, 1, 1, len); } private int Fibonacci(int a, int b, int counter, int len) { if (counter <= len) ...
src/Nethereum.Quorum/RPC/QuorumPauseBlockMaker.cs
earizon/Nethereum
1,796
7034683
using Nethereum.JsonRpc.Client; using Nethereum.RPC.Infrastructure; namespace Nethereum.Quorum.RPC { public class QuorumPauseBlockMaker : GenericRpcRequestResponseHandlerNoParam<object>, IQuorumPauseBlockMaker { public QuorumPauseBlockMaker(IClient client) : base(client, ApiMethods.quorum_pauseBlockMa...
Source/GraduatedCylinder/GraduatedCylinder/[Internals]/DescriptionAttribute.cs
EddieGarmon/GraduatedCylinder
7
7034685
using System; namespace GraduatedCylinder { [AttributeUsage(AttributeTargets.All)] internal class DescriptionAttribute : Attribute { private readonly string _description; public DescriptionAttribute(string description) { _description = description; } public vi...
src/Microsoft.Unity.Analyzers.Tests/SerializeFieldSuppressorTests.cs
paulloz/Microsoft.Unity.Analyzers
0
7034686
/*-------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
Assets/Scripts/Deck/PlayEffects/MultiplyPlayEffect.cs
albirean/JacksonAngii_P02
0
7034687
<filename>Assets/Scripts/Deck/PlayEffects/MultiplyPlayEffect.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "NewMultiplyPlayEffect", menuName = "CardData/PlayEffects/Multiply")] public class MultiplyPlayEffect : CardEffect { [Seria...
Love/Love/Heart.xaml.cs
evgenyvinnik/jvsc-windows-apps
2
7034688
using System.Windows; using System.Windows.Media; namespace Love { public partial class Heart { public Heart() { InitializeComponent(); DrawHeart(48); } public Heart(int size) { InitializeComponent(); DrawHeart(size); } void DrawHeart(int size) { //lower point ...
Combo.Core.Tests/Components.cs
JohnSmithDr/Combo
0
7034689
<reponame>JohnSmithDr/Combo namespace Combo.Tests { public interface IFoo { string DoFoo(); } public interface IBar { string DoBar(); } public interface ICommon { string Name { get; } } public interface IZoo { IFoo Foo { get; } IBar...
DashBoard/Views/Home/Index.cshtml
3pillarlabs/stock-analytics
3
7034690
@model DashBoard.Models.TrendModel @{ ViewBag.Title = "Stock Analytics - Dashboard"; } <script> $(function () { var series; var curTime, value; Highcharts.setOptions({ global: { useUTC: false } }); // Create the chart $(...
LogicMonitor.Api.Test/Settings/UserTests.cs
tdicks/LogicMonitor.Api
0
7034691
<reponame>tdicks/LogicMonitor.Api<filename>LogicMonitor.Api.Test/Settings/UserTests.cs using LogicMonitor.Api.Filters; using LogicMonitor.Api.Users; using System.Collections.Generic; using Xunit; using Xunit.Abstractions; namespace LogicMonitor.Api.Test.Settings { public class UserTests : TestWithOutput { public U...
Sources/scaffolder/PocEngine/EngineLoaderFeeder.cs
Legogo/fwProtoss
0
7034692
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR //using UnityEditor.SceneManagement; using UnityEditor; #endif /// <summary> /// USed to declare specific additionnal scene to load on startup /// </summary> namespace scaffolder.pocEngine { public class EngineLoaderF...
Assets/Scripts/Brick.cs
thestonefox/unity3d5_breakout
3
7034693
<gh_stars>1-10 using UnityEngine; using System.Collections; public class Brick : MonoBehaviour { public GameObject brickBreakParticles; void OnCollisionEnter() { LevelManager.instance.HitBrick (); Instantiate (brickBreakParticles, transform.position, Quaternion.identity); Destroy(gameObject); } }
StarryEyes.Anomaly/TwitterApi/TwitterApiException.cs
semnil/StarryEyes
84
7034694
<reponame>semnil/StarryEyes<filename>StarryEyes.Anomaly/TwitterApi/TwitterApiException.cs<gh_stars>10-100 using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using StarryEyes.Anomaly.Ext; namespace StarryEyes.Anomaly.TwitterApi { public class TwitterApiExce...
src/services/EdaSample.Services.Common/EdaHelper.cs
daxnet/edasample
103
7034695
<reponame>daxnet/edasample // ============================================================================ // ______ _ _____ _ // | ____| | | / ____| | | // | |__ __| | __ _| (___ __ _ _ __ ___ _ __ | | ___ // | __| / _` |/ _` |\___ \ / _` | '_ ` _ ...
src/projects/MyNatsClient/Internals/Commands/PongCmd.cs
ChrisNeedSpace/mynatsclient
0
7034696
<gh_stars>0 namespace MyNatsClient.Internals.Commands { internal static class PongCmd { private static readonly byte[] Bytes = NatsEncoder.Encoding.GetBytes($"PONG{NatsEncoder.Crlf}"); internal static byte[] Generate() => Bytes; } }
Sample/ECommerce/Orders/Orders/Shipments/SendingPackage/SendPackage.cs
brendonparker/EventSourcing.NetCore
1
7034697
<reponame>brendonparker/EventSourcing.NetCore using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Ardalis.GuardClauses; using Core.Commands; using Core.Requests; using MediatR; using Orders.Products; namespace Orders.Shipments.SendingPackage { public class Se...
.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EmailExtractor.cs
AhmedLeithy/Recognizers-Text
688
7034698
<reponame>AhmedLeithy/Recognizers-Text<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.English { public class EmailExtractor : BaseEmailExtractor { public EmailExtractor(BaseSequenceConfig...
Source/JARS.SS.Auth/Entities/Maps/JarsUserAuthMap.cs
CobyC/JaRS
1
7034699
<gh_stars>1-10 using FluentNHibernate.Mapping; namespace JARS.SS.Auth.Entities.Maps { public class JarsUserAuthMap : ClassMap<JarsUserAuth> { public JarsUserAuthMap() { Table($"JarsUsers"); //LazyLoad(); //EntityName(nameof(JarsUserAuth)); ...
Assets/CarGame/Scripts/Level/Editor/LevelEditorWindow.cs
fuchsteufelswild/Alper_Canal_CarGame
0
7034700
<filename>Assets/CarGame/Scripts/Level/Editor/LevelEditorWindow.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.SceneManagement; public class LevelEditorWindow : EditorWindow { Level m_LevelTemplate; ObstacleBase m_ObstacleTemplate; [...
WarOfEmpires.Repositories.Tests/Security/UserRepositoryTests.cs
maikelbos0/WarOfEmpires
0
7034701
<reponame>maikelbos0/WarOfEmpires using WarOfEmpires.Domain.Security; using WarOfEmpires.Repositories.Security; using WarOfEmpires.Test.Utilities; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace WarOfEmpires.Repositories.Tests.Security { [TestClass] public se...
Faraboom.Framework/Data/Language.cs
faraboom/framework
0
7034702
<reponame>faraboom/framework<gh_stars>0 namespace Faraboom.Framework.Data { using System; public struct Language { public short Id { get; set; } public string Name { get; set; } public string Code { get; set; } public string Icon { get; set; } public TimeZoneInf...
src/CompanyXApi/CompanyX.Dal/LineItems/LineItemRepository.cs
manju064/CompanyXApi
0
7034703
using CompanyX.Domain.LineItems; namespace CompanyX.Dal.LineItems { /// <summary> /// Line items repository /// </summary> public class LineItemRepository : RepositoryBase<LineItem> { } }
dotNetty-kcp/ServerChannelHandler.cs
JNUMrC/csharp-kcp
0
7034704
using System; using base_kcp; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; using dotNetty_kcp.thread; using DotNetty.Buffers; using fec; namespace dotNetty_kcp { public class ServerChannelHandler : ChannelHandlerAdapter { private readonly IChannelManager _channelManager...
SkystoneScouting/Services/CalculateTeamMetrics.cs
Molizo/FTC-Scouting-App-Skystone
1
7034705
<gh_stars>1-10 using SkystoneScouting.Models; using System; using System.Collections.Generic; using System.Linq; namespace SkystoneScouting.Services { public class CalculateTeamMetrics { #region Public Methods public static IList<Team> AvgRPandAvgTBP(IList<Team> Teams, IList<OfficialMatch> Ma...
src/Melville.Generators.INPC/GenerationTools/AstUtilities/MethodSymbolOperations.cs
JohnN6TSM/Melville
0
7034706
using System.Linq; using Microsoft.CodeAnalysis; namespace Melville.Generators.INPC.GenerationTools.AstUtilities; public static class MethodSymbolOperations { public static bool VerifyParameterTypes(this IMethodSymbol ms, params string?[] parameters) { var paramSymbols = ms.Parameters; if (pa...
WebBlogs.Core/DbContext/Configurations/AuthorEntityTypeConfiguration.cs
changhuixu/EFCoreDemo
9
7034707
<gh_stars>1-10 using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using WebBlogs.Core.Models; namespace WebBlogs.Core.DbContext.Configurations { internal class AuthorEntityTypeConfiguration : IEntityTypeConfiguration<Author> { public void Configure(EntityTypeBu...
libstetic/ObjectWriter.cs
mono/stetic
5
7034708
<reponame>mono/stetic<gh_stars>1-10 using System; using System.Xml; using Stetic.Wrapper; namespace Stetic { public class ObjectWriter { XmlDocument doc; FileFormat format; bool createUndo; public ObjectWriter (XmlDocument doc, FileFormat format) { this.doc = doc; this.format = format; } p...
v2/Core/Spect.Net.SpectrumEmu/Abstraction/Providers/IVmComponentProvider.cs
Toysoft/spectnetide
219
7034709
using Spect.Net.SpectrumEmu.Abstraction.Devices; namespace Spect.Net.SpectrumEmu.Abstraction.Providers { /// <summary> /// This interface defines the abstraction of a component provider /// that can inject components into the ZX Spectrum virtual machine /// </summary> public interface IVmComponent...
Assets/Scripts/DataTest.cs
Arylos07/Modheim
1
7034710
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; //a temporary test class to display what is in a modpack public class DataTest : MonoBehaviour { public FileManager fileManager; public string pathToFile = string.Empty; public ModheimModpack modpack; priva...
Sitecore_Module/src/Feature/SitecoreUML/code/Common/Map{T1,T2}.cs
zkniebel/SitecoreUML
14
7034711
<filename>Sitecore_Module/src/Feature/SitecoreUML/code/Common/Map{T1,T2}.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ZacharyKniebel.Feature.SitecoreUML.Common { /// <summary> /// A bidirectional dictionary for performing forward (collection[key] -> value) ...
MBAutoComplete/Interfaces/MBAutoCompleteViewSource.cs
michaldudak/MBAutoComplete
13
7034712
<reponame>michaldudak/MBAutoComplete using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace MBAutoComplete { public abstract class MBAutoCompleteViewSource : UITableViewSource { public event EventHandler RowSelectedEvent; private ICollection<string> _sugges...
src/RoslynResharper/Resharper.Host.Roslyn/Program.cs
DSilence/RiderRoslyn
0
7034713
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Resharper.Host.Roslyn.Handler; namespace Resharper.Host.Roslyn { class Program { static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(...
codeplex/Prolog/WamMachineStepEventArgs.cs
Slesa/Prolog.NET
23
7034714
/* Copyright © 2010 <NAME>. * Licensed under the terms of the Microsoft Public License (Ms-PL). */ using System; namespace Prolog { internal class WamMachineStepEventArgs : EventArgs { #region Fields private WamMachineStepEventArgsState m_state; private bool m_breakpoi...
src/Commands/Admin/GetHubSite.cs
rramhapgb/powershell
1
7034715
using Microsoft.SharePoint.Client; using PnP.PowerShell.Commands.Base; using PnP.PowerShell.Commands.Base.PipeBinds; using System.Management.Automation; namespace PnP.PowerShell.Commands.Admin { [Cmdlet(VerbsCommon.Get, "HubSite")] public class GetHubSite : PnPAdminCmdlet { [Parameter(Position = ...
Hydra Desktop Tests/BlankForm.cs
m93a/hydra
1
7034716
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 HydraTests { public partial class BlankForm : Form { public BlankForm() ...
project/Assets/Scripts/SelfDestruct.cs
GambuzX/dragon-flight
0
7034717
<reponame>GambuzX/dragon-flight using System.Collections; using System.Collections.Generic; using UnityEngine; public class SelfDestruct : MonoBehaviour { [SerializeField] float lifetime = 1f; // Start is called before the first frame update void Start() { Destroy(gameObject, lifetime); }...
src/Never/Deployment/IRoutePrimaryKeySelect.cs
shelldudu/never
17
7034718
namespace Never.Deployment { /// <summary> /// 路由主键接口 /// </summary> public interface IRoutePrimaryKeySelect { /// <summary> /// 路由主键 /// </summary> string PrimaryKey { get; } } }
src/ZigBeeNet.Hardware.TI.CC2531/Packet/AF/AF_DATA_SRSP.cs
Gallimathias/ZigbeeNet
3
7034719
<filename>src/ZigBeeNet.Hardware.TI.CC2531/Packet/AF/AF_DATA_SRSP.cs using System; using System.Collections.Generic; using System.Text; namespace ZigBeeNet.Hardware.TI.CC2531.Packet.AF { public class AF_DATA_SRSP : ZToolPacket { /// <name>TI.ZPI2.AF_DATA_SRSP.Status</name> /// <summary>Status</summary...
snippets/csharp/VS_Snippets_Winforms/GetFormats2/CS/getformats2.cs
BohdanMosiyuk/samples
2
7034720
using System; using System.Data; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; public class Form1: Form { // <snippet1> private void GetFormats2() { // Creates a new data object using a string and the UnicodeText format. DataObject myDataObject = new DataObject(DataFormats.Uni...
OgrePlugin/Wrapper/CustomArchives/Memory/MemoryArchiveFactory.cs
AnomalousMedical/Engine
0
7034721
<reponame>AnomalousMedical/Engine using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OgrePlugin { public class MemoryArchiveFactory : OgreManagedArchiveFactory { private static MemoryArchiveFactory instance = null; public static MemoryAr...
RadCBA/Controllers/CustomerAccountController.cs
Sulzmido/Core-Banking-Application---RadCBA
0
7034722
<gh_stars>0 using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using RadCBA.Core.Models; using RadCBA.Core.ViewModels.CustomerAccountViewModels; using RadCBA.Logic; namespace RadCBA.Controllers { ...
src/PredefinedUniforms.cs
danielscherzer/ShaderPlayer
1
7034723
using System.Numerics; using System.Runtime.InteropServices; namespace ShaderPlayer { [StructLayout(LayoutKind.Sequential)] internal struct PredefinedUniforms { public Vector4 Mouse { get; set; } public Vector4 CamPos { get; set; } public Vector4 CamRot { get; set; } public Vector2 Resolution { get; set; }...
SomeDungeonGame/LimitlessBase/LimitlessBase/Extensions/ColorExtensions.cs
ChrisAkridge/Misc
0
7034724
<reponame>ChrisAkridge/Misc //----------------------------------------------------------------------- // <copyright file="ColorExtensions.cs" company="The Limitless Development Team"> // Copyrighted unter the MIT Public License. // </copyright> //--------------------------------------------------------------------...
test/Dangl.AVACloudClientGenerator.Tests/ClientGeneratorTests.cs
Dangl-IT/Dangl.AVACloudClientGenerator
1
7034725
<reponame>Dangl-IT/Dangl.AVACloudClientGenerator<filename>test/Dangl.AVACloudClientGenerator.Tests/ClientGeneratorTests.cs using Dangl.AVACloudClientGenerator.Shared; using System.Threading.Tasks; using Xunit; namespace Dangl.AVACloudClientGenerator.Tests { public class ClientGeneratorTests { private ...
phsa-adapter/src/Extensions/TriageRequestExtensions.cs
GeorgeWalker/rsbc-dmf
3
7034726
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Hl7.Fhir.ElementModel; using Hl7.Fhir.Model; using Pssg.Rsbc.Dmf.DocumentTriage; namespace Rsbc.Dmf.PhsaAdapter.Extensions { public static class TriageRequestExtensions { public static void AddItem...
ReferenceApp/CustomerOrder.Domain/CustomerOrderStatus.cs
waynemunro/service-fabric-dotnet-web-reference-app
176
7034727
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace CustomerOrde...
src/Never.WorkerService/IoC/ApiServiceProvider.cs
shelldudu/never
17
7034728
<reponame>shelldudu/never using Microsoft.Extensions.DependencyInjection; using Never.IoC.Injections; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Never.WorkerService.IoC { public class ApiServiceProvider : Never.IoC.Injections.Servi...
SharpKml/Base/XmlExtractor.cs
taumenov/sharpkml
118
7034729
// Copyright (c) <NAME>. // // Licensed under the MIT license. See LICENSE file in the project root for // full license information. namespace SharpKml.Base { using System.Globalization; using System.Text; using System.Xml; /// <summary> /// Used to get the inner text of a XML element...
src/Arbor.NuGetServer.Tools/Commands/ShowKeyCommand.cs
niklaslundberg/Arbor.NuGetServer
0
7034730
using System; using System.Threading.Tasks; using Alphaleonis.Win32.Filesystem; using Arbor.NuGetServer.Api.Areas.Security; namespace Arbor.NuGetServer.Tools.Commands { internal class ShowKeyCommand : AppCommand { public override Task RunAsync() { Console.WriteLine("Enter path to k...
src/Ilaro.Admin/TableInfoModelBinder.cs
SQLauto/Ilaro.Admin
129
7034731
<filename>src/Ilaro.Admin/TableInfoModelBinder.cs using System; using System.Web.Mvc; using Ilaro.Admin.Core; using Ilaro.Admin.Core.Models; namespace Ilaro.Admin { public class TableInfoModelBinder : DefaultModelBinder { private readonly IConfiguration _configuration; public TableInfoModelBi...
Demos/SimpleUnityDemo/Assets/MMI/Scenes/SingleMMUs/TestSingleMMU.cs
dfki-asr/MOSIM-Unity
1
7034732
<reponame>dfki-asr/MOSIM-Unity<gh_stars>1-10 using MMICoSimulation; using MMICSharp.MMIStandard.Utils; using MMIStandard; using MMIUnity.TargetEngine; using MMIUnity.TargetEngine.Scene; using UnityEngine; public class TestSingleMMU : AvatarBehavior { private string carryID; // Motion Types private read...
src/Orchard.Web/Modules/Orchard.Comments/Models/CommentSettingsPart.cs
bill-cooper/harvest-cms
3
7034733
<reponame>bill-cooper/harvest-cms using System.ComponentModel.DataAnnotations; using Orchard.ContentManagement; namespace Orchard.Comments.Models { public class CommentSettingsPart : ContentPart { public bool ModerateComments { get { return this.Retrieve(x => x.ModerateComments); } ...
sdk/batch/Microsoft.Azure.Batch/Azure.Batch/src/Generated/Models/AzureFileShareConfiguration.Serialization.cs
Petermarcu/azure-sdk-for-net
0
7034734
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.Batch.Models { public partial class AzureFileShareConfiguration { internal static AzureFileShareConfigurati...
AutoInject/Locators/InjectScoped.cs
VKBGroup/autoinject
1
7034735
<reponame>VKBGroup/autoinject /* * Author : <NAME> [<EMAIL>] * Copyright : VKB 2017 * License : See LICENSE.MD */ using System; using Microsoft.Extensions.DependencyInjection; namespace com.VKB.AutoInject.Locators { public class InjectScoped : InjectAttribute { public InjectScoped(Type type) : bas...
IndrivoPM/Gear.ProjectManagement.Application/Domain/Activities/Queries/GetActivityAudit/ActivityAuditListView.cs
indrivo/bizon360_pm
0
7034736
<reponame>indrivo/bizon360_pm using System.Collections.Generic; using Gear.ProjectManagement.Manager.Domain.Activities.Queries.GetActivityDetails; namespace Gear.ProjectManagement.Manager.Domain.Activities.Queries.GetActivityAudit { public class ActivityAuditListView { public IList<ActivityAuditModel>...
Code/Internal/GameFlow/TurnMachines/HeartbeatTurnMachine.cs
Donatoz/HeartBeatInternal
0
7034737
<gh_stars>0 using System; using System.Collections.Generic; using Random = UnityEngine.Random; namespace Metozis.Cardistry.Internal.GameFlow.TurnMachines { public class HeartbeatTurnMachine : ITurnMachine { public Player ActingPlayer { get; private set; } public Player NextPlayer => turnQueue...
TankLib/STU/Types/STU_FD110684.cs
Mike111177/OWLib
1
7034738
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xFD110684)] public class STU_FD110684 : STU_92CA44CC { } }
Web/VeterinaryClinic.Web.ViewModels/Pets/EditPetViewModel.cs
Megi223/VeterinaryClinic
0
7034740
<gh_stars>0 namespace VeterinaryClinic.Web.ViewModels.Pets { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using AutoMapper; using Microsoft.AspNetCore.Http; using VeterinaryClinic.Common; using VeterinaryClinic.Data.Models; using Veterina...
lang/cs/Org.Apache.REEF.Tang/Interface/IConfiguration.cs
tcondie/reef
1
7034741
<reponame>tcondie/reef // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0...
Simple-Web-Chatroom/Chatroom/Pages/Index.cshtml
SkorX/Simple-Web-Chatroom
0
7034742
<filename>Simple-Web-Chatroom/Chatroom/Pages/Index.cshtml @page @model IndexModel @{ ViewData["Title"] = "Chat"; } <section id="login"> <div class="d-flex justify-content-center"> <div class="col-xl-6 col-lg-8 col-sm-10"> <div class="card"> <form id="login-form"> ...
SportscardSystem.Logic.UnitTests/Services/SportscardServiceTests/GetReport_Should.cs
the-hushed-cobras/Sportscard-Project
0
7034743
<filename>SportscardSystem.Logic.UnitTests/Services/SportscardServiceTests/GetReport_Should.cs using AutoMapper; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SportscardSystem.Architecture.Automapper; using SportscardSystem.Data.Contracts; using SportscardSystem.Logic.Services; using SportscardS...
Programming-Basics-with-C#/Labs-And-Homeworks/ConditionalStatementsExercise/SumSeconds/Program.cs
veloman86/SoftUni-Software-Engineering
1
7034744
using System; class Program { static void Main(string[] args) { int firstSeconds = int.Parse(Console.ReadLine()); int secondSeconds = int.Parse(Console.ReadLine()); int thirdSeconds = int.Parse(Console.ReadLine()); int totalSeconds = firstSeconds + secondSeconds + thirdSeconds...
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleAssociations.cs
arsunda/azure-sdk-for-net
1
7034745
<reponame>arsunda/azure-sdk-for-net<filename>sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleAssociations.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace A...
Library/Character/SkillValue.cs
JazzFisch/AnotherCombatManager
4
7034746
using System; namespace AnotherCM.Library.Character { public class SkillValue { public bool IsTrained { get; set; } public int Value { get; set; } public override string ToString () { if (!this.IsTrained) { return this.Value.ToString(); } ...
src/MassTransit/Saga/Configuration/SagaPolicyFactory.cs
DavidChristiansen/MassTransit
0
7034747
// Copyright 2007-2008 The Apache Software Foundation. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
samples/MudBlazor.Markdown.Core/Services/MarkdownService.cs
erri120/MudBlazor.Markdown
0
7034748
<reponame>erri120/MudBlazor.Markdown<gh_stars>0 using System; using System.IO; using System.Reflection; using System.Threading.Tasks; using MudBlazor.Markdown.Core.Services.Interfaces; namespace MudBlazor.Markdown.Core.Services { internal sealed class MarkdownService : IMarkdownService { public async Task<string>...
src/Avalonia.Controls/Flyouts/FlyoutShowMode.cs
ThomasGoulet73/Avalonia
3
7034749
namespace Avalonia.Controls { // Note: FlyoutShowMode.Auto was removed. MS Docs just say: // The show mode is determined automatically based on the method used to show the flyout. // and AFAICT Flyouts generally open with "Standard" behavior public enum FlyoutShowMode { /// <summary> ...
ProjectManager/ProjectManager.Domain/Aggregates/ProjectAggregate/TicketChange.cs
GuilhermeZenzen/Project-Manager
0
7034750
using ProjectManager.Domain.Common.Entities; using System; namespace ProjectManager.Domain.Aggregates.ProjectAggregate { public class TicketChange : AuditableEntity { public string PropertyName { get; private set; } public string OldValue { get; private set; } public string NewValue { ...
runtimecs/java/lang/IllegalArgumentException.cs
Greentube/Java-converter
8
7034751
<filename>runtimecs/java/lang/IllegalArgumentException.cs namespace java.lang { public class IllegalArgumentException: RuntimeException { public IllegalArgumentException() : base() { } public IllegalArgumentException(string message) : base(message) { ...
P0Project/UserInterfaceLayer/StoreInventoryPage.cs
06012021-dotnet-uta/BrianCorbettP0
0
7034752
<reponame>06012021-dotnet-uta/BrianCorbettP0 using System.Collections.Generic; using BL = BusinessLayer; namespace UserInterfaceLayer { public class StoreInventoryPage : Page { private readonly int storeId; /// <summary> /// Represents the ID of the store to get inventory of /// </summary> pub...
src/Ookii.Dialogs.WinForms/TaskDialogRadioButton.cs
mcetkovsky/ookii-dialogs-winforms
228
7034753
#region Copyright 2009-2021 Ookii Dialogs Contributors // // Licensed under the BSD 3-Clause License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless required by applicable...
src/Lykke.Service.GoogleAnalyticsWrapper.Core/Settings/ServiceSettings/GoogleAnalyticsWrapperSettings.cs
JTOne123/Lykke.Service.GoogleAnalyticsWrapper
0
7034755
namespace Lykke.Service.GoogleAnalyticsWrapper.Core.Settings.ServiceSettings { public class GoogleAnalyticsWrapperSettings { public bool IsLive { get; set; } public string TransactionAssetId { get; set; } public DbSettings Db { get; set; } public CacheSettings CacheSettings { ge...
src/AasxPluginWebBrowser/Plugin.cs
bci-oss/aasx-package-explorer
63
7034756
<reponame>bci-oss/aasx-package-explorer<gh_stars>10-100 /* Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international> Author: <NAME> This source code is licensed under the Apache License 2.0 (see LICENSE.txt). This source code may use other Open Source software compone...
WordAddIn/Project/TEXXTOOR/Services/ServicePool.cs
joergkrause/texxtoor
0
7034757
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace TEXXTOOR.Services { [DebuggerStepThrough] public class ServicePool : IServicePool { private static readonly IDictionary<Type, object> _services; static ServicePool() { _se...
FBPVerbsCore/FBPComponents/WriteToSocket.cs
zalf-rpm/csharpfbp
49
7034758
using System; using System.IO; using FBPLib; //using System.Threading; using System.Net.Sockets; using System.Net; namespace Components { /** Component to write data to a socket, using * a stream of packets. Client side. * It is specified as "must run". */ [MustRun] [InPort("PORT")] [InPort("IN")...
JwtAuthentication.Core/Models/Request/RefreshTokenRequestModel.cs
TourmalineCore/TourmalineCore.AspNetCore.JwtAuthentication
8
7034759
<reponame>TourmalineCore/TourmalineCore.AspNetCore.JwtAuthentication<gh_stars>1-10 using System; namespace TourmalineCore.AspNetCore.JwtAuthentication.Core.Models.Request { public class RefreshTokenRequestModel { public Guid RefreshTokenValue { get; set; } public string ClientFingerPrint { get...
LinqAF/Impl/IBoxedEnumerable.cs
kevin-montrose/LinqAF
219
7034760
namespace LinqAF.Impl { internal interface IBoxedEnumerator<TItem> { TItem Current { get; } bool MoveNext(); void Reset(); void Dispose(); bool IsDefaultValue(); } internal interface IBoxedEnumerable<TItem> { IBoxedEnumerator<TItem> GetEnumerator(); ...
Roustabout.Console/Command/ExecuteCommand.cs
pepperlk/roustabout
1
7034761
<reponame>pepperlk/roustabout<filename>Roustabout.Console/Command/ExecuteCommand.cs using Tharga.Toolkit.Console.Command.Base; namespace Tharga.Toolkit.Console.Command { internal class ExecuteCommand : ContainerCommandBase { public ExecuteCommand(IConsole console, RootCommandBase rootCommand) ...
WWCP_OCPPv1.6/Messages/ChargePoint/SetChargingProfileRequest.cs
OpenChargingCloud/WWCP_
0
7034762
<gh_stars>0 /* * Copyright (c) 2014-2021 GraphDefined GmbH * This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP> * * 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 Licens...
tool/SledShared/Dom/SledProjectFilesBaseType.cs
ViseEngine/SLED
158
7034763
<reponame>ViseEngine/SLED /* * Copyright (C) Sony Computer Entertainment America LLC. * All Rights Reserved. */ using Sce.Atf.Dom; namespace Sce.Sled.Shared.Dom { /// <summary> /// Base type to derive project file objects from /// </summary> public abstract class SledProjectFilesBaseType : DomNod...
PmlUnit.SmokeTest/SmokeTest.cs
yang827/PmlUnit
19
7034764
<gh_stars>10-100 // Copyright (c) 2019 <NAME>. // Licensed under the MIT License: https://opensource.org/licenses/MIT using System; using System.Collections; using System.Diagnostics.CodeAnalysis; using System.Threading; using NUnit.Framework; namespace PmlUnit { [TestFixture] [Apartment(ApartmentState.STA)] ...
Advanced-Loops-Excercises/NumberInRange1-100/Program.cs
Radostta/Programming-Basics-And-Fundamentals-SoftUni
0
7034765
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NumberInRange1_100 { class Program { static void Main(string[] args) { //with TRY-CATCH var num = -1; while (true) { ...
module_04/Program.cs
codearchive/c-sharp-working-with-nulls
0
7034766
<reponame>codearchive/c-sharp-working-with-nulls using System; namespace module_04 { class Program { static void Main() { PlayerCharacter sarah = new PlayerCharacter(new DiamondSkinDefence()) { Name = "Sarah" }; PlayerCharacter am...
CybtansSDK/Cybtans.Automation/Sync/WebElementSyncHandler.cs
ansel86castro/cybtans-sdk
14
7034767
<filename>CybtansSDK/Cybtans.Automation/Sync/WebElementSyncHandler.cs using OpenQA.Selenium; namespace Cybtans.Automation { public class WebElementSyncHandler : PropertySyncHandler { public override bool Sync(IWebDriver driver, ISearchContext searchContext) { var element = GetWebEl...
src/SageOneApi/Requests/TaxTypeRequest.cs
Picahoo/sageone-api-wrapper
8
7034768
<filename>src/SageOneApi/Requests/TaxTypeRequest.cs<gh_stars>1-10 using System; using RestSharp; using RestSharp.Deserializers; using RestSharp.Serializers; using SageOneApi.Interfaces; using SageOneApi.Models; namespace SageOneApi.Requests { public class TaxTypeRequest : RequestBase, ITaxTypeRequest { ...
WalletWasabi.Gui/Converters/CoinStatusColorConverter.cs
99ytrewq911/WalletWasabi
0
7034769
using Avalonia.Data.Converters; using Avalonia.Media; using System; using System.Collections.Generic; using System.Globalization; using System.Text; using WalletWasabi.Exceptions; using WalletWasabi.Gui.Controls.WalletExplorer; using WalletWasabi.Gui.Models; using WalletWasabi.Models.ChaumianCoinJoin; namespace Wallet...