content
stringlengths
23
1.05M
using UnityEngine; using System.Collections; public class FollowPlayer : MonoBehaviour { Vector3 offset; void Start () { offset = transform.position - GameObject.FindGameObjectWithTag ("Player").transform.position; } void LateUpdate () { Vector3 _targetCamPos = GameObject.FindGameObjectWithTag ("Player").tr...
 namespace WildFarm.Animals { using System; using WildFarm.Animals.Creators; public class AnimalFactory { public AnimalFactory() { } public Animal CreateAnimal (string [] args) { Type anType = Type.GetType($"WildFarm.Animals.Creators.{args[0...
using Newtonsoft.Json; namespace Nest { /// <summary> /// Limits the number of tokens that are indexed per document and field. /// </summary> public class LimitTokenCountTokenFilter : TokenFilterBase { public LimitTokenCountTokenFilter() : base("limit") { } ...
namespace DotNet.Status.Web.Models { public class IssuesHookData { public string Action { get; set; } public Octokit.Issue Issue { get; set; } public IssuesHookUser Sender { get; set; } public IssuesHookRepository Repository { get; set; } public IssuesHookLabel Label { ge...
using Lyn.Protocol.Common.Messages; using Lyn.Types.Bitcoin; using Lyn.Types.Fundamental; namespace Lyn.Protocol.Bolt2.MessageRetransmission.Messages { public class ChannelReestablish : MessagePayload { public ChannelReestablish(UInt256 channelId, ulong nextCommitmentNumber, ulong nextRevocationNumber,...
// // Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Llilum = Microsoft.Llilum.Devices.Spi; namespace Windows.Devices.Spi { public sealed class SpiDevice : IDisposable { // Connec...
 using ProtoBuf; namespace Woof.Net; /// <summary> /// Messge metadata header part. /// </summary> [ProtoContract] public class MessageMetadata { /// <summary> /// Message type identifier. /// </summary> [ProtoMember(1)] public int TypeId { get; set; } /// <summary> /// Message identifi...
using System; namespace GitHub.Commands { /// <summary> /// Supplies parameters to <see cref="INextInlineCommentCommand"/> and /// <see cref="IPreviousInlineCommentCommand"/>. /// </summary> public class InlineCommentNavigationParams { /// <summary> /// Gets or sets the line th...
@page @model webapp.Pages.ProfileModel @{ ViewData["Title"] = "Profile"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3> <form> <p> UPN: <input type="text" asp-for="SearchString" /> <input type="submit" value="Filter" /> </p> </form> <table class="table table-striped table-condensed" style="font-fa...
namespace Expanse.Serialization { /// <summary> /// Interface capable of serializing and deserializing objects. /// </summary> public interface ISerializer<TData> { /// <summary> /// Serializes a source object. /// </summary> /// <typeparam name="TSource">Type of sou...
using EstimatorX.Shared.Models; namespace EstimatorX.Shared.Definitions; public interface IHaveEstimate { // user entered ClarityScale? Clarity { get; set; } ConfidenceScale? Confidence { get; set; } Criticality? Criticality { get; set; } int? Estimate { get; set; } // computed double...
namespace Qsi.Debugger.Models { public class QsiSplitTreeItem { } }
using System; using Ludiq; using Bolt; namespace Lasm.BoltAddons.BinaryEncryption { [UnitSurtitle("Binary Encryption")] [UnitShortTitle("Create Variable")] public class NewBinaryVariable : BinaryEncryptionBaseUnit { [Inspectable] [UnitHeaderInspectable("Type"), InspectorLabel("Type")]...
using System; namespace Chatter.MessageBrokers { public interface IBrokeredMessageBodyConverter { string ContentType { get; } TBody Convert<TBody>(byte[] body); byte[] Convert(object body); string Stringify(byte[] body); string Stringify(object body); } }
using System; using System.Globalization; using System.Linq; using Scrummy.Application.Web.MVC.Extensions.Entities; using Scrummy.Application.Web.MVC.Presenters.Team; using Scrummy.Application.Web.MVC.Utility; using Scrummy.Application.Web.MVC.ViewModels.Team; using Scrummy.Domain.Repositories; using Scrummy.Domain.Us...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class HUDCraftingProgressMeter : MonoBehaviour { public Camp playerCamp; // inspector set Image progressBar; Image progressBarFrame; Image itemIcon; Text percentageText; // Use this for initialization void Start () { ...
//=================================================== //作 者:边涯 http://www.u3dol.com QQ群:87481002 //创建时间:2015-11-29 17:07:00 //备 注:场景UI的基类 //=================================================== using UnityEngine; using System.Collections; /// <summary> /// 场景UI的基类 /// </summary> public class UISceneBase: UIBase ...
using System; using System.Threading.Tasks; namespace MicroObjectsLib.Cache { public sealed class ClassCache<T> : ICache<T> where T : class { private T _cache; public async Task<T> Retrieve(Func<Task<T>> func) => _cache ?? (_cache = await func()); public Task Clear() => Task.Run(() =...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace Ex08_Pr06_BookLibraryModification { class Ex08_Pr05_BookLibrary { // 100/100 static void Main() { int n = int.Parse(Console.ReadLine()); Dictionary<string,...
using System; using System.Text; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace HttpMultipartParserUnitTest { using System.IO; using HttpMultipartParser; using System.Threading.Tasks; /// <summary> /// Summary description for RebufferableBinaryReaderUnitTest ...
namespace IE.MobileStorage.Models { public class PackmanScores { public int Key { get; set; } } }
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AudioController : MonoBehaviour { public static AudioController Instance; public List<AudioBundle> maleSFXLibrary; public List<AudioBundle> femaleSFXLibrary; public List<AudioBundle> SFXLibrary; public Li...
namespace Mapbox.Unity.MeshGeneration.Modifiers { using Mapbox.Unity.MeshGeneration.Data; public enum ModifierType { Preprocess, Postprocess } /// <summary> /// Mesh Data class and Mesh Modifier /// MeshData class is used to keep data required for a mesh.Mesh modifiers recieve raw feature data and a mesh m...
using System; using System.Threading.Tasks; using OmmaLicenseValidator; using OmmaLicenseValidator.Responses; namespace ValidatorSample { class Program { static void Main(string[] args) { var exit = false; var validator = new ValidatorChecker(); Console.Wri...
namespace SeudoBuild.Pipeline { /// <inheritdoc /> /// <summary> /// Results from creating an archive from a build product. /// </summary> public class ArchiveStepResults : PipelineStepResults { public string ArchiveFileName { get; set; } } }
using System.Collections.Generic; using GeoAPI.Geometries; using NetTopologySuite.Algorithm; using NetTopologySuite.Noding; namespace NetTopologySuite.Geometries.Prepared { ///<summary> /// A base class containing the logic for computes the <i>contains</i> /// and <i>covers</i> spatial relationship predica...
using Newtonsoft.Json; using Assets.Scripts.GameLogic.Enums; namespace Assets.Scripts.Data.Entities { public class QuestModel : IEntity { [JsonProperty("quest_id")] public int QuestId { get; set; } [JsonProperty("quest_title")] public string QuestTitle { get; set; } [Js...
using Microsoft.EntityFrameworkCore; namespace COVIDScreeningApi.Data { public class DataContext : DbContext { public DbSet<PortOfEntry> Ports { get; set; } public DbSet<Representative> Representatives { get; set; } public DbSet<Screening> Screenings { get; set; } public DataCo...
using System; using System.ComponentModel.Composition; namespace PA.Plugin { public interface IPluginCategory { string Category { get; } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface), MetadataAttribute] public class PluginCategoryAttribute : Attribute, IPluginCateg...
using Microsoft.AspNetCore.Mvc; namespace Kahla.Home.Views.Shared.Components.KahlaNav { public class KahlaNav : ViewComponent { public IViewComponentResult Invoke(bool isProduction) { var model = new KahlaNavViewModel { IsProduction = isProduction ...
using System; using System.Security.Claims; using System.Security.Principal; namespace MyExpenses.Web.Common { public static class PrincipalExtensions { public static MyExpensesUserIdentity GetAppIdentity(this IPrincipal principal) { Guid? userId=null; string userName=s...
using TNO.DAL.Models; using TNO.Entities; using TNO.Entities.Models; namespace TNO.DAL.Services; public interface IContentService : IBaseService<Content, long> { IPaged<Content> Find(ContentFilter filter); }
using Helpdesk_Ticketing.Models; using static Helpdesk_Ticketing.Models.TicketTypes; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Helpdesk_Ticketing.Models.ViewModels; namespace Helpdesk_Ticketing.Data { public class Ti...
using System; using System.Collections.Generic; using System.Text; namespace GradingSystem { public interface IBook { void AddGrade(params double[] grade); Statistics GetStatistics(); string Name { get; } List<double> Grades { get; set; } event GradeAddedDelegate GradeAdded; } }
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Unity.Collections; using UnityEngine; namespace DefenceFactory.Game.World { public enum ChunkFlag { None...
// Copyright 2020 EPAM Systems, 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 applicab...
// Copyright (c) 2015–Present Scott McDonald. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.md in the project root for license information. using System.Diagnostics.Contracts; namespace ApiFramework.Schema.Internal { /// <summary> /// This API supports the API Framework ...
// Copyright (c) 2021 EPAM Systems // // 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 ...
using System; namespace Reddit.Inputs { [Serializable] public class CategorizedSrListingInput : SrListingInput { /// <summary> /// boolean value /// </summary> public bool include_categories; /// <summary> /// Input data for a categorized SR listing. ...
using CleanArchitecture.Domain.Models; using CleanArchitecture.Infrastructure.Data.Context; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CleanArchitecture.WebUI.Controllers { public class TagController : Controller {...
using BencodeNET.Parsing; using BencodeNET.Torrents; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TorrentChain.Data.Models { public class BlockData { public BlockData(IEnumerable<byte> data) { Data = data.ToArray(); } ...
using Bridge.Test.NUnit; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Bridge.ClientTest.Batch3.BridgeIssues { /// <summary> /// Ensures an external, template-driven constructor works on Bridge. /// </summary> /// <remar...
using Terraria; using Terraria.Audio; using Terraria.ModLoader; using Terraria.ModLoader.Core; namespace TerrariaOverhaul.Common.Hooks.Items { public interface IModifyItemNPCHitSound { public delegate void Delegate(Item item, Player player, NPC target, ref SoundStyle customHitSound, ref bool playNPCHitSound); ...
namespace MSToolKit.Core.Authentication.Abstraction { /// <summary> /// Provides an abstraction for validating passwords. /// </summary> public interface IPasswordValidator { /// <summary> /// Validates the given password. /// </summary> /// <param name="password">Th...
using HospitalManagement.Models; using System; using System.Collections.Generic; using System.Text; namespace HospitalManagement.Services { public interface Departament { public Doctor makeAppointment(Patient Client, DateTime date); } }
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reactive.Linq; using System.Threading.Tasks; using Dapplo.Log; using Dapplo.Log.XUnit; using Dapplo.Windows.Input.Mouse; using Dapplo.Windows...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using MvvmCross.iOS.Platform; using MvvmCross.Platform; using MvvmCross.Core.ViewModels; using MvvmCross.Forms.iOS; using PageRendererExample.UI.iOS; namespace pagerenderexample.iOS { [Register("AppDelegate")] ...
using AutoVersionsDB.NotificationableEngine; namespace AutoVersionsDB.Core.ConfigProjects.Processes { public abstract class ProjectConfigProcessDefinition : ProcessDefinition { public ProjectConfigProcessDefinition() : base(null) { } } }
using OpenTK; using System; using System.Diagnostics; using System.Threading; namespace GameCore { /// <summary> /// Handle rendering on a separate thread. /// </summary> public class BackgroundRenderer : IDisposable { #region Events public event EventHandler<EventArgs> Initialize; public event EventHand...
using System.Linq; using Microsoft.Extensions.Logging; using TheFlow.CoreConcepts; using TheFlow.Elements.Activities; using TheFlow.Infrastructure.Parallel; namespace TheFlow.Elements.Gateways { public class ParallelGateway : Activity { // TODO: Support multiple input connections and multiple output co...
using UnityEngine; [AddComponentMenu("")] public class Test01_DebugLog : MonoBehaviour { void Start() { Debug.Log("Hello, World! - From, Udon#"); } }
using HyperMap.Converters.Collections; using HyperMap.Integration.Tests.Sources; using HyperMap.Integration.Tests.Targets; using HyperMap.Mapping; namespace HyperMap.Integration.Tests.Maps { public sealed class CustomerToCustomerListViewMap : MapBase<Customer, CustomerListView> { public CustomerToCusto...
@section styles { <link href="~/App/Main/styles/main.css" rel="stylesheet" /> } @section scripts { <script src="~/Scripts/angular.min.js"></script> <script src="~/Scripts/angular-animate.min.js"></script> <script src="~/Scripts/angular-route.min.js"></script> <script src="~/Scripts/angular-sanitiz...
using System.Collections.Generic; namespace CompositeC1Contrib.FormBuilder { public interface IModelsProvider { IEnumerable<ProviderModelContainer> GetModels(); } }
using System; using Microsoft.Extensions.Caching.Memory; namespace PidPlugin.Cache { public class MemoryCacheAccessor : ICacheAccessor { private readonly IMemoryCache memoryCache; public MemoryCacheAccessor(IMemoryCache memoryCache) { this.memoryCache = memoryCache ?? ...
using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; namespace Nimbus.Infrastructure { internal interface IQueueManager { Task<MessageSender> CreateMessageSender(string queuePath); Task<MessageReceiver> CreateMessageReceiver(string queuePath); Task<TopicClient> CreateTo...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Mimick { /// <summary> /// A class containing extension methods for common array operations. /// </summary> public static partial class E...
using UnityEngine; public interface IEDroneState { void UpdateState(); void GoToAttackState(); void GoToAlertState(); void GoToPatrolState(); void OnTriggerEnter(Collider other); void OnTriggerStay(Collider other); void OnTriggerExit(Collider other); void Impact(); }
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using Ultraviolet.Core; using Ultraviolet.Core.Text; using Ultraviolet.FreeType2.Native; using Ultraviolet.Graphics; using Ultraviolet.Graphics.Graphics2D; using Ultraviolet.Graphics.Graphics2D.Text; using static ...
using System; using System.Reflection; namespace Sigil.NonGeneric { public partial class Emit { /// <summary> /// <para>Calls the given method virtually. Pops its arguments in reverse order (left-most deepest in the stack), and pushes the return value if it is non-void.</para> /// <pa...
#region Copyright Notice /* * ConnectSdk.Windows * ILauncher.cs * * Copyright (c) 2015, https://github.com/sdaemon * Created by Sorin S. Serban on 22-4-2015, * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
using System; using System.Collections.Generic; using System.Reflection; using HotChocolate.Types; using HotChocolate.Types.Descriptors; using Snapshooter.Xunit; using Xunit; namespace HotChocolate.Data.Sorting { public class SortAttributeTests { [Fact] public void Create_Schema_With_SortType()...
using System.Collections.Generic; using XtraUpload.Domain; namespace XtraUpload.WebApi { internal class DeleteFolderResultDto { public IEnumerable<FolderItem> Folders { get; set; } public IEnumerable<FileItemHeaderDto> Files { get; set; } } }
using FubuMVC.Core.Registration; namespace FubuMVC.Core.Security.Authorization { public class SecurityServicesRegistry : ServiceRegistry { public SecurityServicesRegistry() { SetServiceIfNone<IAuthorizationFailureHandler, DefaultAuthorizationFailureHandler>(); SetServi...
namespace BladesOfSteelCP.Data; public enum EnumFirstStep { ThrowAwayAllCards = 0, PlayAttack = 1, PlayDefense = 2 }
using Xunit; using static MySQLCLRFunctions.StringTransform; namespace MySQLCLRFunctions.Tests { public class StringTransformTests { [Fact] public void ReplaceMatchXTest() { const string input = "ThisIsIt"; const string validoutput = "Th!sIsI!"; var ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DD4T.Examples.Helpers { public static class ImageHelper { public static string ResizeToWidth(this string url, int width) { return Resize...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace RA.Models.Json { public class Place { public Place() { Type = "ceterms:Place"; ContactPoint = new List<Json.ContactPoint>(); } [JsonProperty( "@type" )]...
using Core.Base; using MailKit.Net.Smtp; using Microsoft.Extensions.Options; using MimeKit; using MimeKit.Text; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Core.Mail { public class PostaciKit: IEmailSender { private readonly EpostaHesapBil...
////////PROVISIONAL IMPLEMENTATION//////// ////////PROVISIONAL IMPLEMENTATION//////// ////////PROVISIONAL IMPLEMENTATION//////// namespace System.IO { public abstract class TextReader : IDisposable { protected TextReader() { } public virtual void Close() { ...
using System; using System.Collections.Generic; using System.Text; namespace office365.PORTAL.Core { public class PORTALUserObjectList { public string odatacontext { get; set; } public PORTALUserObject[] Value { get; set; } } }
namespace Cmsql.Query { public interface ICmsqlQueryResult { } }
namespace Gw2Sharp.WebApi.V2.Models { /// <summary> /// Represents a upgrade component item. /// </summary> public class ItemUpgradeComponent : Item { /// <summary> /// The upgrade component details. /// </summary> public ItemUpgradeComponentDetails Details { get; set...
using System; class C { public static int Main () { if (new C ().Test () != 6) return 1; return 0; } public delegate void Cmd (); public delegate int Cmd2 (); int Test () { int r = Foo2 (delegate () { int x = 4; Foo (delegate () { int y = 6; Foo (delegate () { x = y; }); ...
using System; using System.Threading; using ZedSharp.Utils; namespace ZedSharp.RateLimit { internal class FixedTokenBucket { private readonly SemaphoreSlim _sem = new SemaphoreSlim(1, 1); private readonly int _capacity; private readonly int _interval; private long _nextRefillTi...
using DigitalRune.Game.UI; using DigitalRune.Game.UI.Controls; using DigitalRune.Game.UI.Rendering; using DigitalRune.Mathematics.Algebra; namespace Samples.Game.UI { // A UIScreen which displays a Window. The Window contains an Image control. class NormalUIScreen : UIScreen { private readonly Window _wind...
using System.Drawing; namespace WallStreet.Models { public class User { public int UserId { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public int AccountId { get; set; } public decimal...
using System.Collections.Generic; using System.Collections.Specialized; using System.Web.Mvc; namespace Szl.MvcDemo { public static class Extensions { public static IDictionary<string, object> ToSimpleDictionary(this NameValueCollection nameValueCollection) { var simpleDictionary =...
using System.Collections.Generic; namespace EncoreTickets.SDK.Payment.Models.RequestModels { public class UpdateOrderRequest { public Address BillingAddress { get; set; } public Shopper Shopper { get; set; } public List<OrderItem> Items { get; set; } public RiskData RiskData...
// Copyright (c) MudBlazor 2021 // MudBlazor licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.JSInterop; namespace MudBlazor { public interface IScrollListenerFactory ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AniWrap { public class SolvedCaptcha { public string ChallengeField { get; private set; } public string ResponseField { get; private set; } public SolvedCaptcha(string challenge, string resp...
using System; using System.Collections.Generic; using System.Text; namespace Crunch.NET.Request.Type { public interface IRequestTypeConverter { bool CanConvert(string requestType); Request Convert(string requestType); } }
using System; using System.Collections.Generic; using System.Linq; ConsoleColor[] Colors = { ConsoleColor.DarkBlue, ConsoleColor.DarkGreen, ConsoleColor.DarkCyan, ConsoleColor.DarkRed, ConsoleColor.DarkMagenta, ConsoleColor.DarkYellow, ConsoleColor.Blue, ConsoleColor.Red, ConsoleColor.Magenta, }; try { Con...
namespace TeamSpark.AzureDay.WebSite.Data.Enum { public enum RoomType { LectureRoom = 1001, WorkshopRoom = 2001, CoffeeRoom = 21001 } }
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; using JetBrains.Annotations; namespace Saritasa.Tools.Messages.Common.Repositories.QueryProviders { /// <summary> /// Sql query provid...
using System; using System.Linq; using System.Collections.Generic; using Android.App; using Android.OS; using Android.Views; using Android.Widget; using Android.Content; using Android.Graphics; using Android.Graphics.Drawables; using Android.Views.Animations; namespace XamarinStore { public class ProductListFragment...
using System; using System.Collections.Generic; using System.Linq; using LiveClinic.Contracts; using LiveClinic.Pharmacy.Core.Application.Inventory.Commands; using LiveClinic.Pharmacy.Core.Application.Inventory.Queries; using LiveClinic.Pharmacy.Core.Application.Orders.Commands; using LiveClinic.Pharmacy.Core.Domain.In...
using System.Collections.Generic; using System.Linq; namespace Noise.Infrastructure.Dto { public enum eTrackPlayStrategy { Suggester, Disqualifier, BonusSuggester } public enum eTrackPlayHandlers { // Suggesters Unknown = 0, Stop = 100, Replay = 101...
// SPDX-License-Identifier: MIT // Copyright (C) 2018-present iced project and contributors #if FAST_FMT using Iced.Intel; namespace Iced.UnitTests.Intel.FormatterTests.Fast { public abstract class FastFormatterTest { protected void FormatBase(int index, InstructionInfo info, string formattedString, FastFormatter ...
// // EmptyClass.cs // // Author: // Thomas GERVAIS <thomas.gervais@gmail.com> // // Copyright (c) 2016 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, incl...
public class Spinner : Enemy { public override void Start() { base.Start(); stateMachine.Initialize(gameObject, Empty); } public override void Update() { base.Update(); stateMachine.Update(); } void Empty() { } }
using Pomelo.EntityFrameworkCore.MySql.Storage; namespace Microsoft.EntityFrameworkCore.Tests { public class MySqlContextFactory<TContext> : RelationalContextFactoryBase<TContext> where TContext : DbContext { public ServerVersion ServerVersion { get; private set; } protected override ...
using System; using DeltaEngine.Datatypes; using DeltaEngine.Extensions; using SlimDX.XInput; using SlimDXState = SlimDX.XInput.State; namespace DeltaEngine.Input.SlimDX { /// <summary> /// Native implementation of the GamePad interface using SlimDX /// </summary> public class SlimDXGamePad : GamePad ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace MS_PCCRC_TestTool { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; ...
using System; using UnityEngine; public class JianzhutishiItem : MonoBehaviour { public UILabel name_Client; public UILabel des; public UISprite icon; private void Awake() { this.name_Client = base.transform.FindChild("Name").GetComponent<UILabel>(); this.des = base.transform.FindChild("officename_lable")....
@model ArtworkListingServiceModel @inject IArtistService ArtistService @{ var artist = ArtistService.GetName(ViewBag.ArtistId); var artworks = Model.Artworks; var title = artist + "'s Artworks"; ViewData["Title"] = title; } <div class="container p-3"> <h1 class="title-margin text-center">@title</...
using System; using System.Threading.Tasks; using EasyConsole; namespace Langly { internal sealed class MainMenu : MenuPage { public MainMenu(Program program) : base("Main Menu", program, new Option("Collectathon", (_) => Task.Run(() => program.NavigateTo<CollectathonMenu>(_))), new Option("Quit", (_) => Tas...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace GitDeployHub.Web.Engine { public interface ILog { void Log(string messsage); void LogNewLine(); } }
// To use this example, attach this script to an empty GameObject. // Create three buttons (Create>UI>Button). Next, select your // empty GameObject in the Hierarchy and click and drag each of your // Buttons from the Hierarchy to the Your First Button, Your Second Button // and Your Third Button fields in the Inspect...
using System.Collections.Generic; using System.Threading.Tasks; namespace Maw.Domain.Videos { public interface IVideoService { Task<IEnumerable<short>> GetYearsAsync(bool allowPrivate); Task<IEnumerable<Category>> GetAllCategoriesAsync(bool allowPrivate); Task<IEnumerable<Category>> Ge...