docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Action<TPayload>

    An action with a payload.

    Inheritance
    object
    Action
    Action<TPayload>
    Implements
    IEquatable<Action>
    IEquatable<Action<TPayload>>
    Inherited Members
    Action.type
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public record Action<TPayload> : Action, IEquatable<Action>, IEquatable<Action<TPayload>>
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    Constructors

    Action(string, TPayload)

    An action with a payload.

    Declaration
    public Action(string type, TPayload payload)
    Parameters
    Type Name Description
    string type

    The type of the action.

    TPayload payload

    The payload of the action.

    Properties

    payload

    The payload of the action.

    Declaration
    public TPayload payload { get; }
    Property Value
    Type Description
    TPayload

    Implements

    IEquatable<T>
    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)