docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class RejectedAction<TPayload, TThunkArg>

    An action dispatched when the thunk is rejected with an optional payload.

    Inheritance
    object
    Action
    Action<TPayload>
    RejectedAction<TPayload, TThunkArg>
    Implements
    IEquatable<Action>
    IEquatable<Action<TPayload>>
    IEquatable<RejectedAction<TPayload, TThunkArg>>
    Inherited Members
    Action<TPayload>.payload
    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 RejectedAction<TPayload, TThunkArg> : Action<TPayload>, IEquatable<Action>, IEquatable<Action<TPayload>>, IEquatable<RejectedAction<TPayload, TThunkArg>>
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    TThunkArg

    The type of the argument to pass to the thunk.

    Constructors

    RejectedAction(string, TPayload, RejectedMeta<TThunkArg>)

    An action dispatched when the thunk is rejected with an optional payload.

    Declaration
    public RejectedAction(string type, TPayload payload, RejectedMeta<TThunkArg> meta)
    Parameters
    Type Name Description
    string type

    The type of the action.

    TPayload payload

    The payload of the action.

    RejectedMeta<TThunkArg> meta

    The metadata of the action.

    Properties

    meta

    Declaration
    public RejectedMeta<TThunkArg> meta { get; }
    Property Value
    Type Description
    RejectedMeta<TThunkArg>

    Implements

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