docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Action<TPayload>

    An action with a payload.

    Inheritance
    object
    Action
    Action<TPayload>
    AsyncThunkAction<TArg, TPayload>
    FulfilledAction<TArg, TPayload>
    PendingAction<TArg, TPayload>
    RejectedAction<TArg, TPayload>
    Implements
    IEquatable<Action>
    IEquatable<Action<TPayload>>
    IAction<TPayload>
    IAction
    Inherited Members
    Action.type
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    [Preserve]
    public class Action<TPayload> : Action, IEquatable<Action>, IEquatable<Action<TPayload>>, IAction<TPayload>, IAction
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    Properties

    payload

    The payload of the action.

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

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    Action.Equals(object)

    Equals(Action)

    Declaration
    public override bool Equals(Action other)
    Parameters
    Type Name Description
    Action other
    Returns
    Type Description
    bool
    Overrides
    Action.Equals(Action)

    Equals(Action<TPayload>)

    Declaration
    public bool Equals(Action<TPayload> other)
    Parameters
    Type Name Description
    Action<TPayload> other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    Action.GetHashCode()

    Implements

    IEquatable<T>
    IEquatable<T>
    IAction<TPayload>
    IAction
    In This Article
    Back to top
    Copyright © 2026 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)