text stringlengths 13 6.01M |
|---|
/*
Copyright (c) 2011-2012, HL7, Inc.
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 above copyright notice, this
list of conditi... |
using NUnit.Framework;
using WorkLog.Controllers;
using WorkLog.Models;
using WorkLog.Repositories;
namespace WorkLog.Test.UnitTests.ControllersTests
{
public class TimeClockControllerTest
{
[Test]
public void GetTimeClock_CallRepositoryGetAll()
{
//arrange
var ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace IPC2Proyecto
{
public partial class Registro : System.Web.UI.Page
{
//localhost.Usuario u = new IPC2Proyecto.localhost.Usuario();
protected void ... |
namespace ApartmentApps.Portal.Controllers
{
public interface IServiceQueryVariableProvider
{
object GetVariable(string name);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using Mvc3ToolsUpdateWeb_Default.Models;
using MvcMusicStore.Models;
namespace Mvc3ToolsUpdateWeb_Default.Controllers
{
public class AccountController : C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FairyGUI;
public class ChessInfoUIPanel : GUIBase
{
private Dictionary<ChessEntity, GComponent> m_infos = new Dictionary<ChessEntity, GComponent>();
protected override void OnStart()
{
base.OnStart();
UIPackage.AddPackage("Ch... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Xml.Serialization;
using System.Net.Http.Headers;
using System.IO;
using System.Net.Http;
using ShutterflyStatusPost.mapi;
namespace ShutterflyStatusPost
{
class StatusCommunication
{
public void PostData(LabStatus status, ... |
using System.Collections.Generic;
using UnityEngine;
public class Localization : SingletonMonoBehaviour<Localization>
{
Dictionary<string, string> _localizedText = new Dictionary<string, string>();
protected override void Awake()
{
base.Awake();
DontDestroyOnLoad(this);
LoadLoca... |
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 FXB.DataManager;
using FXB.Data;
using FXB.Common;
namespace FXB.Dialog
{
public partial class... |
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Core.User.Domain.Services
{
public class IUserDetailServiceTests : CoreTest
{
[Theory]
[InlineData(2)]
[InlineD... |
using System;
namespace Microsoft.UnifiedPlatform.Service.Common.Telemetry
{
public class MessageContext : LogContext
{
public string Message { get; set; }
public MessageContext() : base() { }
public MessageContext(string message, TraceLevel severityLevel, string correlationId, strin... |
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.Data.SqlClient;
using System.Configuration;
using System.Text;
using System.IO;
using Spock.Davcna;
using System.Threading;
using mr.bBall_Lib;
pub... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual;
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sy... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Management;
namespace Graphs.Utilities
{
public class PerformanceDataProvider
{
private static ManagementObject _processor;
private List<PerformanceData> _peeks;
private Stopwatch ... |
using System;
using System.Collections.Generic;
using System.Linq;
class ABC124A{
public static void Main(){
var ab = Console.ReadLine().Split().Select(int.Parse);
if(ab.ElementAt(0)+ab.ElementAt(1)>ab.Max()*2-1){
Console.WriteLine(ab.ElementAt(0)+ab.ElementAt(1));
return;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using GrubTime.Middleware;
using GrubTime.Models;
using Microsoft.AspNetCore.Authorization;
using System.Net.Http;
using System.IO;
using System.Text;
using N... |
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using BepInEx;
using BepInEx.Configuration;
using Newtonsoft.Json;
using RadialUI;
using Bounce.Unmanaged;
using HarmonyLib;
using LordAshes;
using MoreSizesPlugin.Patches;
using RadialUI.Extensions;
namespace MoreSizesPlugin
{
public ... |
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Leprechaun.InputProviders.Sitecore")]
[assembly: AssemblyDescription("")]
[assembly: InternalsVisibleTo("Leprechaun.InputProviders.Sitecore.Tests")] |
using AutoMapper;
using XH.Commands.Hazards;
using XH.Domain.Hazards;
using XH.Infrastructure.Mapper;
namespace XH.Command.Handlers.Configs
{
public class HazardsMapperRegistrar : IAutoMapperRegistrar
{
public void Register(IMapperConfigurationExpression cfg)
{
cfg.CreateMap<Create... |
using ApartmentApps.Data;
namespace ApartmentApps.Api
{
public interface IMaintenanceRequestCheckinEvent
{
void MaintenanceRequestCheckin( MaintenanceRequestCheckin maitenanceRequest, MaitenanceRequest request);
}
public interface IMaintenanceRequestAssignedEvent
{
void Maintenance... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using Data;
using Display;
using IO;
using SFB;
namespace DesktopInterface
{
public class DesktopProfiler : IButtonScrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GangOfFourDesignPatterns.Creational.FactoryMethod
{
/// <summary>
/// Product interface
/// </summary>
public interface IProduct
{
void Drive(int miles);
}
}
|
using jaytwo.Common.Extensions;
using jaytwo.Common.Parse;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace jaytwo.Common.Test.Parse
{
[TestFixture]
public partial class ParseUtilityTests
{
private static IEnumerable<TestCaseData> Par... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace test1_task3.Test
{
[TestClass]
public class ValidatorOfAutomobileParametersTests
{
[TestMethod]
public void IsValidWithCorrectTypeSedanOfAutomobilePositive()
{
Assert.IsTrue(new ValidatorOfAutomobileParameter... |
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.Windows.Forms.DataVisualization.Charting;
using System.Data.SqlClient;
using System.Drawing.D... |
using BusinessLayer.Interfaces;
using DALLayer.DataRepository;
using DomainModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessLayer
{
public class CategoryBL : ICategoryBL
{
private readonly ICategoryDAL categoryDAL;
public CategoryBL(ICategoryDAL catD... |
using System;
using System.Collections.Generic;
namespace SpaceHosting.Index.Sparnn.Distances
{
internal interface IMatrixMetricSearchSpaceFactory
{
IMatrixMetricSearchSpace<TElement> Create<TElement>(IList<MathNet.Numerics.LinearAlgebra.Double.SparseVector> featureVectors, TElement[] elements, int sea... |
using UnityEditor;
using UnityAtoms.Editor;
using UnityEngine;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Variable Inspector of type `GameObject`. Inherits from `AtomVariableEditor`
/// </summary>
[CustomEditor(typeof(GameObjectVariable))]
public sealed class GameObjectVariableEditor... |
using UnityEngine;
using UnityEngine.Events;
namespace Action
{
/// <summary>
/// Action delay time.
/// </summary>
public class ActionDelay : ActionBase
{
ActionDelay(
float duration,
UnityAction callback
) : base(null, duration, callback)
{
}
public static ActionDelay Create(
float durati... |
using System;
using System.Collections.Generic;
using Embraer_Backend.Models;
using Microsoft.Extensions.Configuration;
namespace Embraer_Backend.Models
{
public class DateDiferenceModel
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(SecagensModel));
p... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameManager : MonoBehaviour {
public const int RESOULUTION_WIDTH = 1280;
public const int RESOULUTION_HEIGHT = 720;
public const float WAITING_TIME = 1.0f;
public const float SUCCESS_ACCURACY = 60.0f;
publ... |
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Uintra.Core.Member.Helpers;
using Uintra.Core.Member.Models;
using Umbraco.Core.Services;
using Umbraco.Web.WebApi;
namespace Uintra.Core.User.Web
{
public abstract class UserApiControllerBase : UmbracoAuthorizedApiController
{
... |
using System.Linq;
using UcenikShuffle.Common;
using UcenikShuffle.Common.Exceptions;
using Xunit;
namespace UcenikShuffle.UnitTests.CommonTests
{
public class LvCombinationCountCalculatorTests
{
//TODO: check once again if expected variable for all cases is correct
//TODO: test what happens to GetCombinationCo... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems.AdventOfCode.Y2019 {
public class Problem20 : AdventOfCodeBase {
private List<Dictionary<int, Dictionary<int, Node>>> _grid;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AddServiceASP_core21.Models;
namespace AddServiceASP_core21.Services.Scoped
{
public class ItemScopedService : IScoped
{
Product product;
int count = 0;
public ItemScopedService()
... |
using System.Collections.Generic;
using CupcakePCL.BL;
using CupcakePCL.DL.SQLiteBase;
namespace CupcakePCL.DL
{
public class IdeaRepository
{
CupcakeDatabase db = null;
protected static string dbLocation;
public IdeaRepository(SQLiteConnection conn, string dbLocation)
{
... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using Syst... |
using QuizApp.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace QuizApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChooseDetailQuizPage : ContentPage
{
public ChooseDetailQuizPage()
{
InitializeComponent();
va... |
using goPlayApi.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace goPlayApi
{
public class GoPlayDBContext:DbContext
{
public GoPlayDBContext(DbContextOptions<GoPlayDBContext> options):base(options)
... |
using UnityEngine;
using System.Collections;
using DG.Tweening;
public class Fire : MonoBehaviour
{
private Material _myMaterial;
private int _times;
private Vector2[] _offset_List =
{
new Vector2(0, 0) ,new Vector2(0.25f, 0),
new Vector2(0.5f, 0),new Vector2(0.75f, 0)
};
// Us... |
using System;
using System.Collections.Generic;
using System.Linq;
using MarkPad.Document;
using MarkPad.Services.Interfaces;
namespace MarkPad.MarkPadExtensions.SpellCheck
{
public class SpellCheckExtension : IDocumentViewExtension
{
public string Name { get { return "Spell check"; } }
readonly IS... |
using UnityEngine;
public static class MethodExtensions
{
public static void ClampCoordinates(this Vector3 target, float minimumValue, float maximumValue)
{
target.x = Mathf.Clamp(target.x, minimumValue, maximumValue);
target.y = Mathf.Clamp(target.y, minimumValue, maximumVal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IPTables.Net.NfTables.Modules.Nat
{
class NfSnatActionOp
{
}
}
|
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Get duration (in ms) of media descriptor object item.
/// </summary>
[LibVlcFunction("libvlc_media_get_duration")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal ... |
namespace gView.Framework.Symbology
{
public interface ISymbolRotation
{
float Rotation { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using EBS.Infrastructure;
using EBS.Infrastructure.Task;
using Dapper.DBContext;
using System.Reflection;
using Autofac;
using EBS.Infrastructure.Log;
namespace EBS.AutoTask
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using HHY.Models;
using HHY.Models;
using System.IO;
using static Microsoft.AspNetCore.Http.StatusCodes;
using ... |
using gView.Framework.IO;
using gView.Framework.system;
using gView.Framework.UI;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace gView.Framework.Metadata
{
[gView.Framework.system.RegisterPlugIn("32C9CDB8-5A2D-4fc1-87AD-2AE960D1E31A")]
public class GeneralMetadata : IMetadataPro... |
using LineOperator2.Models;
using LineOperator2.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using SQLite;
namespace LineOperator2.ViewModels
{
public class Job
{
[SQLite.PrimaryKey, SQLite.AutoIncrement]
public int ID { get... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
namespace Proyecto
{
public partial class Auto : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartObjects
{
/// <summary>
/// Перечень типов оплат
/// </summary>
public enum PayTypeInfo
{
[EnumDescription("Нет значения")]
None = 0,
[EnumDescription("ОПЛАТА НАЛ")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using MonoGame.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input... |
namespace EventFeed.Producer.Clicks
{
public interface IClickService
{
void RegisterClick();
}
} |
using System.Collections.Generic;
using UserService.Model;
using UserService.Repository;
namespace UserService.Service
{
public class SpecialtyService : ISpecialtyService
{
private readonly ISpecialtyRepository _specialtyRepository;
public SpecialtyService(ISpecialtyRepository specialtyReposi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DChild.Gameplay.Player.Equipments;
using DChild.Gameplay;
public class WeaponPickUp : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.tag == "Player")
{
... |
using System;
using System.Collections.Generic;
using Fingo.Auth.DbAccess.Models;
namespace Fingo.Auth.DbAccess.Context
{
public class AuthServerContextSeeder
{
public static void Seed(AuthServerContext context)
{
SeedUsers(context);
SeedProjects(context);
}
... |
using UnityEngine;
using System.Collections;
public class Items : Scenario {
private GameObject[] other;
private int lay = 2;
private bool isVisible = true;
private bool clickOt = false;
private float time2 = -10f;
private int togo = 5;
public int Lay {
get {
return this.lay;
}
set {
lay = value;... |
using DataStructure.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
namespace DataStructure.Models
{
public class PlayList : BaseModel
{
public string PlayListName { get; set; }
public User User { get; set; }
public List<Song> Songs { get; set; }
}... |
[System.Serializable]
public class CountryCodeModel {
//public string as;
public string city;
public string country;
public string countryCode;
public string isp;
public float lat;
public float lon;
public string org;
public string query;
public string region;
public string ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RoadSimLib
{
public interface IInstance
{
IMap Map
{
get;
}
IDeck Deck
{
get;
}
}
}
|
using System;
namespace Ricky.Infrastructure.Core
{
public interface ILog
{
void Error(object message, Exception exception = null, Type type = null);
void Info(object message, Exception exception = null, Type type = null);
}
}
|
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SmartSchool.API.Models;
using System.Collections.Generic;
using System.Linq;
namespace SmartSchool.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AlunoController : ControllerBase
{
public List<Aluno> Aluno... |
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyKeibaDemo
{
class CHtmlResolver
{
public static RaceInfo GetRaceInfo(HtmlDocument htmldoc)
{
HtmlNode div = htmldoc.DocumentNode.SelectSingleNode("//html//div[@... |
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler.DepartmentManage
{
/// <summary>
/// View 的摘要说明
/// </summary>
public class View : IHttpHandler... |
using System.Web.Mvc;
using System.IO;
using System.Drawing;
using BarCode.Helpers;
using BarcodeLib;
using System.Drawing.Imaging;
namespace BarCode.Controllers
{
public class BarCodeController : Controller
{
public ActionResult Index()
{
return View();
}
public A... |
using System.Collections.Generic;
using NHibernate;
using NHibernate.Transform;
using Profiling2.Domain.Contracts.Queries.Procs;
using Profiling2.Domain.Prf.Persons;
using SharpArch.NHibernate;
namespace Profiling2.Infrastructure.Queries.Procs
{
public class PersonChangeActivityQuery : NHibernateQuery, IPersonCha... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RTreeCodeApproach
{
class Program
{
static void Main(string[] args)
{
var search = new Search();
search.SearchWithINN();
... |
using Newtonsoft.Json;
using ProjectGrace.Logic.Business;
using ProjectGrace.Logic.Business.Business_Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace ProjectGrace.Logic.API.Controllers
{
... |
using Puppeteer.Core;
using Puppeteer.Core.Configuration;
using Puppeteer.Core.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UIElements;
namespace Puppeteer.UI
{
internal class ArchetypeView : PuppeteerView
{
public ... |
/****************************************************
文件:Parallax.cs
作者:Sam
邮箱: 403117224@qq.com
日期:2020/02/04 0:26
功能:摄像机Y轴锁定
*****************************************************/
using UnityEngine;
public class Parallax : MonoBehaviour
{
public Transform Cam;
public float moveRate;
private f... |
using System;
using FoodPricer.Core.Order.Beverage;
using FoodPricer.Core.Order.Dessert;
using FoodPricer.Core.Order.Meal;
using FoodPricer.Core.Order.MealPlan;
using FoodPricer.Core.Order.MealPlan.Service;
using FoodPricer.Core.Order.Offer.Discount.Service;
namespace FoodPricer.Core.Order
{
public class Order
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace mvvm.Utils
{
class RelayCommand : ICommand
{
Action execute = ExecuteMethod;
Func<bool> executable = CanExecuteMethod;
static void ... |
using CPClient.Domain.Entities;
using CPClient.Data.Interfaces;
using CPClient.Infra.Data.Context;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CPClient.Infra.Data.Repository
{
public class EnderecoTipoRepository : BaseReposito... |
namespace KRFTemplateApi.Domain.CQRS.Sample.Command
{
using KRFCommon.CQRS.Command;
public class SampleCommandOutput : ICommandResponse
{
public string Result { get; set; }
}
}
|
using FirstFollowParser;
using System;
using System.Collections.Generic;
using System.Text;
namespace LL1Parser
{
class Parser
{
public static List<Derivations> output = new List<Derivations>();
public static List<Derivations> parser(GrammarParser grammar, List<String> input)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdomOffice.Interface.BackOffice.MasterData
{
public class Country
{
public string Id { get; set; }
public int CountryId { get; set; }
public string CountryName ... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewModdingAPI.Utilities;
using StardewValley;
namespace TimeNotifier
{
class ModEntry : Mod
{
private Models.TimeConfig Config { get; set; }
private... |
using Common.Attributes;
using MODEL.ActionModel;
using MODEL.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ShengUI.Helper
{
public class SysAction
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Framework.Data
{
partial class DbWrapperHelper
{
interface IWrappedDb
{
/*
/// <summary>真正的實體</summary>
object WrapInstance { get; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task4
{
class Program
{
static void Main(string[] args)
{
Console.CursorVisible = false;
int n;
Console.Write("Введите число элемент... |
using UnityEngine;
using System.Collections;
public class SpriteManager : MonoBehaviour {
public enum Direction { Up, Down, Left, Right };
int spriteIndex = 0;
public Sprite[] front;
public Sprite[] back;
public Sprite[] left;
public Sprite[] right;
Sprite[] currentArray;
// Use this for initialization
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace HTyoLippumestari
{
public partial class register : System.Web.UI.Page
{
private string hashedpasswd;
protected void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_Attachment", "id")]
public class B_OA_Attachment : QueryInfo
{
[DataField("id", "B_OA_Atta... |
using UnityEngine;
using System.Collections;
public class AutoScroll: MonoBehaviour
{
public enum ScrollDirection
{
Up = 0,
Down,
Left,
Right
}
public ScrollDirection direction = ScrollDirection.Up;
public float speed = 1;
public float delay = 1... |
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Swashbuckle.Swagger.Annotations;
using XH.APIs.WebAPI.Models.Assets;
using XH.Infrastructure.Storage;
using XH.Infrastructure.Web.Storage;
namespace XH.APIs.WebAPI.Controllers
{
[R... |
namespace Entoarox.AdvancedLocationLoader.Configs
{
internal class Tile : TileInfo
{
/*********
** Accessors
*********/
public int? Interval;
public string LayerId;
public string SheetId;
public int? TileIndex;
public int[] TileIndexes;
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace server.Controllers
{
[Route("api/[controller]")]
public class HealthCheckController : Controller
{
[HttpGet("[action]")]
public bool IsAlive()
{... |
using Model.Manager;
using System.Collections.Generic;
namespace Backend.Repository.RenovationPeriodRepository
{
public interface IRenovationPeriodRepository
{
List<RenovationPeriod> GetAllRenovationPeriod();
RenovationPeriod GetRenovationPeriodByRoomNumber(int roomNumber);
void Update... |
// File Prologue
// Name: Darren Moody
// Class: CS 1400 Section 005
// Project: Project 03
// Date: 9/29/2013
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheating, and that I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class NPC : Actor
{
public NPCManager _statScreenManager;
public Vector3 _target;
[SerializeField]
private GameObject _player;
[SerializeField]
private NavMeshAgent _agent;
[Seri... |
using System;
namespace _04._Baverage_labels
{
class Program
{
static void Main(string[] args)
{
string product = Console.ReadLine();
int volume = int.Parse(Console.ReadLine());
int energy = int.Parse(Console.ReadLine());
int sugar = int.Parse(Co... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RestSharp;
using service.Models;
namespace service.... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("AzureFunctions.Contrib.SignalR.Test")]
|
using UnityEngine;
using UnityEngine.EventSystems;
public class Queue : MonoBehaviour
{
[SerializeField] private Tip tip;
[SerializeField] private DragDetector dragDetector;
/// <summary>
/// dragに対してキューの移動速度を制御するための係数
/// </summary>
readonly private float speedCofficient = 1f;... |
using NewsProject.Client.Helpers;
using NewsProject.Shared.DataTransferObjects;
using NewsProject.Shared.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NewsProject.Client.Repository
{
public class NewsRepository : INewsRepository
{
pr... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using MultiUserBlock.Common.Enums;
namespace MultiUserBlock.DB
{
public class Role
{
public int RoleId { get; set; }
public UserRoleType UserRoleType { get; set; }... |
using System.Collections.Generic;
namespace SOLIDPrinciples.ISP.Example1.Good
{
public interface ITributavel
{
List<Item> ItensASeremTributados();
}
}
|
using UnityEngine;
using System.Collections;
public class Fuel : MonoBehaviour {
public float reactivateTime;
PlayerStates playerState;
void OnTriggerEnter2D(Collider2D col){
if (col.tag == "Player")
{
Refill(col.gameObject);
}
}
void Refill(GameObject col)
{... |
using System.Web.Mvc;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class HtmlEditorController : DemoController {
public ActionResult CustomCss() {
return DemoView("CustomCss");
}
public ActionResult CustomCssPartial() {
return PartialView... |
using System;
using System.Linq;
using Tomelt.ContentManagement.MetaData;
using Tomelt.Core.Common.Models;
using Tomelt.Core.Contents.Extensions;
using Tomelt.Data;
using Tomelt.Data.Migration;
namespace Tomelt.Core.Common {
public class Migrations : DataMigrationImpl {
private readonly IRepository<Identi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.