text stringlengths 13 6.01M |
|---|
namespace myBOOK.data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class DeleteOldTables : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Favourites", new[] { "Book_BookName", "Book_Author" }, "dbo.Books");
Dro... |
using System;
using DataAccessLibrary;
using Microsoft.EntityFrameworkCore;
namespace DataAccessLibrary
{
public class ApplicationContext : DbContext
{
public ApplicationContext(DbContextOptions<ApplicationContext> options) : base(options) { }
public DbSet<User> Users { get; set; }
pu... |
using Irony.Ast;
using Irony.Interpreter;
using Irony.Parsing;
namespace Bitbrains.AmmyParser
{
public partial class AstMixinDefinition
{
public override void Init(AstContext context, ParseTreeNode treeNode)
{
base.Init(context, treeNode);
AsString = GetType().Name;
... |
using UnityEngine;
using System.Collections;
public class MapData : MonoBehaviour {
public int rows;
public int columns;
public int monsterCount;
public int trapCount;
public Vector2[] entryTiles; //Q: How can I force these to be ints within range?
}
|
using System.Collections.Generic;
using System.Reflection;
using AutoTests.Framework.TestData;
using AutoTests.Framework.TestData.Entities;
using AutoTests.Framework.TestData.TestDataProviders.EmbeddedResourceProviders;
namespace AutoTests.Framework.Example.Resources.Providers
{
public class JsonResourceProvider ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;
namespace BooksWebAPI.Server.Models
{
[XmlRoot("catalog")]
public class CatalogEm
{
[XmlElement("book")]
public List<BookEm> Books { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Euler_Logic.Problems.AdventOfCode.Y2018 {
public class Problem17 : AdventOfCodeBase {
private Dictionary<int, Dictionary<int, enumNodeType>> _grid;
private int _highestY;
private int _lowestY;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Values : MonoBehaviour
{
private Button button;
public string status;
private TextManager textManager;
// Start is called before the first frame update
void Start()
{
tex... |
namespace NumericProblems.Problems
{
public static class ArrayExtension
{
public static unsafe bool IsEqual(this int[] x, int[] y)
{
if (x == null || y == null)
return false;
if (x.Length != y.Length)
return false;
var len = x.Length;
fixed (int* p1 = x, p2 = y)
{
var left = p1;
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using AgentR.Server;
using MediatR;
using Microsoft.AspNetCore.SignalR;
namespace IntegrationTests
{
public static class Extensions
{
public static IRequestHandler<TRequest, TResponse> CreateHandler<TRequest, TResponse>(this IHubConte... |
using EasySave.Helpers;
using EasySave.Helpers.Files;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace EasySave.Model.Job.Specialisation
{
/// <summary>
/// Create a mirror save from a source to a target folder.
/// </summary>
public class SaveMirrorJo... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Persistence;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Models;
namespace App
{
class Program
{
private static readonly CancellationTokenSource Cts = new();
s... |
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 MOTHER3;
using Extensions;
namespace MOTHER3Funland
{
public partial class frmLevelExpEditor : M3Form
{
... |
using EddiSpanshService;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Tests.Properties;
namespace UnitTests
{
// A mock rest client for the Spansh Service
internal class FakeSpanshRestClient : IS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using SSDAssignmentBOX.Models;
using System.ComponentModel.DataAnnot... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.CUST
{
public class ItemPropertySearchModel : SearchModelBase
{
public string RmItem { get; set; }
public string Flow { get; set; }
}
} |
using System;
using System.Linq;
using System.Management;
namespace WPFTemplet.Class
{
class CheckMotherBoardSerial
{
string[] AllowedMotherbordIDs = new string[]
{
"..CN1374089701IT.", /*My Home PC*/
"..CN1374085305DS.", /*My Company P... |
using Alabo.App.Share.HuDong.Domain.Enums;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... |
/*
* + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* == AUCTION MASTER ==
*
* Author: Henrique Fantini
* Contact: contact@henriquefantini.com
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* Auction Master is a software with ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MidTermAssignment1
{
class Program
{
static void Main(string[] args)
{
Bank ourBank = new Bank("Developer's bank", 5);
ourBank.AddAccount(ne... |
using UnityEngine;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Net;
using System;
public class MessageTranslator {
private static MemoryStream stream = new MemoryStream();
private static BinaryFormatter formatter = new BinaryFormatter();
private static Message message;
pub... |
namespace E7
{
public class Alfajor
{
string nombre;
int precio;
public int Precio { get => precio; }
string nombreDeLaEmpresa;
public Alfajor(string nombre, int precio, string nombreDeLaEmpresa)
{
this.nombre = nombre;
this.precio = preci... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;
namespace Ruzzle
{
public partial class RuzzleBoxControl : UserControl
{
... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GYOMU_CHECK
{
clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdapterExample_CleanCodeBoundaries.FileLogger
{
class FakeFileLogger : IFileLogger
{
public string FileName { get; set; }
public void InitFile(string filename)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character_Controller : FiniteStateMachine
{
Quaternion ogRotation;
// Start is called before the first frame update
void Awake()
{
ogRotation = transform.rotation;
}
// Update is called once p... |
using System;
using System.Linq;
using System.Globalization;
namespace AssetTracking_EF
{
class DatabaseMethods
{
AssetTrackorContext _assetTrackorContext = new AssetTrackorContext();
static void ColorConsole(TimeSpan assetLifeSpan)
{
//1005 is 2 years and 9 months = (365... |
namespace FiiiCoin.DTO
{
public class ListSinceBlockOM
{
public string LastBlock { get; set; }
public SinceBlock[] Transactions { get; set; }
}
public class SinceBlock
{
public string Account { get; set; }
public string Address { get; set; }
public string... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace DiosesModernos {
public class Grid : MonoBehaviour {
#region Properties
[Header ("Configuration")]
[SerializeField]
[Tooltip ("Number of columns (must be odd)")]
[Range (1, 12)]
... |
using Modulus2D.Input;
using System.Diagnostics;
using NLog;
using Modulus2D.Graphics;
using System;
using Modulus2D.Math;
namespace Modulus2D.Core
{
public class Game
{
private static Logger logger = LogManager.GetCurrentClassLogger();
// Current state
private State state;
/... |
using Xunit;
using ZKCloud.Datas.Sql.Queries.Builders.Conditions;
namespace ZKCloud.Test.Datas.Sql.Conditions
{
/// <summary>
/// Is Null查询条件测试
/// </summary>
public class IsNullConditionTest
{
/// <summary>
/// 获取条件
/// </summary>
[Fact]
public void... |
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
public class Amendment : Editor
{
[MenuItem("Tools/Amendment &Q")]
static void Change()
{
List<GameObject> shoulijian_List = new List<GameObject>();
GameObject[] selectedObjects = Selection.gameObjects;
foreach... |
using Bucket_Opdracht_Version2.DAL;
using Bucket_Opdracht_Version2.Interfaces;
using Bucket_Opdracht_Version2.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace Bucket_Opdracht_Version2.EventHandlers
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Newtonsoft.Json;
namespace Server_CS
{
internal class JsonWorker
{
/// <summary>
/// Файл для сохранения сообщений в виде json массива
/// </summary>
private const string Messages... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Empresa.Investimentos.Investimentos
{
public interface Investimento
{
double Calcula(double valor);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PistonTrap : MonoBehaviour
{
public Vector2 destination;
public float speed = 3;
public float backSpeed = 3;
public float waitTime = 1.5f;
private Vector2[] point = new Vector2[2]; // 0 - Start | 1 - En... |
using System.ComponentModel;
using DelftTools.Utils;
namespace DelftTools.Tests.Core.Mocks
{
public class ClassWithNameButNotINameable : INotifyPropertyChange
{
private string name;
public string Name
{
get { return name; }
set
{
name... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Com.Colin.Win.Customized
{
/// <summary>
/// Summary description for YaTabPage.
/// </summary>
[ToolboxItem(false)]
[Designer(typeof(YaTabPageDesigner))]
public class YaTabPage : ContainerControl
{
/// <summary>
/// Creates ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GridItem : BasePanel
{
Button Button_Eqp;
Button Button_eqpIntensify;
int level;
int atk;
int def;
int hp;
string eqpName;
string type;
str... |
namespace com.Sconit.WebService
{
using System.Collections.Generic;
using System.Web.Services;
using System.Web.Services.Protocols;
using com.Sconit.Entity;
using System;
using System.Xml.Serialization;
using System.Collections;
using com.Sconit.Service.SI;
[WebService(Namespace = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractsInterfaces
{
interface IMyInterfaceExc05
{
int Method01(char s);
}
interface IMyInterfaceExc051
{
char Method02(int n);
}
internal class ... |
namespace BikeDistributor.Interfaces.Services
{
public interface IReceiptContentService
{
string Generate(
int orderId,
string classForOrderLineContainer,
string classForOrderLine,
string classForSubTotalContainer,
string classForSubTotalLines);
}... |
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Java.Interop;
namespace Lollipop
{
[Activity(Label = "Lollipop", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
public class Slow : MonoBehaviour
{
public GameObject slow;
Controller controller;
//public Controller controller;
// Start is called before the first frame update
void Start()
{
slow = GameOb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BudgetApp.Domain.Entities
{
public class CreditEntry
{
[HiddenInput(DisplayValue=false)... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using Cs_Notas.Aplicacao.Interfaces;
using Cs_Notas.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace TexturePacker.Editor.Transformation
{
public class TextureImporterWrapper : IDisposable
{
private readonly TextureImporter _textureImporter;
private readonly string _path;
private readonly List<S... |
using NUnit.Framework;
using NUnit.Framework.Constraints;
using HomeWorkArrayList;
namespace HomeworkArrayList.Test
{
public class ArrayListTest
{
int[] array;
int[] array2;
ArrayList ArrayList;
[SetUp]
public void Setup()
{
array = new int[] { 1, 2... |
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.Runtime.InteropServices;
namespace UseFul.Forms.Welic
{
public partial class FormMensagem : Form
{
//Para... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace XH.APIs.WebAPI.Models.Assets
{
public class BlobInfoReponseModel
{
public string RelativeUrl { get; set; }
public string Url { get; set; }
public string Name { get; set; }
public s... |
using ReceptiAPI.Modeli;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ReceptiAPI.PristupPodacima.Interfejsi
{
public interface IRepozitorijum<T> where T : class
{
Task<List<T>> PronadjiSve(string poljeFiltera, string vrednostFiltera, bool filterirajDeoVrednos... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class GetItemObject : Photon.MonoBehaviour
{
float v;
float h;
private Vector3 velocity;
bool _isGet = false;
PhotonView ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyClassLibrary;
namespace Les3Exercise3
{
class Program
{
//Ронжин Л.
//3.*Описать класс дробей — рациональных чисел, являющихся отношением двух целых чисел.
//Пред... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
public class MainMenuManagement : MonoBehaviour
{
public GameObject loadPanel;
// When we hit play game, load the game.
public void PlayGame()
{
LoadingScreen.Instance.LoadScene("... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ApplicationCore.Entities
{
public class Basket :BaseEntity
{
public string BuyerId { get; set; }
public List<BasketItem> Items { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;
using System.Web.Security;
namespace ScoreSquid.Web.Authentication
{
public class PlayerIdentity : IIdentity
{
private FormsAuthenticationTicket ticket;
public Pl... |
namespace OpenApiLib.Json.Models
{
public class PendingOrderJson : AbstractJson
{
public long OrderId { get; set; }
public string SymbolName { get; set; }
public string OrderType { get; set; }
public string TradeSide { get; set; }
public double Price { get; set; }
public long Volume { get; set; }
pub... |
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.Build.Reporting;
using System;
using System.Diagnostics;
using System.IO;
// On Unity 2018.3.7f1, I had to set Scripting Runtime Version to
// .NET 4.0 Equivalent, and add a csc.rsp file as detailed here:
// https://f... |
using System;
using Seterlund.CodeGuard.Internals;
namespace Seterlund.CodeGuard
{
public static class IntegerValidatorExtensions
{
public static ValidatorBase<int> IsOdd(this ValidatorBase<int> validator)
{
if (!MathUtil.IsOdd(validator.Value))
{
valida... |
using System.Linq;
using System.Collections.Generic;
using System;
using System.Linq.Expressions;
namespace SchemaObjectMapper
{
public class FixedWidthSchema<T> : ISchema
{
public FixedWidthSchema()
{
this.Mappings = new List<BaseMapping>();
}
public void AddMappin... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Detego.API.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Characteristics",
... |
using UnityEngine;
using System.Collections;
public class GamePiece : MonoBehaviour {
Vector3 boundXZ;
public bool Stable = true;
public Rigidbody myRigidbody;
public bool whiteUp = true;
// Use this for initialization
void Start () {
myRigidbody = GetComponent<Rigidbody>();
boundXZ = new V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationController: MonoBehaviour
{
public float waitTime = 5.0f;
public float lerpSpeed = 1.0f;
public float slerpSpeed = 1.0f;
public float rotSpeed = 1.0f;
public RightArmController rig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Cimletezes
{
class Program
{
static int huszas = 0, tizes = 0, otezres = 0, ketezres = 0, ezres = 0, otszaz = 0, ketszaz = 0, szaz = 0, otven = 0, husz = 0, ti... |
using System;
using Quark.Conditions;
using Quark.Contexts;
using Quark.Effects;
using Quark.Utilities;
using UnityEngine;
namespace Quark.Buffs
{
public interface IBuff : IDisposable, Identifiable
{
/// <summary>
/// Life ratio of this buff.
/// </summary>
float LifeRatio { ge... |
using System;
using DevanshAssociate_API.DAL;
using DevanshAssociate_API.Models;
using System;
using System.Collections.Generic;
namespace DevanshAssociate_API.Services
{
public class CommonService: ICommonService
{
private CommonDal commonDataDAL;
public CommonService()
{
... |
using System;
using AutoMapper;
using EQS.AccessControl.Application.Interfaces;
using EQS.AccessControl.Application.ViewModels.Input;
using EQS.AccessControl.Application.ViewModels.Output;
using EQS.AccessControl.Application.ViewModels.Output.Base;
using EQS.AccessControl.Domain.Entities;
using EQS.AccessControl.Domai... |
namespace WebGallery.Data
{
public class HMessage
{
public const string ModeFolder = "Gallery from folder (F1)";
public static readonly string ModeLink = "Gallery from link (F2)\r\nSupport:";
public const string PathAccessFolder = "Browse for folder (F5)";
public const string Pa... |
using Crossroads.Web.Common.MinistryPlatform;
using FluentAssertions;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
namespace MinistryPlatform.Translation.Test.Repositories
{
public class EventRep... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Pathfinding;
public class StunZombie : MonoBehaviour
{
public AIDestinationSetter destinationSetter;
public PlayerDetection playerDetection;
public void Stunned(float stunTime)
{
StartCoroutine(StunnedZombi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace Pokemon_Internal_Blades_CSharp.Merchants
{
public class FenceMerchant : Merchant
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AxisEq;
using AxisEq.CustomerDisplays;
using AxisPosCore.EnvironmentObjects;
using KartObjects;
namespace AxisPosCore
{
/// <summary>
/// Управление дисплеем покупателя
/// </summary>
public class CustomerDispl... |
namespace P07PredicateForNames
{
using System;
using System.Linq;
public class PredicateForNames
{
public static void Main()
{
int length = int.Parse(Console.ReadLine());
Predicate<string> nameValidator = n => n.Length <= length;
Console.ReadLine()?
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WpfTechTalk;
namespace WpfTechTalkTest
{
[TestClass]
public class StackAndPopTest
{
private StackAndPop model;
[TestInitialize]
public void setup()
{
model = new StackAndPop();
}
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
namespace StrategyGame
{
public class Missile : IGameEffect
{
public Missile(Player enemy, Force enemyForce, double damage, bool isAccurate,Point from, Point to)
{
... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Caserraria.Projectiles
{
public class WarHornProj : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("War Horn"); //The English name of the projectile
}
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MS0001.engine
{
class Inning
{
private readonly bool[] bases;
public int Carreras { get; private set; }
public int Outs { get; private set; }
public boo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Cryptlex
{
public class ProductVersionFeatureFlag
{
public string Name;
public bool Enabled;
public string Data;
public ProductVersionFeatureFlag(string name, bool enabled, string da... |
using System;
namespace Lesson4._5
{
class Program
{
static void Main(string[] args)
{
string str1 = " Предложение один Теперь предложение два Предложение три";
Console.WriteLine(Sentence(str1));
Console.ReadLine();
}
static string Sen... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Rest;
using Newtonsoft.Json.Linq;
namespace ApartmentApps.Client.Models
{
publ... |
using System;
using ApartmentApps.Data.Repository;
using Newtonsoft.Json;
namespace ApartmentApps.Api.NewFolder1
{
public class EmailQueuer
{
private readonly IRepository<EmailQueueItem> _emailQueueItems;
public EmailQueuer(IRepository<EmailQueueItem> emailQueueItems )
{
_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace tiny42sh
{
static class Execution
{
static private int execute_command ( string [] cmd )
{
if (cmd.Length <= 0)
{
... |
using UnityEngine;
using System.Collections;
public class DropThroughOnDown : MonoBehaviour {
private bool playerOnObject = true; // Platform should initially be 'solid'
void Update () {
if (playerOnObject)
GetComponent<Collider2D>().isTrigger = Input.GetAxis("Vertical") < 0;
}
void OnTriggerE... |
using Library.Interfaces;
using Library.Model;
using Library.Serializers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LibraryTest
{
[TestClass]
public class OwnSerializerTests
{
private static readonly string FILENAME = "DataContextSerializedData.txt";
[TestMethod]
... |
// <copyright file="ActiveDirectoryDeleteResponse.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threa... |
using Alabo.Domains.Services;
using System.Collections.Generic;
namespace Alabo.Framework.Core.Admins.Services {
/// <summary>
/// 数据库操作服务
/// </summary>
public interface ICatalogService : IService {
/// <summary>
/// 数据库维护脚本
/// </summary>
void UpdateDatabase... |
using PhobiaX.Assets;
using PhobiaX.Graphics;
using PhobiaX.Physics;
using PhobiaX.SDL2;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhobiaX.Game.GameObjects
{
public class PlayerGameObject : AnimatedGameObject
{
private static int playerGameObjectCount = 0;
public int PlayerNu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BenefitDeduction.EmployeeBenefitDeduction
{
public abstract class BenefitDeductionDetailBase : IBenefitDeductionDetail
{
public decimal AnnualTotalCostGross { get; internal set; }
public decimal AnnualTotalCostNet { ... |
namespace MvcApp.Web.Views.Home
{
using System.IO;
using System.Text;
using SimpleMVC.Interfaces.Generic;
using ViewModels;
public class Signed : IRenderable<SignedViewModel>
{
public SignedViewModel Model { get; set; }
public string Render()
{
StringBuilde... |
using PagedList;
using ShopTT.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ShopTT.Controllers
{
public class ProductsController : Controller
{
ShopTTEntities _dbContext = new ShopTTEntities();
// GET: SanPham
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Media;
using System.Windows.Shapes;
namespace ManyFoodZ
{
[Serializable]
public class ArenaPos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyDev.Taobao
{
public class FieldAttribute : Attribute
{
public string FieldName { get; set; }
public FieldAttribute() { }
public FieldAttribute(string _fieldName) { FieldNa... |
using BP12.Collections;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Objects
{
public class PingPongSpike : MonoBehaviour
{
[SerializeField]
private GameObject m_obstacles;
[SerializeField]
[Range(0, 7)]
priva... |
// <copyright file="ActiveDirectoryController.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Admin.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AutoMapper;
using DashBoard.Business.DTOs.Domains;
using DashBoard.Business.Services;
using DashBoard.Data.Data;
using DashBoard.Data.Entities;
using DashBoard.Data.Enums;
using DashBoard.Web.Helpers;
using Microsoft.CodeA... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem13 : AdventOfCodeBase {
private Dictionary<int, Layer> _layers;
private List<Offset> _offsets;
public override string ProblemName {
get { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IslandProblem
{
public class Unit
{
public Unit() { }
public Unit(byte contents, Island island, int x, int y, double f, int g, List<Unit> neighbours)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP.Entities
{
[Table("Payments")]
public class... |
using Assets.Scripts.Ui;
using UnityEngine;
namespace Assets.Scripts.UI.Dialogs
{
public class OptionsDialog : View
{
public GameObject NewGameButton;
public GameObject SaveButton;
public GameObject CloseObject;
public GameObject MoveCarButton;
public GameObject MoveCar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using GDS.Entity;
using SqlSugar;
namespace GDS.Dal
{
public class ImplUsers : ImplDaoBase<Users>, IUsersDao<Users>
{
public List<Users> GetUsersByDepartI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.