content
stringlengths
23
1.05M
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Diagnostics; using System.Globalization; using Microsoft.Common.Core; using Microsoft.R.Components.InteractiveWorkflow; using Microsoft.R....
using Backend.Authentication; using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; [assembly: FunctionsStartup(typeof(Backend.Startup))] namespace Backend { public class Startup : FunctionsStartup { pu...
namespace RepoDb.PostgreSql.BulkOperations.IntegrationTests.Enumerations { public enum Hands { Unidentified, Left, Right } }
// _ _ _ _ _ _ _ _ _ _ // | | | (_) | | | | | | (_) | | | // | |__| |_ ___| | | _____ | |__| |_ ___| | | _____ _ __ ___ __ _ // | __ | |/ _ \ | |/ / _ \ | __ | |/ _ \ | |/ / _ \ '_ ` _ \ / _` | // | | | | | __/ | < _...
using System; using MediatR; using Microsoft.AspNetCore.Mvc; using SFA.DAS.LevyTransferMatching.Api.Models; using SFA.DAS.LevyTransferMatching.Application.Queries.GetAccount; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using System.Net; namespace SFA.DAS.LevyTransferMatching.Api.Controllers { ...
using System; using System.Text; namespace NClap.ConsoleInput { /// <summary> /// Console status bar, used only for internal testing. /// </summary> internal class ConsoleStatusBar { private const ConsoleColor ForegroundColor = ConsoleColor.Yellow; private const ConsoleColor Backgr...
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.Threading; using Newtonsoft.Json.Linq; using HslCommunication; using CommonLibrary; using HslCommunication.BasicFramework;...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using FOS.Models; using System.Net.Http; using Microsoft.Extensions.Caching.Memory; using System.Text.Json; using FOS.Infra; namespace FOS.Controllers { public class HomeControll...
using DiscordBotCore.Util; using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace DiscordBotCore.Controller { public static class RandomController { public static int[] GetRandomDice(int sided, int number) { ...
using System; using System.Collections.Generic; namespace TreeGecko.Library.Common.Helpers { public class MathHelper { public static double ToRadians(double _degrees) { //180 degress per pi return (_degrees*Math.PI)/180; } public static double ToDegrees(...
// This file is licensed under the MIT open source license // https://opensource.org/licenses/MIT namespace Daemos.Mute.Expressions { using System.Collections.Generic; using System.Linq; using Antlr4.Runtime; public class ModuleExpression : Expression { public string Name { get; } ...
using System; using MudBlazor; namespace Education.Client.Gateways.Models.Test; public enum ConclusionStatus { Complete = 0, TimeExceeded = 1, MistakesExceeded = 2 } internal static class ConclusionStatusExtensions { public static Color GetColor(this ConclusionStatus status) => status swi...
using System; using System.Xml.Serialization; namespace Model { /// <summary> /// Activity Data Structure. /// </summary> [Serializable] public class Activity { /// <summary> /// 活动id /// </summary> [XmlElement("activity_id")] public long ActivityId { ge...
<h2>Registration Successful</h2> <p>You are now registered. Please login to continue.</p>
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VesteBem_Admin.Class { public class Encomenda { /// <summary> /// Id da Encomenda /// </summary> public int IdEncomendas { get; set; } /// <summary> /// Val...
using System; using System.Collections.Generic; using System.Text; namespace Rawr.TankDK { /// <summary> /// This class is the implmentation of the IcyTouch Ability based on the AbilityDK_Base class. /// </summary> class AbilityDK_IcyTouch : AbilityDK_Base { /// <summary> /// Chill...
using System; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; namespace Utils.Randomization { public class CustomDistribution { private readonly Func<float, float> _distribution; private readonly float _stepSize; public CustomDistribution(int pr...
using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// 神经网络基类 /// </summary> public abstract class UNeuronNet { public List<UNeuronLayer> AllLayers; public class ConfigData { //public int NumInputsPerNeuron = 10; public int NumNeuronPerHiddenLaye...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FengCode.Libs.Ado; using GAsk.Library.Enums; namespace GAsk.Library.Entity { /// <summary> /// 活动视图 /// </summary> public class ActivityView : BaseEntity { public Guid Id { get; set; } ...
namespace Neovolve.CodeAnalysis.ChangeTracking.ChangeTables { using Neovolve.CodeAnalysis.ChangeTracking.Models; public class FieldModifiersChangeTable : ChangeTable<FieldModifiers>, IFieldModifiersChangeTable { protected override void BuildChanges() { // @formatter:off — disab...
namespace TRex.Metadata { /// <summary> /// Type of trigger that the operation represents. Specifies whether or not the operation /// can also initiate / continue a flow, and whether it returns a single value to be /// processed, a batch (array) of values that should each individually trigger / continu...
using IdentityModel; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Linq; using System.Threading.Tasks; using WingedKeys.Models; using System.Security.Claims; namespace IdentityServer4.Quickstart.UI { [SecurityHeaders] [Auth...
/* Copyright 2017 Cimpress Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
 namespace AnotherClassLibrary { public partial class ADummyUserControl { public ADummyUserControl() { InitializeComponent(); } } }
namespace Stateful.ServiceFabric.Actors.Configuration { public class ObjectActivatorConfiguration<TValue> : IActorStateActivatorConfiguration { public IStateKey Key { set; get; } public IActorStateActivator Build() { return new ActorStateActivator(Key, (stateManager) => new...
using System; using System.Collections.Generic; using CoreGraphics; using System.Linq; using System.Text; using Foundation; using UIKit; using ObjCRuntime; using CoreText; namespace SimpleTextInput { // A UITextRange object represents a range of characters in a text container; in other words, // it identifies a star...
using System; namespace NWorkshop { internal enum FlagType { LOCK_HEIGHTS = 304, LOCK_SELECTION = 303, RANDOM_ORIENTATION = 302, SNAP_TO_GRID = 301, SNAP_ANGLE = 300 } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace unp4k.gui.Extensions { public static class ListExtensions { public static IEnumerable<T> With<T>(this IEnumerable<T> list, T element) { foreach (var item in list) { yield retur...
using System; using System.Threading.Tasks; namespace TetraPak.XP.Auth { /// <summary> /// For internal use by the Auth solution. /// </summary> public interface IAuthorizingAppDelegate { /// <summary> /// For internal use by the Auth solution. /// </summary> vo...
using J = Newtonsoft.Json.JsonPropertyAttribute; using J1 = System.Text.Json.Serialization.JsonPropertyNameAttribute; using SoftwarePioniere.ReadModel; namespace SoftwarePioniere.Projections { public class ProjectionInitializationStatus : Entity { public ProjectionInitializationStatus() : base("pr.i....
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { private as...
using System; using System.Collections.Generic; using System.Net; using System.Text; namespace SolarGames.Networking { public class HttpServer : IDisposable { public string Prefix { get; set; } HttpListener listener; public delegate void DOnProcessRequest(HttpListenerContext context)...
using Newtonsoft.Json; using System; using Wilcommerce.Core.Infrastructure; namespace Wilcommerce.Core.Common.Events { /// <summary> /// A wrapper for a generic domain event /// </summary> public class EventWrapper { #region Properties /// <summary> /// Get or set the Id of...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using NUnit.Framework; using SharpGLTF.Geometry.VertexTypes; using SharpGLTF.Geometry.Parametric; using SharpGLTF.Schema2; using SharpGLTF.Scenes; namespace SharpGLTF.Geometry { using VERTEX1 = VertexBuilder<...
using SolrNet; using SolrNet.Commands.Parameters; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Unity.SolrNetIntegration { public interface ISolrQueryEndpointLocator { string GetCoreId(IList<string> coreIds, string q, QueryOptions options); ...
namespace Heroes.StormReplayParser.MessageEvent { /// <summary> /// Specifies a message target type. /// </summary> public enum StormMessageTarget { /// <summary> /// Indicates the message was for All players. /// </summary> All = 0, /// <summary> //...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ToonSketchShaderPack { public class AddOriginalValuesToSkinnedMesh : MonoBehaviour { void OnEnable() { Mesh mesh = GetComponent<SkinnedMeshRenderer>().sharedMesh; // Adding our preskinned verts...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Server { public class Client { public string m_name; public TcpClient m_tcpClient; public bool m_isWebSocket; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using OpenTok; using System; using System.Runtime.InteropServices; public class VideoRender : IVideoRenderer { int rendererId; IntPtr[] buffer = { IntPtr.Zero }; int[] strides = { 0 }; int w, h; public VideoRender(...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// StallModel Data Structure. /// </summary> [Serializable] public class StallModel : AlipayObject { /// <summary> /// 档口下菜品集合 //...
using System; using System.Collections.Generic; using System.Collections.Specialized; using DataBuddy; namespace Graffiti.Core.API { /// <summary> /// Helper to managed converting querystring parameters to a Comment Query /// </summary> public class CommentFilter { private string _author = ...
namespace Mages.Core.Runtime.Converters { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; sealed class CamelNameSelector : INameSelector { public static readonly INameSelector Instance = new CamelNameSelector(); private CamelNameSele...
using Microsoft.ML.Data; namespace Grumpy.SmartPower.Infrastructure.PredictProductionModel; public class Input { [LoadColumn(0)] public int Hour { get; set; } [LoadColumn(1)] public int Month { get; set; } [LoadColumn(2)] public int Sunlight { get; set; } [LoadColumn(3)] public double...
/** * Copyright (c) 2001-2017 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://robocode.sourceforge.net/license/ep...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Framework.WebApi.Attributes { public ...
using System.Data.Entity.Migrations; namespace Twilio.OwlFinance.Infrastructure.DataAccess.Configuration.Database { public partial class CaseUpdates : DbMigration { public override void Up() { DropIndex("dbo.Cases", new[] { "AgentID" }); CreateTable( "dbo...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Net; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; ...
using System; using System.Diagnostics; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace SuecaLibrary { public static class SerializeData { public static class Binary { public static void SerializeObject(string filename, Object obj) { ...
namespace Nancy.Demo.Authentication.JwtBearer.AuthorizedServer { public class AppConfiguration : IAppConfiguration { public Audience Audience { get; set; } } public interface IAppConfiguration { Audience Audience { get; } } }
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Xml.Serialization; using System.IO; using Chilkat; using LogExpert; namespace SftpFileSystem { public class SftpFileSystem : IFileSystemPlugin, ILogExpertPluginConfigurator { #regio...
using OpenProtocolInterpreter.Converters; using System; using System.Collections.Generic; namespace OpenProtocolInterpreter.Tool { /// <summary> /// Tool Pairing status /// <para>This message is sent by the controller in order to report the current status of the tool pairing.</para> /// <para>Message ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace netCommander { public partial class CreateLinkDialog : Form { public CreateLinkDialog() { Ini...
using System; namespace Grace.DependencyInjection { /// <summary> /// Represents a scope that holds disposable object /// </summary> public interface IDisposalScope #if NETSTANDARD2_1 : IDisposable, IAsyncDisposable #else : IDisposable #endif { #if NETSTANDARD2_1 /// <summa...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Shouldly; using Spect.Net.SpectrumEmu.Cpu; using Spect.Net.SpectrumEmu.Test.Helpers; // ReSharper disable ArgumentsStyleStringLiteral // ReSharper disable InconsistentNaming namespace Spect.Net.SpectrumEmu.Test.Cpu.IndexedOps { [TestClass] public class ...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using JetBrains.Annotations; namespace SuperReport { internal readonly struct Stats { [PublicAPI] public ImmutableList<decimal> Data { get; } [PublicAPI] public decimal Mean { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DCT.ILR.ValidationService.Models.Models { public class IlrContext { public string Filename; public string ContainerReference; public Guid CorrelationId; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class Rigidbody2DExtensions { public static void setVelocityX (this Rigidbody2D rb, float x) { Vector2 velocity = rb.velocity; velocity.x = x; rb.velocity = velocity; } public static void setVelocityY (this Rigidb...
using OpenBullet.Views.Main.Runner; using RuriLib; using RuriLib.Functions.Requests; using System; using System.Collections.Generic; using System.Windows.Controls; namespace OpenBullet.Views.StackerBlocks { /// <summary> /// Logica di interazione per PageBlockRequest.xaml /// </summary> public partial...
using System.Collections.Generic; using System.Linq; namespace Timetabler.Data.Display { /// <summary> /// Information required to draw a train on a train graph. /// </summary> public class TrainDrawingInfo { /// <summary> /// The train itself. /// </summary> public...
namespace Joke.Front { public interface ITokenSpan { ISourceSpan PayloadSpan { get; } } }
namespace FitForLife.Data.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using FitForLife.Data.Common.Models; using FitForLife.Data.Models.Enums; public class Exercise : IDeletableEntity { public Exercise() { ...
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1008_685e-e08c3adb")] public void Method_1008_685e() { ii(0x1008_685e, 5); push(0x38); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MvcDenemeCRUD.Models.Entity; namespace MvcDenemeCRUD.Controllers { public class MusterilerController : Controller { // GET: Musteriler MvcDbStokEntities db = new MvcDbStokEntities(...
//------------------------------------------------------------------------------ // Copyright (c) 2014-2016 the original author or authors. All Rights Reserved. // // NOTICE: You are permitted to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. //---...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebAruhaz.Controllers { public class ItemListController : Controller { // Models.DB.ContRepo db = new Models.DB.ContRepo(); // GET: ItemList public ActionResult Index() ...
using System; namespace LiteBus.Messaging.Internal.Exceptions; [Serializable] public class NotResolvedException : Exception { public NotResolvedException(Type type) : base($"The type of '{type.Name}' could not be resolved") { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SapphireDb.Helper; using SapphireDb.Internal; using SapphireDb.Internal.Prefilter; using SapphireDb.Models; using SapphireDb.Models.Exceptions; namespace SapphireDb.Command.Query { class QueryCommandHandler : Co...
using System; using FixedMaths.Core; using FluentAssertions; using Xunit; using Xunit.Abstractions; namespace FixedMaths.Test.GivenAFixedPoint { public class WhenPreformingAdditionOperations { private readonly ITestOutputHelper _testOutputHelper; public WhenPreformingAdditionOperations(ITestO...
//Generated by LateBindingApi.CodeGenerator using System; using System.Reflection; using System.ComponentModel; using System.Runtime.InteropServices; using LateBindingApi.Core; namespace LateBindingApi.Excel { [SupportByLibrary("XL10","XL11","XL12","XL14","XL9")] public class Menu : COMObject { #region Constructio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Charlotte.Tools; using System.Security.Cryptography; namespace Charlotte.Camellias { public class CamelliaRingCipher { private CamelliaRingCBC _crcbc; public CamelliaRingCipher(string passphrase) : t...
using System; namespace SleepToCsv.Movements { public class MovementRow { public DateTime DateTime { get; set; } public float Movement { get; set; } public float? Noise { get; set; } } }
namespace QF.GraphDesigner.Unity.WindowsPlugin { public enum WindowType { Normal, Popup, FocusPopup } }
using System; using NUnit.Framework; namespace LinqSpecs.Tests { [TestFixture] public class TrueSpecificationTests { [Test] public void Should_work() { var spec = new TrueSpecification<string>(); var result = new SampleRepository().Find(spec); ...
namespace Application.Models { public abstract class ModelBase { public virtual bool IsValid() => false; } }
using System; using System.Threading.Tasks; using Nimbus.Extensions; using Nimbus.Infrastructure.MessageSendersAndReceivers; using Nimbus.InfrastructureContracts; using StackExchange.Redis; namespace Nimbus.Transports.Redis.MessageSendersAndReceivers { internal class RedisMessageSender : INimbusMessageSender ...
using IW4MAdmin.Application.RCon; using SharedLibraryCore.Interfaces; using System.Text; namespace IW4MAdmin.Application.Factories { /// <summary> /// implementation of IRConConnectionFactory /// </summary> internal class RConConnectionFactory : IRConConnectionFactory { private static read...
#region Using directives using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Blazorise.Stores; using Microsoft.AspNetCore.Components; #endregion namespace Blazorise { public partial class Dropdown : BaseComponent { #region Members private Dro...
// Copyright 2004-2012 Castle Project - http://www.castleproject.org/ // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //...
using System; using Optima.Algorithms.SimulatedAnnealing; using Optima.Base; namespace Optima.StopCriteria { public class UntilFrozen<T> : IStopCriteria<T> where T : Solution { public const double MIN_TEMP = 1e-6; private readonly Cooler _cooler; public int Steps { get; private set; }...
@{ ViewData["Title"] = "Thank you!"; } <div> Thank you for your order. At this point I'm too lazy to create the "Your orders page". It'll be delivered, be faithful ;-) </div>
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Test.Common.Certs { public class IdCertificates { string[] GetFileLocation(string deviceId) { return new[] { FixedPaths.DeviceIdentityCert.Cert(deviceId), ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EntityAnimationLayer : MonoBehaviour { string _layer; public string Layer { get { return _layer; } set { _layer = value; switch(value) ...
 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.Xml; using System.IO; using System.Web; using DigitalPlatform; using DigitalPlatform.Text; using DigitalPlatform.Xml; us...
using System; using Xamarin.Forms; namespace TestApp { public class PhoneValidationBehavior : Behavior<Entry> { public PhoneValidationBehavior() { } protected override void OnAttachedTo(Entry bindable) { base.OnAttachedTo(bindable); bindable.Tex...
using BlackApp.Application.Contracts; using BlackApp.Application.Modularity; using BlankApp.Modules.ModuleA.Views; using Prism.Ioc; using Prism.Modularity; namespace BlankApp.Modules.ModuleA { [Module(OnDemand = true)] [BusinessModule(Belong = MainOwnedContracts.A, FriendlyName = "ModuleA")] public class ...
namespace AsmResolver.DotNet.Signatures.Types { /// <summary> /// Provides members indicating whether a reference to a generic parameter is declared in a type or a method. /// </summary> public enum GenericParameterType { /// <summary> /// Indicates the generic parameter type is def...
using RadarSoft.RadarCube.CubeStructure; using RadarSoft.RadarCube.Enums; namespace RadarSoft.RadarCube.Layout { /// <summary> /// An abstract ancestor to the classes GroupMember and CalculatedMember that /// represents user-created groups and calculated members accordingly on the Grid /// ...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; using GazeInput; [RequireComponent(typeof(BoxCollider))] [RequireComponent(typeof(VRInteractiveItem))] public class CatchFire : MonoBehaviour, IPointerClickHandler { public GameObject fire; public GameObject destroy; ...
using CheapFlights.CustomDataAnnotations; using System; using System.ComponentModel.DataAnnotations; namespace CheapFlights.Models { public enum Currency { USD, EUR, HRK } public class FlightQuery { [Required(ErrorMessage = "Please select departure airport.")] ...
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using GameRaider.Models; using Microsoft.EntityFrameworkCore; namespace GameRaider.Controllers { [Route("api/[controller]")] [ApiController] public class GamesController : ControllerBase { private GameRaiderCon...
using System.Collections.Generic; using Construct.Core.Data.Response; namespace Construct.Admin.Data.Response { public class VisitEntry { /// <summary> /// Time of the visit. /// </summary> public long Timestamp { get; set; } /// <summary> /// Source of...
using Jerrycurl.Relations.Internal.Queues; namespace Jerrycurl.Relations.Internal.Compilation { internal class RelationBuffer { public BufferWriter Writer { get; set; } public IField Model { get; set; } public IField Source { get; set; } public IRelationQueue[] Queues { get; se...
using Microsoft.AspNetCore.Mvc.Filters; using WebTrace.Domain.Services; namespace WebTrace.Api.Filters { public class TraceFilter : ActionFilterAttribute { private readonly string endpoint; private readonly ITraceService service; private const string ServiceName = "Api"; publ...
using System; using System.Collections.Generic; class Program { static void Main() { var dictionary = new Dictionary<string, long>(); long counter = 0; string recourcesss = ""; while (true) { string curent = Console.ReadLine(); if (curent == "st...
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using CSharpTest.Net.Collections; using RaccoonDB.Interface; namespace RaccoonDB.Internal.Storage { public struct TableField { internal object Value { get; set; } internal RaccoonDbDataType DataType { ge...
using Livraria.App_Start; using Livraria.DAOs; using Livraria.Models; using System; using System.Net.Mail; using System.Web.Mvc; namespace Livraria.Controllers { [Autenticacao] [HandleError(View = "Error", ExceptionType = typeof(InvalidOperationException))] public class HomeController : Controller { ...
using UnityEngine; public class PlayerCollision : MonoBehaviour { public PlayerMovement movement; int health = 2; void Start() { GetComponent<AudioSource>().playOnAwake = false; } void OnCollisionEnter (Collision collisionInfo) { if (collisionInfo.collider.tag == "Obstacl...
using System.Net; using System.Text; namespace Boerman.Networking { public class ReceivedEventArgs { internal ReceivedEventArgs(EndPoint endpoint, byte[] data) { EndPoint = endpoint; Bytes = data; Encoding = Encoding.GetEncoding("utf-8"); } ...
using System; using XposeCraft.Core.Faction.Units; using XposeCraft.Game.Actors; using XposeCraft.Game.Actors.Buildings; using XposeCraft.Game.Actors.Units; namespace XposeCraft.Game.Control.GameActions { /// <summary> /// Action of attack on a unit. /// </summary> public class Attack : GameAction ...
using System.Collections.Generic; using Random = System.Random; namespace InfiniteMaze { public struct Position { public int X { get; } public int Y { get; } public Position(int x, int y) { X = x; Y = y; } public static Position operator +(Position a, Position b) => new Position(a.X + b.X, a.Y +...