text
stringlengths
13
6.01M
using System.Web; using System.Web.Optimization; namespace Forca.Web { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(n...
//############################\\ //Copyrights (c) DarkSky Inc. \\ //Copyrights (c) Only Me Game \\ // https://onlymegame.com \\ //############################\\ using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Diagnostics; public class EasyFpsManager ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BlindSpider : Enemy { private void Start() { base.Start(); anim = GetComponentInChildren<Animator>(); base.Start(); Health = 4; } new void Update() { UpdateAnim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GDS.Entity { public class TemplatePhaseReq : TemplatePhase { public int CurrentPhaseId { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using DelftTools.TestUtils; using log4net; using log4net.Config; using NetTopologySuite.Extensions.Networks; using NUnit.Framework; using QuickGraph; using QuickGraph.Algorithms.Observers; using QuickGraph.Algorithms.ShortestPath; namespace GeoAPI.Ext...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Fragmenter : MonoBehaviour { #region public parameters public Transform Target; public AudioClip Clip_Suck; public AudioClip Clip_Apear; #endregion #region private parameters ...
using System.Linq; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class RpmNeedleUIScript : MonoBehaviour { public float MaxRpm; private NeedleMeterUIScript meter; private TMP_Text kmph; void Awake() { meter = GetComponent<NeedleMeterUIScript>(); kmph = t...
using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations.Schema; namespace Voluntariat.Models { public class ApplicationUser : IdentityUser { [PersonalData] public int DialingCode { get; set; } [PersonalData] public double Latitude { get; set; } ...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Uintra.Persistence; using Uintra.Persistence.Sql; namespace Uintra.Features.Groups.Sql { [UintraTable(nameof(GroupDocument))] public class GroupDocument : SqlEntity<Guid> { [Key] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ScoreManager : MonoBehaviour { //ground target and playerfullbody [HideInInspector]public Transform target, fullbody; public float playerRotationAtStart; public bool startScoreCount;...
// Bar POS, class AccountingManagmentClass // Versiones: // V0.01 21-May-2018 Moisés: Basic skeleton, updated from // AccountingManagementScreen // V0.02 22-May-2018 Moisés: Search method implemented // print method deleted and minor changes // V0.03 23-May-2018 Moisés: DateTime property added using System;...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class BaseEnemyDBEntry { public string name; public BaseEnemy enemy; //contains enemy details public GameObject prefab; public string description; }
using System; using System.Data; using GeoAPI.Geometries; using GisSharpBlog.NetTopologySuite.IO; using NHibernate; using NHibernate.SqlTypes; using NHibernate.UserTypes; namespace NetTopologySuite.Extensions.NHibernate { [Serializable] public class GeometryUserType : IUserType { private static rea...
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(Calculations.Startup))] namespace Calculations { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
using System; using System.ComponentModel; using System.Linq; using System.Reflection; // ReSharper disable once CheckNamespace namespace Aquarium.Util.Extension.ReflectionExtension { public static class CustomAttributeExtension { #region CustomAttribute /// <summary> /// Retrieve...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using AMS.Models; namespace AMS.Controllers { public class PayScalesController : Controller { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; using System.Web.UI.HtmlControls; public partial class PA_Vs_ST : System.Web.UI.Page { string userId; DateTime las...
using System; namespace CarsDemo { class Program { static void Main(string[] args) { Car hyundai = new Car(2018,"Toyota", "XXXX",12_000.00, true ); // Console.WriteLine(hyundai.ToString()); Console.WriteLine(hyundai); Ca...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Xlns.BusBook.UI.Web.Models { public class PagerHelper { public static int calcolaNumeroDiPagine(int numeroElementi, int numeroElementiPerPagina) { int offset = 0; if (numeroEl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CC.Mobile.Routing { public interface INavIntent { void Start(); void Stop(); } }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Inventory : MonoBehaviour { public GameObject Cell; public GameObject UIInventory; public List<GameObject> personClothesCanBeOnPerson = new List<GameObject>(6); /* Element 0 - Cloth_up...
// // -------------------------------------------------------------------------- // Gurux Ltd // // // // Filename: $HeadURL: svn://195.197.131.59/projects/GuruxClub/GXDLMSDirector/Development/ManufacturerSettings/GXLogWriter.cs $ // // Version: $Revision: 5407 $, // $Date: 20...
using System; using System.Collections.Generic; using System.Text; using ClassLibrary; using NUnit.Framework; namespace Test { [TestFixture] public sealed class ConsoleApplication1Test { [Test] public void GetMessageTest() { const String Greeting = "Hello, World!"; ...
using System; using System.Collections; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using AutoMapper; using DatingApp.API.Data; using DatingApp.API.Dtos; using DatingApp.API.Helpers; using DatingApp.API.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.A...
using System; using System.Collections.Generic; using System.Linq; namespace Piovra.Graphs; public class Node<V> : IEquatable<Node<V>> where V : IEquatable<V> { public static Node<V> Of(V vertex) => new(vertex); Node(V vertex) => Vertex = vertex; public V Vertex { get; } public int Id { get; set; }...
using System.ComponentModel; using Spectre.Console.Cli; namespace WitsmlExplorer.Console.ShowCommands { public class ShowLogHeaderSettings : CommandSettings { [CommandArgument(0, "<WELL_UID>")] public string WellUid { get; init; } [CommandArgument(1, "<WELLBORE_UID>")] public s...
using System; using System.Collections.Generic; using Phenix.Business.Security; using Phenix.Core; using Phenix.Core.Mapping; namespace Phenix.Test.使用指南._03._5 { class Program { static void Main(string[] args) { Console.WriteLine("本程序为{0}位,请确认所连数据库客户端引擎是否与之匹配?(如不匹配可调整本程序的'平台目标'生成类型)", Environment.Is...
using FI.AtividadeEntrevista.BLL; using WebAtividadeEntrevista.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FI.AtividadeEntrevista.DML; using System.Net; namespace WebAtividadeEntrevista.Controllers { public class ClienteController : Cont...
using Microsoft.Win32; using System.Diagnostics; using System.IO; using System.Reflection; namespace copy_svn_path { public static class RegistryAccessor { static string[] RegistryPaths = new[] { @"SOFTWARE\Classes\Folder\shell\SvnCopyPath", @"SOFTWARE\Classes\Direc...
using System; namespace FundamentosOOP.Herança { public class PessoaFisica : Pessoa { public string CPF { get; set; } public PessoaFisica(string nome, string cpf) { this.Nome = nome; this.CPF = cpf; Console.WriteLine("Criando uma intância de Pessoa ...
using Alabo.Data.Targets.Targets.Domain.Entities; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Repositories; using Alabo.Domains.Services; using MongoDB.Bson; namespace Alabo.Data.Targets.Targets.Domain.Services { public class TargetService : ServiceBase<Target, ObjectId>, ITargetService { public...
using System; using System.Collections.Generic; using NSTOX.BODataProcessor.Model; using NSTOX.BODataProcessor.Extensions; using NSTOX.DAL.Extensions; using NSTOX.DAL.Model; using NSTOX.DAL.DAL; using NSTOX.BODataProcessor.Helper; using NSTOX.DAL.Helper; namespace NSTOX.BODataProcessor.Processors { public class T...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace dibuja_estrella { public partial class Form1 : Form { public Form1() {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Medi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Salle.Model.Commun; using System.Threading; namespace Salle.Model.Salle { public class ClientImpl1 : IClient { public int ClientCommande { get; set; } public string Repas ...
// Copyright © 2020 Void-Intelligence All Rights Reserved. using Nomad.Core; using Vortex.Normalization.Utility; namespace Vortex.Normalization.Kernels { public class NoNorm : BaseNormalization { public override Matrix Normalize(Matrix input) { return input; } pub...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Attendance { public partial class frm_Device : Form { #region Declaration ...
namespace Algorithms.LeetCode { public class MergeSortedArrayTask { public void Merge(int[] nums1, int m, int[] nums2, int n) { int[] nums1Copy = new int[m]; for (int i = 0; i < m; ++i) nums1Copy[i] = nums1[i]; int i1 = 0, i2 = 0, cnt = 0; ...
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; using System.Collections; namespace VoxelSpace.Tasks { /// <summary> /// Base implementation of <c>IGameTask</c> /// </summary> public ab...
using System; using System.Collections.Generic; using System.Text; namespace FBS.Domain.Core { public class EventDistributorSettings { public bool StartFromBeginning { get; set; } } }
using RRExpress.AppCommon; using RRExpress.AppCommon.Attributes; using RRExpress.AppCommon.Models; using RRExpress.Common; using RRExpress.Seller.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace RRExpress.Seller.ViewModels { [Regist(InstanceMode.Single...
using UnityEngine; using System.Collections; using System.Collections.Generic; using Malee.Hive.Util; /** * @author Chris Foulston */ namespace Malee.Hive.Util.IK { public enum IKType { Inverse, Forward } public class IKJoint { public IKType type; public IKJoint(Transform transform) : this(transform...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JaggedArrayBubbleSortUpdate2 { class ComparerForLineAbsValues : IComparer<int[]> { public int Compare(int[] x, int[] y) { int xMaxAbs = -1, yMaxAbs = -1; ...
using aairvid.Utils; using Android.Content; using Android.Content.Res; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace aairvid.Settings { public static class SettingsHelper { public static int GetBitRateWifi(this ISharedPreferences pref, Reso...
using System; using System.Threading; using Framework.Core.Common; using Tests.Data.Van.Input; using Tests.Pages.Van.Main.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; using Tests.Pages.Van.Main.List; namespace Tests.Pages.Van.M...
using UnityEngine; using System; namespace Achievement { public class Operator { private OperatorModel m_Data; public OperatorModel Data { get { return m_Data; } set { m_Data = value; } } private Property property; public string PropertyID { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using TO; using System.Data; using DAL; using System.Transactions; namespace BO { [DataObject] public class ClienteBO { public static ClienteTO Obter(String cnpj) { ...
using Efa.Domain.Entities; using System.Data.Entity.ModelConfiguration; namespace Efa.Infra.Data.EntityConfig { public class ProfessorConfiguration : EntityTypeConfiguration<Professor> { public ProfessorConfiguration() { ToTable("Professor"); HasKey(p => p.ProfessorId)...
using UnityEngine; using System.Collections; using System.Reflection; #if NETFX_CORE using System.Linq; #endif public class SSReflection { public static object GetPropValue(object src, string propName) { #if NETFX_CORE return src.GetType().GetTypeInfo().GetDeclaredProperty(propName).GetValue(src, ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Myriad.Models { public class ProducerViewModel { public int ProID { get; set; } [Required] public string Name { get; ...
using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using Domain; using RepositoryInterface; namespace Repository { public class RoleFunctionsRepository : Repository<TROLFNC>, IRoleFunctionsRepositor...
using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Lighter.Application.Contracts; using Lighter.Application.Contracts.Dto; using Lighter.Domain.Question; namespace LighterApi.Controllers { [Route("api/[controller]")] [ApiController] public class AnswerController :...
using ApiTemplate.Common.Resources; using FluentValidation; namespace ApiTemplate.Model.Weathers.FluentValidations { public class CurrentWeatherByCityRequestValidator :AbstractValidator<CurrentWeatherByCityRequestModel> { public CurrentWeatherByCityRequestValidator() { RuleFor(c =...
using Fragenkatalog.Datenhaltung; using Fragenkatalog.Model; using Fragenkatalog.UI; namespace Fragenkatalog { static class AppStatus { public static Benutzer EingeloggterBenutzer { get; set; } public static IDatenhaltung Datenhaltungsadapter { get; set; } public static IUserInterface ...
using System; using System.Linq; using System.Threading; using log4net; namespace DelftTools.Functions.Binding { /// TODO: we have to make this class implement IEditableObject when we need transactional add/remove on function public class MultipleFunctionBindingListRow // : IEditableObject { priva...
using System; namespace HomeDataCenterCore.Domain { public class BodyData { public int Id { get; set; } /// <summary> /// 记录时间 /// </summary> public DateTime RecordTime { get; set; } /// <summary> /// 体型 /// </summary> public string Shape...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TCX.Configuration; using System.Threading; using System.Net.Sockets; namespace OMSamples.Samples { [SampleCode("phonebook")] [SampleDescription("Shows company and personal phonebooks")] class PhoneBookS...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Wi...
using System.Web.Mvc; using System.IO.Compression; namespace Profiling2.Web.Mvc.Controllers { // We compress dynamic content in-application since this is easier than configuring dynamic // content compression in IIS 6.0, which we currently use. // Static content filterable by file extension is compressed ...
using System.Collections.Generic; using System.Web.Http; using TestAnObject; namespace TestMvc4.Controllers { public class ValuesController : ApiController { private readonly AnObjectRepository _list = new AnObjectRepository(); private readonly AnObjectService _service = new AnObjectService()...
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using System.Windows.Shapes; using System.Windows.Input; using System.ComponentModel; using TraceWizard.Entities; using TraceWizard.Notification; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Windows.Forms; using DevExpress.XtraEditors; using IRAP.Client.Global.Resources; namespace IRAP.AutoUpgrade { public partial class...
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT #if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE ) using UnityEngine; using System; using System.IO; using System.Collections.Generic; using UnityEngine.SceneManagement; using gw.proto.http; using gw.prot...
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using PanCardView.Extensions; using ResonateXamarin.Models; using Xamarin.Forms; namespace ResonateXamarin.ViewModels { public class SwipePageViewModel : IN...
using System; using System.Diagnostics.CodeAnalysis; using Atc.CodeAnalysis.CSharp.Factories; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Atc.CodeAnalysis.CSharp.SyntaxFactories { public static class SyntaxClassDeclarationFactory { public static ClassDecla...
using gView.Framework.Data; using gView.Framework.UI.Controls; using System.Windows.Forms; namespace gView.Framework.Carto.Rendering.UI { internal partial class PropertyForm_QuantityRenderer_Dialog_InsertValue : Form { public PropertyForm_QuantityRenderer_Dialog_InsertValue(IField field) { ...
using System; using System.Collections.Generic; using System.Text; namespace TweetApp.Streaming.Consumer { class TweetConsumer : ITweetConsumer { public void Listen(Action message) { var config = new Dictionary { {"group.id","booking_consumer" }, ...
// Copyright © 2020 Void-Intelligence All Rights Reserved. using Nomad.Core; using Vortex.Regularization.Utility; namespace Vortex.Regularization.Kernels { /// <summary> /// Lasso Regularization /// </summary> public sealed class L1 : BaseRegularization { public L1(double lambda = 1) : ba...
using System; //* namespace Generic { class Box<TCargo> { public TCargo Cargo { get; set; } } class Book { public string Name { get; set; } } class Apple { public string Color { get; set; } } class Program { static void Main (string[] args) { A...
using System; using System.Threading.Tasks; using Communicator.Infrastructure.Commands; using Communicator.Infrastructure.Commands.Users; using Communicator.Infrastructure.IServices; using Microsoft.AspNetCore.Mvc; namespace Communicator_Api.Controllers { [Route("api/[controller]")] public class UsersControll...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Triangulation.Core; namespace Triangulation.UI { public partia...
using System; namespace CODE.Framework.Core.ComponentModel { /// <summary> /// Interface to be implemented by data sources that may /// send update messages to bound controls. /// </summary> public interface IDataBindingRefresher { /// <summary> /// Event that is to be raised w...
using ClosedXML.Excel; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ExportToExcel { public partial class Form1 : Form { public ...
using UnityEngine; using System.Collections; using System; using System.IO; using System.Collections.Generic; using UnityEngine.UI; public class PlayerNew : MonoBehaviour { private float playerMoney = 1000000; private int playerColor; private Dictionary<string,int> playerItems = new Dictionary<string,int>(); pri...
using UnityEngine; using System.Collections; public class LetterCollisions : MonoBehaviour { void FixedUpdate () { Vector3 bottom = gameObject.transform.position - new Vector3(0, 0.5f, 0); RaycastHit2D hit = Physics2D.Raycast (bottom, -Vector2.up, 0.1f); if (hit.collider != null) { if (hit.collider...
using Pobs.Domain.Entities; namespace Pobs.Web.Models.Tags { public class AdminTagModel : TagModel { public AdminTagModel() : base() { } public AdminTagModel(Tag tag, int? loggedInUserId) : base(tag, loggedInUserId) { this.IsApproved = tag.IsApproved; } ...
using System; namespace LatihanPengulanganWhile { class Program { static void Main(string[] args) { int i, max_count; i = 1; max_count = 100; while(i < max_count) { Console.WriteLine("Hello World!"); ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace IMtest { public partial class frmMainboard : Form { private int _UserId; ...
using System; namespace Fishing { class Program { static void Main(string[] args) { int numberOfFishes = int.Parse(Console.ReadLine()); double profit = 0; int fishNumber = 0; string fishName = Console.ReadLine(); while (fishName != "...
using Nac.Common.Control; using Nac.Wpf.Common.Control; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nac.Wpf.SectionEditor.NetworkModel { class NacWpfBlockFuzzyViewModel1 : NacWpfBlockSeqViewModel1 { public NacWpfBlockFuzzyVi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Diagnostics; using System.Threading; using System.Reflection; namespace IndexDefrag { public class DB { public DB(int databaseid,string dbna...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HitSoundPlayer : MonoBehaviour { private AudioSource projectileHitSound; void Start() { projectileHitSound = GetComponent<AudioSource>(); } public void PlayProjectileHitSound() { proje...
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Pobs.Domain; using Pobs.Web.Helpers; using Pobs.Web.Services; using X.Web.Sitemap; namespace Pobs.Web.Controllers { public class SitemapController...
using FamousQuoteQuiz.Data.ServiceModels.Enums; namespace FamousQuoteQuiz.Data.ServiceModels { public class Quote { public int Id { get; set; } public string Text { get; set; } public BinaryType? Correct { get; set; } public QuoteMode Mode { get; set; } public Quote...
using System; using System.Data; using System.Web; using DtCms.Web.UI; namespace DtCms.Web.Admin.Channel { public partial class Add : ManagePage { private DtCms.BLL.Channel bll = new DtCms.BLL.Channel(); private DtCms.Model.Channel model = new DtCms.Model.Channel(); public int kindId; ...
using System.Collections.Generic; using Mashup.Logic.Providers.Weather; namespace Mashup.Logic.Logic { using System; using System.Linq; using Mashup.Data.Context; using Mashup.Data.Model.dbo; using Mashup.Logic.Contracts; public class WeatherService : IWeatherService { private re...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Configuration; namespace University.Data { public partial class HomeBanner { string HomeBannerImagePath = WebConfigurationManager.AppSettings["HomeBa...
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace SnowDAL.Extensions { public static class QueryExtensions { public static IOrderedQueryable<TEntity> OrderBy<TEntity>(this IQueryable<TEntity> source, string orderByProperty, bool desc) where TEntity : cl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BatteryPickup : MonoBehaviour { public BatteryInventory bi; public AudioSource pickupSound; public int batteryLife = 1; void Start() { bi = FindObjectOfType<BatteryInventory>(); } // Update...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using Profiling2.Domain.Prf.Events; namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels { public class ViolationViewModel { public int Id { get; set; } [Required(ErrorMessage =...
using UnityEngine; using System.Collections; public class zoomOut : MonoBehaviour { void OnMouseDown() { back (); Destroy (gameObject); GameDoor.zoomedIn = false; } void back () { // Zoom Camera in Vector3 pos; pos.x = 0; pos.y = 0; pos.z = -6; GameObject player = GameObject.FindWithTag ("Play...
using gView.Framework.Web; using gView.Interoperability.GeoServices.Extensions; using gView.Interoperability.GeoServices.Rest.Json; using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Net; using System.Threading.Tasks; namespace gView.Interoperability.GeoServices.Dataset { publi...
using Common.Business; using Common.Data; using Common.Exceptions; using Common.Extensions; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Text; namespace Entity { public partial class Schedule { public bool AssetIsScheduled(string connec...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmirateHMBot.Models { public class Employee { public string PersonName { get; set; } public string PersonCode { get; set; } public string CardNbr { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Inventor; using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Interfaces; using Autodesk.DesignScript.Runtime; using Dynamo.Models; using Dynamo.Utilities; using InventorLibrary.Geomet...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ExpenseBucket.Core.Entities; using ExpenseBucket.Core.Repositories; using System.Data.Entity; namespace ExpenseBucket.EF.Repositories { internal class UserClaimRepository : Repository<UserClaim>, IUser...
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Web; namespace LMS.App_Code { public class Courses { public int courseID { get; set; } public string CourseName { get; set; } public string departmen...
using System.Drawing; using rpg; public class StatusMenu { public static Panel status = new Panel(); public static int menu = 0; //0-物品面板 1-技能面板 public static Bitmap bitmap_menu_item; public static Bitmap bitmap_menu_equp; public static int page = 1; public static int selnow = 1; ...
public abstract class SecondaryForm : Form { protected float timeActive = 4; protected float timeActiveOrig = 4; protected bool isActive = false; public abstract void Activate(); public bool isDeactivated() { return !isActive; } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace Happiness.Models { [Table("tbl_rptauthallocationMaster")] public class ReportingAuthorityAllocation { [Key...