text
stringlengths
13
6.01M
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using PW.InternalMoney.Models; using System.Web; namespace PW.InternalMoney.DataProviders { public static class BalanceProvider { public static BillingAccount GetCurentUserBillingAccount() { var manag...
using System; using Microsoft.HealthVault.ItemTypes; using Windows.UI.Xaml.Data; namespace HealthVaultMobileSample.UWP.Converters { /// <summary> /// Converts an ApproximateDateTime to a string. /// </summary> public class ApproximateDateTimeConverter : IValueConverter { public object Conv...
using UnityEngine; using System.Collections; using System; public class CameraFollow : MonoBehaviour { [SerializeField] private float smooth = 2f; [Header("Camera Blocks")] [SerializeField] private Transform topLeft; [SerializeField] private Transform bottomRight; private Transform player; private float cam...
using Microsoft.Extensions.Configuration; using Castle.MicroKernel.Registration; using Abp.Events.Bus; using Abp.Modules; using Abp.Reflection.Extensions; using DgKMS.Cube.Configuration; using DgKMS.Cube.EntityFrameworkCore; using DgKMS.Cube.Migrator.DependencyInjection; namespace DgKMS.Cube.Migrator { [DependsOn(...
using System; using System.Net; using System.Net.Http; using System.Runtime.Serialization; namespace DFC.ServiceTaxonomy.Events.Services.Exceptions { #pragma warning disable S3925 [Serializable] public class RestHttpClientException : Exception { public HttpStatusCode? StatusCode { get; } p...
using System; namespace EventLite.MongoDB.DTO { internal class EventStreamDTO { public Guid StreamId { get; set; } public int HeadRevision { get; set; } public int UnsnapshottedCommits { get; set; } public int SnapshotRevision { get; set; } } }
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Constant of type `Vector3`. Inherits from `AtomBaseVariable&lt;Vector3&gt;`. /// </summary> [EditorIcon("atom-icon-teal")] [CreateAssetMenu(menuName = "Unity Atoms/Constants/Vector3", fileName = "Vector3Constant")] public sea...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BinaryOperations { public class MixingInt { /// <summary> /// Inserts bits(from i to j) from the second number to the first using logic operators and masks /// ...
public class SingleCardValue: CardValue{ private readonly int cardNumber; public SingleCardValue(int card){ this.cardNumber = card; } public override bool CompareValue(CardValue otherValue){ var a = (SingleCardValue)otherValue; return this.cardNumber >= a.cardNumber; } ...
using UnityEngine; using UnityEngine.EventSystems; using System.Collections.Generic; public abstract class BasicPiece : MonoBehaviour, Piece, IPointerClickHandler { private Color c; public Color Color { get { if (c == Color.NONE) throw new UnassignedReferenceException ("Piece's color is accessed before it...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; namespace Xlns.BusBook.Core.Model { public class Agenzia : ModelEntity { [Required] [Display(Name = "Nome Agenzia")] [StringLength(50, ErrorMessage...
using System.IO; namespace WoWRegeneration.Repositories { public class WoW54718019 : WoWRepository { public override string GetBaseUrl() { return "http://dist.blizzard.com.edgesuite.net/wow-pod-retail/EU/15890.direct/"; } public override string GetMFilName() ...
using Sfa.Poc.ResultsAndCertification.CsvHelper.Domain.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Data.Interfaces { public interface IRegistrationRepository : IRepository<TqRegistrationProfile> { Task<IList<TqRegistration...
// // DynamicFieldGetterSetter.cs // // Author: // nofanto ibrahim <nofanto.ibrahim@gmail.com> // // Copyright (c) 2011 sejalan // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software ...
using AutoTests.Framework.Core; using AutoTests.Framework.Core.Utils; using AutoTests.Framework.Web.Configurators; using BoDi; namespace AutoTests.Framework.Web { public class WebDependencies : Dependencies { public WebDependencies(ObjectContainer objectContainer) : base(objectContainer) { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace ScratchTutorial { public class XmlHeaderReader : IHeaderReader { // TODO: private const string TagTitle = "title"; private c...
using System; using System.Windows; namespace Crystal.Plot2D.DataSources { public class NonUniformDataSource2D<T> : INonUniformDataSource2D<T> where T : struct { public NonUniformDataSource2D(double[] xcoordinates, double[] ycoordinates, T[,] data) { XCoordinates = xcoordinates ?? throw new Argument...
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.TestHost; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Moq; using NUnit.Framework; using Org.Common.DataProvider; using Org.Common.Domain; using Org.Common.Manager; using Org...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EasyDev.BL; using System.Data; using SQMS.Services.Domain.Vehicle; using log4net; using EasyDev.Util; using System.Web.Script.Serialization; using SQMS.Services.Domain.QualityControl; namespace SQMS.Services { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Lucene.Net.Analysis; using Lucene.Net.Analysis.Standard; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.QueryParsers; using Lucene.Net.Search; using Lucene.Net.Store; using Newtonsoft.Json; using Pathoschild...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HomeBaseCore.Models { public class DataContext : DbContext { public DbSet<ProfileData> profiles { get; set; } public DbSet<FolderData> folders { get; set; } public DbS...
using System; using System.Collections.Generic; namespace Server { public static class Map { static int height, width; public static int Width { get { return width; } } public static int Height { get { return height; } } private static Coord SpawnPoint; public static Coord Spawnpoint{ get { r...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BallEnterMaze : MonoBehaviour { public bool mazeActive = false; private void OnCollisionEnter(Collision collision) { GameObject ball = GameObject.Find("aMazeBall"); if (collision.gameObjec...
/**************************************************************** * -------------字符串点阵烧写工具----------------- * 16高点阵中,需要显示中英文字符串,本项目会根据一定格式将字符hex编码 * 下发的单片机中 * *************************************************************/ using System; using System.Collections.Generic; using System.IO.Ports; using System.Linq; us...
using CQRSWebAPI.DTOs; using CQRSWebAPI.Extension; using CQRSWebAPI.Redis; using MediatR; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace CQRSWebAPI.Behaviors { public class EventSourceBehaviour<...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Mvc5Calculator.Models { public class Converter { [Key] [DatabaseGenerated(Da...
using Alabo.App.Share.HuDong.Domain.Enums; using Alabo.Domains.Entities; using Alabo.Domains.Enums; using Alabo.Web.Mvc.Attributes; using MongoDB.Bson.Serialization.Attributes; using System.ComponentModel.DataAnnotations.Schema; namespace Alabo.App.Share.HuDong.Domain.Entities { [BsonIgnoreExtraElements] [Tab...
using AlgorithmProblems.Graphs.GraphHelper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Graphs { /// <summary> /// Color the vertices in a graph with 2 different colors such that no 2 connected vertices have th...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SQMS.Services; using EasyDev.Util; using System.Data; namespace SQMS.Application.Views.Quality { public partial class AnchorContent : SQMSPage<QualityCon...
using System; using System.Collections.Generic; using System.Linq; namespace _05._Bomb_Numbers { class Program { static void Main(string[] args) { List<int> numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToList(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AutoMapper; using GDS.WebApi.Profiles; namespace GDS.WebApi { public class AutoMapperProfile { public static void Register() { Mapper.Initialize(cfg => { cfg.AddP...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; namespace LeetCodeTests { public abstract class Problem_0088 { /* 88. Merge Sorted Array Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assu...
namespace Zebble { using System.Runtime.InteropServices; partial class WebViewRenderer { const int URLMON_OPTION_USERAGENT = 0x10000001; [DllImport("urlmon.dll", CharSet = CharSet.Ansi, ExactSpelling = true)] static extern int UrlMkSetSessionOption(int dwOption, string pBuffer, in...
using System; namespace Task12 { class Program { static void Main(string[] args) { Console.Write("Въведете височина: "); int y = Int32.Parse(Console.ReadLine()); Console.Write("Въвете ширина: "); int x = Int32.Parse(Console.ReadLine()); ...
using gView.Framework.IO; using gView.Framework.system; namespace gView.Framework.Network { public interface IGraphWeightFeatureClass : IPersistable { int FcId { get; } string FieldName { get; } ISimpleNumberCalculation SimpleNumberCalculation { get; } } }
using UnityEngine; using System.Collections; namespace EventSystem { public class IgnoreRepairUnitEvent : GameEvent { public readonly Unit Unit; public IgnoreRepairUnitEvent (Unit unit) { Unit = unit; } } }
using Library.Entities.Models; using Library.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Library.Entities.Filters { public class BookHistoryFilter : BaseFilter<BookHistory> { public string Name { get; set; } public override (IQue...
using System; using System.Collections.Generic; using Irony.Parsing; using JetBrains.Annotations; namespace iSukces.Code.Irony { public class IronyAutocodeGeneratorModel { [CanBeNull] public SequenceRuleBuilder.TokenInfoResult GetTokenInfoByName(ITokenNameSource src) { var t...
using UnityEngine; using System.Collections; using System; public class LevelScript : MonoBehaviour { public int levelIndex; public GameObject[] enemies; GameState state; public TransitionPointScript[] portals; public bool isCheckpoint; // Use this for initialization void Start () { state=GameObject.Find ("...
namespace Crystal.Plot2D.Common { public abstract class UndoAction { public abstract void Do(); public abstract void Undo(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace Task1 { class Program { static void Main(string[] args) { Queue q = new Queue(); q.Enqueue("Nigel"); q.En...
using System; using System.Diagnostics; using System.Windows.Forms; using System.Runtime.InteropServices; namespace GSVM.Peripherals.IODevices.WindowsInterop { public class KeyboardEventArgs : EventArgs { public Keys KeyCode { get; private set; } public KeyboardEventArgs(Keys k...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterMovement : MonoBehaviour { public float speed = 1.0f; private Vector3 movement; private Animator anim; private Rigidbody modelRigidbody; private void Start() { anim = GetComponent<Anima...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BradfordLaserTagStats { public class Result { public Member Member; public GameData GameData; public Result(Member member, GameData gameData) { Member = member; ...
namespace Triangulation.Core { public static class Constants { private const double _tolerance = 0.0001; public static double TOLERANCE => _tolerance; } }
using System.Threading; namespace WikipediaFramework { public class LanguageLandingPage { public class Language { public static bool IsEnglish() => PageUrlContains("en"); public static bool IsJapanese() => PageUrlContains("ja"); public static bool IsDanish()...
using System; using System.Threading; namespace MatrixAdding { public static class MatrixAddExtension { public static double[,] Add(this double[,] matrix1, double[,] matrix2) { if(matrix1.GetLength(0) != matrix2.GetLength(0) || matrix1.GetLength(1) != matrix2.GetLength(1)) ...
using UnityEngine; public class DefenceInvisableCube : MonoBehaviour { public GameObject invisableWall; public void OnDestroy() { Instantiate(invisableWall, transform.position, transform.rotation); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XH.Domain.Seo.Models { public class SEOMetaData { public virtual string Title { get; set; } public virtual string Description { get; set; } public virtual str...
//A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, // // a2 + b2 = c2 // For example, 32 + 42 = 9 + 16 = 25 = 52. // // There exists exactly one Pythagorean triplet for which a + b + c = 1000. // Find the product abc. // using System; using System.Collections; using System.Collections....
 // ----------------------------------------------------------------------- // <copyright file="CameraPoseFinderParameters.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namesp...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ARPG.Skill { /// <summary> /// 技能释放器 /// </summary> public class SkillDeployer : MonoBehaviour { private SkillData skillData; /// <summary> /// 由技能管理器提供 ...
namespace Sentry.Tests.Protocol; public class SentryIdTests { [Fact] public void ToString_Equal_GuidToStringN() { var expected = Guid.NewGuid(); SentryId actual = expected; Assert.Equal(expected.ToString("N"), actual.ToString()); } [Fact] public void Implicit_ToGuid() ...
using Otiport.API.Contract.Models; using Otiport.API.Data.Entities.Users; namespace Otiport.API.Mappers { public interface IUserMapper { UserModel ToModel(UserEntity entity); UserEntity ToEntity(UserModel model); } }
using UnityEngine; public class Arrow : MonoBehaviour { public float speed; public int damage; public GameObject shooter; void Update() { if (transform.position.sqrMagnitude > 140f) Destroy(gameObject); transform.Translate(Vector3.right * speed * Time.deltaTime); } void OnTriggerEnter2D(C...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class PlayerInput : MonoBehaviour { public float runSpeed = 40f; private CharacterController controller; // Start is called before the first frame update void...
using System; using System.Collections.Generic; using System.Linq; namespace DistributedCollections { public class Backplane : IBackplane { private readonly List<BackplaneMessage> store = new List<BackplaneMessage>(1000000); private long count = 0; public void Publish(Back...
using MahApps.Metro.Controls; using System.Windows; namespace MinecraftToolsBoxSDK { public class HamburgerMenuContentItem : HamburgerMenuItem { FrameworkElement _content; public FrameworkElement Content { get { return _content; } set { _content = value;_content.DataContext = Application.Curre...
using UnityEngine; public class Enemy : MonoBehaviour, ITarget { [SerializeField] Transform _targetTransform; public Transform TargetTransform { get { return _targetTransform; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using EBS.Domain.Entity; namespace EBS.Query.DTO { public class StocktakingPlanItemDto:StocktakingPlanItem { /// <summary> /// 商品编码 /// </summary> public string Pro...
using UnityEngine; [RequireComponent(typeof(Player))] public class PlayerInput : MonoBehaviour { private Vector2 _targetDirection; private Player _player; private bool _wantsToJump; private bool _acceptingInput = true; public Vector2 TargetDirection => _targetDirection; public bool WantsT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bitwise_Ops_Week_3 { class Program { static void Main(string[] args) { Console.WriteLine("Welcome to an exercise in C# Bitwise Operators."); Con...
using Loja.Dominio; using Loja.Web.Models; using Loja.Web.Servicos; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Loja.Web.Controllers { public class ProdutoController : Controller { // GET: Produto public ActionResult Prod...
namespace Backpressure { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; internal class Subscription : ISubscription { private readonly IDisposable _internalDisposable; private readonly IBackpressureOperator _operator; ...
using EntityLayer.CustomerDetails; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace EntityLayer.BankProfitAndLoss { public class BankCredit: BankUtility { [Column(TypeName = "decimal(18, 6)")] public decimal CreditA...
// Copyright (c) 2018 FiiiLab Technology Ltd // Distributed under the MIT software license, see the accompanying // file LICENSE or or http://www.opensource.org/licenses/mit-license.php. using FiiiChain.Framework; using System; using System.Collections.Generic; using System.Text; namespace FiiiChain.Messages { pu...
using System.Collections; using UIFrame; //************************************************************************* //@header HOGUIStartTrain //@abstract Initial frame of StartTrain. //@discussion Depend on BaseUIForm. //@author Felix Zhang //@copyright Copyright (c) 2017-2018 FFTAI Co.,Ltd.All ...
using System; using System.Collections.Generic; using System.Linq; using AppKit; using Foundation; namespace TreeView { public class ItemDataSource : NSOutlineViewDataSource { public List<ItemViewModel> Data = new List<ItemViewModel>(); public ItemDataSource() { } pub...
using MahApps.Metro.Controls; using MinecraftToolsBoxSDK; using System.IO; using System.Text; using System.Windows; using System.Windows.Controls; namespace MinecraftToolsBox.Commands { /// <summary> /// PlayerCommands.xaml 的交互逻辑 /// </summary> public partial class PlayerCommands : DockPanel, ICommand...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using EBS.Domain.ValueObject; using EBS.Infrastructure.Extension; namespace EBS.Query.DTO { public class StocktakingPlanDto { public int Id { get; set; } public string StoreName { ge...
using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// The statistics class is designed to essentially keep the score of the RTS game /// data points will need to be added to this in the future. /// </summary> public class Statistics { public int unitsDestroyed { get; privat...
// // Copyright (c) Microsoft Corporation. All rights reserved. // // // This source code is licensed under Microsoft Shared Source License // Version 1.0 for Windows CE. // For a copy of the license visit http://go.microsoft.com/?linkid=2933443. // #region Using directives using System; #endregion namespace Mic...
using Citycykler.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Citycykler.AdminPanel { public partial class Noticeable_slet : System.Web.UI.Page { protected void Page_Load(ob...
using MMSEApp.ViewModels; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MMSEApp.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public...
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class FirstTimeAnim : MonoBehaviour { public bool canvas; public static bool DoTheThing; static bool dis=false; // Start is called before the first frame update void Start() { ...
namespace NET_GC { using System; using System.Drawing; public class UnmanagedBitmap : IDisposable { private bool disposed; private readonly GdiBitmapSafeHandle handle; private readonly Bitmap image; public UnmanagedBitmap(string file) { image = (Bit...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tareas { public class Dominio: Conexion { private int iduser; private string nombre; private string apellido; private string correo; private st...
namespace Serilog.PerformanceTests; [SimpleJob(RuntimeMoniker.NetCoreApp21, baseline: true)] [SimpleJob(RuntimeMoniker.NetCoreApp31)] public class SourceContextMatchBenchmark { readonly LevelOverrideMap _levelOverrideMap; readonly Logger _loggerWithOverrides; readonly List<ILogger> _loggersWithFilters = ne...
using MikeGrayCodes.Authentication.Domain.Entities.ApplicationUser.Events; using MikeGrayCodes.BuildingBlocks.Infrastructure.SeedWork; namespace MikeGrayCodes.Authentication.Application.Users { public class ApplicationUserCreatedNotification : DomainEventNotification<ApplicationUserCreatedDomainEvent> { ...
using ecommerce.ecommerceClasses; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace ecommerce { public partial class updateTransactionScreen : ecommerce.Form1 { public static st...
namespace Strings { public class StringRotationDetector { /** * The aim is to write a method DetectRotation(string, string => bool) * Given an stringToCheck, find if that string is a rotation of the referenceString. */ public bool CheckRotation(string referenceString...
using GesCMS.Core.Common; namespace GesCMS.Core.Entities { public class WidgetInPagePriority : BaseEntity { public byte Priority { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameplayManager : MonoBehaviour { /* These are the possible enemies that you can face */ public GameObject circleEnemy; public GameObject hexagonBomb; public GameObject pointPrefab; ...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using CrudIrpf.Repository; using CrudIrpf.Domain; namespace CrudIrpf.Controllers { [ApiController] [Route("api/[controller]")] public class IrpfController : ControllerBase { private readonly ICrudIrp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StateExample.Safe { class NightState : IState { private static NightState _instance = new NightState(); private NightState() { } public static...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightMovement : MonoBehaviour { public new Transform transform; public int rotationAngle; public void FixedUpdate() { transform.Rotate(new Vector3(rotationAngle, 0, 0) * Time.deltaTime); } }
using System.IO; namespace HTBUtilities { public class HTBZipEntry { public readonly Stream Stream; public readonly string Name; public HTBZipEntry(Stream stream, string name) { Stream = stream; Name = name; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Experimental.Rendering.LWRP; public class Rune : DraggingElement { ParticleSystem particle; Animator anim; private string animBool="Stay"; public AudioClip clip; public GameObject breaking; Sprite...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Locadora.Domain.Repositories { public interface IFilmeRepository : IRepository<Filme> { Task<Filme> GetByName(string nome); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BarraLeather.Models { public class UserLoging { public string nombre { get; set; } public string clave { get; set; } public bool remeber { get; set; } } public class EstatusLog { ...
using System; using System.Net.Http; using System.Net; using System.IO; using System.Threading.Tasks; using System.Xml; namespace WeatherService { public class WeatherService { private HttpClient request; public WeatherService() { request = new HttpClient(); } ...
using System.Web.Mvc; namespace AttendanceWebApp.Controllers { public class ShiftScheduleController : Controller { // GET: ShiftSchedule public ActionResult SSDLUP() { if (Session["EmpUnqId"] != null && Session["UserRole"] != null) { return View(...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyOrcAi : MonoBehaviour { int i = 0; public static float damage = 50f; float xtnoe = 0.0f; float ytnoe = 0.0f; float sqrtmeplz = 9.0f; float xt = 0.0f; //the x position of the target float ...
using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace gView.Framework.Azure.Storage { public class TableStorage { private string _connectionString; public boo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kingdee.BOS.Core.DynamicForm.PlugIn.Args { public static class EndOperationTransactionArgsExtension { public static EndSetStatusTransactionArgs AsEndSetStatusTransactionArgs(this EndOperationTransactionArgs...
namespace EPI.Sorting { /// <summary> /// Write a function that takes two input sorted arrays and updates the first to the combined /// entries of the two arrays in sorted order. /// Assume the first array has enough empty entries at the end to hold the final result /// </summary> /// <example> /// {5,13,17, , ...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityServer3.Core.Models; using IdentityServer3.Core.Services; using IdentityServer3.Shaolinq.DataModel.Interfaces; using IdentityServer3.Shaolinq.Mapping; namespace IdentityServer3.Shaolinq.Stores { public class ScopeStore : ...
using RTBid.Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RTBid.Core.Domain { public class Category { public int CategoryId { get; set; } public string CategoryName { get; set; } public string ...
using UnityEngine; using System.Collections; using UnityStandardAssets.ImageEffects; public class AllScripts : MonoBehaviour { public CameraWobble cameraWobble; public SlowMoScript slowMoScript; public FishEyeScript fishEyeScript; public Camera mainCam; public GameManager gameManager; public ...