text
stringlengths
13
6.01M
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; 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 CTCI.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity.EntityFramework; using Syst...
using System; namespace Petar.IFMO.sem_2.programming.lab_1 { class Book { public String name; public String author; public String annotation; public String ISBN; public String publicationDate; public Book(String name, String author, String annotation, ...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using StardewModdingAPI; using StardewModdingAPI.Events; using StardewModdingAPI.Utilities; using StardewValley.Tools; using StardewValley; using StardewValley.Menus; namespace MultitoolMod.Framework { public class PickaxeBlade : Picka...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace CRL { public partial class DBExtend { #region delete /// <summary> /// 按条件删除 /// </summary> /// <typeparam name="T"></typeparam> /// <p...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CanvasGroup))] public class PanelManager : MonoBehaviour { private Panel[] _panels; public Panel mainPanel; private Stack<Panel> openedPanels = new Stack<Panel>(); private Ca...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace ScriptableObjectFramework.Systems.ApplicationManager { [CreateAssetMenu(fileName = "NewApplicationManager", menuName = "Scriptable Objects/Systems/ApplicationManager")] public class ApplicationMa...
using System.Collections.Generic; using AtomosZ.Cubeshots.MusicCommander; using AtomosZ.Cubeshots.Waves; using AtomosZ.Cubeshots.WeaponSystems; using UnityEngine; namespace AtomosZ.Cubeshots.PlayerLibs { public class PlayerCube : MonoBehaviour, IShmupActor { private const int BASIC_BULLET_STORE_SIZE = 100; pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Otiport.API.Contract.Request.Medicines { public class AddMedicineRequest : RequestBase { public string Title { get; set; } public string Description { get; set; } } }
using System.Net; namespace Net.UdpServer { /// <summary> /// Default request context factory /// </summary> public class DefaultRequestContextFactory : IRequestContextFactory { /// <inheritdoc/> public RequestContext Create(IPEndPoint remote, byte[] payload, string contextId) ...
using System; using UnityEngine.Events; namespace UnityAtoms.BaseAtoms { /// <summary> /// None generic Unity Event of type `BoolPair`. Inherits from `UnityEvent&lt;BoolPair&gt;`. /// </summary> [Serializable] public sealed class BoolPairUnityEvent : UnityEvent<BoolPair> { } }
using System; using SharpArch.Domain.DomainModel; using Profiling2.Domain.Prf; namespace Profiling2.Domain.Scr.PersonRecommendation { public class ScreeningRequestPersonRecommendationHistory : Entity { public virtual ScreeningRequestPersonRecommendation ScreeningRequestPersonRecommendation { get; set;...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(Rigidbody))] public class PlayerManager : MonoBehaviour { [SerializeField] private Transform _spellBag; private GameObject[] _spells; void UpdateSpells() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Foundation; using UIKit; namespace MemoryLeakSample { public class DammyViewController : UIViewController { public override void ViewDidLoad() { base.ViewDidLoad(); var dismiss...
using Terraria.ID; using Terraria.ModLoader; namespace Intalium.Items.Materials { public class GreatAlloy : ModItem //Zielony { public override void SetStaticDefaults() { DisplayName.SetDefault("Great Alloy"); Tooltip.SetDefault("Magical steel, sealed by the a...
using NotSoSmartSaverAPI.DTO.IncomeDTO; using NotSoSmartSaverAPI.ModelsGenerated; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace NotSoSmartSaverAPI.Interfaces { public interface IIncomeProcessor { public Task<List<Income>> GetAllIncomes(GetAl...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Web; using System.Web.Mvc; using VEE.Models; using VEE.Models.BasedeDatos; namespace VEE.Controllers { public class DetallePlanillasControlle...
using System; using System.Collections.Generic; using System.Text; namespace TaskManager_2._1 { public class Proc { public string Name { get; set; } public string Memory { get; set; } } }
using System.Collections.Generic; using System.Linq; using StardewModdingAPI; namespace Entoarox.AdvancedLocationLoader.Configs { internal class Compound { /********* ** Accessors *********/ public IDictionary<IContentPack, Tilesheet[]> SeasonalTilesheets { get; } public...
using System; using System.Linq; using System.Threading.Tasks; using UBaseline.Core.Media; using UBaseline.Core.Node; using Uintra.Core.Controls.LightboxGallery; using Uintra.Core.Member.Entities; using Uintra.Core.Member.Services; using Uintra.Features.Groups.Links; using Uintra.Features.Groups.Models; using Uintra.F...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Delivery.WebApi.Services; using Inventory.Data; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Delivery.WebApi.Controllers { //[Authorize] [Route("api/[controller]")] [ApiController]...
/* using UnityEngine; using System.Collections; public class ShopScroll : MonoBehaviour { public GameObject Page; private GameObject SecondPage; private bool isTransitioning = false; void Awake () { SecondPage = (GameObject)Instantiate(Page); SecondPage.transform.parent = Page.transform.parent; Second...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace StreamTest { public static class FileStreamRead { public static void ReadAndWriteUsingFileStream() { string pathSource = @"..\..\..\source.txt"; string pathNew = @"..\..\..\new...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace decorator.console { class ConcreteDecoratorB : Decorator { public ConcreteDecoratorB(Component comp) : base(comp) { } public override string Operation(...
using Alabo.Domains.Entities.Core; using System.Threading.Tasks; namespace Alabo.Datas.Stores.Distinct { public interface IDistinctAsyncStore<TEntity, in TKey> where TEntity : class, IKey<TKey>, IVersion, IEntity { Task<bool> DistinctAsync(string filedName); } }
using UnityEngine; using UnityEngine.AI; public class Enemy : MonoBehaviour { [SerializeField] Transform target = null; [SerializeField] float moveRangeMax = 20f; [SerializeField] float moveRangeMin = -20f; [SerializeField] float moveSpeed = 1f; [Space] [SerializeField] NavMeshAgent agent = n...
namespace Assets.Scripts.Models.ResourceObjects { public class Manure : ResourceObject { public Manure() { LocalizationName = "manure"; IconName = "manure_icon"; CanBuy = true; ShopPrice = 2; } } }
using UnityEngine; using TMPro; using System; using UnityEngine.UI; //focused on 1 player public class SavingsManager : MonoBehaviour { private double percentage; private float myGold,myFortune; public TMP_Text savingsText,totalSavings; public Button yesButton, noButton; public static bool BeginPr...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using dboEF6.EF; namespace dboEF6 { class GetData<T> where T : class { private DbSet<T> _table; private AutoEntities _db; public GetData() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebTest { public partial class CRLExpressionTest : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { int m ...
using System; using System.Collections.Generic; using System.Text; namespace _3_Properties { class Program { static void Main(string[] args) { List<Student> students = new List<Student>(); for (int i = 0; i < 2; i++) { Console.Wr...
using MenuFramework; using System; using System.Collections.Generic; using System.Text; using TenmoClient.Data; namespace TenmoClient.Views { class UserSelectionMenu : ConsoleMenu { private MainMenu parent; private int transferType; public UserSelectionMenu(Dictionary<int, API_User> n...
using System; using System.Collections.Generic; using System.Threading.Tasks; using OnlineClinic.Core.DTOs; namespace OnlineClinic.Core.Services { public interface IPersonService { Task<int> Create(PersonCreateDto createDto); bool Exists(int id); bool Exists(string firstName, string m...
using Alabo.Datas.Stores.Update.Mongo; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Entities.Core; namespace Alabo.Datas.Stores { /// <summary> /// Mongodb数据库查询器 /// </summary> /// <typeparam name="TEntity"></typeparam> /// <typeparam name="TKey"></typeparam> public abstract class M...
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 Core; namespace GUI { public partial class ParallelepipedForm : Form { public Para...
/////////////////////////////////////////////////////////////////////////////////////////////////// /// @Name: IProcessProgressObserver.cs /// @Description: 订阅数据处理进度的接口,对处理进度的改变实时的做出相应 /// @Author: Shaofeng Wang /// @Created Date: 2010-03-11 /// @Copyright: All Rights Reserved by Sensor Networks and Applications Resea...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using testMonogame.Rooms; using testMonogame.Interfaces; using testMonogame.Commands.SpecialMoves; using System.Diagnostics; namespace testMonogame { public cl...
namespace BettingSystem.Domain.Betting.Factories.Gamblers { using Exceptions; using Models.Gamblers; internal class GamblerFactory : IGamblerFactory { private string gamblerName = default!; private string gamblerUserId = default!; private bool isNameSet = false; privat...
using System; using System.Net.Http; using System.Net.Http.Headers; namespace SpotifyTracks { public class Client { public HttpClient PassToken() { string token = "BQBQCsLkym20j4Xy7-NfZ-V1q6T33goHeAODIgTnvIThJiplQVyyiHrQLSf80fBfeBu4axnYcDnmsbh38ybqe24iuwNsZXT4YNQ19apsfCKaJiPXgFnmrC...
using GisSharpBlog.NetTopologySuite.Geometries; using NUnit.Framework; namespace NetTopologySuite.Tests.Geometry { [TestFixture] public class LineStringTest { [Test] public void GetHashCodeMustBeComputed() { var lineString = new LineString(new[] { new Coordinate(1.0, 2.0...
using System; using System.Collections.Generic; using System.Text; using FTLibrary.Time; using UnityGUI; using UnityEngine; using System.Threading; using System.IO; class SelfCheckingModalProcess : UniProcessModalEvent { public override ModalProcessType processType { get { return ModalProcessType.Process_SelfChec...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; namespace AEBNDashboard { public class DashElements { private Globals GlobalData = new Globals(); public string dashDate { get; set; } public string dashDateWithDay { ge...
using System; using System.Collections; using System.Collections.Generic; using DelftTools.Utils; using DelftTools.Utils.Data; using GeoAPI.Extensions.Feature; using GeoAPI.Geometries; using NetTopologySuite.Extensions.Coverages; using NUnit.Framework; using SharpMap.Data.Providers; namespace SharpMap.Tests.Data.Prov...
namespace BuhtigIssueTracker.DataProviders { using Enums; using Interfaces; using Utilities; public class Dispatcher { public Dispatcher(IIssueTracker tracker) { this.Tracker = tracker; } public Dispatcher() : this(new IssueTracker()) { ...
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using AutoMapper; using Conditions; using Conditions.Guards; using Properties.Core.Interfaces; using Properties.Core.Objects; using Properties.Factories; using Properties.Helper; using Properties.Models...
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 PIBP { public partial class Treneri : Form { public Treneri() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FightManager : MonoBehaviour { public PlayerController player1; public PlayerController player2; public SoundCombo[] startFightSounds; public SoundCombo[] endFightSounds; private void Awake() { ...
using fileCrawlerWPF.Exceptions; using fileCrawlerWPF.Util; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; namespace fileCrawlerWPF.Media { public sealed class MediaCollection { private readonly object _lock = new object(); ...
using Orleans; using OrleansR.GrainInterfaces; using System.Linq; using System.Threading.Tasks; using Orleans.Concurrency; namespace OrleansR.Grains { [Reentrant] public class PubSubGrain : Orleans.Grain, IPubSubGrain { ObserverSubscriptionManager<IMessageObserver> observers; IPubSubGrain[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FactoryProject { class Organisation { public List<Factory> Factories { get; set; } public List<Store> Stores { get; set; } public List<Contract> ContractsCondu...
using System; namespace Alabo.UI.Design.AutoTasks { public class AutoTask { public AutoTask() { } public AutoTask(string name, Guid moduleId, Type serviceType, string method) { Name = name; Method = method; ModuleId = moduleId; ServcieType...
using Microsoft.Xna.Framework; namespace BuildingGame { class Wohnhaus : Building { public Wohnhaus() { //Sprite = Sprites.Wohnhaus; Cost = new Item(Item.ItemType.Holz, 20); } } }
using System.Collections.Generic; using ServiceDeskSVC.DataAccess.Models; namespace ServiceDeskSVC.DataAccess { public interface IHelpDeskTicketStatusRepository { List<HelpDesk_TicketStatus> GetAllStatuses(); bool DeleteStatusById(int id); int CreateStatus(HelpDesk_TicketStatus statu...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MileCode { [ExecuteInEditMode] public class LBP_Settings : MonoBehaviour { public int lightmapIndex; public Vector4 lightmapScaleAndOffset = new Vector4(1, 1, 0, 0); public Texture2D lightmap; ...
using System; using System.Diagnostics.CodeAnalysis; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BinaryFog.NameParser.Tests { /// <summary> ///This is a test class for FullNameParserTest and is intended ///to contain all FullNameParserTest Unit Tests ///</summary> [TestClass] public class Fu...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace solmates { public class FriendlySoul : MonoBehaviour { [SerializeField] Color[] colors; public Color finalcolor; public Transform player; public float SizeCategory; public bo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.InterfaceImplementation { class Program { static void Main(string[] args) { var fooSide3 = new Polygon3(8); Console.WriteLine($"Perimeter: {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataAccessLayer.Repository; using DataAccessLayer; using System.Data.Entity; using System.Data.Entity.Validation; namespace DataAccessLayer { public class UnitOfWork { TaskManagem...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; public class CustomBehaviorReader { private const string CommentPrefix = "#"; private const string MappingsArgKey = "mappings"; private readonly ILineParser parser = new RegexLi...
namespace Alabo.Test.Base.Core.Model { /// <summary> /// 控制测试方法基类 /// </summary> public abstract class BaseControllerTest : CoreTest { } }
using System; using System.Text; using System.Net; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting...
namespace kindergarden.Models { public class galleryImage { public int Id { get; set; } public string filePath { get; set; } public int galleryId { get; set; } public gallery gallery { get; set; } } }
using System; using System.Threading; namespace OMKServer { class Program { static void Main(string[] args) { var serverOption = ParseCommandLine(args); if (serverOption == null) { return; } var serverApp ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Mail; using System.Text.RegularExpressions; using System.Configuration; using BPMInterfaceModel; namespace BPMInterfaceToolkit { public class EmailHelper { //static string MailFrom ...
namespace GameOfGame { public enum CellType { NullType = 0, OType = 1, XType = 2, } }
using System.Collections.Generic; using System.IO; using System.Xml.Serialization; namespace Appnotics.PCBackupLib { public class BackupConfig { public bool IsLoaded { get; set; } public string Name { get; set; } [XmlIgnore] public string FileName { get; set; } public string RunAsUser { get; set; } p...
using System; using com.Sconit.Entity.SYS; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; using System.Runtime.Serialization; //TODO: Add other using statements here namespace com.Sconit.Entity.ORD { public partial class ShipmentMaster { #region Non O/R Mapping Propertie...
using System; using System.Linq; using System.Net; using System.Security.Cryptography.X509Certificates; using System.Threading; namespace TLSReport { public static class Extensions { public static X509Certificate Clone(this X509Certificate Cert) { return new X509Certificate(Cert.Ex...
using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; namespace TechEval.Core { public class CommandDispatcher : ICommandDispatcher { private readonly IServiceProvider _resolver; private readonly ILogger<CommandDispatcher> _log; public CommandDispatcher(IServ...
using LogicaNegocio; using ProyectoLP2; 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 Formularios { public partial class GestionPedidos ...
using System; namespace Uintra.Features.Groups { public interface IGroupActivity { Guid Id { get; set; } Guid? GroupId { get; set; } Guid CreatorId { get; set; } } }
using System.Collections.Generic; namespace ComLib { /// <summary> /// 値変換 /// </summary> public class ValueConverter<T1, T2> { #region メンバ変数 /// <summary> /// ディクショナリ /// </summary> private Dictionary<T1, T2> vMdic = new Dictionary<T1, T2>(); #endregion #region コンストラクタ /// <summary> /// コンストラ...
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; using System.Collections; /// <summary>Script to apply to game object to set default resolution and /// handle scene loading as well as quit</summary> /// <author>Robert McDonnell</author> public class ChangeScene : MonoBehaviour { void ...
using NUnit.Framework; using System; namespace Library_Task.Tests { public class ArraysTests { [TestCase(new int[] { -7, -28, 100, 1, 0, 25, 2 }, -28)] [TestCase(new int[] { 0 }, 0)] [TestCase(new int[] { 1, 0, 1, 0, -1, 2 }, -1)] [TestCase(new int[] { -11, -11, -11, -11, -11, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using MyClassLibrary; namespace Les2Exercise4 { class Program { /*4. Реализовать метод проверки логина и пароля. На вход метода подается логин и пароль. ...
using System; using Flux.src.Flux.Renderer; using OpenTK; using OpenTK.Graphics.OpenGL; namespace Flux.src.Platform.OpenGL { public class OpenGLPyramid : IShape { readonly float[] vertices = { //Position Texture coordinates -0.5f, -0.5f, -0.5f, 1f, 0f, 0f, // top right +0.5f, -0.5f, -0.5f, 0f,...
using BusinessObjects; using DataAccess.IRepository; using DataAccess.Repository; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OnlyFundsWeb.Controllers { public class CommentController : ...
using Newtonsoft.Json; using StackExchange.Redis; using StackExchange.Redis.Extensions.Core.Abstractions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RedisPSR { class Menu { private IDatabase conn; private Connect...
namespace HospitalDatabase { using System; using System.Data.Entity; using Models; public class HospitalDatabaseContext : DbContext { public HospitalDatabaseContext() : base("name=HospitalDatabaseContext") { } public DbSet<Comment> Comment...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SolrDotNet.Models { public class ResponseHeader { [JsonProperty("status")] public int Status { get; set; } public int QTime { get; set; } [JsonPrope...
using LoowooTech.Stock.ArcGISTool; using LoowooTech.Stock.Common; using LoowooTech.Stock.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LoowooTech.Stock.Rules { public class GHYTJSYDGZQRule:ArcGISBaseTool,Models.IRule { public override string Ru...
/** 版本信息模板在安装目录下,可自行修改。 * tb_node.cs * * 功 能: N/A * 类 名: tb_node * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2017-04-05 10:52:24 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经...
using System.Collections.Generic; namespace CLDatabaseCore.Mock { //internal class MockGenresTable //{ // // data // List<Genre> Genres { get; set; } // // constructor // public MockGenresTable() // { // this.Genres = new List<Genre> { // ...
using Modulus2D.Math; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modulus2D.Graphics { public class SpriteBatch { private uint maxSprites = 2048; public uint MaxSprites { get => maxSprites; set => maxSprites = va...
using SQLServerBackupTool.Lib.Annotations; using SQLServerBackupTool.Web; using SQLServerBackupTool.Web.Lib; using SQLServerBackupTool.Web.Models; using System.ComponentModel; using System.Data.Entity; using System.Web.Security; [assembly: WebActivator.PostApplicationStartMethod(typeof(AutoInstall), "PostStart")] na...
 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using Common.Logging; using Microsoft.Practices.Unity; using Quartz; using Quartz.Spi; using Quartz.Util; using Ach.Fulfillment.Common; namespace Ach.Fulfillment.Scheduler { public class UnityJobFact...
namespace RosPurcell.Web.ViewModels.NestedContent { using RosPurcell.Web.ViewModels.Media; using RosPurcell.Web.ViewModels.NestedContent.Base; public class SidebarItem : BaseNestedContent { public TeaserImage Image { get; set; } public string Quote { get; set; } public bool S...
using System; class PrimeNumberCheck { static void Main() { Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!"); while (true) { int liNumber, liCounter; bool lbIsPrime = false; Console.Write("Enter integer number between 1 and 10...
using System; namespace Algorithms.GoogleCodeJam { class CountingSheep { static short digitsLength = 10; static bool AllMarked(byte[] marked) { for (int i = 0; i < digitsLength; i++) { if (marked[i] == 0) return false; } ...
using System; using Utilities; namespace EddiEvents { [PublicAPI] public class SilentRunningEvent : Event { public const string NAME = "Silent running"; public const string DESCRIPTION = "Triggered when you activate or deactivate silent running"; public const string SAMPLE = null; ...
using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Newtonsoft.Json; using Our.Umbraco.Tuple.Models; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Core.Models.Editors; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Services; using Umbraco.Web.PropertyEditors; names...
using PhotonInMaze.Common.Flow; using UnityEngine; using UnityEngine.UI; namespace PhotonInMaze.CanvasGame.TimeToEnd { internal class TimeToEndController : FlowBehaviourSingleton<TimeToEndController> { public float TimeToEnd { get; private set; } string minutes, seconds; public override ...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace ConcurrentCollectionExamples { public class Example1 : IExample { public void Run() { Console.WriteLine("Example 1"); var orders = new Queue<string>(); ...
using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support.UI; using System; using System.Collections.ObjectModel; using System.IO; using System.Linq; using OpenQA.Selenium.Remote; namespace AkCore.E2ETests { public static class Help...
using StardewValley; using StardewValley.Network; namespace FunnySnek.AntiCheat.Server.Framework.Patches { /// <summary>Harmony patch for making sure no messages are received from client.</summary> internal class Multiplayer_ProcessIncomingMessage_Patcher : Patch { /********* ** Properties...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; public class CenterSlider : MonoBehaviour { public float minValue = 0; public float maxValue = 100; private float curValue; public Image background; public Image fill; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace LocusNew.Core.Models { public class SellerLead { public int Id { get; set; } public string Name { get; set; } public string Phone { get; set; } public string Email { get; set; } ...
using Microsoft.AspNetCore.Mvc; using WpfBu.Models; using System; using Newtonsoft.Json; using System.Collections.Generic; using System.Text; using System.Data; using System.Text.RegularExpressions; using Microsoft.AspNetCore.Authorization; namespace netbu.Controllers { [Authorize] public class DataController ...
using APIXULib; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace APIXUWebSample.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } [HttpPost] ...
using FIMMonitoring.Domain.Enum; using System; using System.ComponentModel.DataAnnotations; namespace FIMMonitoring.Domain { public class ServiceImportError : EntityBase { #region Properties public ErrorSource ErrorSource { get; set; } public ErrorLevel ErrorLevel { get; set; } ...