content
stringlengths
23
1.05M
namespace AutoBot.Core.Samples { public interface IFoo { string SayFoo(); } }
public class Alert { public readonly string content; public readonly bool priority; public Alert(string content) { this.content = content; } public Alert(string content, bool priority) { this.content = content; this.priority = priority; } }
namespace MYOB.AccountRight.SDK.Contracts.Version2.Contact { /// <summary> /// Describes a link to a Customer resource /// </summary> public class CustomerLink : CardLink { } }
using Microsoft.VisualStudio.TestTools.UnitTesting; using FatturaElettronica.Ordinaria.FatturaElettronicaBody.DatiGenerali; using Tests; namespace Ordinaria.Tests { [TestClass] public class DatiDocumentoValidator : BaseDatiDocumentoValidator<DatiOrdineAcquisto, FatturaElettronica.Validators.DatiOrdine...
using bisSport.Domain.Core; using FluentNHibernate.Mapping; namespace bisSport.Server.Mappings { public class StructureMap : ClassMap<Structure> { public StructureMap() { Table("Structures"); Id(x => x.Id); Map(x => x.Name); Map(x => x.TypeGuid).Column("TypeGuid"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using PepperDash.Core; using PepperDash.Essentials.Devices.Common.Codec; namespace PepperDash.Essentials.Devices.Common.VideoCodec { public class CiscoCodecPhonebook { public class Offset ...
namespace AggregateConsistency.Infrastructure { public interface IKnownSerializers { ISerializationPair<IEventSerializer, IEventDeserializer> Events { get; } ISerializationPair<ISnapshotSerializer, ISnapshotDeserializer> Snapshots { get; } } }
using System; using System.Collections.Generic; using System.Text; namespace MathParser.LanguageModel { public class Product : BinaryOperation { public Product(Expression left, Expression right) : base(left, right) { } } }
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using SocialMedia.Infrastructure.Core; using System; using System.Collections.Generic; using System.Text; namespace SocialMedia.Infrastructure.Data.Configurations { public class AspnetProfileConfiguration : IEntityTypeConf...
// Use the toolbox service to get a list of all toolbox items in // this assembly. ToolboxItemList = new ArrayList( ToolboxService.GetToolboxItems(this.GetType().Assembly, "")); if (null == ToolboxItemList) { throw new Applicati...
using System; namespace Launcher { /// <summary> /// Defines extension methods for enumeration types. /// </summary> public static class EnumExtensions { [ThreadStatic] private static Enum getNameValueCache; /// <summary> /// Gets the name of the constant in the enumeration. /// </summary> ...
using Order.Application.Contracts.Persistence; using Order.Domain.Entities; using Order.Infrastructure.Persistence; using System.Collections.Generic; using System.Threading.Tasks; namespace Order.Infrastructure.Repositories { public class OrderRepository : RepositoryBase<OrderEntity>, IOrderRepository { ...
// Copyright (c) Russlan Akiev. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace IdentityBase.Localization { using System; using System.Linq; using System.Threading.Tasks; using IdentityBase.Configuration; usi...
using SharpMixin.Attributes; using Xunit; namespace SharpMixin.Tests { public partial class PropertyGetSetOnlyTests { [Fact] public void Should_GetOnlyProperty_NotHave_Setter() { var getOnlyProperty = typeof(GetSetOnlyMixin).GetProperty(nameof(IGetOnly.Get)); ...
using System; namespace StepFly.Dtos { public class HistoryDto { public long Id { get; set; } public string UserKeyInfo { get; set; } public int StepNum { get; set; } public DateTime CreationTime { get; set; } } }
using System; namespace Signals.Aspects.ErrorHandling.Strategies { /// <summary> /// Represents execution strategy /// </summary> public abstract class Strategy { /// <summary> /// Callback handler for when an exception occures /// </summary> public Action<Exceptio...
using Engine; using Engine.UI; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; class PlayingState : GameState, IPlayingState { Level level; Button quitButton; SpriteGameObject completedOverlay, gameOverOverlay; public PlayingState() { ...
using NUnit.Framework; using System; using yase_core.Models; namespace yase_core.Models.Tests { [TestFixture] public class MappingTests { [Test] public void Should_map_HasingModel_to_ShortUrl() { var model = new HashingModel { OriginalUrl = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinqExercises { public class Person : IEquatable<Person> { public Person(string firstName, string lastName, DateTime dateOfBirth, Gender gender) { this.FirstName = firstName ?? throw ...
using Microsoft.AspNetCore.Builder; namespace FrontEnd.Handlers { /// <summary> /// Proxy Extension /// </summary> public static class ApiProxyExtension { /// <summary> /// Use Proxy Server /// </summary> /// <param name="app"></param> /// <param name="apiUr...
namespace YeGods.Domain { using System.ComponentModel.DataAnnotations.Schema; [Table("DeitySlugs")] public class DeitySlug : BaseEntity { public string Name { get; set; } public bool IsDefault { get; set; } public int DeityId { get; set; } [ForeignKey("DeityId")] public Deity Deity { get...
using System.Numerics; using System.Runtime.CompilerServices; namespace Engine.Game.Components { public static class Vector2Ext { /// <summary> /// a and b lay in XY plane, so result vector has only Z value /// </summary> [MethodImpl(MethodImplOptions.AggressiveInlining)] ...
using System; using Uno.Collections; using Uno; using Uno.Platform; namespace Outracks.Simulator { public static class Closure { public static Action<TArg2> ApplyFirst<TArg1, TArg2>(Action<TArg1, TArg2> action, TArg1 arg1) { return new ApplyFirst<TArg1, TArg2>(action, arg1).Execute; } public static Actio...
using Nodsoft.Wargaming.Api.Common.Data.Responses.Wows.Public; namespace Nodsoft.Wargaming.Api.Common.Data.Responses.Wows.Vortex; public class VortexAccountClanInfo { public ClanListing? Clan { get; init; } public DateTime? JoinedAt { get; init; } public ClanRole Role { get; init; } public uint? ClanId { ge...
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; namespace SpaceMemory.iOS.Views { [Register (...
// --------------------------------------------------------------------- // // Copyright (c) 2019 Magic Leap, Inc. All Rights Reserved. // Use of this file is governed by the Creator Agreement, located // here: https://id.magicleap.com/creator-terms // // ---------------------------------------------------------...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireWeapon : MonoBehaviour { [SerializeField] Camera cameraController; [SerializeField] Transform rayOrigin; [SerializeField] float shootDistance = 10f; [SerializeField] GameObject visualFeebackobject;...
using System; namespace AssemblyCSharp { public class Globals { public static int lastStage = 1; } }
using UnityEngine; using System.Collections; using UnityEngine.UI; public class OnClick_Corridor : MonoBehaviour { DataControlHub DC; int phase = 0; void Start () { DC = GameObject.Find("Data").GetComponent<DataControlHub>(); } void OnMouseDown() { if (!DC.S.SH.visitedLobby) DC.UIC.StartDialogue(DC.Dialogu...
using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Text; namespace Omnius.Core.Remoting { [Serializable] public class RocketPackRpcException : Exception { public RocketPackRpcException() { } public RocketPackRpcException(st...
using System; using UnityEngine; namespace SkillEditor { public class USTimelineBase : MonoBehaviour { private USTimelineContainer timelineContainer; public Transform AffectedObject { get { return this.TimelineContainer.AffectedObject; } } public USTimelineContainer TimelineContainer { ...
namespace GetReady.Services.Models.QuestionSsheetModels { public class QuestionSheetCreate: QuestionSheetCoreData { public int ParentSheetId { get; set; } } }
using System; namespace BuckarooSdk.Services.PayPerEmail { /// <summary> /// The PayperEmail Payment invitation is a request that has the purpos of sending a payment invitation /// to a customer. This can be performed by Buckaroo, or a payment link can be returned, in case the /// mail should be sent by your own s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XInput = SharpDX.XInput; namespace craftersmine.EtherEngine.Input { /// <summary> /// Contains gamepad buttons /// </summary> public enum GamepadButtons { /// <summary>...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; namespace Core.Template.Infrastructure.Filters { /// <summary> /// /// </summary> public class ApiResponseFilterAttribute : Attribute, IActionFilter { /// <summary> /// /// </summary> ...
namespace Eliza.Model { public class FesNpcScore { public int npcId; public int score; } }
@{ ViewData["Title"] = "Home Page"; } @await Html.PartialAsync("_IntroSection"); <main id="main"> @await Html.PartialAsync("_FeaturedServicesSection") @await Html.PartialAsync("_AboutMeSection") @await Html.PartialAsync("_ServicesSection") @await Html.PartialAsync("_CallToA...
using JetBrains.Annotations; using System; using Volo.Abp; namespace Volo.CmsKit.Comments; public class CommentEntityTypeDefinition : EntityTypeDefinition { public CommentEntityTypeDefinition([NotNull] string entityType) : base(entityType) { EntityType = Check.NotNullOrEmpty(entityType, nameof(entity...
/* * Developed by Gökhan KINAY. * www.gokhankinay.com.tr * * Contact, * info@gokhankinay.com.tr */ namespace ManagerActorFramework { public delegate void Subscription<TManager>(object[] arguments) where TManager : Manager<TManager>; }
using System; using System.Collections.Generic; using System.Text; namespace TDSBF.Data.Discord.MessageClasses { public class Assets { public string large_text { get; set; } public string large_image { get; set; } } }
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayEcoPrinterStatusQueryResponse. /// </summary> public class AlipayEcoPrinterStatusQueryResponse : AopResponse { /// <summary> /// 0离线 1在线 2缺纸 /// </summary> [XmlElement(...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TileVariant : MonoBehaviour { public Tile[] tiles; [System.Serializable] public class Tile { public string tileName; public GameObject model; } }
using UnityEngine; [RequireComponent(typeof(CatMovement))] [RequireComponent(typeof(CatInteraction))] public class KeyboardController : MonoBehaviour { public GameObject hint; private CatMovement _movable; private CatInteraction _character; private Vector2 _speed; private bool _isActive; voi...
namespace Portal.DataObjects { public class PendingBase { public int PendingId { get; set; } public int MemberId { get; set; } public string RequestDate { get; set; } public string MemberName { get; set; } public decimal Amount { get; set; } public string Ad...
@model NetsBrokerIntegration.DotNet.Models.AuthenticationErrorResponse @{ Layout = null; } <!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <title>Nets eID Broker</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-sca...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Stomp : MonoBehaviour { private bool playerIsMoving; private bool isStomping = false; public float stompWaitTime = 3f; public GameObject stomp; void LateUpdate() { playerIsMoving = GetCompone...
using System.Collections.Generic; namespace bstrkr.mvvm.navigation { public class RouteStopListNavParam { public RouteStopListNavParam() { this.RouteStops = new List<RouteStopListItem>(); } public List<RouteStopListItem> RouteStops { get; set; } } }
namespace Cargo.DomainModel.Models { public class Location { private int _id; public int Id { get { return _id; } set { _id = value; } } private string _postCode; public string PostCode { get { return _postCode; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Quidjibo.Configurations; using Quidjibo.Factories; using Quidjibo.Misc; using Quidjibo.Models; using Quidjibo.Pipeline; using Quidjibo.Pipeline.Contexts; usi...
namespace raccoonLog.Http.Stores { public class FileStoreOptions { public string SavePath { get; set; } = "logs/http"; } }
// <copyright file="IShellCommandBar.cs" company="FT Software"> // Copyright (c) 2016 Florian Thurnwald. All rights reserved. // </copyright> // <author>Florian Thurnwald</author> namespace ProjektKatastrophenschutz.Elements { using System.Collections.ObjectModel; /// <summary> /// Declares that an imple...
using System; using SqlStreamStore.Demo.Serializers.Messages; namespace SqlStreamStore.Demo.Events.Account { public class AmountDeposited : TransactionEvent { public AmountDeposited() : base(MessageTypes.Transaction.Deposited) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace TrueNorth.Crm.FieldHasher { class PluginConfiguration { private static string GetValueNode(XmlDocument doc, string key) { XmlNode node = d...
using GT.Core.DTO.Impl; namespace GT.Core.Services.Interfaces { public interface IGTListingInquiryService : IGTService { Task<List<ListingInquiryDTO?>> GetAllAsync(); Task<ListingInquiryDTO?> GetByIdAsync(string id); Task<List<ListingInquiryDTO>?> GetByListingIdAsync(string id); Task<ListingInquiryDTO?> ...
using System; using UnityEngine; // Token: 0x020000D9 RID: 217 public class LimitRigidbodyVelocity : MonoBehaviour { // Token: 0x06000459 RID: 1113 RVA: 0x0000595B File Offset: 0x00003B5B private void Start() { this.maxVelocity = Mathf.Abs(Physics.gravity.y) * 3f; if (this.includeRigidbodyChildren) ...
// 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.Collections.Generic; namespace Microsoft.Owin.Security.OAuth { /// <summary> /// Provides context information used in handling an ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Services; using System.Xml; using Egora.Pvp; using Egora.Stammportal; using Egora.Stammportal.LdapAuthorizationService; /// <summary> /// Summary description for FixedAuthorizer /// </summary> [WebSe...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.ClearScript.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.ClearScript.Test { public partial class DynamicHostItemTest { #region test methods // R...
using System.ComponentModel; namespace Shared.Common { public enum StatusCashout { [Description("Cancel")] Cancel = 0, [Description("Complete")] Complete = 1, [Description("Pending")] Pending = 2, } public enum StatusMessage { [Description...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mov.Standard.Windows { public enum MenuType { NicoSearch, NicoTemporary, NicoHistory, NicoFavorite, NicoFavoriteDetail, NicoChromiu...
using System; namespace SharpVectors.Dom.Svg { public sealed class SvgAnimatedAngle : ISvgAnimatedAngle { #region Fields private ISvgAngle baseVal; private ISvgAngle animVal; #endregion #region Constructor public SvgAnimatedAngle(string s, string defaultValue...
using System; using Destructible; using Map; using Menu; using Override; using Paranoia; using UnityEngine; using UnityEngine.Rendering; using ZeoFlow; using ZeoFlow.Outline; using ZeoFlow.Pickup; using ZeoFlow.Pickup.Interfaces; namespace Items { /// <summary> /// <para> FlareManage </para> /// <author> @...
using System; /*---------------------------------------------------------------------\ | Copyright © 2008-2016 Allen C. [Alexander Morou] Copeland Jr. | |----------------------------------------------------------------------| | The Abstraction Project's code is provided under a contract-release | | b...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; namespace Edu.Schwabe.TicTacToe.ObjectModel { [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] public class Consecutiveness { public Consecutiveness() => CellsAt = new List<int>(); public Cons...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SleepyTomCat { class Program { static void Main(string[] args) { int restingDays = int.Parse(Console.ReadLine()); int workingDays = 365 - resti...
using System; using OptixCore.Library.Native; namespace OptixCore.Library { public class OptixPostprocessingStage : DataNode { public OptixPostprocessingStage(Context context, string name) : base(context) { Create(name); } public override void Validate() { ...
using System.Linq; using Xunit; using static Primes; namespace Problems { public class Problem0003 { [Fact] public void Euler_0003() { Assert.Equal(6857, FactorsOf(600851475143).Max()); } } }
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IElbListener), fullyQualifiedName: "aws.ElbListener")] public interface IElbListener { [JsiiProperty(name: "instancePort", typeJson: "{\"primitive\":\"number\"}")] ...
using System; using CMS.Community.Web.UI; using CMS.Helpers; using CMS.MessageBoards; using CMS.UIControls; public partial class CMSModules_Groups_Tools_MessageBoards_Boards_Board_Edit_Subscription_Edit : CMSGroupMessageBoardsPage { #region "Variables" private int mSubscriptionId = 0; private int board...
 using System; namespace Weathering { [ConstructionCostBase(typeof(StoneBrick), 10, 0)] public class RoadOfStone : AbstractRoad { public override float WalkingTimeModifier { get => 0.6f; } private const string roadBase = "RoadOfStone"; protected override string SpriteKe...
namespace Common.Integrations.XSLite { using StardewModdingAPI; /// <inheritdoc /> internal class XSLiteIntegration : ModIntegration<IXSLiteAPI> { /// <summary>Initializes a new instance of the <see cref="XSLiteIntegration" /> class.</summary> /// <param name="modRegistry">SMAPI's mod ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { [SerializeField] new Rigidbody2D rigidbody; [SerializeField] Animator animator; [SerializeField] float speed; [SerializeField] float attackDuration; [HideInInspector] public bool canMove...
namespace Plexito { using System; using System.Diagnostics; using System.Windows.Input; using Ownskit.Utils; using SandboxConsole.Model; using SandboxConsole.Services; public class PlexMediaKeysProxy : IDisposable { private readonly KeyboardListener kListener; privat...
#define COMMAND_NAME_UPPER #if DEBUG #undef NET_LOCALGROUP_MEMBER #define NET_LOCALGROUP_MEMBER #endif #if NET_LOCALGROUP_MEMBER using Newtonsoft.Json; using System; using System.Diagnostics; using System.IO; using System.Threading; using Mythic.Structs; using Apollo.Jobs; using Apollo.MessageInbox; using Apollo.Ta...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace ValheimTwitch.Twitch.API.Helix { public class Follower { [JsonProperty("from_id")] public string FromId { get; set; } [JsonProperty("from_login")] public string FromLogin { get; set; } [J...
using System; using System.Collections.Generic; using Qurvey.Shared.Models; using Xamarin.Forms; using Qurvey.api; namespace Qurvey.pages { public partial class SurveyPage : ContentPage { public SurveyPage (Survey survey) { //BackgroundColor = Color.FromHex ("#2A2A2A"); InitializeComponent (); ...
using System.Diagnostics; using System.Linq; using Newtonsoft.Json; using NLog; using RestSharp; namespace ApiTesting.Framework.BaseObjects { public abstract class ResourceObject { protected readonly IRestClient RestClient; protected readonly ILogger Logger; protected ResourceObject(I...
namespace QarnotCLI.Test { using System; using System.Collections.Generic; using System.IO; using System.Security.AccessControl; using System.Text; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using NUnit.Framework; using QarnotCLI; [TestFixtu...
namespace AngleSharp.Dom.Css { using AngleSharp.Css; /// <summary> /// More information available at: /// https://developer.mozilla.org/en/docs/Web/CSS/@font-face /// </summary> sealed class CssUnicodeRangeProperty : CssProperty { #region ctor public CssUnicodeRangePropert...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace NanoSurvey.DB { [Table("Answer", Schema = "survey")] public partial class Answer { public Answer() { ResultAnswer =...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Tests { publ...
using Sharpen; namespace android.database { [Sharpen.Stub] public abstract class ContentObserver { private android.database.ContentObserver.Transport mTransport; private object @lock = new object(); internal android.os.Handler mHandler; [Sharpen.Stub] private sealed class NotificationRunnable : java.la...
using DotNetty.Buffers; namespace OpenClassic.Server.Networking { public class NoOpPacketHandler : IPacketHandler { public int Opcode => -1; public void Handle(ISession session, IByteBuffer packet) { } } }
// ******************************************************** // Copyright (C) 2021 Louis S. Berman (louis@squideyes.com) // // This file is part of SquidEyes.Trading // // The use of this source code is licensed under the terms // of the MIT License (https://opensource.org/licenses/MIT) // ******************************...
using System; using System.Linq.Expressions; using System.Reflection; namespace Rock.Reflection { /// <summary> /// Provides extension methods on a PropertyInfo to get optimized reflection methods. /// </summary> public static class GetdActionExtension { /// <summary> /// Gets an <...
namespace AdiTennis.StageAbstract.Stages { internal interface INonblockingStage : IStage { } }
using System; using Castle.DynamicProxy; namespace DotNetCore.DI.Interception.Interceptors { public abstract class TryCatchWrapperInterceptor : IInterceptor { private readonly bool _throwException; protected TryCatchWrapperInterceptor(bool throwException) { _throwException...
using System; using System.Net.Http; namespace JudoPayDotNet.Errors { [Serializable] public class BadResponseError : Error { public BadResponseError(HttpResponseMessage response) { ErrorMessage = String.Format("Response format isn't valid it should have been app...
using System; using System.Collections.Generic; using System.Text; using HAD.Contracts; using HAD.Entities.Miscellaneous; namespace HAD.Entities.Heroes { public abstract class BaseHero : IHero { private long strength; private long agility; private long intelligence; private lon...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class fly2 : MonoBehaviour { public float speed; //public float strafeSpeed; public float rotationSpeed; public GameObject force; public GameObject Camera; private Rigidbody...
/* * Copyright (c) 2016 Valery Alex P. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of con...
using Scrapper.Models; using System; using System.Collections.Generic; namespace Scrapper.Interfaces { interface IScrapRepository //: IDisposable { IEnumerable<ScrapResult> GetAll(); ScrapResult GetByPosition(int position); void Insert(string result); void Delete(int position);...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; using Xunit; using ShlomiBo.Expressed; namespace ShlomiBo.ExpressedTests.Traversal { using static Expression; using TestLambda = Func<int, int, int>; using TestExpType = Expression<Func<int, int, int>>; public parti...
using System; using System.Drawing; namespace Domi.DarkControls { public class ColorSelectedEventArgs : EventArgs { public Color NewColor { get; } public ColorSelectedEventArgs(Color newColor) { this.NewColor = newColor; } } }
using System.Collections.Generic; using System.Linq; using Sitecore.Data; using Sitecore.Data.Fields; namespace OneNorth.FieldMigrator.Pipelines.MigrateField { public class CopyValue : IMigrateFieldPipelineProcessor { public void Process(MigrateFieldPipelineArgs args) { if (args.So...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Security.Credentials; namespace CrowdSpark.App.Helpers { //To store account and options static class CommonAttributes { public sta...
using Microsoft.DirectX.DirectInput; using TGC.Core.Mathematica; namespace TGC.Group.Model.Utils.Commands { class MoveDownCommand : Command { private IGameModel model; public MoveDownCommand(IGameModel ctx) { model = ctx; } public void execute() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Statistics", menuName = "Inventory/Statistics", order = 1)] public class Statistics : ScriptableObject { //reference to the armour function public AnimationCurve armourCurve = AnimationCurve.Lin...
using AssemblyAnalyzer.Declarations; using AssemblyAnalyzer.Info; using System; using System.Collections.Generic; namespace AssemblyBrowser.ViewModel { public class AssemblyVM { private readonly AssemblyInfo _assemblyInfo; public string StringPresentation { get => String.E...
using System; namespace Twitter { public class Client : IClient { public void PublishTweet(ITweet tweet) { Console.WriteLine(tweet); } } }