text stringlengths 13 6.01M |
|---|
/* Author: Mitchell Spryn (mitchell.spryn@gmail.com)
* There is no warranty with this code. I provide it with the intention of being interesting/helpful, but make no
* guarantees about its correctness or robustness.
* This code is free to use as you please, as long as this header comment is left in all of the fil... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class ScriptAnimCargaCaminos : MonoBehaviour {
// Use this for initialization
void Start () {
StartCoroutine(AnimarTexto());
}
private IEnumerator AnimarTexto(){
//esta funcion hace que... |
using Newtonsoft.Json;
using Renci.SshNet;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Timers;
namespace FoscamCleanup
{
class Program
{
public static IEnume... |
using System;
using System.Collections.Generic;
using System.Text;
using Hayaa.DataAccess;
using Hayaa.BaseModel;
using Hayaa.Security.Service.Config;
namespace Hayaa.Security.Service.Dao
{
internal partial class AppServiceDal
{
internal static int Add(AppService info)
{
string sq... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// SerializableDictionary property drawer for type <StringReference, AtomBaseVariable>. Inherits from `SerializableDictionaryDrawer<StringReference, AtomBaseVariable, StringRefe... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `Vector2`. Inherits from `AtomDrawer<Vector2Variable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(t... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Repository.V5.Entity;
using CRMSecurityProvider.Sources.Attribute;
using Microsoft.Xrm.Sdk;
namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Reposit... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using DataAnnotationsExtensions;
namespace Docller.Models
{
public class ChangePasswordModel
{
[Required]
[DataType(DataTy... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Pathfinding;
public class GooseAI : MonoBehaviour
{
public GameObject player;
public Seeker seeker;
public Rigidbody2D rb;
public SpriteRenderer sr;
public Animator anim;
[Range(1, 10)]
public float play... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using mr.bBall_Lib;
public partial class _Default : System.Web.UI.Page
{
protected string _error = "";
protected int _ForceLogin = 0;
prote... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chapter02_03
{
class Program
{
static void Main(string[] args)
{
CPartialClass tmpPC = new CPartialClass();
Console.WriteLine(tmpPC.theModule1);... |
using DistCWebSite.Core.Interfaces;
using DistCWebSite.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using DistCWebSite.Core.ViewModel;
namespace DistCWebSite.Infrastructure
{
public class KAExistingTerminalCustomersRepository : IKAExistingTerminalCustomersRepository
{
... |
namespace GraderBot.WebAPI.Models
{
public class AppConfig
{
public string StartupClass { get; set; }
public string[] Input { get; set; }
public string TaskDescription { get; set; }
}
}
|
//------------------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Mic... |
using FeedbackAndSurveyService.CustomException;
using FeedbackAndSurveyService.FeedbackService.Model;
using System.Collections.Generic;
using Xunit;
namespace FeedbackAndSurveyTests.UnitTests
{
public class FeedbackCommentatorTests
{
[Theory]
[MemberData(nameof(Data))]
public void Vali... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using jaytwo.Common.System;
namespace jaytwo.Common.Extensions
{
public static class ByteArrayExtensions
{
public static string AsHexString(this byte[] value)
{
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DgKMS.Cube.Models
{
public class PartyPhotoDto
{
public long Id { get; set; }
[Required(ErrorMessage = "活动id不能为空")]
public long PartyId { get; set; }
[MaxL... |
using System;
using ConsoleApp.Models;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
//// string metinsel veri tipi
//string hi = "hello world!2";
//var hi2 = "hello bursa";
//decimal sayi = 5;
//decimal sayi... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using Dapper;
using IoTManager.IDao;
using IoTManager.Model;
using IoTManager.Utility;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using MySql.Data.MySqlClient;
namespace IoTManager.Dao
{
public... |
using System.Collections.Generic;
using Profiling2.Domain.DTO;
namespace Profiling2.Domain.Contracts.Queries
{
public interface IObjectSourceDuplicatesQuery
{
IList<ObjectSourceDuplicateDTO> GetPersonSourceDuplicates();
IList<ObjectSourceDuplicateDTO> GetEventSourceDuplicates();
ILis... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Windows;
namespace CODE.Framework.Wpf.Mvvm
{
/// <summary>
/// This class is designed to be a base class for view models.
/// </summary>
public class ViewModel : IHaveActions... |
using UnityEngine;
using System.Collections;
public class pauseController : MonoBehaviour {
public Transform uiCanvas;
public Transform pauseCanvas;
public Transform menuCanvas;
public bool pause = false;
public bool gameStarted = false;
void Start () {
pauseCanvas.gameObject.SetActive (false);
}
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise16
{
class Program
{
static void Main(string[] args)
{
//Defining variables
int n = 0, x = 0;
Random value = n... |
using Discord.WebSocket;
using JhinBot;
namespace JhinBot.Utils
{
public interface IGuildItemLister
{
string GetDisplayCommandList(ulong guildId, DiscordSocketClient client);
string GetDisplayEventList(ulong guildId, DiscordSocketClient client);
string GetItemListForGuild(IEmbedConvers... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class BrandValidator:AbstractValidator<Brand>
{
//kuralla... |
using System;
using System.Data.Entity;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using vidly.Models;
using vidly.ViewModels;
namespace vidly.Controllers
{
public class CustomerController : Controller
{
// GET: Customer
private ApplicationDbC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio_17
{
public class Boligrafo
{
public static short cantidadTintaMaxima = 100;
private ConsoleColor color;
private short tinta;
public Boligraf... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
namespace SRT_Project.Views
{
public partial class QuyetDinh : DevExpress.XtraEditors.XtraUserControl
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ParPorApp.Models
{
public class AccountStudent
{
public string AccountId { get; set; }
public int StudentId { get; set; }
public Student Student { get; set; }
}
}
|
using Tomelt.ContentManagement.Records;
namespace Tomelt.Layouts.Models {
public class LayoutPartRecord : ContentPartVersionRecord {
public virtual int? TemplateId { get; set; }
}
} |
namespace Krafteq.ElsterModel
{
using System;
using System.Globalization;
public class KzFieldValue
{
Money money;
MoneyInt moneyInt;
bool? boolean;
UnsignedMoney unsignedMoney;
KzFieldValue()
{
}
public static KzFieldValue Boolean(bool ... |
using System;
namespace MadamRozikaPanel.CrossCuttingLayer
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class DatabaseField : Attribute
{
public string Name { get; set; }
public DatabaseField(string FieldName)
{
this.Name = FieldName;
... |
using System.Runtime.InteropServices;
namespace Titan.Native
{
public static class Linux
{
#if __UNIX__
[DllImport("libc", SetLastError = true)]
public static extern uint getuid();
#endif
}
}
|
using AutoMapper;
using ShopBLL.Interfaces;
using ShopBLL.Models;
using ShopDAL.Interfaces;
using ShopDAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopBLL.Services
{
public class TovarService : ShopService<TovarModel, Tov... |
using UnityEngine;
using System.Collections.Generic;
using UINT8 = System.Byte;
using UINT16 = System.UInt16;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Controller/Basic/PulseOutput")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/controller/pulseoutput")]
public class PulseOutput : Ard... |
using Com.Colin.EfDataAccess;
using Com.Colin.Model;
using System.Collections.Generic;
using System.Linq;
namespace Com.Colin.BusinessLayer
{
public class AnimalRepository : IAnimalRepository
{
readonly TestContext context;
private List<AnimalModel> Articles = new List<AnimalModel>();
... |
using AutoMapper;
namespace Uintra.Features.Tagging.AutoMapperProfiles
{
public class UserTagsAutoMapperProfile : Profile
{
public UserTagsAutoMapperProfile()
{
//Mapper.CreateMap<UserTag, LabeledIdentity<Guid>>()
// .ForMember(f => f.Text, d => d.MapFrom(i => i.Text));
... |
using System;
namespace ClassAndStruct
{
class Program
{
static void Main(string[] args)
{
WorkingWithClass();
WorkingWithStruct();
}
private static void WorkingWithClass()
{
// Declaring an instance variable
... |
using System;
using System.ComponentModel;
using DelftTools.Utils.Reflection;
namespace DelftTools.Utils.UndoRedo.Mementos
{
public class NotifyPropertyChangeMemento : IMemento
{
private object instance;
private string propertyName;
private object oldValue;
private object newVa... |
using Mentor.MVVM.ViewModels.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mentor.MVVM.ViewModels
{
public class MainViewModel: ViewModelBase
{
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
namespace FinancialInstumentsAI.Controls
{
public partial class ChartTabPage : TabPage
{
public ChartTabPage(string tex... |
using Softhouse.Integration;
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace Softhouse.IntegrationAssignment
{
public class Program
{
static void Main(string[] args)
{
Program program = new Program();
/*
* You can comment out the line... |
using System;
namespace GeometricShapes
{
public abstract class Shape
{
public abstract double GetPerimeter();
public double GetPerimeter(int precision)
{
return Math.Round(GetPerimeter(), precision);
}
public abstract double GetSquare();
public d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MooversCRM.Controllers.BaseControllers
{
public class NonSecureBaseController : BaseController
{
protected Guid FranchiseID
{
get
{
//var repo = new Busi... |
using UnityEngine;
using System.Collections;
public class Boton : MonoBehaviour
{
private float time;
public Camera camera;
public static bool up, down, left, right = false;
void Start()
{
time = 0f;
}
void LateUpdate()
{
time += Time.deltaTime;
if (time < 5f... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class PlayerNameDisplay : MonoBehaviour
{
public void Init(Player player)
{
var text = GetComponent<Text>();
text.text = player.name;
Debug.Log("Initializing name display for " + player.name);
StartCoro... |
using EIM.Core.Registry;
using System;
namespace EIM.AspNetCore
{
public class WebApiRegistryTenant : IRegistryTenant
{
public Uri Uri { get; }
public WebApiRegistryTenant(Uri uri)
{
Uri = uri;
}
}
}
|
using ListCoreApp.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ListCoreApp.Data
{
public class DatabaseContext : DbContext
{
public DatabaseContext(DbContextOptions<DatabaseContext> options) : ba... |
using KinectSandbox.ColorPicker.AllColorPicker;
using KinectSandbox.Common;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Unity;
namespace KinectSandbox.ColorPicker
{
public class ColorPickerModule : IModule
{
private IUnityContainer co... |
using System.Collections;
using UnityEngine;
/*
* 이 스크립트는
* 1. 플레이어가 캐릭터를 조작하게 해줍니다.
* 2. 바닥과의 충돌을 감지해줍니다.
* 3. 알맞은 이동 애니메이션을 재생해줍니다.
* 4. 적과의 충돌을 감지해줍니다.
*/
// [RequireComponent(typeof(컴포넌트_이름))] 는 해당 컴포넌트를 꼭 사용해야 한다고 알리는 태그
[RequireComponent(typeof(Animator), typeof(Rigidbody2D), typeof(BoxCollid... |
#region
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
#endregion
namespace XamJam.PicSelector
{
public static class PicSelector
{
public static async Task ShowAsync(PhotoSelectorOptions options, Action<PicSelectionResult> onCompletionHandler)
{
var page = new C... |
namespace OldestFamilyMember
{
using System;
public class _03_Oldest_Family_Member
{
public static void Main()
{
var family = new Family();
var n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
{
var input = Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JenzaBank
{
class UsuarioLogeado
{
Login mostrar = new Login();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Leaf
{
public class Radian
{
public double val;
public Radian(double val)
{
this.val = val % (2 * Math.PI);
}
public static implicit operator Radian(double val)
{
return new Radian(val);
}
static ... |
using MediatR;
using SuiviCompresseur.GestionFournisseur.Domain.Commands;
using SuiviCompresseur.GestionFournisseur.Domain.Events;
using SuiviCompresseur.Domain.Core.Bus;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using SuiviCompresseur.Gest... |
using System;
using System.Collections.Generic;
namespace dictionaries
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, string> stocks = new Dictionary<string, string>();
stocks.Add("GM", "General Motors");
stocks.Add("CAT", "Caterpillar");
stocks.Add("ABC", "... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdventOfCode2017.Days
{
public class Day11 : IDay
{
private struct Position
{
public int X;
public int Y;
public int Z;
public Position( in... |
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 校园卡管理系统
{
public partial class mangform : Form
{
public static string account;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Reflection;
using System.Text;
using System.Web;
using System.Web.UI.WebControls;
using HTB.Database;
using HTB.Database.Views;
using HTB.v2.intranetx.util;
using HTBServices;
using HTBServices.Ma... |
using System;
using System.Collections.Generic;
using System.Linq;
public class Queryable1
{
/// <summary>
/// 累加器函数
/// </summary>
public static void Aggregate()
{
string[] fruits = { "apple", "mango", "orange", "passionfruit", "grape" };
// Determine whether any string in the arr... |
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 APP_Biblioteca
{
public partial class Consulta : Form
{
public Consulta()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using static System.Console;
namespace AirTr.Util {
public static class Helpers {
public static void Print(string message,
[CallerMemberName] string methodName = "",
[CallerF... |
using System;
namespace PocetPrestupnychRoku
{
class Program
{
static void Main(string[] args)
{
int rok1;
int rok2;
int pocetRoku = 0;
Console.WriteLine("Zadejte 1. rok");
rok1 = Convert.ToInt32(Console.ReadLine());
Co... |
namespace Sentry.Tests.Extensibility;
public class RequestBodyExtractionDispatcherTests
{
private class Fixture
{
public SentryOptions SentryOptions { get; set; } = new();
public RequestSize RequestSize { get; set; } = RequestSize.Small;
public IHttpRequest HttpRequest { get; set; } = S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(BarUIScript))]
public class BoostBarUIScript : MonoBehaviour {
public static BarUIScript bar;
void Awake() {
bar = GetComponent<BarUIScript>();
}
public static void SetBarPercentage(float percentage) {
i... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TitanBlog.Data;
using TitanBlog.Models;
namespace TitanBlog.Services
{
public class SearchService
{
private readonly ApplicationDb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MathConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter a number.");
int multiply = Convert.ToInt32(Console.Rea... |
using Caliburn.Micro;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using System.Collections.Generic;
using System.Linq;
namespace RRExpress.Express.ViewModels {
[Regist(InstanceMode.Singleton)]
public class GoodsInfoViewModel : BaseVM {
public override string Title {
g... |
using gView.Framework.system;
using System.Windows.Forms;
namespace gView.Interoperability.OGC.UI.Dataset.WFS
{
public partial class WFSMetadata : UserControl, IPlugInParameter
{
private WFS_Export_Metadata _metadata = null;
public WFSMetadata()
{
InitializeComponent();
... |
using Caliburn.Micro;
using CustomTournamentsLibrary.DataAccess;
using CustomTournamentsLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomTournamentsUI.ViewModels
{
public class HomeViewModel : Screen
{
/... |
using System.Collections.Generic;
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using System.Web.Mvc;
using System.Linq;
using System;
using Pe.GyM.Security.Account.Model;
namespace Pe.Stracon.SGC.Presentacion.Core.ViewModel.Contractual.Ba... |
namespace CheckMkProxy
{
using CheckMkProxy.Services;
using CheckMkProxy.Utils;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour {
public float speed = 2.0f;
public float gravity = -9.8f;
public Camera cam;
private Animator playerm;
private CharacterController charcon;
public Transform rightGunBone;
public Transform l... |
using System;
namespace Task1
{
class Program
{
static void Main(string[] args)
{
Welcome wlcm = new Welcome();
wlcm.Output();
}
}
public class Welcome {
public void Output() {
Console.WriteLine("Welcome Friends!");... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Data.Models
{
public partial class Promos
{
public static Promos CreateFromRequestModel(PromoRequestModel model)
{
return new Promos
{
Id = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class shape : MonoBehaviour
{
public GameObject[] parts;
bool onlyOnce=false;
Animation an;
public bool startMoving = false;
Transform core;
public bool blackShape = true;
Renderer m;
public float x, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace M101DotNet.WebApp.Models
{
public class Post
{
// XXX WORK HERE
// add in the appropriate properties for a post
/... |
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 RememberWordsHelper
{
public partial class NotifyForm : Form
{
private Timer timer;
pri... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
... |
using UnityEngine;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Base class for all `MonoHook`s of type `Collider`.
/// </summary>
[EditorIcon("atom-icon-delicate")]
public abstract class ColliderHook : MonoHook<
ColliderEvent,
Collider,
Coll... |
using System;
using UnityEngine;
using UnityEngine.Serialization;
namespace StateMachines
{
public class StateMachine : MonoBehaviour
{
private static StateMachine instance;
public static StateMachine Instance
{
get
{
if (instance == null)
... |
//------------------------------------------------------------------------------
// <copyright file="KinectPointerPointSample.xaml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
... |
using UnityEngine;
using System.Collections;
public class EnemyScript : MonoBehaviour {
public float fSpeed = -2.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.Translate(fSpeed * Time.deltaTime, 0, 0);
}
}
|
// EmptyQueueException.cs
using System;
namespace Ukonline.Datastructures
{
/// Exception to be thrown for operation forbidden on an empty queue.
public class EmptyQueueException : Exception
{
/// <summary>
/// Creates a new instance of this class.
/// </summary>
public EmptyQueueException() : base ("Empt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
namespace CarManageSystem.Model
{
public class CarConnect
{
public string id { get; set; }
public string user { get; set; }
//public Timer timer { get; set; }
public TCP... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GK.Api.Core
{
/// <summary>
/// Standard config section names for common settings.
/// </summary>
public static class ConfigSections
{
public const string Configuration = nameof(Configuration);
public con... |
#region Comments
#region 10-Dec
//Added method WebPageDelete
#endregion
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
using WatiN.Core;
using System.IO;
using Op... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IWorkFlow.ORM
{
class DICT_ElementsValue
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class PlayersController : MonoBehaviour
{
[SerializeField]
private FloorCreator floorCreator;
[SerializeField]
private Player playerPrefab;
[SerializeField]
private Player enemyPrefab;
... |
using Parser.Models;
namespace Parser.Nodes
{
public class AssingNode : INode
{
public VarModel Left { get; set; }
public INode Right { get; set; }
}
} |
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;
using System.IO;
namespace thirdapp
{
public partial class FilemanagementForm : Form
{
p... |
using System;
namespace WebStore.Infrasructure.Helpers
{
public class DateHelper
{
/// <summary>
/// Возвращает количество лет между двумя датами
/// </summary>
/// <param name="d1"></param>
/// <param name="d2"></param>
/// <returns></returns>
public st... |
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;
using System.Data.SqlClient;
namespace movie_guide_module_3
{
public partial class Form4 : Form
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using PingoSnake.Code.Entities;
namespace PingoSnake.Code.SpawnControllers
{
class EnemySpawnController : SpawnController
{
private Enemy LastSpawnedEnemy;
private const int MIN_ENEMY_DISTANCE = 500;
private con... |
using Witsml.ServiceReference;
namespace Witsml.Extensions
{
public static class ResponseExtensions
{
public static bool IsSuccessful(this WMLS_GetFromStoreResponse response)
{
return response.Result > 0;
}
public static bool IsSuccessful(this WMLS_AddToStoreRespons... |
using System.Windows;
using System.Windows.Controls;
namespace Crystal.Plot2D.Charts
{
public class LegendItem : Control
{
static LegendItem()
{
var thisType = typeof(LegendItem);
DefaultStyleKeyProperty.OverrideMetadata(thisType, new FrameworkPropertyMetadata(thisType));
}
//public o... |
using Carmotub.Data;
using Carmotub.ViewModel;
using Carmotub.Views.Controls;
using System.Collections.Generic;
using System.Data;
using System.Windows;
using System.Windows.Controls;
namespace Carmotub.Views
{
public partial class AddIntervention : Window
{
public List<string> colNames { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ItemDescription : MonoBehaviour
{
public Image sprite;
public Text name;
public Text description;
public Text value;
public Item item;
public void SetUp(Item _item)
{
... |
using UnityEngine;
using System.Collections;
public class CartoonShootPlayerMark : MonoBehaviour {
public int MarkIndex;
public CartoonShootPlayerPath ShootPlayerPath;
[Range(0.1f, 1000f)] public float MoveSpeed = 1f;
[Range(0f, 1000f)] public float LookTime = 1f;
public GameObject[] NpcObj;
public string[] ... |
using UnityEngine;
using System.Collections;
public class PrincessController : FarmerController {
public bool winFlag = false;
protected float regenTick = 0f;
protected float regenSpeed = 20f;
protected override void Start () {
base.Start ();
classID = 3;
}
protected override void Update() {
base.Update... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.