content
stringlengths
23
1.05M
using De.Osthus.Ambeth.Cache.Model; using De.Osthus.Ambeth.Model; namespace De.Osthus.Ambeth.Cache { public delegate IServiceResult ExecuteServiceDelegate(IServiceDescription serviceDescription); }
using Game.Managers; using Mirror; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class UIHostGameMenu : MonoBehaviour { public void HostGame() { var newNetworkDiscovery = FindObjectOfType<NewNetworkDiscovery>(); StartCor...
using Microsoft.Xna.Framework; namespace Raytracer.Scene { public class Light : ILight { public Light(Vector3 pos, float intensity, Color color) { Position = pos; Intensity = intensity; Color = color; } public Vector3 Position { get; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class sceneManager : MonoBehaviour { public GameObject levelsPanel; public AudioSource mainAudioSource; public AudioClip buttonClick; public GameObject GDPRpanel; public GameObject Setin...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace PixelComrades { public struct TagTimerEvent : IEntityMessage { public Entity Entity { get; } public float TimeEnd { get; } public int Tag { get; } public TagTimerEvent(Entity entity, float ti...
using System; using System.Net; using System.Threading; using System.Threading.Tasks; namespace CoAPNet.Dtls.Server { public class CoapDtlsServerEndPoint : ICoapEndpoint { public bool IsSecure => true; public bool IsMulticast => false; public Uri BaseUri { get; } public IPEnd...
using NeuralSharp.Activation; using NeuralSharp.Generators; using NeuralSharp.Serialization; using Newtonsoft.Json.Linq; namespace NeuralSharp; public sealed class NeuralNetwork { #region Properties private readonly float _learningRate = 0.1f; public readonly Layer[] Layers; #endregion #region...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConsensusCore.Node { public class ClusterOptions { public string NodeUrls { get; set; } public int MinimumNodes { get; set; } public int LatencyToleranceMs { get; set; } = 3000; ...
using System; using System.Threading; using ReactiveDomain.Util; // ReSharper disable once CheckNamespace namespace ReactiveDomain.Foundation { public abstract class SnapshotReadModel : ReadModelBase { protected ReadModelState StartingState { get; private set; } protected SnapshotReadModel( ...
using System.Collections.Generic; using Moq; using NUnit.Framework; using PropHunt.UI; using PropHunt.Utils; using UnityEngine; using static PropHunt.UI.MenuController; namespace Tests.EditMode.UI.Actions { /// <summary> /// Tests for Menu Controller Tests /// </summary> [TestFixture] public class ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NewRequestView : UIPanel { [SerializeField] private TMPro.TMP_Text titleText; [SerializeField] private TMPro.TMP_Text descText; [SerializeField] private TMPro.TMP_Text goalText; Request activeQuest; public ...
namespace Hicore.Arguments { public class ResponseArgs { public string RawText { get; set; } public string Text { get; set; } } }
#region BSD License /* * Use of this source code is governed by a BSD-style * license or other governing licenses that can be found in the LICENSE.md file or at * https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE */ #endregion using System.ComponentModel; using System.Windows.Forms; ...
using UnityEngine; using UnityEngine.UI; using Z; [ZarchClass] public class runCode : MonoBehaviour { [SerializeField] InputField input; public void run_code() { string content = ZarchUnity3DConnector.instance.console.text; content = content+ "<br/>" + @"~:" + input.text + @"<br/>"; ...
using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; using UnityEngine.UI; public class PlacingFurniture : MonoBehaviour { [SerializeField] int count = 3; [SerializeField] Button button; [SerializeField] Text showName; [SerializeField] Text showCountNu...
namespace ProcessingCollections { using System.Collections.Generic; using System.Linq; using Wintellect.PowerCollections; public class Store { private OrderedBag<Product> products = new OrderedBag<Product>(); public OrderedBag<Product> Products { get { return t...
/* Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/) Apache License Version 2.0 */ using System.Linq; namespace UninstallTools.Factory.InfoAdders { public class FileIconGetter : IMissingInfoAdder { public string[] RequiredValueNames { get; } = { nameof(App...
#if FIVEM using CitizenFX.Core; using CitizenFX.Core.Native; #else using GTA; using GTA.Native; #endif using System.Collections.Generic; namespace LemonUI { /// <summary> /// Tools for dealing with controls. /// </summary> internal static class Controls { /// <summary> /// Gets if t...
using Business.Domain.Models; using Microsoft.EntityFrameworkCore; using System.Reflection; namespace Infrastructure.Contexts { public class AppDbContext : DbContext { #region Constructor public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } #endregion ...
using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; /// <summary> /// A custom UI event for devices that exist within 3D Unity space, separate from the camera's position. /// </summary> public class TrackedDeviceEventData : PointerEventData { public TrackedDeviceEventData(EventSys...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Voximplant.API.Response { /// <summary> /// SmartQueueState.tasks item /// </summary> public class SmartQueueState_Task { /// <summary> /// The task type: CALL, IM. /// </summary> [Json...
// // Encog(tm) Core v3.1 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2012 Heaton Research, Inc. // // 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 // // htt...
using System.Collections.Generic; using System.Linq; public class Repository { private readonly List<IWeapon> weapons; public void AddWeapon(IWeapon weapon) { this.weapons.Add(weapon); } public IWeapon GetWeapon(string weaponName) { return this.weapons.First(w => w.Name.Equal...
using FusionEngine.Data; using FusionEngine.Effect; namespace FusionEngine.Visuals { public class RLParticle : RenderLayer { public FXParticle fx = null; public override void Init ( ) { fx = new FXParticle ( ); } public override void Render ( Mesh3D m, Vis...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Repository { public class Repo { private readonly PlaybookContext _playbookContext; private readonly...
//Author Maxim Kuzmin//makc// using Makc2020.Core.Base.Ext; using Makc2020.Core.Web.Ext; using Makc2020.Host.Web; using Makc2020.Mods.IdentityServer.Base.Enums; using Makc2020.Mods.IdentityServer.Web.Mvc.Parts.Account.Common.Jobs.Login; using Makc2020.Mods.IdentityServer.Web.Mvc.Parts.Account.Jobs.Login.Get.Process; ...
using System; namespace NgxLib { //TODO: either extend on this concept or remove it public interface IModule : IDisposable { bool IsInitialized { get; set; } void Initialize(NgxContext database); } }
using System; using Akka.Actor; using AkkaTest.Payloads; using static AkkaTest.Payloads.CommunicationPayloads; namespace AkkaTest.Actors { /// <summary> /// purpose of this actor is to communicate with users via websockets /// </summary> public class CommunicationActor : BaseActor { public...
using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Threading; namespace Masuit.Tools.Systems { /// <summary> /// 纳秒级计时器,仅支持Windows系统 /// </summary> public class HiPerfTimer { [DllImport("Kernel32.dll")] private static extern bool QueryPerf...
using System.Linq; public class Phone : ICall, IBrowseWeb { public string BrowseWeb(string site) { if (site.Where(x=>char.IsNumber(x)).ToList().Count()==0) { return $"Browsing: {site}!"; } else { return $"Invalid URL!"; } } publi...
using System; using System.Collections.Generic; using System.Text; namespace PMasta.LearnWithCode.DesignPatterns.Creational.FactoryMethod { /// <summary> /// Defines a generic interface for a game world enemy, the generic Product constructed by the Factory Method. /// </summary> public interface IEnem...
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System.Security.Cryptography; namespace JsonWebToken.Cryptography { internal static class RsaHelper { public static RSASignaturePadding GetPad...
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Movement { [TaskDescription("Wander using the Unity NavMesh.")] [TaskCategory("Movement")] [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/Movement/documentation.php?id=9")] [TaskIcon("Assets/Behavior Designer Movement/Editor/Icons/{Sk...
using System; using System.Reflection; using System.IO; using PublicApiGenerator; static class Program { static int Main(string[] args) { try { var assemblyPath = args[0]; var asm = Assembly.LoadFile(assemblyPath); var options = new ApiGeneratorOptions(); ...
using System; using System.Collections.Generic; using System.Text; namespace DemoKata.CustomTypes { public enum CoffeeBean { Java, Mocha, Dubree, Wotsit }; public class Coffee : DrinkBase { public CoffeeBean Bean; public Coffee() { Name = "Coffee"; Price = ...
using System; using System.Linq; using Lucene.Net.Store; using NUnit.Framework; namespace Lucene.Net.Linq.Tests.Integration { [TestFixture] public class OrderByDateTimeTests : IntegrationTestBase { private static readonly DateTime time1 = new DateTime(2013, 6, 27, 18, 33, 22).ToUniversalTime(); ...
using System.Collections.Generic; public sealed class InMemoryStorage : IStorage { private readonly Dictionary<string, object> _objects = new Dictionary<string, object>(); public bool Exists(string key) => _objects.ContainsKey(key); public void Put<T>(string key, T value) => _objects[key] = value; pub...
namespace OrderFulfillment.Core.Models.External.OrderProduction { public class SequencedData { public uint SequenceNumber { get; set; } public string Data { get; set; } } }
namespace AsyncAndParallel.Forms.Tasks { partial class PushPullForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
using RimWorld; using rjw; using System; using System.Collections.Generic; using System.Linq; using Verse; using Verse.AI; namespace RJWSexperience.Cum { public class WorkGiver_CleanSelfWithBucket : WorkGiver_Scanner { public override ThingRequest PotentialWorkThingRequest => ThingRequest.ForDef(VariousDefO...
 using SF.Core.Infrastructure.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace SF.Core { public static class ExtensionManager { private static List<Assembly> assemblies; private static List<IModuleInitializer> modules; publi...
using System.Linq; using System.Xml; using Dynamo.Graph; using Dynamo.Graph.Nodes; using Dynamo.Models; using Dynamo.Migration; namespace Dynamo.Nodes { public class WallByCurve : MigrationNode { [NodeMigration(from: "0.6.3.0", to: "0.7.0.0")] public static NodeMigrationData Migrate_0630_to_07...
using System; using System.Collections.Concurrent; using Yags.Annotations; using Yags.Log; namespace Yags.Session { public class SessionController { private ConcurrentDictionary<Guid, UserSession> _sessions = new ConcurrentDictionary<Guid, UserSession>(); private const int SessionTimeout = 1*6...
using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace StreamChat.Cli.Commands.Commands { [CommandDescriptor("message", "delete", "--id={MessageId}")] public class MessageDelete : ICommand { private readonly Client _client; priv...
using HoloToolkit.Unity; using ShowNowMrKit; using System; using System.Collections.Generic; using UnityEngine; public class MessageManager : Singleton<MessageManager> { #region 原方法 //[HideInInspector] //public string MessageName; //public Animator[] acheModelAnimator; //public void Start() ...
// /********************************************************************************************** // Author: Vasily Kabanov // Created 2018-01-09 // Comment // **********************************************************************************************/ using System; using System.Collections; using Sys...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace Domain { public struct Percentage : IEquatable<Percentage> { public int Value { get; private set; } public Percentage(int value) { Value = value; } ...
using System; namespace CsDebugScript.PdbSymbolProvider.DBI { /// <summary> /// OMF segment description flags. /// </summary> [Flags] public enum OMFSegmentDescriptionFlags : ushort { /// <summary> /// No flags. /// </summary> None = 0, /// <summary> ...
using System.Data; using System.Linq; namespace FluentDataTableExtensions { public static partial class FluentDataTableExtension { /// <summary> /// Get the ordinals of specified column names of data table. /// </summary> /// <param name="dt">data table</param> /// <par...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class KeyListener : MonoBehaviour { public GameObject MissionSelection; public GameObject PlayerProfile; public static bool IsProfileActive = false; public GameObject activeMissionB...
using System; using System.Threading.Tasks; namespace MAVN.Service.SmartVouchers.Domain.Repositories { public interface IPaymentRequestsRepository { Task CreatePaymentRequestAsync(Guid paymentRequestId, string voucherShortCode); Task<string> GetVoucherShortCodeAsync(Guid paymentRequestId); ...
using Quark.Core.Responses.Identity; namespace Quark.Client.HttpClients.Identity; public class UserHttpClient { private readonly HttpClient _httpClient; public UserHttpClient(HttpClient httpClient) { _httpClient = httpClient; } public async Task<IResult<List<UserResponse>>> GetAllAsync(...
using System.Data.EntityClient; using System.Data.Objects; using System.Data.Objects.DataClasses; [assembly: EdmSchemaAttribute()] namespace api.evl.watch { public partial class EvlWatchContext : ObjectContext { public EvlWatchContext() : base("name=EvlWatchContext", "EvlWatchContext") { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Downloader { public class DownloadThrottling : IDownloadObserver, IDisposable { private readonly int maxBytesPerSecond; private readonly List<IDownload> downloads = new List<IDownload>(); ...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using UkrainiansId.Domain.Models; namespace UkrainiansId.Infrastructure.Data.EntityFramework.Configurations { public class AppConfiguration : IEntityTypeConfiguration<App> { public void Configure(EntityTypeBuild...
namespace HeroVillainTour.DomainModels { public class HeroDomainModel : BaseCharacterDomainModel { //public List<string> PeopleSaved { get; set; } } }
using System.Threading.Tasks; using Covid19Api.Domain; namespace Covid19Api.Repositories.Abstractions { public interface IGlobalStatisticsWriteRepository { Task StoreAsync(GlobalStatistics globalStatistics); } }
using Microsoft.VisualStudio.Text.Editor; using System.ComponentModel.Composition; using System.Windows; using Vim; namespace Vim.UnitTest.Exports { [Export(typeof(IMouseDevice))] public sealed class TestableMouseDevice : IMouseDevice { public bool IsLeftButtonPressed { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EMS.EDXL.SitRep.Reports { public enum ImmediateNeedsCategoryDefaultValues { EmergencyMedicalServices, FireAndHazardousMaterials, IncidentManagement, LawEnforcement, MassCare, MedicalA...
using CommandLine; using System; using System.Collections.Generic; using System.Text; namespace SW.Gds.Util { class Options { //[Option('v', "verbose", Required = false, HelpText = "Set output to verbose messages.")] //public bool Verbose { get; set; } //[Option('a', "accesskey", Requ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.TestTools.UnitTesting; using TestUtilities.UI; namespace Microsoft.Nodejs.Tests.UI { [TestClass] public class Ja...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.Memory; using System; using System.Text; namespace Cache.WebApi02.Controllers { [Route("[controller]")] [ApiController] public class CacheController : Controller { private IDistri...
using System.Collections.Generic; using UnityEngine; using Sharp.Core; using Newtonsoft.Json.Linq; namespace Sharp.Gameplay { [RequireComponent(typeof(Animator))] [RequireComponent(typeof(StateComponent))] [RequireComponent(typeof(AudioSource))] public class LaserObject : MonoBehaviour, ISerializable ...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Collections.Generic; using Microsoft.WindowsAzure.MobileServices; nam...
using System.Runtime.CompilerServices; namespace System.Html { public partial class DataTransfer { [IntrinsicProperty] public DataTransferItemList Items { get { return null; } } } }
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using Dawn; using Sportradar.OddsFeed.SDK.Entities.REST.Enums; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO; using Sportradar.OddsFeed.SDK.Messages; namespace Sportradar.OddsFeed.SDK.Entities.REST.Internal.EntitiesImpl {...
/* Copyright 2020-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
using System; using System.Globalization; using System.Windows.Data; using NUnit3GUIWPF.Models; namespace NUnit3GUIWPF.Converters { public class ProjectStateToEnableConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { ...
#region File Description //----------------------------------------------------------------------------- // MatchState.cs // // Ben Scharbach - XNA Community Game Platform // Copyright (C) Image-Nexus, LLC. All rights reserved. //----------------------------------------------------------------------------- #end...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class EnterIP : MonoBehaviour { [SerializeField] private InputField inputField; [SerializeField] private SocketIO.SocketIOComponent socketIO; [SerializeField] private List<GameObject> objectsToEnab...
using BrowserGameEngine.GameDefinition; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrowserGameEngine.GameModel { public record UnitCount(UnitDefId UnitDefId, int Count); }
using DG.Tweening; using SMGCore; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Game { public sealed class PhoneHandle : MonoBehaviour { public Camera TargetCam; bool _active = false; public void Take() { _active = true; var col = GetComponentInChildren<Collide...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Graded_Unit_2 { /// <summary> /// Holds patients prescription for both eyes /// </summary> public partial class Prescription { //Attributes pr...
using _000_RealQuestions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace _000_RealQuestionsTest { [TestClass] public class AppleTest { [DataTestMethod] [DataRow(4)] [DataRow(10)] [DataRow(12)] [DataRow(16)] public void RandomInt1...
using System; namespace SampleCourier.Contracts { public interface ContentRetrieved { /// <summary> /// When the content was retrieved /// </summary> DateTime Timestamp { get; } /// <summary> /// The content address /// </summary> Uri Address { get; } /// <summary> /// The local URI for the co...
using System; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.OData.Formatters; using Microsoft.Framework.DependencyInjection; namespace Microsoft.AspNet.OData.Extensions { public static class ServiceCollectionExtensions { public static IServiceCollection AddORest(this IServiceCollection services) ...
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using UnityEngine.SceneManagement; /** * This file tests scene transitions to, from, and within the rules scene * to make sure it loads and unloads properly * * @author: Jessica Su */ ...
/////////////////////////////// /// IApplyDamage.cs /// Justin Dela Cruz /// 101127646 /// Last Modified: 2021-12-17 /// This .cs file helps Apply Damage /// GAME2014 - Final ////////////////////////////// using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IApplyDamage { ...
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ namespace System.ServiceModel.Configuration { using System.Configuration; using System....
using System.IO; namespace COL.UnityGameWheels.Core.Asset { internal class ResourceBasicInfoSerializer : IBinarySerializer<ResourceBasicInfo> { public void ToBinary(BinaryWriter bw, ResourceBasicInfo obj) { bw.Write(obj.Path); bw.Write(obj.GroupId); bw.Write(...
using System.ComponentModel.DataAnnotations; namespace ContosoCrafts.WebSite.Models { /// <summary> /// Model for handling user login and user database user.json /// </summary> public class UserLoginModel { /// <summary> /// get and set user name method for user name in user servi...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Text; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using SharpShell.Attributes; using SharpShell.SharpThumbnailHandler; using TxtThumbnailHandler.Rend...
using Cmjimenez.PasswordResetTool.Application.PasswordReset.Model; namespace Cmjimenez.PasswordResetTool.Application.PasswordReset.Model { public class ResetResult { public string FailureMessage { get; private set; } public User User { get; private set; } public bool PasswordChanged...
#region License /* ************************************************************************************** * Copyright (c) Librame Pong All rights reserved. * * https://github.com/librame * * You must not remove this notice, or any other, from this software. * **************************************************...
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/S...
using System; namespace Fergun.Attributes { /// <summary> /// Attaches an example to your command. /// </summary> [AttributeUsage(AttributeTargets.Method)] public sealed class ExampleAttribute : Attribute { public string Example { get; } public ExampleAttribute(string example)...
using System.Collections.Generic; namespace Alliterations.Api.Generator { internal sealed class AlliterationOptions { public IDictionary<char, string[]> Adjectives { get; set; } public IDictionary<char, string[]> Nouns { get; set; } public char[] AllowedStartingCharacters { get; set;...
using System; using System.Linq; namespace FM.LiveSwitch.Connect { static class IConnectionOptionsExtensions { public static AudioEncoding[] GetAudioEncodings(this IConnectionOptions options) { if (options.AudioCodec == AudioCodec.Any) { return ((AudioEn...
 using System; using Android.App; using Android.Content.PM; using Android.OS; using Com.Mapbox.Mapboxsdk.Maps; using Com.Mapbox.Mapboxsdk.Annotations; using Com.Mapbox.Mapboxsdk.Geometry; using static Com.Mapbox.Mapboxsdk.Maps.MapboxMap; using Android.Views; using Android.Widget; using Android.Content; using Android.S...
using DG.Tweening; using UnityEngine; using UnityEngine.UI; public class Icon : MonoBehaviour { [SerializeField] private Image _image; public void Use() { _image.DOColor(Color.black, .5f); _image.DOFade(0.2f, .5f); } }
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ namespace System.ServiceModel.Configuration { using System; using System.ServiceModel; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR.Hubs; namespace WebchatBuilder.Helpers { public class HubPipelineHelper : HubPipelineModule { protected override bool OnBeforeIncoming(IHubIncomingInvokerContext context) { ...
@using StockportWebapp.Config @model IEnumerable<StockportWebapp.Models.SubItem> @inject BusinessId BusinessId @foreach (var link in Model) { <li class="grid-50 tablet-grid-50 mobile-grid-100"> <a href="@link.NavigationLink">@link.Title</a> </li> }
using PeNet.Utilities; namespace PeNet.Structures { /// <summary> /// The NT header is the main header for modern Windows applications. /// It contains the file header and the optional header. /// </summary> public class IMAGE_NT_HEADERS : AbstractStructure { /// <summary> ...
using Newtonsoft.Json; using System.Collections.Generic; using TRLevelReader.Model; namespace TREnvironmentEditor.Model { public abstract class BaseEMCondition { [JsonProperty(Order = -2)] public string Comments { get; set; } [JsonProperty(Order = -2)] public EMConditionType Co...
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.ComponentModel; using System.Drawing; using System.Security.Permissions; using System.Diagnostics; namespace JustGestures.ControlItems { class CheckComboBox : ComboBox { ToolStripDropDown m_drop...
namespace Gaia.Lex { public class Token { public static readonly Token Null = new(0); public readonly int Tag; public Token(int t) { Tag = t; } public override string ToString() { return Tag.ToString(); } } }
using System.Numerics; namespace UAlbion.Game { public interface ICollider { bool IsOccupied(Vector2 tilePosition); } }
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package ssa -- go2cs converted at 2020 October 09 05:24:18 UTC // import "cmd/compile/internal/ssa" ==> using ssa = go.cmd.compile.@internal.ssa_package // O...
using Rasberry.Cli; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace Rasberry.Cli.Tests { [TestClass] public class ExtraParsersTest { [DataTestMethod] [DataRow("1%",0.01)] [DataRow("100%",1.0)] [DataRow("125%",1.25)] [DataRow("0.1%...