logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PrimaryDeviceSelectorFactoryInput

    Input parameters for creating a PlayerInputPrimaryDeviceSelector via its factory.

    Inheritance
    object
    PrimaryDeviceSelectorFactoryInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.InputGateway.Domain.Interfaces.Components.Factories
    Assembly: Serenity.InputGateway.Application.dll
    Syntax
    public class PrimaryDeviceSelectorFactoryInput

    Constructors

    PrimaryDeviceSelectorFactoryInput(object, ILogService)

    Initializes a new instance of the PrimaryDeviceSelectorFactoryInput class with the specified player input handle.

    Declaration
    public PrimaryDeviceSelectorFactoryInput(object playerInputHandle, ILogService logService)
    Parameters
    Type Name Description
    object playerInputHandle

    The handle to the player input system (e.g., a PlayerInput component in Unity).

    ILogService logService

    The logging service for diagnostic output.

    Properties

    LogService

    The logging service for diagnostic output.

    Declaration
    public ILogService LogService { get; set; }
    Property Value
    Type Description
    ILogService

    The ILogService instance for logging.

    PlayerInputHandle

    The handle to the player input system (e.g., a PlayerInput component in Unity).

    Declaration
    public object PlayerInputHandle { get; set; }
    Property Value
    Type Description
    object

    An object representing the player input handle.

    Methods

    EnsureValid()

    Ensures that the input parameters are valid.

    Declaration
    public void EnsureValid()
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if any required parameter is null.

    In this article
    © 2026 Serenity. All Rights Reserved