content
stringlengths
23
1.05M
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ViewComponents { public class DefaultViewComponen...
using Newtonsoft.Json; namespace Speeding.Infraction.Management.AF01.Models { public class VehicleOwnerInfo { [JsonProperty(PropertyName = "firstName")] public string FirstName { get; set; } [JsonProperty(PropertyName = "lastName")] public string LastName { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YTR.Objects { public class KeywordFullSearch { public KeywordFullSearch() { Details = new AbstractKeyword(); RelatedKeywords = new List<string>(...
using OpenQA.Selenium; using System; using System.Collections.Generic; using System.Text; namespace PossumLabs.DSL.Web.Selectors { public static class TwitterExtensions { //TODO:Bas Refactor the Permutate :( //public static SelectorFactory UseTwitterJs(this SelectorFactory factory) //{...
using System.Linq; using Tanka.GraphQL.Language.Nodes; using Tanka.GraphQL.TypeSystem; using Xunit; namespace Tanka.GraphQL.Tests.TypeSystem { public class EnumTypeFacts { [Theory] [InlineData("success", "SUCCESS")] [InlineData("FAILURE", "FAILURE")] [InlineData("Inconclusive",...
using System; namespace Tmds.Babeltrace { public unsafe struct EventScope { private readonly void* _eventDef; private readonly void* _scopeDef; internal EventScope(void* eventDef, void* scopeDef) { _eventDef = eventDef; _scopeDef = scopeDef; } ...
using Abp.NHibernate.EntityMappings; namespace Abp.NHibernate.Tests.Entities { public class HotelMap : EntityMap<Hotel> { public HotelMap() : base("Hotels") { Id(x => x.Id); Map(x => x.Name); Map(x => x.CreationDate); Map(x => x.ModificationDate)....
using Urho; namespace Urho.Actions { public class Show : ActionInstant { protected internal override ActionState StartAction(Node target) { return new ShowState (this, target); } public override FiniteTimeAction Reverse () { return (new Hide ()); } } public class ShowState : ActionInstantState ...
// Generated by ProtoGen, Version=2.4.1.521, Culture=neutral, PublicKeyToken=55f7125234beb589. DO NOT EDIT! #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.ProtocolBuffers; using pbc = global::Google.ProtocolBuffers.Collections; using pbd = global::Google.ProtocolBuf...
using System; public class W_MapTerrain { public int wmapPosX; public int wmapPosY; public string wmapIcon; }
#if !NETSTANDARD using System; using Microsoft.Extensions.DependencyInjection; namespace Shiny.Locations { class GpsModule : ShinyModule { static bool added = false; readonly Type? delegateType; readonly GpsRequest? requestIfPermissionGranted; public GpsModule(Type? delegate...
using System.ComponentModel.DataAnnotations; namespace FreightManagement.Enums { public enum BrazilianStates { [Display(Name = @"Acre")] Acre = 0, [Display(Name = @"Alagoas")] Alagoas = 1, [Display(Name = @"Amazonas")] Amazonas = 2, [Display(Name = @"Ama...
using System; using CarManager; using NUnit.Framework; namespace Tests { public class CarTests { [Test] public void TestConstructor() { string make = "Audi"; string model = "A4"; double fuelConsumption = 4.2; double fuelCapacity = 80; ...
using System.Globalization; using System.Web.Mvc.Ajax; using System.Web.Routing; namespace BookLibrary.ViewModels { /// <summary> /// A simple factory to create user operations. /// </summary> public static class UserOperationFactory { public static UserOperation CreateBookDetailOperation(...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class Extension { public static List<Transform> GetChildren(this Transform t) { var children=new List<Transform>(); for(int i = 0; i < t.childCount; i++) { children.Add(t.GetChild(i...
using Plang.Compiler.TypeChecker.AST.Declarations; namespace Plang.Compiler.TypeChecker.AST { public interface IStateAction : IPAST { PEvent Trigger { get; } } }
using System; using System.Text.RegularExpressions; namespace MarkdownToHtml { public class MarkdownHorizontalRule : MarkdownElementBase, IHtmlable { static Regex regexHorizontalRule = new Regex( @"^[\s|\*]{3,}$" + @"|^[\s|-]{3,}$" ); public MarkdownHorizontal...
namespace BGGAPI.Thing.MarketPlaceListing { using BGGAPI.Shared; public class Listing { /// <summary> /// Gets or sets the list date. /// </summary> public DateTimeValue ListDate { get; set; } /// <summary> /// Gets or sets the price. //...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using CParser.Helpers; namespace CParser.Lexing { public class CharacterStream : IAsyncStream<char>, IDisposable { const int BUFFER_SIZE = 4096; ...
// // Copyright Seth Hendrick 2015-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // using System.Collections.Generic; using System.Text.RegularExpressions; using Cake.Common.IO; usin...
#region Using Directives using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Xunit; #endregion namespace FastHashes.Tests { // ReSharper disable once ClassNeverInstantiated.Global public sealed class TestsFixture : IDisposa...
namespace Plastic.Definitions.Services { public class OperationDefinitionCollection : DefinitionCollection<OperationDefinition, ServiceDefinition> { public OperationDefinitionCollection(ServiceDefinition parent) : base(parent) { } } }
namespace PhotoShare.Client.Core.Commands { using Models; using System; /// <summary> /// Class used for simple authentication validation. /// NOTE: If class is declared as static all of its members, fields and methods MUST be static as well. /// </summary> public static class Authenticati...
namespace In.ProjectEKA.HipService.Common { public static class LogEvents { public const int Discovery = 1000; public const int DataFlow = 1001; public const int UserAuth = 1002; public const int AddContext = 1003; public const int SmsNotify = 1004; } }
namespace BattleSnake.Models { public class Battlesnake { public string id { get; set; } public string name { get; set; } public int health { get; set; } public Body[] body { get; set; } public string latency { get; set; } public Head head { get; set; } p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Pinwheel.Poseidon; [ExecuteInEditMode] public class SimpleBuoyController : MonoBehaviour { public PWater water; public bool applyRipple; public void Update() { if (water == null) return; V...
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud { /// <summary>Maps types to storage names, and vice-versa.</summary> /// <remarks> /// Spec on queue names: http://msdn.microsoft.com/en-u...
using Xamarin.Forms.PlatformConfiguration; using Xamarin.Forms.PlatformConfiguration.iOSSpecific; namespace DotNetGraphQL.Mobile { public class BaseNavigationPage : Xamarin.Forms.NavigationPage { public BaseNavigationPage(Xamarin.Forms.Page root) : base(root) { On<iOS>().SetPrefers...
using System.Linq; using Elders.Cronus.EventStore; using Elders.Cronus.IntegrityValidation; using Machine.Specifications; namespace Elders.Cronus.Tests.ValidatorsAndResolvers { [Subject("IntegrityValidation")] public class When_two_identical__IntegrityRules__are_registered_in__IntegrityPolicy__ { ...
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Zop.DTO { public class EntityValidationResult { public IList<ValidationResult> Errors { get; private set; } public bool HasError { get ...
namespace HuntBot.Application.ParticipantFoundObject { public class ParticipantFoundObjectCommand { public ParticipantFoundObjectCommand(int citizenNumber, int objectId, int points) { } } }
@using RR.CoursesCenter.UI.WebApp.Filters; @model RR.CoursesCenter.Application.ViewModels.StudentViewModel <h2>@ViewBag.Title</h2> <h4>Tem certeza de que deseja excluir este registro?</h4> <hr /> <div class="panel panel-default"> <div class="panel-heading">@Html.DisplayFor(model => model.Identification)</div> ...
using System; using System.Collections; namespace SubjectNerd.PsdImporter.FullSerializer.Internal { public class fsArrayConverter : fsConverter { public override bool CanProcess(Type type) { return type.IsArray; } public override bool RequestCycleSupport(Type storageType) { ...
 namespace _05.ControlFlowConditionalStatements { class Potato : Vegetable { } }
namespace uTrans.Data { using SQLite4Unity3d; public class PointDTO : BaseDTO { [PrimaryKey, AutoIncrement] public int Id { get; set; } [Indexed] public int ProjectId { get; set; } public int BaseObjectId { get; set; } public double X { get; set; } ...
using System; using System.Collections.Generic; using System.Text; using System.Data; namespace Serilog.Sinks.Db { public class DbOptions { public ProviderType Type { get; set; } public Func<IDbConnection> Connection { get; set; } public string TableName { get; set; } public...
using System.Collections.Generic; using System.Linq; using Urho; using Xamarin.Forms; namespace MonkeyConfAr.Ar { public class PointCloudArApplication : SimpleApplication { private const int MAX_CLOUD_POINTS = 1000; private readonly IArComponentFactory ArComponentFactory; private ArC...
using System; using System.Collections.Generic; using System.Text; namespace ReflectionDemo { public class Cat : Animal { private int id; public Cat(string name) : base(name) { } public int GetId() { return this.id; } ...
using System.Drawing; namespace Game_Memory { public class Flag { public Image image { get; } public string name { get; } public string tag { get; } public Flag(Image image, string name, string tag) { this.image = image; this.name = name; ...
using System; using Microsoft.Xrm.Sdk; using SEV.Crm.Business; using SEV.Crm.Plugins.Properties; namespace SEV.Crm.Services { internal class CrmPluginEventExtractor : ICrmPluginEventExtractor { public CrmPluginEvent GetPluginEvent(IPluginExecutorContext executorContext) { IPluginEx...
using DatenMeister.Core.EMOF.Interface.Common; using DatenMeister.Core.EMOF.Interface.Reflection; namespace DatenMeister.Core.Modules.DataViews { public interface IDataViewNodeEvaluation { /// <summary> /// Checks whether the given node is responsible for the dataview node factory /// ...
using UnityEngine; using System.Collections; public class GodRayFinder : MonoBehaviour { public int[] useInEpisodes; void Awake() { //SunShafts shafts = gameObject.GetComponent<SunShafts>(); //if (shafts != null) //{ // if (QualitySettings.GetQualityLevel() <= 1) ...
using System.Text; using ICSharpCode.SharpZipLib.Zip.Compression.Streams; namespace PDFParser { public class Inflator { public static System.String FlateDecodeToASCII(System.IO.MemoryStream source) { System.Text.ASCIIEncoding encoder = new System.Text.ASCIIEncoding(); ...
namespace Neolution.DotNet.Console.Sample.Commands.Echo { using CommandLine; /// <summary> /// The options for the <see cref="EchoCommand"/>. /// </summary> [Verb("echo", HelpText = "Write a string into the console.")] public class EchoOptions { /// <summary> /// Gets or se...
using Nancy; using CollectorNS.Objects; using System.Collections.Generic; using System; namespace CollectorNS { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => { return View["index.cshtml", Collector.GetAll()]; }; Get["/{id}"] = parameters => { ...
using System; namespace coffee { public class GameFlowComponent : Component { public bool StopFlow { get; private set; } public GameFlowComponent (GameObject parent) : base (parent) { StopFlow = true; } public void TurnComplete () { StopFlow = false; } public void TurnBegins () { StopF...
using System; using System.Collections.Generic; using EntityFrameworkSoftDelete.Abstractions; namespace SoftDelete.IntegrationTests.Database.Entities { public class BookEntity: BaseEntity, ISoftDeletable { public string Name { get; set; } public Guid AuthorId { get; set; } ...
using k8s; using k8s.Models; using MediatR; namespace ES.Kubernetes.Reflector.Core.Messages; public class WatcherEvent : INotification { public WatchEventType Type { get; set; } public IKubernetesObject<V1ObjectMeta>? Item { get; set; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rest.Json { public class RestHeader { public string Key { get; } public string Value { get; } public RestHeader(string key, string value) { Key = key; Value = value; } pu...
@using UDS.Net.Web @using UDS.Net.Web.ViewModels @using UDS.Net.Data.Entities @using UDS.Net.Data.Enums @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, COA.Components.Web
using StankinsCommon; using Stankins.Interfaces; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StankinsObjects { //TODO:make one version that identifies what tables can be merged public class TransformerToOneTa...
using System; using Pathfinding.Util; using UnityEngine; namespace Pathfinding.Voxels { // Token: 0x020000D3 RID: 211 public class RasterizationMesh { // Token: 0x06000846 RID: 2118 RVA: 0x0003CA99 File Offset: 0x0003AE99 public RasterizationMesh() { } // Token: 0x06000847 RID: 2119 RVA: 0x0003CAA4 File...
using System; using Equinor.ProCoSys.Preservation.Domain; using MediatR; using ServiceResult; namespace Equinor.ProCoSys.Preservation.Query.GetTagsQueries.GetTags { public class GetTagsQuery : IRequest<Result<TagsResult>>, IProjectRequest { public const SortingDirection DefaultSortingDirection = Sorti...
using System.IO; namespace Wkx { internal class EwkbReader : WkbReader { internal EwkbReader(Stream stream) : base(stream) { } protected override GeometryType ReadGeometryType(uint type) { return (GeometryType)(type & 0XFF); } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Web; using JSNLog.Exceptions; using JSNLog.Infrastructure; namespace JSNLog.ValueInfos { public class AppendersValue : IValueInfo { private Dictionary<string, string...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.ML.Data { /// <summary> /// The trivial wrapper for a <see cref="IDataLoader{TSource}"/...
using System.Collections.Generic; using System.Threading.Tasks; namespace Steamworks.Data { public struct LobbyQuery { // TODO FILTERS // AddRequestLobbyListStringFilter // - WithoutKeyValue #region Distance Filter public LobbyDistanceFilter? distance; /// <summary> /// only lobbies in the same imme...
namespace Rock.Serialization { public static class SerializationExtensions { /// <summary> /// Deserializes an XML string into an object of type T. /// </summary> /// <typeparam name="T">The type of object represented by this string</typeparam> /// <param name="str">The ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Protogame { /// <summary> /// A render pass in which graphics rendering is configured for an /// orthographic view. When this render pass is active, the X and /// Y positions of entities map directly to the X and Y posit...
using ObjectsCollide.Application.Enums; using NGenerics.DataStructures.Mathematical; namespace ObjectsCollide.Application.Class { public abstract class Object3D { protected internal readonly Vector3D Center; protected internal readonly Object3DTypes Type; public Object3D(Object3DTyp...
namespace Umbraco.Web.Controllers { public interface IUmbracoController { } }
#if Approvals using System.Text.RegularExpressions; using Shouldly; using TestStack.BDDfy.Reporters; using TestStack.BDDfy.Tests.Reporters.Html; namespace TestStack.BDDfy.Tests.Reporters { class ReportApprover { public static void Approve(FileReportModel model, IReportBuilder reportBuilder) { ...
using Xunit; namespace Katoa.Tests { public class AsciiTests { [Fact] public void TestConstants() { Assert.Equal("abcdefghijklmnopqrstuvwxyz", Ascii.Lower); Assert.Equal("ABCDEFGHIJKLMNOPQRSTUVWXYZ", Ascii.Upper); Assert.Equal("abcdefghijklmnopqrstuv...
using CarRental.Domain.Entities; using CarRental.Domain.Interfaces.Repositories; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace CarRental.Infrastructure.Data.Repositories { class CarRepo : EfRepository<Car>, ICarRepo { public CarRepo(AppDbContext context) : ba...
#region copyright // ----------------------------------------------------------------------- // <copyright file="ISerializableSerializerFactory.cs" company="Akka.NET Team"> // Copyright (C) 2015-2016 AsynkronIT <https://github.com/AsynkronIT> // Copyright (C) 2016-2016 Akka.NET Team <https://github.com/akka...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestManager.Detector; using Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2; using System; using System.Linq; using System.Net; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Honu</title> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href="~/css/dark-theme.min.css" /> <li...
namespace Oyooni.Server.Constants { public static class Sizes { public const int MaxFileSize = 4000000; public const int MaxFilenameSize = 256; } }
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using model; using model.structs; using tests; using UnityEngine; using util; using static tests.PerformanceReport.TimeInterval; using static util.MathTools; using Logger = util.Logger; using Vector3 = Unity...
namespace InversionOfControl.Services { public interface IUnregisteredService { } }
//----------------------------------------------------------------------- // <copyright file="CountEntity.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> // <summary> // Implements class CountEntity. // </summary> //-------------------------------------------------------------...
using System; namespace Aula35 { class Veiculo{ public int vlmax; private bool ligado; private int rodas; public Veiculo(int rodas){ this.rodas=rodas; } public bool getligar(){ ligado=true; return ligado; ...
using System.Collections.Generic; namespace VAgency.Data.ViewModels.Company { public class SEOToolViewModel { public string GoogleVerify { get; set; } public string YandexNumber { get; set; } public string SiteName { get; set; } public string SiteDescription { get; set; } ...
 #if NETFRAMEWORK using Swifter.Json; using System; using System.Text; using System.Web.Mvc; using static SwifterExtensions; public static partial class SwifterExtensions { } #endif
using System; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Windows.Input; using Camelotia.Presentation.Interfaces; using Camelotia.Services.Interfaces; using ReactiveUI.Fody.Helpers; using ReactiveUI; namespace Camelotia.Presentation.ViewModels { public delegat...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebForm.Platform.WorkFlowDesigner { /// <summary> /// TestLineSqlWhere 的摘要说明 /// </summary> public class TestLineSqlWhere : IHttpHandler { public void ProcessRequest(HttpContext context) ...
using System.Text; using VRageMath; using Sandbox.Engine.Utils; using Sandbox.Game.World; using Sandbox.Graphics.GUI; using Sandbox.Game.Entities; using VRage; namespace Sandbox.Game.Gui { [MyDebugScreen("Game", "Player Camera")] class MyGuiScreenDebugPlayerCamera : MyGuiScreenDebugBase { public M...
// Copyright (c) https://github.com/Bian-Sh // Licensed under the MIT License. using UnityEngine; namespace zFramework.Media { public class BackgroundColorScope : GUI.Scope { public readonly Color orign; public BackgroundColorScope() { this.orign = GUI.backgroundColor; ...
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1018_1ee8-edb9dddf")] public void /* sys */ Method_1018_1ee8() { ii(0x1018_1ee8, 1); push(ebx); ...
using DuckGame; namespace TMGmod.Core { public class Czmag : PhysicsParticle { public Czmag(float xpos, float ypos) : base(xpos, ypos) { _hSpeed = 0f; _vSpeed = 0f; _graphic = new Sprite(GetPath("CZ75Magamed")); _center = new Vec2(1....
using Binance_Spot_API.Model.Enum; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Binance_Spot_API.Model.Order { public class QueryOrder : Abstract.Order { [JsonProperty("price")] public double Price { get; set; } [JsonProperty("origQty")] public ...
using Blog.Generator.Contexts; using Blog.Generator.Processors.Abstractions; using HtmlAgilityPack; using System; using System.Text; namespace Blog.Generator.Processors { public class BlockquoteFormatProcessor : MarkupProcessor { public override void Invoke(MarkupContext context) {...
namespace sr { public enum SubsearchScope { ReturnValue, SameObject, GameObject, Parent, Children, Prefab, } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Turtle : Monster { public override void Start() { base.Start(); } public override void Update() { base.Update(); rigidbody2D.velocity = Vector3.zero; //rigidbody2D.AddForce(Vector2.right * speed, Forc...
// ------------------------------------------------------- // Copyright (c) Coalition of the Good-Hearted Engineers // FREE TO USE FOR THE WORLD // ------------------------------------------------------- using Xunit; namespace Sofee.Core.Api.Tests.Acceptance.Brokers { [CollectionDefinition(nameof(ApiTestCollecti...
/*! * Paradigm Framework - Service Libraries * Copyright(c) 2017 Miracle Devs, Inc * Licensed under MIT(https://github.com/MiracleDevs/Paradigm.Services/blob/master/LICENSE) */ using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Paradigm.Services.Mvc.Middlewares { public abstra...
namespace SoundCloud.Api.Web { internal class ErrorWebResult<T> : WebResult<T> { internal ErrorWebResult(string errorMessage) : base(errorMessage) { } } }
namespace SudokuSharp.Engine.Solvers.Tests { using System.Collections.Generic; using System.Diagnostics; using System.Linq; using ApprovalTests; using ApprovalTests.Reporters; using Xunit; using Xunit.Abstractions; [UseReporter(typeof(WinMergeReporter))] public class PuzzleSolutionG...
using Godot; using System; public class Calender : Node { private int currentDay = 0; public void UpdateDay(int day) { if(currentDay != day) { Day dayLabel = GetNode("Day") as Day; dayLabel.UpdateDay(day); currentDay = day; } } }
// *********************************************************************** // Assembly : MPT.CSI.OOAPI // Author : Mark Thomas // Created : 12-02-2018 // // Last Modified By : Mark Thomas // Last Modified On : 12-02-2018 // ********************************************************************...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using PlayFoos.Core.Model; using PlayFoos.Core.Services; namespace PlayFoos.Core.Tests { [TestClass] public class EloRatingCalculatorServiceTe...
using Ninject; using TAlex.PowerCalc.Locators.Modules; using TAlex.PowerCalc.ViewModels; using TAlex.PowerCalc.ViewModels.Plot2D; namespace TAlex.PowerCalc.Locators { public class ViewModelLocator { #region Fields private IKernel _kernel; #endregion #region ...
using Avalonia; using Avalonia.Controls; using Avalonia.Media; namespace Ruthenium.DataGrid { public class ColumnHeader : Control { internal Column Column { get; } private TextBlock TextBlock { get; } private SolidColorBrush BackgroundBrush { get; } = new SolidColorBrush {Color = Colors...
using RiskyMod.SharedHooks; using RoR2; using UnityEngine; namespace RiskyMod.Tweaks.CharacterMechanics { public class FixSlayer { public static bool enabled = true; public FixSlayer() { if (!enabled) return; TakeDamage.ModifyInitialDamageActions += SlayerDamage...
using System; namespace ANCBE.Models { public class ArchivedPostsSummary { public DateTime Date { get { return new DateTime(Year, Month, 1); } } public int Count { get; set; } public int Year { get; set; } pub...
using System.Linq; using Microsoft.EntityFrameworkCore; namespace BusinessApp.Infrastructure.Persistence { /// <summary> /// Visits a <see cref="DbSet{T}" /> to provide additional functionality /// </summary> public interface IDbSetVisitor<T> where T : class { IQueryable<T> Visit(Db...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityStandardAssets.CrossPlatformInput; public class Player : MonoBehaviour { //variable declaration public float speed = 8.5f; float screenHalfWidthInWorldUnits; float halfPlayerWidth; publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.IO; using SevenZip; using System.Windows.Forms; using System.Diagnostics; using AutoVScodeCEnvironment; namespace AutoVScodeCEnvironment.Classes { class Operatio...
using UnityEngine; using System.Collections; using System.Diagnostics; abstract public class BaseGameEntity : MonoBehaviour { //every entity must have a unique identifying number protected int id; //this is the next valid ID. Each time a BaseGameEntity is instantiated //this value is updated static protected int...
using System; using System.Collections.Generic; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; namespace GitaClientConsoleApp { class Program { static async Task Main(string[] args) { var gitaApiClient = new HttpClient(); var response = aw...