content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FindeyVouchers.Domain; using FindeyVouchers.Domain.EfModels; using FindeyVouchers.Interfaces; using Serilog; namespace FindeyVouchers.Services { public class MerchantService : IMerchantService...
// Copyright (c) Aksio Insurtech. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Aksio.Cratis.DependencyInversion; using Aksio.Cratis.Events.Projections.Definitions; using Aksio.Cratis.Execution; using Microsoft.AspNetCore.Mvc; namespac...
using System; namespace Ship_Game.AI.StrategyAI.WarGoals { public class Defense : Campaign { SolarSystem CurrentTarget; /// <summary> /// Initializes from save a new instance of the <see cref="Defense"/> class. /// </summary> public Defense(Campaign campaign, War war) ...
using System; using System.Text; #if !NETSTANDARD1_3 using System.Runtime.Serialization; using System.Security.Permissions; #endif using AdvancedStringBuilder; using MsieJavaScriptEngine.Constants; using MsieJavaScriptEngine.Helpers; namespace MsieJavaScriptEngine { /// <summary> /// The exception that is thrown ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FingannTemplate.Services.Navigation.Interfaces { /// <summary> /// The Displayable interface. /// </summary> public interface IDisplayable { /// <summary> ...
namespace DotNetCenter.Beyond.Web.Core.Middlewares { using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore; using DotNetCenter.Beyond.Web.Core.Common.DIContainerServices; public sta...
using PaymentGateway.Domain.Common; using System; namespace PaymentGateway.Domain.Payments { /// <summary> /// Placeholder entity with no validations. To be implemented when a real bank is integrated. /// </summary> public class PaymentResponse:Entity { public PaymentRequest PaymentRequest...
namespace TennisBookings.Web.External.Models { public class Wind { public float Speed { get; set; } public float Degrees { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TPC_UPC.Domain.Models; namespace TPC_UPC.Domain.Persistence.Repositories { public interface ICoordinatorRepository { Task<IEnumerable<Coordinator>> ListAsync(); Task AddAsync(Coordinator coordinator); Task<...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace XForm.Data { /// <summary> /// ColumnDetails provides column metadata for columns in an XArray. /// </summary> public class C...
using UnityEngine; using System.Collections; [DefaultExecutionOrder(100)] public class DisplayMenuData : MonoBehaviour { public string valueName; public TMPro.TextMeshProUGUI textObject; // Use this for initialization public GameObject dataSource; private IUIAdapter dataAdapter; void Start() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace rcsir.net.common.Network { public class VertexCollection<T> : HashSet<Vertex<T>> { public VertexCollection() : base() { } public VertexCollec...
using System; using System.Collections.Generic; using Xabbo.Messages; namespace Xabbo.Core { public class PetInfo : IComposable { public int Id { get; set; } public string Name { get; set; } = string.Empty; public int Level { get; set; } public int MaxLevel { get; set; } ...
namespace ScottPlot.Cookbook.Categories.PlotTypes; public class Arrow : ICategory { public string Name => "Arrow"; public string Folder => "plottable-arrow"; public string Description => "Arrows point to a location in coordinate space."; }
using System; namespace DbConnection { public class DbCommand { private DbConnection _connection; public DbCommand(DbConnection connection) { if (connection == null) throw new NullReferenceException("DbConnection cannot be null"); _connection = connection; ...
//----------------------------------------------------------------------- // <copyright file="ConfigurationErrorsException.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Exception class indicating that there was a valida...
using System.Linq; using System.Net.Http.Headers; using Tangle.Net.Crypto; using Tangle.Net.Utils; namespace Tangle.Net.Entity.Ed25519 { public class Ed25519Seed { public Ed25519Seed(byte[] secretKey) { SecretKey = secretKey; } private KeyPair keyPair { get; set; } public byte[] SecretK...
namespace SummitRidge.PlayerMove { public interface IMoverInput { float Horizontal(); float Vertical(); bool IsJump(); bool IsCrouch(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using OpenCover.Framework.Model; namespace OpenCover.Test.Framework.Model { [TestFixture] public class InstrumentationPointTests { [Test] public void CanRetrieveSavedTrackedRefs() ...
using System.Security.Claims; using System.Threading.Tasks; using FinHub.Models; using FinHub.Models.EntityModels; namespace FinHub.Services { public interface IGroupUsersService { Task<ServiceResult<int>> AddUser(string groupCode, User user); Task<ServiceResult<int>> RemoveUser(int groupId, Us...
using System; using System.Reactive.Concurrency; using ReactiveUI; namespace Akavache { public static class BlobCache { static string applicationName; static ISecureBlobCache perSession = new TestBlobCache(Scheduler.Immediate); static BlobCache() { if (RxApp.InUnitT...
/*====================================================*\ *|| Copyright(c) KineticIsEpic. || *|| See LICENSE.TXT for details. || *====================================================*/ using System; using System.Collections.Generic; using System.Linq; using System.Text; usin...
using System.ComponentModel; using System.Drawing; using System.Threading.Tasks; using MarkPad.Plugins; namespace MarkPad.DocumentSources { public abstract class MarkpadDocumentBase : IMarkpadDocument { readonly IDocumentFactory documentFactory; protected MarkpadDocumentBase( strin...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Events; namespace FantomLib { /// <summary> /// Manage Overlay Permission Controller (API 23 or higher) /// ///・Open Manage Overlay Permission settings. /// ///・フロ...
using commercetools.Sdk.Domain.Common; using commercetools.Sdk.Domain.Orders; using commercetools.Sdk.Domain.Stores; namespace commercetools.Sdk.Domain.Messages.Orders { [TypeMarker("OrderStoreSet")] public class OrderStoreSetMessage : Message<Order> { public KeyReference<Store> Store { get; set; ...
using System.Collections.Generic; using System.Linq; using DotLiquid; using tradelr.DBML; using tradelr.Models.products; namespace tradelr.Models.liquid.models.Product { public class Variant : Drop { public long id { get; set; } public string title { get; set; } public bool available {...
using Silksprite.EmoteWizardSupport.Collections.Base; using Silksprite.EmoteWizardSupport.Extensions; using UnityEditor; using UnityEngine; using static Silksprite.EmoteWizardSupport.Tools.PropertyDrawerUITools; namespace Silksprite.EmoteWizard.Collections { public class ExpressionItemListHeaderDrawer : ListHeader...
using Furion.FriendlyException; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PowerAdmin.Domain.User.Models { public class Password { private string password = default!; public static implicit operator Password(st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConventionRegistration { /// <summary> /// /// </summary> enum EVENTTYPE { ENTER, LEAVE } class Evnt : IComparable { public EVENTTYPE Type { get; set; } ...
using UnityEngine; using System.Collections; public class BombExplosion : MonoBehaviour { public float duration; public void OnEnable() { Invoke("halt", duration); } public void OnDisable() { CancelInvoke(); } private void halt() { gameObject.SetActive(false); } public void OnTrig...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc; using Runner.Models.Results; namespace Runner.Tools { public static class ExtensionMethods { public static IHtmlContent ContentWithCacheBuster(this IUrlHelper url, string ...
using System; namespace App1 { public class AppClass<T> { // private T type; public AppClass() { // this.type = type; } } } public class Example { public static void Main() { // <Snippet1> var t = Type.GetType("App1.AppClass`1", true); Type[] ty...
using System; namespace Jellyfish.Virtu { internal abstract class Disk525 { protected byte[] Data; public bool IsWriteProtected; protected Disk525(byte[] data, bool isWriteProtected) { Data = data; IsWriteProtected = isWriteProtected; } public virtual void Sync(IComponentSerialize...
using UnityEngine; using UnityEngine.UI; using Z.Frame; using Z.Tool; namespace Z.Game { public class PlayerPanel : IPanel { private Text name; public void OnOpen(GameObject root) { this.name = root.Find("txt_name").GetComponent<Text>(); this.name.text = DataManager.PlayerData.Name; var ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MxWeiXinPF.Common; namespace MxWeiXinPF.Web.weixin.xitie { /// <summary> /// xitie 的摘要说明 /// </summary> public class xitie : IHttpHandler { public void ProcessRequest(HttpContext context) { ...
using System.Collections; using UnityEngine; using UnityEngine.UI; public class Language : MonoBehaviour { public Sprite[] flag_PtBR = new Sprite[2]; public Sprite[] flag_US = new Sprite[2]; public Button btnPtBR; public Button btnUS; public Text[] menuButtons = new Text[3]; void Awake() ...
using UnityEngine; using UnityEngine.UI; public class PollenCollectable : MonoBehaviour { public Text currentPollenText; public Text maxPollenText; [SerializeField] private double maxPollen; [SerializeField] private double currentPollen; public bool canCollect; private void Start()...
using System; using System.ComponentModel.DataAnnotations; namespace Api.Model { public class BaseEntity { [Key] public Guid? Id { get; set; } public DateTime? AddTime { get; set; } public virtual void Init() { Id = Guid.NewGuid(); AddTime = DateT...
namespace ContosoMoments.Common.Enums { public enum ImageFormats { PNG, JPG, JPEG, BMP } }
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
// Copyright 2010 Chris Patterson // // 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...
namespace GrowATree.Domain.Enums { public enum PromoCodeType { Percentage = 1, FixedPrice } }
#if UNITY_EDITOR using UnityEngine; using System.Collections; using System.Collections.Generic; using Excel; using System; using System.IO; using System.Data; using System.Reflection; using UnityEditor; public class CreateExcelAssetBundle { public static void CreatExcelAssetBuncle() { string path = "A...
namespace Eventures.Services.Implementations { using AutoMapper; using Contracts; using Data; using Data.Models; using Eventures.Core; using Models; using System; using System.Collections.Generic; using System.Linq; public class EventService : IEventService { privat...
// 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 Microsoft.EntityFrameworkCore.Infrastructure; namespace Microsoft.EntityFrameworkCore { /// <summary> /// <para> /// Indi...
using System; using System.Windows.Forms; using LSystem; namespace LSystemDesigner { /// <summary> /// Форма загрузки L-систем уже созданных в системе /// </summary> public partial class LoadLSystemDialog : Form { /// <summary> /// Ctor. /// </summary> public LoadLS...
//----------------------------------------------------------------------- // <copyright file="IAttackModifier.cs" company="Short Leg Studio, LLC"> // Copyright (c) Short Leg Studio, LLC. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace SilverN...
using System; namespace Lunr { public sealed class FieldReference { public const char Joiner = '/'; private string? _stringValue; public FieldReference(string documentReference, string fieldName, string? stringValue = null) { DocumentReference = documentReference;...
using System; using System.Linq; using WindowsAzure.Table; using WindowsAzure.Tests.Attributes; using WindowsAzure.Tests.Samples; using Xunit; namespace WindowsAzure.Tests.Table.Queryable.Integration { public sealed class SingleTests : CountryTableSetBase { private const string Finland = "Finland"; ...
using IronText.Framework; using IronText.Logging; using NUnit.Framework; namespace IronText.Tests.IO { /// <summary> ///This is a test class for SourceLocationTest and is intended ///to contain all SourceLocationTest Unit Tests ///</summary> [TestFixture] public class LocTest { ///...
using System; using static System.Console; using System.IO; using System.Diagnostics; using System.Linq; using System.Collections.Generic; using System.Numerics; namespace AoC { using Asteroid = Complex; class Program { static int GCD(int a, int b) { while (a !...
#if NETCOREAPP3_0 using Microsoft.AspNetCore.Http; namespace Alba.Stubs { public class StubResponseCookieCollection : IResponseCookies { public void Append(string key, string value) { } public void Append(string key, string value, CookieOptions options) { } ...
namespace Unity.VisualScripting.Community { [Descriptor(typeof(BindFuncNode))] public sealed class BindFuncNodeDescriptor : BindDelegateNodeDescriptor<BindFuncNode, IFunc> { public BindFuncNodeDescriptor(BindFuncNode target) : base(target) { } protected override EditorTextu...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text.Json.Serialization; using Anidow.Database.Models; using Anidow.Utils; namespace Anidow.GraphQL; public class PageInfo { [JsonPropertyName("total")] public int Total { get; set; } [JsonPr...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using StarCake.Shared.Models.ViewModels; /** * This namespace includes ONLY the * data needed in StarCake/Client/Pages/FlightLogging/FlightLogging.razor */ namespace StarCake.Shared.Models.ViewMo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Environment = System.Environment; namespace Celarix.Cix.Compiler.Emit.IronArc.Models { internal sealed class CommentPrinterVertex : ControlFlowVertex { public string CommentText { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Car : MonoBehaviour { [SerializeField] float carSpeed = 10; [SerializeField] float speedGainPerSec = .2f; [SerializeField] float turnSpeed = 200f; private int steer...
using System; using Android.Content; using Android.Views; using Android.Widget; namespace Xamarin.Forms.Platform.Android { internal class FormsSeekBar : SeekBar { public FormsSeekBar(Context context) : base(context) { //this should work, but it doesn't. DuplicateParentStateEnabled = false; } public ...
using Prism.Mvvm; namespace BlueMonkey.ViewModels { public class ChartPageViewModel : BindableBase { public ChartPageViewModel() { } } }
using System.Windows; using System.Windows.Media; using AcManager.Controls.Presentation; using FirstFloor.ModernUI.Presentation; namespace AcManager.Controls.Helpers { public static class CustomAccentColor { public static void SetCustomAccentColor(this FrameworkElement page, Color color) { page...
using System.CodeDom.Compiler; using System.IO; public class AcceptanceTestV1Assembly : AcceptanceTestAssembly { private AcceptanceTestV1Assembly() { } protected override void AddStandardReferences(CompilerParameters parameters) { base.AddStandardReferences(parameters); parameters.Referen...
using DataClassHierarchy; using System; using System.Collections.Generic; namespace Compiler.Lexer { public class GroupUnt : Unterminal { protected override AstNode SetAst(IReadOnlyList<GramSymbol> derivation) { // <group> := "(" <regex> ")" if (derivation[0] is Token { Type: Token...
global using System.Text.Json.Serialization; global using System.Buffers; global using System.Text.Json; global using System.Reflection; global using System.Net.Http.Json; global using Microsoft.CodeAnalysis; global using Microsoft.CodeAnalysis.CSharp; global using Microsoft.CodeAnalysis.CSharp.Syntax; global using Mi...
using System; using System.Linq; namespace Vexilla.Client { public class VexillaHasher { private Double seed; public VexillaHasher(Double seed) { this.seed = seed; } public Double hashString(String stringToHash) { int sum = stringToHas...
using System; namespace Nmli.CollectionAgnostic { public interface ITest<AT> { void Mul(int n, AT a, AT b, AT y); } /// <summary> /// Vector math library functions for a generic array type /// </summary> /// <typeparam name="AT">Generic array type (eg pointer, ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.TestHelpers { using System.Collections.Generic; using System.Data.Entity.Config; using System.Data.Entity.Infrastructure; using Syste...
@inherits UmbracoViewPage<BlogViewModel> @{ Layout = "Master.cshtml"; } <div class="header">Blog</div> @foreach (var post in Model.Posts) { <div class="post"> <h2 class="post-title"><a href="@post.Url">@post.Name</a></h2> <p class="post-meta">@post.Published.ToLongDateString()</p> <p c...
namespace EA.Iws.RequestHandlers.Tests.Unit.NotificationAssessment { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Core.TransitState; using Core.TransportRoute; using Domain.TransportRoute; using FakeItEasy; using Prsd.Core.Ma...
// Configure log4net using the .config file using System; using System.ComponentModel.Composition.Hosting; using System.Configuration; using System.Reflection; using Xrm.Solution.Configuration; using Xrm.Solution.Log; [assembly: log4net.Config.XmlConfigurator(Watch = true)] // This will cause log4net to lo...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Solution.CrossCutting.DependencyInjection; using Solution.CrossCutting.Logging; using Solution.CrossCutting.Utils; namespace Solution.CrossCutting.Tests { [TestClass] public class LoggingTest { public LoggingTest() { DependencyInjector.RegisterService...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using Azure.Communication; namespace Azure.Communication.Chat { /// <summary> A participant of the chat thread. </summary> internal partial class ChatParticipa...
using UnityEditor; using UnityEditor.UI; namespace DUCK.UI.Editor { [CustomEditor(typeof(AdvancedButton))] public class AdvancedButtonEditor : ButtonEditor { private SerializedProperty onOneClickProperty; protected override void OnEnable() { base.OnEnable(); onOneClickProperty = serializedObject.FindP...
namespace BrushesDemos.Views { public partial class RadialGradientBrushDemoPage : ContentPage { public RadialGradientBrushDemoPage() { InitializeComponent(); } } }
using ChessStandard.Model.Pieces; using System; using System.Collections.Generic; using System.Text; using static ChessStandard.Utils.Enums; namespace ChessStandard.Model { public sealed class History { #region Singleton private static readonly Lazy<History> _Instance = new Lazy<History>(() =>...
using System.Xml.Serialization; using VersionOne.ServiceHost.ConfigurationTool.Validation; using VersionOne.ServiceHost.ConfigurationTool.Attributes; namespace VersionOne.ServiceHost.ConfigurationTool.Entities { /// <summary> /// VersionOne connection settings node backing class. /// </summary> [XmlRoo...
namespace XNAssets { public interface IAssetLoader<out T> { T Load(AssetLoaderContext context, string assetName); } }
using Application.Interfaces; using Domain.Entities; using Microsoft.Extensions.Hosting; using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Shared; using TokenRepository; namespace Infrastructu...
namespace EmployeeFacesApi.RequestModel { public class OrganizationUser { public string UserId { get; set; } public string PersonId { get; set; } public string Name { get; set; } public string Email { get; set; } public string PictureUrl { get; set; } public...
using System.Collections.Generic; using System.Threading.Tasks; using SppdDocs.Core.Domain.Entities; using SppdDocs.Core.Repositories; using SppdDocs.Core.Services; namespace SppdDocs.Infrastructure.Services { internal class CardService : ICardService { private readonly ICardRepository _cardRepositor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FileMeta { class Program { // Test cases static readonly TestCase[] s_testCases = new TestCase[] { new TestCase("0", "0", TimeZoneKind.ForceLocal, 0), new TestCase("Z...
using Haukcode.ArtNet.IO; using System; namespace Haukcode.ArtNet.Packets { public class ArtTriggerPacket : ArtNetPacket { public ArtTriggerPacket() : base(ArtNetOpCodes.ArtTrigger) { } public ArtTriggerPacket(ArtNetReceiveData data) : base(data) ...
using System.Collections.Generic; using System.IO; using System.Linq; using ADUserExtractor.Lib.Formatters; namespace ADUserExtractor.Lib.Writers { public class UsersFileWriter : UsersWriter { private readonly string _filePath; public UsersFileWriter(string filePath) { _f...
using CScape.Core.Json.Model; namespace CScape.Core.Tests.Impl { public sealed class MockInterfaceDb : IInterfaceIdDatabase { public int AgilityLevelUpDialog { get; } public int AttackLevelUpDialog { get; } public int BackpackContainer { get; } public int BackpackSidebar { get; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Portal : ActionItem { public Vector3 TeleportLocation { get; set; } [SerializeField] private Portal[] linkedPortals; private PortalController PortalController { get; set; } void Start () { PortalCon...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace MySQL_identity_demo.Models { public class sveDbContext : DbContext { public DbSet<zgrada> db_Zgrade { get; set; } public DbSet<zahtjeevi> db_Zahtjevi { get; set; } p...
// SPDX-FileCopyrightText: © 2022 MONAI Consortium // SPDX-FileCopyrightText: © 2019-2020 NVIDIA Corporation // SPDX-License-Identifier: Apache License 2.0 using System.Net; namespace Monai.Deploy.InformaticsGateway.DicomWeb.Client.API { public class DicomWebResponse<T> { public HttpStatusCode Status...
using System.ComponentModel; namespace Lykke.Frontend.WampHost.Services.Assets.Contracts { public class AssetUpdateMessage { [DisplayName("Asset (USD...)")] public string Id { get; set; } public string Name { get; set; } public string DisplayId { get; set; } public i...
using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Cors.Infrastructure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; namespace SampleWebApp.Security { static class CorsPolicyExtensions ...
namespace Logger_Exercise.Models.Contracts { public interface ILevelable { ErrorLevel Level { get; } } }
using System; namespace SchoolClasses { public class Disciplines: ICommentable { private string name; private int numberOfLectures; private int numberOfExcercises; public string Name { get; private set; } public int NumberOfLectures { get; private set; } public...
using UnityEngine; using System.Collections; public class PlayerPrefsManager : MonoBehaviour { const string MASTER_VOLUME_KEY = "master_volume"; public static void SetMasterVolume(float volume){ if(volume >= 0f && volume <= 1f){ PlayerPrefs.SetFloat(MASTER_VOLUME_KEY,volume); }else{ Debug.LogError("Mas...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization.Json; using ClassLibraryProject0; namespace Project0 { partial class Program { public static class Commands { public const string...
using ProxyR.Core.Extensions; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Reflection; namespace ProxyR.Abstractions.Execution { /// <summary> /// Contains a column-to-entity mapping, that can be s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CS3D.struts; using CS3D.dataTypes; namespace CS3D.Rendering { /// <summary> /// Holds data about the camara and the screen array to render to /// </summary> class Camara { ...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Piranha.Data.EF.SQLite.Migrations { [NoCoverage] public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyHealthManager : MonoBehaviour { public int MaxHealth; public int CurrentHealth; private PlayerStats thePlayerStats; public int expToGive; // Use this for initialization void Start () { CurrentHealth = MaxHeal...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SessionManager : Singleton<SessionManager> { public void PrintSession() { Debug.Log(SessionInstance.instance.session.ToString()); } public void ClearSession() { SessionInstance.instance.Clea...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; using UnityEngine.SceneManagement; public class FadeOut : MonoBehaviour { public float exposureWeightAttic; public float exposureWeightHallway; public float exposureWeightNursery; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RedemptionEngine.Items { public class InventorySlot { //attributes public enum SlotType { WEAPON, ARMOR, ANY } private SlotType holds; private Item item; private int stack; ...
using System; namespace PandaPlayer.LastFM.Objects { public class Album { public string Artist { get; } public string Title { get; } public Album(string artist, string title) { Artist = artist; Title = title; } public override bool Equals(Object obj) { var cmp = obj as Al...