text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem06 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2017: 6"; }
}
public override string GetAnswer()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using Fireasy.Common.Extensions;
using System.Collections;
#if !NET35
using System.Dynamic;
using Fireasy.Common.Dynamic;
#endif
using System.Drawing;
using System.Data;
using Fireasy.Common.Reflection;
using System... |
using System;
using System.Linq;
using System.Xml;
using System.Reflection;
using System.Collections.Generic;
namespace Logs
{
[AttributeUsage(AttributeTargets.Field)]
public class DescripProp : Attribute
{
public string Description;
private readonly string name;
public DescripProp(string name)
{
this.... |
using Rocket.API.Collections;
using Rocket.Core.Logging;
using Rocket.Core.Plugins;
using Rocket.Unturned.Chat;
using SDG.Unturned;
using System;
namespace MassAirdrop
{
public class PluginMassAirdrop : RocketPlugin<MassAirdropConfiguration>
{
public static PluginMassAirdrop Instance;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExplosionParticlesDestroy : MonoBehaviour {
[SerializeField] float timeToDestroy = 1f;
public IEnumerator ExplosionParticlesVFXDestroyer()
{
yield return new WaitForSeconds(timeToDestroy);
Des... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace RestApiWithDapper.Models
{
public class Employee
{
[Key]
public int EmployeeId { get; set; }
[Required]
public string FirstNam... |
using LagoVista.Core.Attributes;
using LagoVista.UserAdmin.Models;
using LagoVista.UserAdmin.Models.Resources;
using LagoVista.UserAdmin.Resources;
namespace LagoVista.UserAdmin.ViewModels.Organization
{
[EntityDescription(Domains.OrganizationViewModels, UserAdminResources.Names.InviteUserVM_Title, UserAdminResou... |
using System.Linq;
using StarBastardCore.Website.Code.Game.Gameworld.Geography.Buildings;
namespace StarBastardCore.Website.Code.Game.Gameplay.Actions
{
public class Build : GameActionBase
{
public string DestinationPlanetId
{
get { return Item<string>("DestinationPlanetId"); }
... |
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI.WebControls;
using System.Net;
using CIPMSBC;
public partial class Home : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// There... |
//
// --------------------------------------------------------------------------
// Gurux Ltd
//
//
//
// Filename: $HeadURL: svn://utopia/projects/GXDeviceEditor/Development/AddIns/DLMS/GXManufacturerDevice.cs $
//
// Version: $Revision: 870 $,
// $Date: 2009-09-29 17:21:48 +... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using IdomOffice.Interface.BackOffice.MasterData;
using IdomOffice.Interface.BackOffice.PriceLists;
namespace V50_IDOMBackOffice.AspxArea.Helper
{
public class DataManager
{
public static List<Data> GetPets()
... |
using Controller.ExaminationAndPatientCard;
using Model.Secretary;
using Model.Users;
using ProjekatZdravoKorporacija.ModelDTO;
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.D... |
using System;
using ServiceDesk.Infrastructure;
using ServiceDesk.Ticketing.Domain.TicketAggregate;
namespace ServiceDesk.Ticketing.Domain.UserAggregate
{
public class User : AggregateRoot
{
internal UserState State { get; set; }
public Guid Id
{
get { return State.Id; }
... |
using System.Collections.Generic;
namespace CustomersExample
{
public class Customer
{
public string Name { get; set; }
public string Family { get; set; }
}
public class CustomerNameComparer : IEqualityComparer<Customer>
{
public bool Equals(Customer customer1, Customer c... |
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.Timers;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net;
using System.Threading;
using System.IO;... |
using Library.Appenders.Contracts;
using Library.Loggers.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace Library.Loggers
{
public class Logger : ILogger
{
private IAppender consoleAppender;
private IAppender fileAppender;
public Logger(IAppender... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CateringWebAPI.Models.Result
{
public class E_WorkingHours: E_Response
{
public List<E_WorkingHoursInfo> content { get; set; }
}
} |
/*
SelOption Control represents an option in the Option Group control
*/
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Com.Colin.Win.Customized
{
/// <summary>
/// SelOption control represents an option of the OptionGroup Control
/// </summary>
[DefaultProperty("Va... |
using System;
using System.Collections.Generic;
using System.Globalization;
using Infrastructure.Translations;
using NUnit.Framework;
using Tests.Utils.TestFixtures;
namespace Tests.Unit.Infrastructure.Translations
{
class TranslationServiceTests : BaseTestFixture
{
[Test]
public void CanTrans... |
/***********************************************************************
* Module: Anamnesis.cs
* Author: Dragana Carapic
* Purpose: Definition of the Class Doctor.Anamnesis
***********************************************************************/
using Backend.Model.PerformingExamination;
using Model.Manager;
us... |
using Agenda.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Agenda
{
internal class PersonModel
{
public PersonModel(Person person)
{
Id = person.Id;
Name =
}
... |
using SecureNetRestApiSDK.Api.Models;
using SNET.Core;
namespace SecureNetRestApiSDK.Api.Requests
{
/// <summary>
/// Request class used for issuing a transaction.
/// </summary>
public class CaptureRequest : SecureNetRequest
{
#region Properties
/// <summary>
/// Amount t... |
using System;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types;
using SFA.DAS.ProviderCommitments.Interfaces;
namespace SFA.DAS.ProviderCommitments.Web.Services.Cache
{
public class ChangeEmployerCacheItem : ICacheModel
{
public Guid Key { get; }
public Guid CacheKey => Key;
... |
using GraphicalEditor.Constants;
using GraphicalEditor.Enumerations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
namespace GraphicalEdi... |
using UnityEngine;
public class BuffData : MonoBehaviour
{
[SerializeField] private CardManager CardManager = null;
private CardStatus CreateCardStatus(CardLanes cardLanes)
{
return CardManager.BoardList[cardLanes.X, cardLanes.Y].GetComponent<CardStatus>(); ;
}
public void InfernalBuff(C... |
using RockPaperScissors.Basics;
namespace RockPaperScissors.Strategies
{
public class RandomStrategy : IRPSStrategy
{
public Sign Throw()
{
return (Sign)IRPSStrategy._random.Next(3);
}
}
}
|
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApp9CronScheduledBackgroudService.Server.BGService.CronExtension;
using WebApp9CronScheduledBackgroudService.Server.AppDBContext;
namespace WebApp9CronScheduledBackgroudServic... |
using System.Collections.Generic;
namespace AzureAI.CallCenterTalksAnalysis.Infrastructure.DTOs
{
internal class AudioVideoAnalysisResult
{
public SummarizedInsights summarizedInsights { get; set; }
}
internal class SummarizedInsights
{
public IList<Keyword> keywords { get; set; }... |
using System;
using NUnit.Framework;
[TestFixture]
class EntpTests25
{
[Test]
public void GetByPositionThrowException()
{
IEnterprise enterprise = new Enterprise();
Employee employee = new Employee("pesho", "123", 777, Position.Hr, DateTime.Now);
Employee employee1 = new Employee("... |
using System;
namespace Stringconversion
{
class stringconv
{
public static void Main(String []args)
{
int i = 5;
double k = 123123.23123;
long p = 242.23;
float a = 123.452f;
bool b = true;
string asd= "Asheleo... |
/*
* Created by SharpDevelop.
* User: admin
* Date: 07.07.2012
* Time: 0:48
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
namespace sudoku
{
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class timer : MonoBehaviour
{
public float timeStart = 0;
public Text textBox;
void Start()
{
textBox.text = timeStart.ToString();
}
// Update is called once per frame
void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MVCnetcore.Models
{
public class UserLogInModel
{
public int Id { get; set; }
public string Email { get; set; }
public string Name { get; set; }
public string Password... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Reflection;
using Excel = Microsoft.Office.Interop.Excel;
using FXB.Dialog;
namespace FXB.Common
{
public class ExcelUtil
{
public static void Exp... |
namespace ResolveUR.Library
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Xml;
using static System.String;
public class ProjectReferencesResolveUR : IResolveUR
{
const string Includ... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class RoomInformation : MonoBehaviour {
public Transform target;
private Transform touchObject,
textObject;
Text roomNameText;
Image touchImage;
RectTransform roomNameTransform,
touchIconTransform,
canva... |
namespace Dixin.Diagnostics
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Management;
using Dixin.Common;
using Dixin.Management;
using Tutorial;
public static partial class ProcessHelper
{
public static int ... |
namespace SnowDAL.Searching
{
public class QueryPager : IQueryPaging
{
public int Skip { get; set; }
public int Take { get; set; }
}
}
|
using ISE.Framework.Common.Aspects;
using ISE.SM.Bussiness;
using ISE.SM.Common.Contract;
using ISE.SM.Common.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
namespace ISE.SM.Service
{
[Intercept]
[ServiceBehavior(InstanceContextMode = Inst... |
using System;
using System.ComponentModel;
using Xamarin.Forms;
using Student.Models;
using Student.ViewModels;
namespace Student.Views
{
// Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https://aka.ms/xamarinforms-previewer
[DesignTimeVisible(true)]
public ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using DataLayer;
using MetroRent.Models;
using System.IO;
using MetroRent.Extensions;
using BusinessLogic;
namespace MetroRent.Controllers
{
pub... |
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.InputSystem;
[RequireComponent(typeof(Explodable))]
public class ExplodeOnClick : MonoBehaviour {
private Explodable _explodable;
void Start()
{
_explodable = GetComponent<Explodable>();
//Invoke(nameof(OnMouseDown),10f);
}
pr... |
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 Calculadora
{
public partial class Form1 : Form
{
String operaca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoGameDependencyInjectionDemo
{
class Sword : IWeapon
{
public Sword(string swordName)
{
SwordName = swordName;
}
public string SwordNam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Classes
{
class EighthClass
{
static private int num = 0;
static public void IncreaseNum()
{
Console.WriteLine(num);
num++;
} ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using V50_IDOMBackOffice.AspxArea.BookingTemplate.Models;
using V50_IDOMBackOffice.AspxArea.BookingTemplate.Repositorys;
namespace V50_IDOMBackOffice.AspxArea.BookingTemplate.Controllers
{
public class StatusDataDocumentControll... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
namespace DistCWebSite.Core.Interfaces
{
public interface ISFEDistributorRepository
{
int Add(M_SFEDistributor dist);
int Update(M_SFEDistributo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GradConnect.Models
{
public class CV
{
[Key]
public int Id { get; set; }
public string CvName { get; set; }
public string Fi... |
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 Автошкола
{
public partial class AddEditCarriersStatusesForm : Form
{
public A... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OptionsController : MonoBehaviour
{
public Dropdown mapSizeDropdown;
public Slider volume;
public Slider mouseSensitivity;
public Dropdown resolutionDropdown;
public Slider screenBrightness;
Optio... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Aranda.Users.BackEnd.Models;
namespace Aranda.Users.BackEnd.Repositories.Definition
{
public interface IUserRepository
{
User GetUser(string userName, string password);
IEnumerable<User> GetAll(Func<User, bool... |
using Microsoft.Extensions.Logging;
namespace Shared
{
public class Logger
{
private static readonly ILoggerFactory loggerFactory = LoggerFactory.Create(builder => _ = builder.AddConsole().SetMinimumLevel(LogLevel.Trace));
public static void Log()
{
loggerFactory.CreateLog... |
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Hyprsoft.Dns.Monitor.Providers
{
public interface IDnsProvider
{
Task CheckForChangesAsync(string[] domainNames, CancellationToken cancellationToken);
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BusinessLayer
{
public class FundingSourceCategoryObject
{
public int FundingCategoryId { get; set; }
public string FundingSource { get; set; }
public string FundingSourceCategory { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GPUIntanceTest01 : MonoBehaviour {
public Transform prefab;
public int instancesNumber = 5000;
public float instrancesRadius = 50f;
private void Start() {
for(int i = 0; i < instancesNumber; i ++) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DATN_Hoa_Yambi.Models
{
/// <summary>
/// Lớp này viết ra để trả ra sức chịu tải của mình.
///
/// </summary>
public class ketquasucchiutai
{
public double Pvl { get; set; }
public doub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LocusNew.Core.ViewModels
{
public class HomeGlobalSettingsViewModel
{
public int CityPart1Id { get; set; }
public string CityPart1Name { get; set; }
public int CityPart1ListingsNumber { get; ... |
using MobileCollector.model;
using System;
namespace MobileCollector
{
internal static class Extensions
{
internal static string toText(this System.IO.Stream stream)
{
var mstream = new System.IO.MemoryStream();
stream.CopyTo(mstream);
var bytes = ... |
using Quantum;
using Quantum.Operations;
using System;
using System.Numerics;
using System.Collections.Generic;
namespace QuantumConsole
{
public class QuantumTest
{
public static void Main()
{
QuantumComputer comp = QuantumComputer.GetInstance();
Register x = comp.NewRegister(0, 2);
x.Hadamard(1);
... |
using System.Collections.Generic;
using System;
using com.Sconit.Entity.SI.SD_ORD;
namespace com.Sconit.Service.SI
{
public interface ISD_OrderMgr
{
Entity.SI.SD_ORD.OrderMaster GetOrderByOrderNoAndExtNo(string orderNo, bool includeDetail);
Entity.SI.SD_ORD.OrderMaster GetOrder(string orderNo,... |
using EngineLibrary.Graphics;
using EngineLibrary.Scripts;
using GameLibrary.Components;
using GameLibrary.Scripts.Game;
using SoundLibrary;
namespace GameLibrary.Scripts.Bonuses
{
/// <summary>
/// Класс бонуса, дающего стрелы игроку
/// </summary>
public class StandartArrowBonus : Script
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PabloSr_Patrick_Movement : MonoBehaviour
{
public int speed = 3;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace BridgeProject
{
public struct ContractStruct
{
public ContractStruct(int q, CardTrump t, bool c, bool rc)
... |
using CreditasChallenge.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CreditasChallenge.Helpers.Tests
{
[TestClass]
public class GuardianTest
{
[TestMethod... |
using System.Collections.Generic;
using Problem1.Domain;
namespace Problem1.Application
{
public class TripCardService : ITripCardService
{
private readonly IEqualityComparer<string> _tripCardStringComparer;
public TripCardService(IEqualityComparer<string> tripCardStringComparer)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FocusStart_TeskTask_Java_.Net_
{
public class IncreaseNumberComparer : ICompare
{
public bool isNotCorrectOrder(string line1, string line2)
{
return Convert... |
using SMG.Common.Algebra;
using SMG.Common.Exceptions;
using SMG.Common.Gates;
using SMG.Common.Transitions;
using SMG.Common.Types;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace SMG.Common.Conditions
{
/// <summary>
///... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Modulschool.BusinessLogic;
using Modulschool.Models;
namespace Modulschool.Controllers
{
[Route("api/animals")]
public class AnimalsController: ControllerBase
{
private readonly GetAnimalsInfoRequestHandler _getAnimalsInfoRequest... |
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 System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PartController : MonoBehaviour {
public Coordinate CurrentPos = new Coordinate();
public Coordinate InitPos = new Coordinate();
public ComponentType type;
public void SetPos(int _x , int _y)
{
Cur... |
using System;
using GatewayEDI.Logging;
using GatewayEDI.Logging.Formatters;
namespace RealtimeLoggingFacade
{
/// <summary>
/// An implementation of the <see cref="ILog"/> interface which logs messages via the log4net framework.
/// </summary>
public class Log4netLog : FormattableLogBase
{
... |
using System.Collections.Generic;
namespace Algorithms.Lib.Interfaces
{
public interface IGraph : IOrgraph
{
IReadOnlyCollection<IEdge> Edges { get; }
void RemoveEdge(IEdge edge);
}
} |
namespace Fingo.Auth.Domain.Users.Interfaces
{
public interface IActivateByActivationToken
{
void Invoke(string activationToken);
}
} |
namespace Pentagon.Extensions.Localization.Interfaces {
using JetBrains.Annotations;
public interface ICultureContextWriter
{
void SetLanguage([NotNull] string uiCulture, string culture = null);
}
} |
using System;
using System.Collections.Generic;
/// <summary>
/// Separa classes de uma forma em que elas possam ser chamadas de forma recursiva.
/// Classes devem ser possível de serem dispostas em formato de tree.
/// </summary>
public sealed class Composite : IDesingPattern
{
public void RunPattern()
{
... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using DojoSurvey.Models;
namespace DojoSurvey.Controllers
{
public class SurveyController : Controller
{
[HttpGet("")]
public IActionResult Index()
{
return View(... |
using System.Collections.Generic;
using System.Linq;
using Conditions;
using Conditions.Guards;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
namespace Properties.Core.Services
{
public class PostcodeAreaService : IPostcodeAreaService
{
private readonly IPostcodeAreaRepository _post... |
using Reactive.Flowable.Test;
using Reactive.Flowable;
using System;
using Reactive.Flowable.Flowable;
using System.Collections.Concurrent;
using System.Threading;
namespace AddToObservable
{
class Program
{
public static class NonBlockingConsole
{
private static BlockingCollection... |
using System;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.ServiceProcess;
using log4net;
namespace NumberToWordsService.WCF
{
public partial class Service : ServiceBase
{
private ServiceHost serviceHost;
private ILog logger;
public Service()
... |
using System;
/*
builder: phenixiii
build time: 2017-06-04 10:04:01
notes:
*/
namespace Phenix.Test.使用指南._17._3
{
/// <summary>
///
/// </summary>
[System.Serializable]
[System.ComponentModel.DisplayName("")]
[Phenix.Core.Mapping.ReadOnly]
public class UserRoleReadOnly : UserRole<Use... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
namespace Breeze.Helpers
{
public static class BezierHelper
{
public static Vector2[] GetBezierApproximation(Vector2[] controlPoints, int outputSegmentCoun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BookApiProject.Models;
namespace BookApiProject.Services
{
public class CategoryRepository : ICategoryRepository
{
private BookDbContext _categoryContext;
public CategoryRepository(BookDbCont... |
using System.Collections.Generic;
namespace Delegates
{
class Program
{
static void Main(string[] args)
{
var pic = new Photo();
var processor = new PhotoProcessor(
new PhotoFilters(
new List<IEffect>() { new BrightnessEffect(), new C... |
using UnityEngine;
using System.Collections;
public class ClimberController : MonoBehaviour {
private GameController gc;
public Player player1;
public Player player2;
public GameObject mainCamera;
public float scrollSpeed;
public int time;
private bool onlyOnce;
private int gameOverState;
void Start (... |
using UnityEngine;
using System.Collections.Generic;
using IsoTools;
using UnityEngine.UI;
namespace Caapora {
public class Inventory : MonoBehaviour {
private static List<GameObject> itemList = new List<GameObject>();
private static Inventory _instance;
void Start () {
_instance ... |
namespace Application.Utilities
{
using Common;
using Common.Utilities;
using Data.Services;
using SimpleMVC.Controllers;
using User = Models.User;
public static class ControllerHelper
{
public static void SetupNavAndHome(this Controller controller, bool isAuthenticated)
{
... |
using OpenAccessRuntime.common;
using OpenAccessRuntime.util;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.OpenAccess.Metadata;
using Telerik.OpenAccess.Metadata.Relational;
namespace Sparda.Core.Generation.... |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: Lab 24
// Date: 12/03/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 will ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MyDictionary
{
class MyDictionary<K,V>
{
K[] _array;
V[] _array2;
K[] _tempArray;
V[] _tempArray2;
public MyDictionary()
{
_array = new K[0];//Newlenmiş dizide eleman sayıs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BE;
using PL.Models;
using PL.Views;
using System.ComponentModel;
using System.Windows;
namespace PL.ViewModel
{
public class ProfileBarIceCreamVM : INotifyPropertyChanged
{
publi... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WeddingPlanner.Models
{
public class Wedding
{
[Key]
public int WeddingId { get; set; }
[Required]
public string Groom { get; set; }
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Net;
using SpringHackApi.Models;
using AeroORMFramework;
using Newtonsoft.Json;
usin... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
public class LevelUpEffect : MonoBehaviour
{
private static LevelUpEffect _instance;
public static LevelUpEffect Instance
{
get
{
return _instance;
}
}
private List... |
using Alabo.App.Share.OpenTasks.Domain.Enum;
namespace Alabo.App.Share.OpenTasks.Base
{
/// <summary>
/// 封底规则
/// </summary>
public class LimitRule
{
/// <summary>
/// 封顶方式
/// </summary>
public LimitType LimitType { get; set; } = LimitType.None;
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace aoc2016.day02
{
public class Solution
{
public static void Run()
{
string[] input = System.IO.File.ReadAllLines("day02.txt");
// Part 1
Keypad keypad1... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(FieldOfView))]
public class PlayerEntity : MonoBehaviour {
private Rigidbody2D rb;
private FieldOfView fov;
private Vector2 moveVelocity;
private float las... |
public class MinStack {
private Stack<int> st1;
private Stack<int> st2;
public MinStack() {
st1 = new Stack<int>();
st2 = new Stack<int>();
}
public void Push(int val) {
st1.Push(val);
if (st2.Count == 0 || st2.Peek() >= val) st2.Push(val);
}
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerStickyLook : MonoBehaviour {
public Transform PlayerBody;
public float MouseSensitivity;
private void Update () {
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using gView.Framework.Network.Algorthm;
using gView.Framework.system;
using gView.Framework.UI;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gV... |
using AzureAI.CallCenterTalksAnalysis.Core.Model;
using System.Threading.Tasks;
namespace AzureAI.CallCenterTalksAnalysis.Core.Services.Interfaces
{
public interface IFileProcessingService
{
Task<FileAnalysisResult> AnalyzeFileContentAsync(InputFileData inputFileData);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.