Method CreateAction
CreateAction(string)
Create a new Action. See Unity.AppUI.Redux.Action for more information.
Declaration
public static ActionCreator CreateAction(string type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The type of the action. |
Returns
| Type | Description |
|---|---|
| ActionCreator | A new Action. |
CreateAction<TPayload>(string)
Create a new Action. See Unity.AppUI.Redux.Action<TPayload> for more information.
Declaration
public static ActionCreator<TPayload> CreateAction<TPayload>(string type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The type of the action. |
Returns
| Type | Description |
|---|---|
| ActionCreator<TPayload> | A new Action. |
Type Parameters
| Name | Description |
|---|---|
| TPayload | The type of the payload. |
CreateAction(string, Type)
Create a new Action. See Unity.AppUI.Redux.Action<TPayload> for more information.
Declaration
public static ActionCreator CreateAction(string type, Type actionType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The type of the action. |
| Type | actionType | The type of the action to instantiate. |
Returns
| Type | Description |
|---|---|
| ActionCreator | A new Action. |