Class Action<TPayload>
An action with a payload.
Inherited Members
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 |