text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinCompetitionsParsing.DAL.Domain;
using WinCompetitionsParsing.DAL.Repositories.Abstract;
namespace WinCompetitionsParsing.DAL.Repositories.Implementation
{
public class SubcategoryRepository... |
using ExamSystem.DataAccess.Context;
using ExamSystem.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace ExamSystem.DataAccess
{
public class UserDal : IUserDal
{
public User Get(Expression<Func<User, bool>> filter)... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CandyCane
{
public class Helper
{
public static string _projectName;
public static string _projectType;
public static bool _typeSet = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eIVOGo.Module.EIVO.Item;
using Model.InvoiceManagement;
using Model.DataEntity;
using Model.Security.MembershipManagement;
using Business.Helper;
using Model.Locale;
namespa... |
namespace SGDE.API.Controllers
{
#region Using
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Domain.Supervisor;
using Microsoft.Extensions.Logging;
using System;
using Domain.ViewModels;
using System.Linq;
#endregion
[Authorize]
[Route("a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Scriptables/StearingRef")]
public class SOStearingInputs : ScriptableObject
{
public SOStearingInputs Instance { get; private set; }
public StearingInputs Value { get; private set; }
... |
using System;
using System.Runtime.Serialization;
namespace IoUring
{
/// <summary>
/// Exception thrown if the kernel produced more Completion Queue Events than the application was able to consume.
/// This is typically the case, if Submission Queue Entries are produced faster than the consumption of thei... |
using System;
using System.IO;
using System.AddIn.Contract;
using System.AddIn.Pipeline;
#if PIPELINE_BUILDER
using PipelineHints;
[assembly: SegmentAssemblyName(PipelineSegment.AddInSideAdapter, "Tivo.Has.AddInSideAdapters")]
[assembly: SegmentAssemblyName(PipelineSegment.AddInView, "Tivo.Has.AddInView")]
[assembly... |
namespace AppBuilder.Shared
{
public class ProjectBlob
{
public string Name { get; set; }
public byte[] CompressedFiles { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class SlideEventTrigger : MonoBehaviour
{
PlayerController player;
void Start()
{
player = GameObject.FindGameObjectWithTag("Player").GetOrAddComponent<PlayerController>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cartasRobadas : MonoBehaviour {
public int carta;
bool coli;
//PANEL PARTIDA
public GameObject Panel;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
if(Pan... |
using NUnit.Framework;
using Restaurant365.Core;
namespace Restaurant365.Test
{
class UnlimitedCharcterDelimiterParserTest
{
const string DelimiterStarting = "//";
const string DelimiterEnding = "\n";
[Test]
public void Parser_Should_Parse()
{
var delimterP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace oopsconcepts
{
public delegate void Helloword(string test);
public class Delegaete
{
public void testDelegate(string test)
{
Console.WriteLine("Delegate is "+test );
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace JimBobBennett.JimLib.Collections
{
public class DefinedSortOrderComparer<T, TKey> : IComparer<T>
{
private readonly IList<TKey> _sortedKeys;
private readonly Func<T, TKey> _keyFunc;
public DefinedSortOrderCom... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using System;
public class ChangeSpeed : MonoBehaviour, IPointerClickHandler, CannonStateObserver
{
public CannonStateHandler stateHandler;
[SerializeField]
private float deltaValue;
... |
using System;
using System.Linq;
using FinanceBot.Models.EntityModels;
namespace FinanceBot.Models.Repository
{
public static class RepositoryExtension
{
public static bool GetUser(this IUserAccountRepository userAccountRepository,
int Id, out UserAccount userAccount)
{
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace GlobalModels
{
/// <summary>
/// DTO Model for frontend -> backend
/// </summary>
public sealed class NewDiscussion
{
[Required]
[StringLength(20)]
public string Movieid { get; set; }
[Required]
... |
using AorFramework.editor;
using System;
using System.Collections.Generic;
namespace AorFramework.NodeGraph
{
public class AssetSearchController : NodeController
{
public override void update(bool updateParentLoop = true)
{
string sp = (string) m_nodeGUI.data.ref_GetField_Inst_Publ... |
using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Management;
namespace WF.SDK.Common
{
public class WfDriveInfo
{
public string LocalName { get; private set; }
public string MappedU... |
using System;
namespace Auth0.OidcClient
{
[Obsolete("It is recommended you leave Browser unassigned to accept the library default or assign an instance of WebAuthenticationBrokerBrowser if you need to enable Windows authentication.")]
public class PlatformWebView : WebAuthenticationBrokerBrowser
{
... |
using PbStore.Domain.Pedidos;
using PbStore.Domain.Pedidos.Repositorios;
namespace UnitTestProject1.Mocks
{
public class RepositorioPedido : IRepositorioPedido
{
public void Salvar(Pedido pedido)
{
}
}
}
|
using Proyecto_Web.Conection;
using Proyecto_Web.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Proyecto_Web.Vistas.Private
{
public partial class gestionar_proveedor : System.Web.UI.Page
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DigitalRuby.WeatherMaker
{
/// <summary>
/// Simple screenshot script for game view. Press R to take screenshots, file is saved to desktop. There is a short delay from pressing R and the screenshot actually saving.
//... |
using DotNetNuke.Common;
using DotNetNuke.Entities.Users;
using DotNetNuke.Security.Permissions;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using DotNetN... |
using GetLabourManager.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using static GetLabourManager.Helper.TreeBuilderHelper;
namespace GetLabourManager.Helper
{
public class GangAllocationHelper
{
... |
using System.Threading.Tasks;
using lauthai_api.DataAccessLayer.Data;
using lauthai_api.DataAccessLayer.Repository.Interfaces;
using lauthai_api.Models;
using Microsoft.EntityFrameworkCore;
namespace lauthai_api.DataAccessLayer.Repository.Implements
{
public class UserRpository : GenericRepository<User>, IUserRepo... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SectorTest.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TruckController : MonoBehaviour
{
private float m_horizontalInput;
private float m_verticalInput;
private float m_steeringAngle;
public WheelCollider frontRightW, frontLeftW, trailer1_leftW, trailer1_rightW, ... |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using System.Collections.Generic;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// VIEW_WORKFLOW_STEP_NEXT_INFO
/// </summary>
public partial class VIEW_WORKFLOW_STEP_NEXT_INFO
{
private readonly PDTech.... |
using System;
using System.Globalization;
namespace Parsing_and_Persisting_Dates
{
class Program
{
static void Main(string[] args)
{
DateTimeOffset date = new DateTimeOffset(
2021, 05, 10,
18, 30, 59,
TimeSpan.FromHours(... |
using System;
using System.Collections.Generic;
using Master.Contract;
using Master.DataFactory;
namespace Master.BusinessFactory
{
public class HolidayBO
{
private HolidayDAL holidayDAL;
public HolidayBO()
{
holidayDAL = new HolidayDAL();
}
public List<Holi... |
namespace TipsAndTricksLibrary.Testing
{
using System;
using System.Linq.Expressions;
using KellermanSoftware.CompareNetObjects;
public static class CompareLogicExtensions
{
public static CompareLogic ExcludePropertyFromComparison<TEntity, TProperty>
(this CompareLogic compareL... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LayerCullingDis : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Camera camera = GetComponent<Camera>();
float[] distances = new float[32];
distances[LayerMa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Risk_FortheProcess : System.Web.UI.Page
{
public string t_rand = "";
PDTech.OA.BLL.VIEW_ARCHIVETASK_STEP ArBll = new PDTech.OA.BLL.VIEW_ARCHIVETASK_ST... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.ServiceModel;
using System.Data.SqlClient;
namespace BLL集团客运综合管理.USRE
{
[ServiceContract]
class USER_DENGLU
{
DALPublic.DALMethod myDAL = new DALPublic.DALMethod();
[Operat... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DeviceInterface
{
public interface IDeviceObserver : Orleans.IGrainObserver
{
void ForwardTo(string message, string action);
}
}
|
using Migration.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Migration.Common.Log;
namespace JiraExport
{
static class Program
{
static void Main(string[] args)
{
VersionInfo.Print... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Solicitud
{
public class ContactoArchivosDao : GenericDao<crmContactoArchivos>, IContactoArchivosDao
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace filter.framework.core.Db
{
public static class MySQLQueryHelper
{
public static List<string> BuildConditionList(this Dictionary<string, string> conditions, Type type,
string prefix = "")
{
if (... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using BPiaoBao.Common.Enums;
namespace BPiaoBao.DomesticTicket.Domain.Models.Orders
{
public enum EnumOperationType
{
/// <summary>
/// 分润
/// </summary>
[Descript... |
using Patterns.Command.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Patterns.Command.Classes
{
class StereoCommand : ICommand
{
private Stereo _stereo;
public StereoCommand(Stereo stereo)
{
... |
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 Creedy_Chicken
{
public partial class Form1 : Form
{
public Form... |
// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PclWebUtility = pcl::Syste... |
#region License
//===================================================================================
//Copyright 2010 HexaSystems Corporation
//===================================================================================
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this f... |
using System;
namespace ScreenLock
{
public interface IScreenLock
{
void Lock();
void Unlock();
}
}
|
using System;
/// <summary>
/// Advent of Code - Day 1 namespace
/// </summary>
namespace AdventOfCodeDay1
{
/// <summary>
/// Program class
/// </summary>
internal class Program
{
/// <summary>
/// Main entry point
/// </summary>
/// <param name="args">Command line... |
namespace GraphQLSampleAPI.Models
{
public class GadgetInput
{
public string productName { get; set; }
public string brandName { get; set; }
public decimal cost { get; set; }
public string type { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace ReportGenerator
{
public abstract class GenerateFile
{
public ReportType reportType;
public Blockchai... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Media;
using System.Windows.Media.Imaging;... |
using jjs.Common;
using jjs.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace jjs.Controllers
{
public class ShowController : FrontBaseController
{
private JiJiaShangDB db = new JiJiaShangDB();
// POST: MessageCreate/C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace yaruo_anka
{
using Statas = System.Collections.Generic.List<int>;
class PlayerData
{
//PlayerのIDカウント用
static int MaxPlayerCounter = 0;
static void Play... |
namespace FatCat.Nes.OpCodes.AddressingModes
{
public class IndirectXMode : AddressMode
{
private byte highAddress;
private byte location;
private byte lowAddress;
public override string Name => "(Indirect,X)";
public IndirectXMode(ICpu cpu) : base(cpu) { }
public override int Run()
{
ReadLocation... |
using System;
namespace WebSocketChatSample
{
public abstract class Message
{
public string MessageType { get; set; }
}
public class JoinMessage : Message
{
public const string MessageTypeKeyword = "JoinMessage";
public string UserName { get; set; }
}
public class... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthBarManager : MonoBehaviour
{
[SerializeField]
private GameObject healthBarPrefab;
private List<Entity> entities;
private List<HealthBar> healthBars;
private HealthBarManager()
{
entities... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DesiClothing4u.Common.Models;
using System.Net.Http;
using Newtonsoft.Json;
namespace DesiClothing4u.UI.Controllers
{
public class MenuController ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace KnapsackProblem.Common
{
public class KnapsackConfiguration
{
public KnapsackConfiguration() { }
public KnapsackConfiguration(KnapsackConfiguration other)
{
Price = other.Price;
Weight ... |
using System.Collections.Generic;
using System.Net;
using System;
using HtmlAgilityPack;
using System.Threading;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Windows;
namespace ApergiesTileUpdate
{
public class StrikeLoader
{
WebClient webc;
private Li... |
using Logic_Circuit.Models.BaseNodes;
using Logic_Circuit.Models.Nodes.NodeInputTypes;
using System.Collections.Generic;
using System.Windows.Media;
namespace Logic_Circuit.Models.Nodes
{
/// <summary>
/// The only real logic node, representing a NAND-GATE.
/// </summary>
public class NandNode : IMult... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_CheckUIEventByWidget : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int set_onDrag(IntPtr l)
{
int result;
try
{
CheckUIEventByWidget checkUIEventByWidget = (CheckUIEventByWidget)LuaObje... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Confluent.Kafka;
using mlservice.Interface;
using Serilog;
namespace mlservice
{
public class KafkaConsumer<TKey, TValue> : IKafkaConsumer<TKey, TV... |
namespace Otchi.BitOperations
{
public static partial class BitOperations
{
public static bool IsBitSet(this sbyte t, int pos)
{
return (t & (1 << pos)) != 0;
}
public static bool IsBitSet(this byte t, int pos)
{
return (t & (1 << pos)) != 0;
... |
using System.Collections.Generic;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Well-known information
/// </summary>
public class WellKnown
{
/// <summary>
/// List of bookable slots and their capacity.
/// </summary>
/// <remarks>
/// Capacity ... |
using System;
namespace CTCI
{
// Write code to partition a linked list around a value x, such that all nodes less
// than x come before all nodes greater than or equal to x. lf x is contained within
//the list, the values of x only need to be after the elements less than x (see below).
//The partiti... |
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
namespace Umbraco.Web.Models.Mapping
{
/// <summary>
/// This ensures that the custom membership provider properties are not mapped - these property va... |
namespace ns25
{
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game.Mono;
internal class Class268 : MonoClass
{
internal Class268(IntPtr address) : base(TritonHs.MainAssemblyDir + @"\mscorlib.dll", "System.Collections.Generic", "List<" + typeof(string).FullNa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Collections;
using System.Diagnostics;
namespace GoorooIO.SqlBacked {
public class PerformanceLogger : IDisposable {
public class Counter {
public double TotalMilli... |
using System.Collections.Generic;
namespace CallCenter.Common.Entities
{
public interface IChat : IIdentifier
{
IEnumerable<IChatTopic> Topics { get; set; }
IChatTopic CurrentTopic { get; }
IEnumerable<IChatAction> ChatActions { get; set; }
}
} |
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// Used to signal when main menu has been shown
/// </summary>
public delegate void MainMenuShownDelegate();
}
|
using System;
using DavisVantage.WeatherReader.Extensions;
namespace DavisVantage.WeatherReader.Models.Extremes
{
public class WeatherdayExtremes
{
public int BarometerMax { get; set; }
public int BarometerMin { get; set; }
public DateTime BarometerMaxTime { get; set; }
public ... |
#region License
// Copyright (C) 2017 AlienGames
//
// 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 Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
//... |
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 Microsoft.WindowsAPICodePack.Dialogs;
namespace GITRepoManager
{
public partial class CloneRep... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Telerik">
// Telerik
// </copyright>
// <summary>
// The program.
// </summary>
// -----------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EquippableItemSlot : ItemSlot {
public EquipmentType EquipmentType;
protected override void OnValidate()
{
base.OnValidate();
gameObject.name = "Equipment slot - " + EquipmentType.ToString();
... |
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using GitlabManager.Framework;
using GitlabManager.Services.BusinessLogic;
using GitlabManager.Services.Database;
using GitlabManager.Services.Database.Model;
using GitlabManager.Services.Dialog;
using GitlabManager.Services.Gitlab.Client... |
using System.ComponentModel.DataAnnotations;
namespace iCopy.Model.Request
{
public class Login
{
[Required(ErrorMessage = "ErrNoUsername")]
[MaxLength(100, ErrorMessage = "ErrMaxLengthUsername")]
public string Username { get; set; }
[Required(ErrorMessage = "ErrNoPassword")]
... |
using UnityEngine;
using System.Collections;
public class ButtonsCS : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void StartButtonClick() {
echoServerCS.SetStart ();
}
public void StopButtonClick() {
echoServerCS.S... |
using UnityEngine;
public class EnemyManager : MonoBehaviour {
public GameObject _Enemy = null;
private void Start () {
GenerateEnemy ();
}
public void GenerateEnemy () {
Instantiate (_Enemy, Camera.main.transform.position + new Vector3 (0f, 375f, 0f), Quaternion.identity);
}
}
|
using BerlinClock.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BerlinClock.Classes.Utility
{
public static class TimeParser
{
public static int TimeToSeconds(this string time)
{
return int.Parse(... |
// Copyright (c) 2020 Markus Wackermann
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pu... |
using System.Collections.Generic;
using System.Linq;
using Renting.Domain.Agreements;
namespace Renting.Persistence.InMemory
{
public class InMemoryAgreementRepository : IAgreementRepository
{
private readonly List<Agreement> _agreements = new List<Agreement>();
public void Save(Agreem... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlClient;
using System.Text;
using Maticsoft.DBUtility;
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:USER_INFO
/// </summary>
public partial class USER_INFO
{
PDTech.OA.D... |
namespace Belot.AI.SmartPlayer.Strategies
{
using Belot.Engine.Cards;
public static class CardHelpers
{
public static Card GetCardThatSurelyWinsATrickInAllTrumps(
CardCollection availableCardsToPlay,
CardCollection playerCards,
CardCollection playedCards,
... |
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace publicApiTest
{
public class JsonTest
{
[Test]
public void jsontest()
{
var str = Properties.Resources.accountInfo;
... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class DynFachabteilung
{
public DynFachabteilung()
{
ArcAktenaufenthalt = new HashSet<ArcAktenaufenthalt>();
DynAusleiheUserFachabteilung = new HashSet<Dy... |
using MonoGame.Extended.Input;
using MonoGame.Extended.Input.InputListeners;
namespace MonoGame.Extended.NuclexGui.Controls.Desktop
{
// Always move in absolute (offset) coordinates?
// Or always move in fractional coordinates?
//
// Preferring b), because I restores the user's display to the exact
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnStone : MonoBehaviour
{
public GameObject Stone; // Объект Который будет спавнится
public BoxCollider2D StoneColl; // Коллайдер, если объекту нужно действие при косании с чем либо
private void Awake()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChatLibrary.EaseMob;
namespace ChatLibrary
{
/// <summary>
///
/// </summary>
public enum ChatLibraryType
{
//环信
EaseMob
}
public static class ChatClie... |
using System;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class ManualOrderButton : MonoBehaviour
{
[SerializeField] private SomewhatFancierExample3 _source;
[SerializeField] private Button _button;
private void Start()
{
_button.OnPointerClickAsObservable()
.Throttle... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class LaserToPoint : MonoBehaviour
{
private static GameObject LaserObj;
public static void LaserToCoord()
{
Params.laserX1 = 0;
Params.laserX2 = 0;
Params.laserY1 = ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace YoungCat.Toolkit
{
public struct Interval<T>
{
public T Start { get; private set; }
public T End { get; private set; }
public Interval(T start, T end)
: this()
{
Start = start;
... |
using Godot;
using System;
using static Lib;
public class BlueWTower : KinematicBody
{
protected Root root;
protected Area attackArea;
protected Vector3 move;
protected float timeFromAttack;
protected float attackTimeout = 1.0f;
public override void _Ready()
{
root = (Root)GetNode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddressBook
{
class DuplicateRecordException : Exception
{
public DuplicateRecordException(string message)
{
Console.WriteLine(message);
}
}
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace NicoLiveAlertTwitterWPF.Info
{
class AppUpdateCheck
{
//GitHubのReleaseに追加していくのでGitHubのReleaseのAPIを叩く
... |
using System.Web;
using System.Web.Optimization;
namespace LateOS
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
//Bootstrap
bundles.Add(new StyleBundle("~/Content/bootstrap").Include(
"~/Content/bootstrap/bo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace CallGenericFunction
{
class Program
{
static void Main(string[] args)
{
}
public void aa()
{
//获取当前程序集
... |
using Microsoft.Data.Entity;
using Microsoft.Data.Sqlite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ToDo.Client.Core;
using ToDo.Client.Core.Lists;
using ToDo.Client.Core.Tasks;
namespace ToDo.Client
{
public partial class Workspace :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class mainSceneGameControllerScript : MonoBehaviour
{
public playerJump player;
public Camera cam;
public Text gameScoreText;
public GameObject[] ... |
using UnityEngine;
using UnityEditor;
namespace Assets.Scripts
{
public class Ammunition : InventoryItem
{
public Player Player;
public readonly int cost = 250;
public string Message;
public Ammunition()
{
Message = $"You need {cost} score to buy this";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CameraFollowPoppa : MonoBehaviour {
//STAY IN CAMERA FIELD, FOLLOW MILKY BOY IN THE BACKGROUND
//ANIMATIONS LINKED
private void OnEnable()
{
SceneManager.activeScen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.