docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ActionCreator<TPayload>

    An action creator with a payload.

    Inheritance
    object
    ActionCreator
    ActionCreator<TPayload>
    Inherited Members
    ActionCreator.type
    ActionCreator.Invoke()
    ActionCreator.Match(Action)
    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 class ActionCreator<TPayload> : ActionCreator
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    Constructors

    ActionCreator(string)

    Creates a new action creator.

    Declaration
    public ActionCreator(string type)
    Parameters
    Type Name Description
    string type

    The type of the action.

    Methods

    Invoke(TPayload)

    Create the action to dispatch.

    Declaration
    public Action<TPayload> Invoke(TPayload payload)
    Parameters
    Type Name Description
    TPayload payload

    The payload of the action.

    Returns
    Type Description
    Action<TPayload>

    The action to dispatch.

    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)