text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.Threading; using ProyectoArqui.Logica; namespace ProyectoArqui { static class Program { //buses public static readonly object[] BusDatos = new ob...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ButtonScript : MonoBehaviour { public void OnClick() { GameObject obj = GameObject.FindGameObjectWithTag("Ground"); GameObject pl = GameObject.Find("Player"); Sy...
namespace NorthwindWebAPIServices { using System.Web; using System.Web.Http; public class WebApiApplication : HttpApplication { protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.RegisterRoutes); GlobalConfiguration.Configure(WebApiC...
using System.Data.Entity.ModelConfiguration; using RMAT3.Models; namespace RMAT3.Data.Mapping { public class SectionQuestionTypeMap : EntityTypeConfiguration<SectionQuestionType> { public SectionQuestionTypeMap() { // Primary Key HasKey(t => t.SectionQuestionTy...
using System; using System.Data.Entity; namespace Repositories { public interface IUnitOfWork : IDisposable { int Save(); DbContext Context { get; } } }
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace ObjectPrinting { public class PrintingConfig<TOwner> : IPrintingConfig<TOwner> { private...
using UnityEngine; public class CameraControl : MonoBehaviour { [SerializeField] Transform worldCamera = null; Camera worldCameraCamera; float defaultCameraOrthoSize; const float CAMERA_SPEED = 8f; const float EDGE_THRESHOLD = 0.1f; Vector3 UP = new Vector3(1f, 0f, 1f); Vector3 RIG...
namespace JiraExtractor { public class Reporter { public int Id { get; set; } public string name { get; set; } public string emailAddress { get; set; } public string displayName { get; set; } } }
using System; namespace OCP.SystemTag { /** * Interface ISystemTagManagerFactory * * Factory interface for system tag managers * * @package OCP\SystemTag * @since 9.0.0 */ public interface ISystemTagManagerFactory { /** * Constructor for the system tag ...
using Microsoft.AspNetCore.Http; using System.Collections.Generic; /* * Used for sending tickets bought/booked by a user using email. */ namespace CinemaA.Mails { public class MailRequest { public string ToEmail { get; set; } public string Subject { get; set; } public string Body { ...
using System; using System.Collections.Generic; using System.Text; using ENTITY; //<summary> //Summary description for StockPostingInfo //</summary> namespace ENTITY { public class StockPostingInfo { private decimal _stockPostingId; private DateTime _date; pri...
namespace Enrollment.Common.Configuration.ExpressionDescriptors { public class MinOperatorDescriptor : SelectorMethodOperatorDescriptorBase { } }
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.Services.Installer.Packages { public interface IPackageEditor { int PackageID { get; set; } bool IsWizard { g...
using UnityEngine; public class BossIntroState : State { public BossIntroState(GameObject enemy, StateType state) : base(enemy, state) { } private Enemy enemyBehavior; public override void OnStateEnter() { masks = wallsLayer | playerLayer; enemyBehavior = enemy.GetComponent<Enemy>();...
using System; using System.Collections.Generic; using System.Text; using Passenger.Core.Domain; using System.Threading.Tasks; namespace Passenger.Infrastructure.Repositories { interface IDriverRepository { Task<Driver> GetAsync(Guid Id); Task<IEnumerable<Driver>> GetAllAsync(); Task Ad...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; // use this to manage collisions public class Enemy : MonoBehaviour { // == public fields == public int ScoreValue { get { return scoreValue; } } // delegate type to use for event public delegate void EnemyK...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class hitBoxRender : MonoBehaviour { SpriteRenderer hitBoxColor; // Use this for initialization void Start () { hitBoxColor = this.GetComponent<SpriteRenderer> (); hitBoxColor.color = new Color (0.3f, 0.6f, 0.9f, 0.55f); } ...
using System; using System.Linq; using Toppler.Core; using Toppler.Tests.Integration.Fixtures; using Xunit; namespace Toppler.Tests.Integration { [Collection("RedisServer")] public class CacheTest { public CacheTest(RedisServerFixture redisServer) { redisServer.Reset(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CaseInstaller.Models { public class OptionData { public string TrueCare_Url { get; set; } public string OAuth2_ClientID { get; set; } public string MSSQ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace CoreComponents { public struct LazyObjectReflect<T> where T : class { T myObject; object[] myArguments; public LazyObjectReflect(params object[] values) ...
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Text; using System.Xml.Serialization; using System.IO; using System.Xml; using OC.LINQ; namespace OC.JQGrid { public static class JQGridHelpers { public static JQGridResponse<T> GetR...
using JsonFlatFileDataStore; using Microsoft.Extensions.Localization; using Newtonsoft.Json; using System.IO; using System.Linq; using System.Reflection; namespace Hayalpc.Fatura.Panel.External.Resources { public class LocService { private readonly IStringLocalizer _localizer; private DataStore...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using MetaDados; namespace DAL { public static class AgendaDB { /// <summary> /// Insere no dbo.agenda -> Objeto agenda (id_servico, hr_agenda, id_cl...
/* * @lc app=leetcode.cn id=1 lang=csharp * * [1] 两数之和 */ // @lc code=start public class Solution { public int[] TwoSum(int[] nums, int target) { return Solution2(nums, target); } //暴力解法 public int[] Solution1(int[] nums, int target) { int[] result = new int[2]; for...
using System; using DG.Tweening; using UniRx; using UnityEngine; using UnityEngine.UI; public sealed class DebugPanelPresenter : MonoBehaviour { [SerializeField] private GameState _gameState; [SerializeField] private CanvasGroup _canvasGroup; [SerializeField] private Slider _ballsLeftSlider; [SerializeField] p...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("FeignDeath")] public class FeignDeath : SuperSpell { public FeignDeath(IntPtr address) : this(address, "FeignDeath") { } public FeignDeath(IntPtr address, string className) : base(address, clas...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DataAnnotationsPropertyConvention.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // --------------------------------------------------------------...
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using DAL; using Models;//5~1^a^s~p_x public partial cla...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ASPPracticas { public partial class Receiver : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { String tex...
using Contoso.XPlatform.Flow; using Contoso.XPlatform.Tests.Helpers; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Contoso.XPlatform.Tests { public class FlowManagerTest ...
namespace GetLabourManager.Migrations { using System; using System.Data.Entity.Migrations; public partial class CasualListProcA : DbMigration { public override void Up() { CreateStoredProcedure("CasualListProcA", @"select Code,(e.FirstName+' '+Isnull(e.M...
using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.ServiceModel; using System.Data.SqlClient; namespace BLL集团客运综合管理.VehicleManage { [ServiceContract] class FRM_JiaShiYuanXinXi { DALPublic.DALMethod myDALMethod = new DALPublic.DALMethod(); ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="JenkinsConnector.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project root for...
using StructureMap; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading; namespace JoveZhao.Framework.HttpServers { public class HttpServer { HttpListener listener; public HttpServer(string host, int port) { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPool : MonoBehaviour { [SerializeField] private GameObject poolObj; [SerializeField, Min(0)] private int allocateCount; private Stack<GameObject> poolList = new Stack<GameObject>(); private void ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace RSMS { public partial class RoleAddDlg : MySubDialogBase { public RoleAddDlg() ...