text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace bt.Admin
{
public partial class Suabl : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
... |
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 PO.Services.BusinessObjects;
using PersonelOrganizer.Util;
using PO.Types.DataSets;
namespace PersonelOrganizer
{
... |
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;
using ToyTwoToolbox.Properties;
namespace ToyTwoToolbox {
public partial class SessionManager : Form {
[S... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Notification model of the standard.
/// <see href="https://notifications.spec.whatwg.org/#dictdef-notificationoptions">Notification API Standard</see>.
/// </summary>
pu... |
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 System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;
using HSoft.SQL;
using OboutInc.Calendar2;
using Obout.Grid;
using Obout.Grid.Design;
public partial class Pages_Leads_info : System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Seguridad
{
public class EmpresaDao : GenericDao<Empresa>, IEmpresaDao
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApi.Models;
namespace WebApi.Controllers
{
public class NotesController : ApiController
{
static readonly INoteRepository repository = new NoteRepository();
... |
using System.Collections;
using UnityEngine;
public class Game
{
public static Game current;
public int currentLevelIndex;
public string playerName;
public string gender; // will be 'g', 'b', or 'n'
// ADD IMP INFORMATION TO KEEP HERE
public Game()
{
// get the current level ind... |
using System;
using System.IO;
public class Configuration
{
public static ANNConfiguration AnnConfig = new ANNConfiguration();
public static GAConfiguration GAConfig = new GAConfiguration();
}
public class ANNConfiguration
{
public int First_InputLayer = 13;
public int First_HiddenLayer ... |
namespace Enrollment.Forms.Configuration.Bindings
{
public class DropDownItemBindingDescriptor : ItemBindingDescriptor
{
public DropDownTemplateDescriptor DropDownTemplate { get; set; }
public bool RequiresReload { get; set; }
public override string TemplateName => DropDownTemplate.Tem... |
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 WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeleportTarget : MonoBehaviour
{
private void Awake()
{
MyEventSystem.instance.teleportPlayer += TeleportPlayerToThis;
}
private void OnDisable()
{
MyEventSystem.instance.teleportPlayer -= ... |
namespace E08_CurrentDateAndTime
{
using System;
public class CurrentDateAndTime
{
public static void Main(string[] args)
{
// Create a console application that prints the current date and time. Find out how in Internet.
DateTime currentDateTime = DateTime.Now;
... |
using System;
using System.Collections.Generic;
using Bindable.Linq.Helpers;
namespace Bindable.Linq.Iterators
{
/// <summary>
/// A lookup for projections.
/// </summary>
/// <typeparam name="TSource">The type of the source.</typeparam>
/// <typeparam name="TResult">The type of the resul... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace DropLogger
{
public class WindowViewModel :... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using App1.Services;
namespace App1
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Page1 : ContentPage
{
private ToSpeak TextToSpeech = ToSpeak.getInstance;
public Page1()
{
Initiali... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Other : MonoBehaviour
{
private void Start()
{
EventCenter.GetInstance().AddEventListener<Monster>("MonsterDead", OhterWaitMonsterDeadDo);
}
private void OnDestroy()
{
EventCenter.GetInstan... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ToolShop : MonoBehaviour
{
int ironSupply;
float dirt = 0;
const float maxDirt = 4;
public bool HasDirt { get => dirt > 0; }
public void RemoveDirt(float work) { dirt -= work; }
// Star... |
using System;
using System.Collections.Generic;
using System.Text;
using JabberPoint.Domain.Content.Behaviours;
using JabberPoint.Domain.Helpers;
namespace JabberPoint.Domain.Content
{
public interface IContent
{
List<IContentBehaviour> Behaviours { get;}
T GetBehaviour<T>() where T : IContent... |
using System.Collections.Generic;
namespace Contoso.Forms.Configuration.Directives
{
public class VariableDirectivesDescriptor
{
public string Field { get; set; }
public List<DirectiveDescriptor> ConditionalDirectives { get; set; }
}
}
|
using System.Threading.Tasks;
namespace GaleService.DomainLayer
{
public sealed partial class DomainFacade
{
public async Task<string> GetDatabaseData()
{
return await DatabaseManager.GetDatabaseData();
}
}
}
|
using System;
using System.Text;
namespace _09.MySQLBooksDB
{
public class Book
{
public long ID { get; set; }
public string Title { get; set; }
public string Author { get; set; }
public DateTime PublishDate { get; set; }
public string ISBN { get; set; }
pu... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VendingMachine : MonoBehaviour
{
private int _healingPoints = 20;
private Boolean _isUsed = false;
// Start is called before the first frame update
void Start()
{
}
// Update... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPiaoBao.Common.Enums;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket.DataObject
{
public class RequestInsurance
{
/// <summary>
/// 购买航意险和急速退保单的乘客
/// </summary>
public Lis... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Silver Blueprints")]
[assembly: AssemblyCopyright("Copyright © Silver Blueprints 2013")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")] |
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace MinecraftLauncher.Services
{
public interface IDialogService
{
Task<MessageDialogResul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApplicationVersionTracking.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ApplicationVersionTracking.Data;
namespace ApplicationVersionTracking.ViewComponents
{
public class P... |
namespace TridevLoader.Mod.API.Character {
public class Character {
public CharacterStats Stats { get; }
public CharacterBaseStats BaseStats { get; }
public CharacterLevelStats LevelStats { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Web;
using System.Web.Caching;
namespace VendorsManage.Data
{
public class AspNetCache : ICache
{
private Cache Cache
{
get { return HttpContext.Current.Cache; }
}
... |
using Bearded.Monads;
using Bolt.Common.Extensions;
using catalog.merger.api.Features.CatalogMerger.Models;
using catalog.merger.api.Infrastructure.Proxies.Catalog;
using MediatR;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace catalog.merger.api.Fe... |
namespace CsvUploader.Models
{
/// <summary>
/// Data model for list of suppliers.
/// </summary>
public class SupplierInfoModel
{
/// <summary>
/// The supplier identifier.
/// </summary>
public string SupplierId { get; set; }
/// <summary>
/// The ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace HTTP_FINAL_PROJECT
{
public partial class Showplanets : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using WorkerService.Core.DataAccess;
using WorkerService.DataAccess.Abstract;
using WorkerService.DataAccess.Concrete.Context;
using WorkerService.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace WorkerService.DataAccess.Concrete
{
public class CourseInstructorDal : EntityRep... |
using System;
using System.Collections.Generic;
using System.Text;
using FastSQL.Core;
namespace FastSQL.Sync.Core.Transformers
{
public class StringTrimTransformerOptionManager : BaseOptionManager
{
public override IEnumerable<OptionItem> GetOptionsTemplate()
{
return n... |
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.Configuration;
using System.Data.SqlClient;
using System.IO;
namespace Faculty
{
public ... |
using MISA.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MISA.Core.Interfaces
{
/// Interface của country server kế thừa ibase service
/// </summary>
/// created by: DTHIEU(13/4/2021)
public interface ICoun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestTaskDataWorks
{
public static class RomanNumbers
{
private static Dictionary<char, int> letters = new Dictionary<char, int> { { 'M', 1000 }, { 'D', 500 }, { 'C', 100 }, { '... |
// Copyright 2021 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("BaseUIPrefabs")]
public class BaseUIPrefabs : MonoClass
{
public BaseUIPrefabs(IntPtr address) : this(address, "BaseUIPrefabs")
{
}
public BaseUIPrefabs(IntPtr addre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TacticalMaddiAdminTool.Models;
namespace TacticalMaddiAdminTool.Services
{
public class MaddiService : TacticalMaddiAdminTool.Services.IMaddiService
{
public void Save(string entityXml)
{
}
... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_Ease : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int Loop_s(IntPtr l) {
try {
#if DEBUG
var method = System.Reflection.Met... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SFP.SIT.SERV.Model.ADM
{
public class SIT_ADM_CLASES
{
public string clanombre { set; get; }
public string cladescripcion { set; get; }
public int claclave { set; get; }
public SIT_ADM_CLASES ()... |
using Godot;
using System;
using static Lib;
public class Unit : KinematicBody
{
public float speed = 4.0f;
public float scale;
public bool canAttack = true;
protected Effect[] effects;
protected AnimationPlayer aPlayer;
protected MeshInstance model;
protected MeshInstance healthBar;
... |
using System;
using System.Runtime.InteropServices;
namespace HelperFramework.PInvoke
{
public class DwmThumbnail
{
[DllImport("dwmapi.dll")]
public static extern int DwmRegisterThumbnail(IntPtr dest, IntPtr src, out IntPtr thumb);
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern int Dw... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OnlyOrm.Exceptions;
using MySql.Data.MySqlClient;
using System.Reflection;
using System.Collections;
using System.Collections.ObjectModel;
namespace OnlyOrm.Exetnds
{
/// <summary>
/// 将表达式目录树解析为对应的SQL
/// </summary>
i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PresenterLibrary.Views;
using PresenterLibrary.Common;
using ModelMVPDataBasePart.IModels;
namespace PresenterLibrary.Presenters
{
class AddingEventPresenter:BasePresenter<IAddingEventView>
... |
using System.Web.Mvc;
using Logs.Authentication.Contracts;
using Logs.Models;
using Logs.Services.Contracts;
using Logs.Web.Controllers;
using Logs.Web.Infrastructure.Factories;
using Logs.Web.Models.Profile;
using Moq;
using NUnit.Framework;
using TestStack.FluentMVCTesting;
namespace Logs.Web.Tests.Controllers.Prof... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json;
using Microsoft.Extensions.DependencyInjection;
namespace ConfigDemo
{
internal class Program
{
static void Main(string[] args)
{
ConfigurationBuilder configBuilder = new ConfigurationBuilder()... |
namespace OmniGui.Layouts.Grid
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
public struct GridLength : IEquatable<GridLength>
{
private readonly GridUnitType type;
private readonly double value;
/// <summary>
... |
using SQLite;
/// <summary>
/// File path IV.
/// Object used to write unique encryption IV for specific FilePath to local database
/// </summary>
namespace MCCForms
{
public class FilePathIV
{
[PrimaryKey]
public string FilePath { get; set; }
public string IV { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using Rastreador;
namespace Rastreador.Models
{
public class EncomendaRepository : IEncomendaRepository
{
RastreadorContext context = new Ras... |
using MetroFramework;
using MetroFramework.Forms;
using PDV.DAO.Entidades.Estoque.Suprimentos;
using System;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Cadastro
{
public partial class FCA_ContatoClienteFornecedor : DevExpress.XtraEditors.XtraForm
{
private string NOME_TELA = "CADASTRO DE CON... |
using System;
using System.Collections.Generic;
namespace CaculatorTest
{
public class Caculator
{
#region decleration of variate
private double expResult;
private string myExpress;
#endregion
#region constructor method
public Caculator()
{
expResult = 0;
myExpress= "no express";
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleVisioModels
{
public class RoundedRectangleShape : VisioShape
{
public double CornerRadius { get; set; } = 5;
public override object Clone() => new RoundedRectan... |
/*using UnityEngine;
[RequireComponent(typeof(Rigidbody), typeof(Collider))]
public abstract class Obstacle : MonoBehaviour
{
void Start()
{
this.gameObject.layer = GameManager.ObstacleLayer;
}
void Reset()
{
Rigidbody rb = GetComponent<Rigidbody>();
rb.useGravity = false;
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
using Espades.Common;
using Espades.Common.Containers;
using Espades.Common.Enumerators;
using Espades.Common.Exceptions;
using Espades.Common.Helpers;
using Espades.Domain.Contracts.Services.Base;
using Esp... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using quanlysinhvien.DTO.UILoad;
using quanlysinhvien.Models.DAO;
using quanlysin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExtensionMethod
{
static class CircleExtension
{
public static double GetArea(this Circle aCircle)
{
return Math.PI*aCircle.Radious*aCircle.Radious;
}
... |
using UnityEngine;
using System;
using System.Linq;
using System.Collections.Generic;
public class ScanLib
{
private AutoPilot ap;
private UtilityLib Util;
float lockSetting = 1f;
Vector3 lastbotPos = new Vector3(0,0,0);
float dScrn;
float bullet;
public Dictionary<string, EnemyProp> enemybotProp... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("DeckRule")]
public class DeckRule : MonoClass
{
public DeckRule(IntPtr address) : this(address, "DeckRule")
{
}
public DeckRule(IntPtr address... |
using JabberPoint.Domain.Content;
using JabberPoint.Domain.Content.Behaviours;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace JabberPoint.View
{
public class WpfContentBehaviourVisitor : IContentBehaviourVisitor
... |
using System;
class Massiiv4{
public static void Main(string[] arg){
int[] m=new int[3]{40, 48, 33};
Array.Sort(m);
for(int i=0; i<m.Length; i++){
Console.WriteLine(m[i]);
}
}
}
|
using UnityEngine;
using System;
using System.Collections.Generic;
using Random = UnityEngine.Random; ... |
using System;
using DataLayer;
namespace RemindMyPassword
{
public abstract partial class BasePage : System.Web.UI.Page
{
public WebOperations wo = new WebOperations();
public static RMPUser user;
public string PageTitle;
protected virtual void Page_Load(object sender, EventAr... |
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Maze_Finding_Bean
{
public class Terrain : VisibleGameEntity
{
public Terrain(float left, float top, List<Texture2D> textures)
{
// TODO: Complete... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuController : MonoBehaviour {
[SerializeField]
int currentActiveTab;
[SerializeField]
GameObject[] tabLabels;
[SerializeField]
GameObject[] tabs;
[SerializeField]
Sprite... |
using System;
using Xunit;
using static MultiBracketValidate.Program;
namespace BracketValidationTDD
{
public class UnitTest1
{
[Fact]
public void TestForTrue()
{
Assert.True(MultiBracketValidation("(){}[]"));
}
[Fact]
public void TestForFalse()
... |
using PEPlugin;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace PMXEPlugin536.MaskImageToEdge {
public class Runner : PEPluginClass {
public Runner() : base() {
var runOnStartup = false;
var addPluginMenu... |
using UnityEngine;
using Minigame3;
using System.Collections;
using System.Collections.Generic;
public class MiniGame3_Manager : MiniGameSingleton<MiniGame3_Manager>
{
#region variables
/// <summary>
/// Лэйбл для отображения оставшегося времени
/// </summary>
public UILabel labelTime;
/// <s... |
using ScribblersSharp;
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// An interface that represents a start game controller
/// </summary>
public interface IStartGameController : IScribblersClientController
{
/// <summary>
/// ... |
namespace CalculateSHA256Hash
{
using System;
using System.Security.Cryptography;
using System.Text;
public class Startup
{
public static void Main()
{
var result = GetSHA256Hash("Hello_World");
Console.WriteLine(result);
}
private static s... |
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.Diagnostics;
using System.IO;
using System.Net;
namespace CMS
{
public partial class Fo... |
// Guids.cs
// MUST match guids.h
using System;
namespace ITechnologyNET.FindUnusedFiles
{
static class GuidList
{
public const string guidFindUnusedFilesPkgString = "0cf7b733-7d9b-45b9-9aa8-328afd40580a";
public const string guidFindUnusedFilesCmdSetString = "3924aca3-a84e-48af-905b-47b582ff... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
[Serializable]
public class Response
{
public bool Signal { get; set; }
public object PrijavljeniKorisnik { get; set; }
public object Object{ get; ... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Dnn.PersonaBar.Library.DTO.Tabs
{
public enum NodeCheckedState
{
Checked = 0,
UnChecked = 1,
Partial = 2
}
}... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Methods
{
public static float Angle(Vector2 start, Vector2 end)
{
float angel = (float)Vector2.Angle(start, end);
angel = (float)angel / 180f * (float)Mathf.PI;
return angel;
}
public static int GetDirection(... |
using System;
using Core.Entities;
namespace Entities.Concrete
{
public class UserImage:IEntity
{
public int Id { get; set; }
public int UserId { get; set; }
public string ImagePath { get; set; }
public DateTime CreateDate { get; set; }
}
} |
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using Web.Identity;
using Web.Models;
namespace Web.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
: base("DefaultConnection", throwIfV1Schema: false)
... |
// Rotator(とHinge)の回転を制御するクラスJointUtil
// xxxxxxxx 既知の不具合 xxxxxxxx
// HingeJoint.angleはジョイントをカプラで傾けているとおかしくなる
// ワールド北向きを0°として|カプラで傾けた角度|*2で半周する謎スケールで
// angleの値に侵食してくる
// その際拾う値はカプラの傾き:ワールド角度の対応でX:方角,Y:ピッチ角,Z:方角
// ただしZ軸のときのみ正負方向の符号の違いもなくなる
using System;
using System.Collections.Generic;
using UnityEngine... |
using System;
namespace DistanceTask
{
public static class DistanceTask
{
// Расстояние от точки (x, y) до отрезка AB с координатами A(ax, ay), B(bx, by)
public static double GetDistanceToSegment(double ax, double ay, double bx, double by, double x, double y)
{
double r1 = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
/// <summary>
/// Class representing production with features such as probability, guard and parameters.
/// </summary>
[Serializable]
public class Production
{
[UnityEngine.SerializeField]
private... |
using UnityEngine;
using System.Collections;
public class ImpactReceiver : MonoBehaviour {
private CharacterController character;
// Use this for initialization
void Start () {
character = GetComponent<CharacterController>();
}
// Update is called once per frame
void Update (){
}
// void OnController... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_SpriteMeshType : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.SpriteMeshType");
LuaObject.addMember(l, 0, "FullRect");
LuaObject.addMember(l, 1, "Tight");
LuaDLL.lua_pop(l, 1);
}
}
|
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Generation;
using OmniSharp.Extensions.LanguageServer.P... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
[SerializeField][Range (0, 1)] float speed; //走るスピード
[SerializeField] GameObject[] Rails; //レール Targetが子についたオブジェクト 左から順番にアタッチ
[SerializeField] GameObject[] PlayerInternal;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CarRental.Models
{
public class CarModel
{
public int Id { get; set; }
public string GovernmentPlate { get; set; }
public BrandModel Brand { get; set; }
public int YearOfRelease { get... |
using Crt.Data.Database;
using Crt.Data.Repositories;
using Crt.Domain.Services.Base;
using Crt.Model;
using Crt.Model.Dtos.Note;
using Crt.Model.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Crt.Domain.Services
{
public interface INoteService
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
public class MenuPause : MonoBehaviour
{
public float vignetteIntensityAdded = 0.2f;
public float timeScaleMin = 0.1f;
public float timeScaleSpeed = 0.1f;
public GameObject MenuPa... |
namespace CloneDeploy_Entities.DTOs.FormData
{
public class OriginalLVM
{
public string clientHd { get; set; }
public string hdToGet { get; set; }
public string partitionPrefix { get; set; }
public string profileId { get; set; }
}
} |
namespace StringBuilderExtensions
{
using System;
using System.Text;
/// <summary>
/// Implement an extension method Substring(int index, int length) for the class StringBuilder that returns new StringBuilder
/// and has the same functionality as Substring in the class String.
/// </s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using System.Data.Linq;
namespace BUS
{
public class t_dmtaikhoan
{
KetNoiDBDataContext db = new KetNoiDBDataContext();
public void moi(string matk, string tentk, str... |
namespace Xander.PasswordValidator.TestSuite.TestValidationHandlers
{
public class TestCustomData
{
public bool ShouldPassValidation { get; set; }
}
public class TestCustomDataHandler : CustomValidationHandler<TestCustomData>
{
public override bool Validate(string password)
{
return Custom... |
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.SqlServer;
namespace WebStore
{
public class MyConfiguration : DbConfiguration
{
public MyConfiguration()
{
SetTransactionHandler(SqlProviderServices.ProviderInvariantName, () ... |
using CurrencyExchange.Common;
using FluentScheduler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Hosting;
namespace CurrencyExchange.Repository
{
public class FetchAndSaveRates : Registry
{
RateRepository rateRep... |
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Mentors.Models;
using Microsoft.EntityFrameworkCore;
using Mentors.Models.DTO;
using Mentors.BussinesLogic;
using Mentors.Models.View;
using System.Collections.Generic;
using System;
namespace Mentors.Controllers
{
public class HomeController : Controller
... |
using System;
using UnityEngine;
using UnityEngine.VR;
namespace RenderHeads.Media.AVProVideo.Demos
{
public class SphereDemo : MonoBehaviour
{
private float _spinX;
private float _spinY;
private void Start()
{
if (VRDevice.get_isPresent())
{
return;
}
if (SystemInfo.get_supportsGyroscope()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.