text stringlengths 13 6.01M |
|---|
using System;
using UnityEngine;
using UnityEngine.UI;
namespace _Internal
{
public class ToggleAnimator : MonoBehaviour
{
private float f;
private Toggle toggle;
public Image Icon, Circle;
public Color backgroundColor, white, dark, transparent;
private void Awake()
... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace C9Native
{
/// <summary>
/// RAII get information on all display monitors that this system knows about.
/// </summary>
// ReSharper disable once UnusedMember... |
namespace HotelReservationSystem.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class rmfacilties1 : DbMigration
{
public override void Up()
{
RenameTable(name: "dbo.RoomFacilty", newName: "RoomFacility");
}
public... |
using System;
using UnityEngine;
using UnityEngine.UI;
public class UnlockedAbilityDisplay : MonoBehaviour
{
public void Init(Sprite sprite, Action onClick)
{
var image = GetComponent<Image>();
image.sprite = sprite;
var button = GetComponent<Button>();
button.onClick.RemoveA... |
using System;
using System.Collections;
using System.Linq;
namespace Print_Even_Numbers
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine()
.Split()
.Select(x => int.Parse(x));
var queue = new Queue();
... |
using OpenQA.Selenium;
using Com.Test.SamuelOkunusi.Settings;
namespace Com.Test.SamuelOkunusi.ComponentHelpers
{
public class NavigationHelper
{
public static readonly string ChromeSettingsURL = ObjectRepository.Config.ChromeSettingsUrl;
public static void NavigateToUrl(string URL... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
public class SubtitleBehaviour : PlayableBehaviour
{
//public Subtitles subtitle;
public string text;
public override void ProcessFrame(Playable playable, FrameData info, object playerData)
{
... |
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.PlayerLoop;
public class WolfMoving : StateMachineBehaviour
{
Sheep target;
Wolf_StateVars wolf_vars;
Wolf wolf;
bool triggered;
bool waypoint_set;
/**... |
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 System.Reflection;
using System.IO;
using System.Configuration;
using System.Threading;
using DevExpress.XtraEditor... |
using DatVentas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VentasD1002
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThrea... |
namespace Rhino.Mocks.Tests.FieldsProblem
{
using Xunit;
/// <summary>
/// Problem discussed in google forum.
/// </summary>
/// <remarks>
/// See https://groups.google.com/d/topic/rhinomocks/tMAbfs2qBec/discussion.
/// </remarks>
public class FieldProblem_Honggoff
{
/// <summary>
/// Only a... |
using System.Collections.Generic;
namespace CouponMerchant.Models.ViewModel
{
public class MerchantsListViewModel
{
public List<Merchant> Merchants { get; set; }
public PagingInfo PagingInfo { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using PROnline.Models.Users;
using System.Web.Mvc;
namespace PROnline.Models.Notices
{
//公告类型
public class NoticeType
{
//公告类型ID
public Guid Notic... |
using Newtonsoft.Json;
using Rebalance.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace Rebalance.Services
{
public class StockService : IStockService
{
private readonly IStockRepository stockRepository;
public StockS... |
namespace Zesty.Core.Entities
{
public class ApiResourceHistoryOutput
{
public ApiResourceHistoryPolicy ResourceHistoryPolicy { get; set; }
public HistoryItem Item { get; set; }
}
} |
using DashBoard.Business;
using DashBoard.Business.CustomExceptions;
using DashBoard.Business.DTOs.Users;
using DashBoard.Business.Services;
using DashBoard.Web.Helpers;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Ta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio15
{
class TriangulosRectangulos
{
static void Main(string[] args)
{
{
const char C = '*';
int A = 6;
... |
using Xamarin.Forms;
namespace XamJam.Nav.Root
{
public class RootDestination<TViewModel> : PageDestination<RootScheme>
{
public RootDestination(RootScheme navScheme, TViewModel viewModel, View view) : base(navScheme, viewModel, view)
{
}
public RootDestination(RootScheme navSc... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Coldairarrow.Entity.Sto_ProManage
{
/// <summary>
/// Pro_ProjectMateriel
/// </summary>
[Table("Pro_ProjectMateriel")]
public class Pro_ProjectMateriel
{
/// <summa... |
using System;
using System.Collections.Generic;
using System.Text;
namespace uk.andyjohnson.ImageBulkRenamer
{
public class RenameItem
{
public string InputImageFileName { get; set; }
public DateTime InputImageExifTimestamp { get; set; }
public DateTime InputImageFileCreatonTimestamp {... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace API.Model
{
[Table("Technologie")]
public class Technologie
{
[Key]
... |
namespace m_tools.Models
{
public enum Base64CodeType
{
Encode = 0,
Decode = 1
}
public class Base64RawData<T>
{
public Base64CodeType Type { get; set; }
public T RawData { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using ZendeskSell.Models;
namespace ZendeskSell.Contacts
{
public class ContactRequest
{
public ContactRequest()
{
Tags = new string[] { };
Address = ShippingAddress = BillingAddress = new Address();... |
using System;
using Plugin.Settings;
using Plugin.Settings.Abstractions;
namespace LorikeetMApp.Helpers
{
public static class Settings
{
private static ISettings AppSettings => CrossSettings.Current;
public static bool IsInitialized
{
get => AppSettings.GetValueOrDefault(nameof(IsInit... |
using gView.Framework.Carto;
using gView.Framework.Globalisation;
using gView.Framework.system;
using gView.Framework.UI;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Plugins.MapTools
{
[RegisterPlugInAttribute("F4F7F60D-B560-4233-96F7-89012FD856A8")]
public class RefreshMap : ITo... |
using LightBoxRectSubForm.comm;
using LightBoxRectSubForm.dll;
using System;
using System.Windows;
namespace LightBoxRectSubForm {
/// <summary>
/// WidTest.xaml 的交互逻辑
/// </summary>
public partial class WidTest : Window {
public WidTest() {
InitializeComponent();
... |
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;... |
namespace Yaringa.Models.Token {
public class TokenInfo {
public long UserId { get; set; }
}
}
|
using ecommerce.DAO;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ecommerce.ecommerceClasses
{
class ClientDAO : clientInterface
{
public Client GetClient(string code)
... |
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 Les7Exercise1
{
public partial class FWF_Udvoitel : Form
{
public FWF_Udvoitel... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PinkStorm : MonoBehaviour
{
public Vector3 rotSpeed;
public float followSpeed;
public GameObject player;
public float waitTime;
public float colliderTime;
bool colliderEnabled;
// Start is called b... |
using log4net.Config;
using Abhs.App_Start;
using Abhs.Application.IService;
using Abhs.Application.Service;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
using System.Web.Http;
using Syste... |
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using pluralsight_bot.Models;
using System;
namespace pluralsight_bot.Services
{
// Info : 03.01 - Create a State Service (Bot State Class - UserState)
// Info : 03.02 - Create a class <StateService> (UserState, StateProperty, StatePropertyAccessor)
... |
using System;
using Crossroads.Web.Common.MinistryPlatform;
using Newtonsoft.Json;
namespace MinistryPlatform.Translation.Models.DTO
{
[MpRestApiTable(Name = "Participants")]
public class MpParticipantDto
{
[JsonProperty(PropertyName = "Event_Participant_ID")]
public int EventParticipantId... |
using RomashkaBase.ViewModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace RomashkaBase.Model
{
public class ContractStatus : BasePropertyChanged
{
[Key]
public string Status { get; set; }
public List<Company>... |
using UnityEngine;
using System.Collections;
//背景
public class BackGround : MonoBehaviour {
private MainCamera mainCamera;
private Renderer _renderer;
private GameObject obj_camera = null;
private Vector3 offset = Vector3.zero;
// Use this for initialization
void Start () {
mainCamera = GameObject.Find("MainC... |
using System;
using System.Collections.Generic;
using Lecture06.BlogPosts.EntityFramework.Domain;
namespace Lecture06.BlogPosts.EntityFramework.Repositories
{
public interface IBlogPostRepository
{
IEnumerable<BlogPost> GetBlogPosts();
void AddBlogPost(String title, IEnumerable<String> authors... |
using University.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using University.Service.Interface;
using University.Repository.Interface;
namespace University.Service
{
public class UserTestService: IUserTestService
{
pr... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Justa.Job.Backend.Api.Application.MediatR.Requests;
using Justa.Job.Backend.Api.Application.Services.DataValidation.Interfaces;
using Justa.Job.Backend.Api.Application.Services.DataValidation.Models;
using Microsoft.AspNetCore.Mvc;
namespace Jus... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
namespace QLNhaTro
{
class Data
{
public SqlConnection GetConnection()
{
return new SqlConnection(@"Data Source=DESKTO... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using System.Security.Claims;
using Microsoft.Extensions.Logging;
usin... |
using Microsoft.Win32.SafeHandles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace PEImageDebugSampleLib {
internal static class NativeMethods {
[return: MarshalAs(UnmanagedType.Bool)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebUI.Data.Abstract;
using WebUI.Entity;
namespace WebUI.Controllers
{
public class SocialSettingController : Controller
{
private ISocialRepository _socialRepository;... |
namespace Ofl.Atlassian.Jira.V3
{
public class Status
{
public bool Resolved { get; set; }
public Icon? Icon { get; set; }
}
}
|
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.Globalisation;
using gView.Framework.UI;
using gView.Framework.UI.Controls.Filter;
using gView.Framework.UI.Dialogs;
using gView.Framework.UI.Events;
using System.Collections.Generic;
using System.Threading.Ta... |
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using ShopBridgeWeb.Helpers;
using ShopBridgeWeb.Pages;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Integer.Domain.Agenda.Exceptions
{
public class EventoParoquialExistenteException : Exception
{
private readonly IEnumerable<Evento> eventosParoquiais;
public EventoParoquialExistenteException(IEnu... |
using System.Collections.Generic;
namespace DealOrNoDeal.Data.Rounds
{
/// <summary>
/// Holds the cases to open for each round
///
/// Author: Alex DeCesare
/// Version: 03-September-2021
/// </summary>
public static class CasesToOpenForEachRound
{
/// <summary>
/// Ho... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ifelseextra
{
class Program
{
static void Main(string[] args)
{
atividade3();
Console.ReadKey();
#region Atividade
voi... |
using _7DRL_2021.Behaviors;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionAlignGrid : IActionHasOrigin, ITickable
{
public bool Done => Time.Done;
pub... |
using PhotonInMaze.Common.Flow;
using PhotonInMaze.Provider;
using UnityEngine;
namespace PhotonInMaze.Photon {
internal partial class PhotonAnimationController : FlowUpdateBehaviour {
private PhotonAnimationManager animationManager;
public override void OnInit() {
Animator animator ... |
using gView.Framework.Data;
using gView.Framework.IO;
using gView.Framework.UI;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace gView.Cmd.MxlInfo
{
internal class Program
{
private static async Task<int> Main(string[] args)
{
try
{
... |
using AutoMapper;
using ReactClientVideoWithMVC_API.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ReactClientVideoWithMVC_API.Mappings
{
public class Mapp : Profile
{
public Mapp()
{
CreateMap<Category, Category>(... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class PlayerTransition : MonoBehaviour {
public GameObject[] Monkey; // Stores the two Monkeys
public Text leftActive; // Text that shows left Monkey is in use
public Text rightActive; // Text that shows right Monkey is in use
public Text... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Question1
{
class Program
{
static void Main(string[] args)
{
char[] _splitCharacter = { ' ' };
... |
using Assistenza.BufDalsi.Data.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Assistenza.BufDalsi.Web.Models.GenericoViewModels
{
public class InsertGenericoViewModel
{
public InsertGeneric... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace HelperClassAll
{
class HelperClass
{
public class SessionClass
{
public static object SessionVoid()
... |
using DSG东莞路测客户端;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 电磁信息云服务CSharp
{
class BMap: WebBrowser
{
private string url = "http://123.207.31.37:8082/baidumap.html";
public string... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.AI;
namespace RPG.SceneManagement
{
public class Portal : MonoBehaviour
{
enum DestinationIdentifiers
{
A,B,C
}
[Serializ... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(NoiseVisualizer))]
public class NoiseVisualizerEditor : Editor
{
public override void OnInspectorGUI ()
{
if(GUILayout.Button("Generate")) {
(target as NoiseVisualizer).Generate ();
}
if (DrawDefaultInspector ()) {
(target as NoiseVisualizer).Ge... |
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using CodeMonkey.Utils;
public class UI_Inventory : MonoBehaviour{
public Inventory inventory;
private Transform itemSlotContainer;
private Transform itemSlotTemplate;
private PlayerMovement player;
pri... |
using System;
using System.Web.UI;
using BLL.DLib;
public partial class Controls_Library_LibraryInput : System.Web.UI.Page
{
#region vars
public int LibID
{
get { return Request["LibID"] == "" ? 0 : Convert.ToInt32(Request["LibID"]); }
}
#endregion
protected void Page_Load(object sende... |
using System;
using Microsoft.HealthVault.ItemTypes;
namespace HealthVault.Sample.Xamarin.Core.ViewModels
{
public static class DataTypeFormatter
{
public static DateTime EmptyDate { get; } = new DateTime(1900, 1, 1);
public static string ApproximateDateTimeToString(ApproximateDateTime medicat... |
using StardewValley;
namespace Entoarox.Framework.Interface
{
internal interface IItemContainer
{
/*********
** Accessors
*********/
Item CurrentItem { get; set; }
bool IsGhostSlot { get; }
/*********
** Methods
*********/
bool AcceptsIte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HW_4C_Farm_Part_2
{
class Pig
{
private string animalName;
public Pig() => Console.WriteLine("The pig's name was not provided");
public Pig(string name)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraStart : MonoBehaviour
{
void Start()
{
CameraController.instance.SetMiddle(transform.position);
}
}
|
using Chess.v4.Engine.Interfaces;
using EngineTests.Models;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EngineTests.Tests.EngineTests
{
[TestClass]
public class CoordinateTests : TestBase
{
private readonly IAttackService _attackSer... |
// <copyright file="TurnBasedEventHandlers.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2020 Firoozeh Technology LTD. 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 t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Description résumée de TypeFinitionRepository
/// </summary>
public class TypeFinitionRepository
{
public TypeFinitionRepository()
{
//
// TODO: Add constructor logic here
//
}
... |
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Adapter;
using MQTTnet.Client;
using MQTTnet.Client.Connecting;
using MQTTnet.Client.Options;
using MQTTnet.Formatter;
using MQTTnet.Protocol;
namespace MQTTnet.Tests.Server
{
[TestClass]
public sealed class Server... |
using System.Collections.Generic;
using Assets.Scripts.Models.ResourceObjects;
namespace Assets.Scripts.Models.Common
{
public class GardenBedStone : BaseObject, IPlacement
{
public string PrefabTemplatePath { get; set; }
public string PrefabPath { get; set; }
public GardenBedStone()
... |
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Prf.Persons
{
public class AdminPersonImportType : Entity
{
public virtual string AdminPersonImportTypeName { get; set; }
public virtual bool Archive { get; set; }
public virtual string Notes { get; set; }
public ... |
using System.Collections.Generic;
using DealOrNoDeal.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DealOrNoDeal.Tests.GameManagerTests
{
[TestClass]
public class TestRemoveBriefcaseFromPlay
{
[TestMethod]
public void ShouldNotRemoveBriefcaseIfBriefcaseIsNotPresentIn... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;
using System.Threading;
using KartObjects.Entities.Documents;
namespace AxisEq
{
public class SRP:SoftwarePrinter
{
protected SerialPort sp; //com порт для связи
//protected SRPCommand cmd;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DPYM;
namespace DPYM_DEBUG
{
public class AboutRayCastAndCollider2D : MonoBehaviour
{
/*
* 1、Rigidbody2D + Collider2D + Physics2D + RayCastHit2D 完成操作
* 3D的有3D的版本,2D的有2D的版本,必须对应
* 2、在进行Des... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
public class CombatManager : MonoBehaviour
{
public int lenght;
public List<GameObject> partyHeroes = new List<GameObject>();
public List<List<GameObject>> enemies = ne... |
namespace DM7_PPLUS_Integration.Daten
{
public readonly struct Datenstand
{
public readonly ulong Value;
public Datenstand(ulong value)
{
Value = value;
}
public string Serialisiert()
{
return Value.ToString();
}
public ... |
using Ricky.Infrastructure.Core.Configuration;
namespace VnStyle.Services.Business.Settings
{
public class AppSetting : ISetting
{
public string ApplicationName { get; set; }
public string HomepageContact1 { get; set; }
public string HomepageContact2 { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ILogging
{
public interface ILogger
{
#region Debug
/// <summary>
/// Logs a debug message.
/// </summary>
/// <param name="message">Th... |
using System.Collections.Generic;
using StardewModdingAPI;
namespace Entoarox.Framework.Core.Utilities
{
internal class DictionaryAssetInfo<TKey, TValue>
{
/*********
** Accessors
*********/
public IContentHelper ContentHelper { get; }
public IDictionary<TKey, TValue> Da... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Linq;
using DelftTools.Utils;
using DelftTools.Utils.Collections;
using DelftTools.Utils.Data;
using log4net;
namespace DelftTools.Functions
{
[Serializable]
public class MultiDimensionalArray : Unique<long>, IMultiDimensionalArr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.Data.SqlClient;
namespace ExscelOpenSQL
{
class DataGridSetting
{
/// <summary>
/// ввод данных в б... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuRotation : MonoBehaviour
{
public float tiltAroundX, tiltAroundY, tiltAroundZ;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Up... |
namespace Tutorial.LinqToSql
{
using System.Data.Linq;
using System.Diagnostics;
using System.Linq;
internal static class Tracking
{
internal static void EntitiesFromSameDataContext()
{
using (AdventureWorks adventureWorks = new AdventureWorks())
{
... |
namespace Command
{
public class RemoveProductCommand : ICommand
{
private readonly Product _product;
private readonly InvoiceService _invoiceService;
private readonly InventoryService _inventoryService;
public RemoveProductCommand(Product product, InvoiceService invoiceService,... |
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.Numerics;
namespace CryptographyTemplate
{
public partial class SchnorrForm : Form
{
private DomainParame... |
using System;
using ClassLibrary1.Fundamentals;
using NUnit.Framework;
namespace ClassLibrary1.UnitTests
{
[TestFixture]
public class DemeritPointsCalculatorTests
{
private DemeritPointsCalculator _calculator;
[SetUp]
public void SetUp()
{
_calculator = new Deme... |
namespace VnStyle.Web.Infrastructure
{
public static class ApplicationSettings
{
public const string ImageStoragePath = "contents/uploads/images";
public const string VideoStoragePath = "contents/uploads/videos";
public const string EditorStoragePath = "contents/uploads/editor";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public string m_LevelToLoad;
public SceneFader m_SceneFader;
public void PlayLevel()
{
m_SceneFader.FadeTo(m_LevelToLoad);
}
public void QuitLevel()
{
... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
namespace SpaceHosting.Index.Benchmarks
{
public class AllStatisticsColumnAttribute : ColumnConfigBaseAttribute
{
public AllStatisticsColumnAttribute()
: base(
StatisticColumn.Mean,
StatisticCol... |
using LinqKit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using WxShop.DBManager.EF;
using WxShop.Model;
using WxShop.Service.Interface;
namespace WxShop.Service
{
public class WxShopService : IWxShopService
{
private read... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Newtonsoft.Json;
namespace SFA.DAS.ProviderCommitments.Web.Extensions
{
public static class ITempDataDictionaryExtensions
{
public static readonly string FlashMessageTempDataKey = "FlashMessage";
public static... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Meshop.Framework.Model;
using Meshop.Framework.Module;
using Meshop.Framework.Services;
namespace Meshop.Core.Areas.Admin.Controllers
{
[Menu(Name = "Settings")]
pub... |
using System;
using System.Collections;
using UnityEngine;
//*************************************************************************
//@header FlowMediator
//@abstract The mediator of flow in game.
//@discussion It is a father class.
//@author Felix Zhang
//@copyright Copyright (c) 2017-2018 FF... |
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Core.Domain.Interfaces.Repository.Common;
namespace ReactMusicStore.Core.Domain.Interfaces.Repository
{
public interface IOrderDetailRepository : IRepository<OrderDetail>
{
}
} |
using System;
using System.Collections.Generic;
using LightingBook.Tests.Api.Helper;
using TechTalk.SpecFlow;
using LightingBook.Test.Api.Common;
namespace LightingBook.Tests.Api.Steps
{
[Binding]
public class GuestTravellerCarBookingSteps
{
private ScenarioContext scenarioContext;
public... |
namespace OptionalTypes.JsonConverters.Tests.TestDtos
{
public class BoolDto
{
public Optional<bool> Value { get; set; }
}
} |
using NUnit.Framework;
namespace SudokuSolver.Unit.Tests
{
[TestFixture]
public class ValueSetupTests
{
[Test]
public void Should_add_prefilled_cell_value_to_grid()
{
var grid = new Grid();
const int value = 4;
const int row = 1;
const int col = 1;
grid.PutValue(row, col, value);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightTest : MonoBehaviour
{
public Light light;
public Color black;
public Color white;
void Update ()
{
light.color = Color.Lerp(white, black, Time.time * .02f);
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Score.Models;
using System.Collections.Generic;
using System.Linq;
namespace Score.Tests
{
[TestClass]
public class PointsTests
{
[TestMethod]
public void ScrabbleConstructor_SetsInstanceOfWord_Points()
{
Points newWord =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.