Action
An action represents an invokable operation that performs a specific task.
Each action must be associated with a registered Category.
info
Not yet supported, but coming in the future
Properties
The following table outlines the properties of an action:
Property | Type | Description |
---|---|---|
Id | string | The unique identifier of the action. |
Label | string | The textual name representing the action. |
Description | string? | An optional textual description providing additional details about the action. |
CategoryId | string | The category this action belongs to (corresponds to the ID of a registered Category). |
GroupId | string? | An optional group the action is associated with (corresponds to the ID of a registered Group). |
MetricId | string? | An optional metric that represents the value this action adjusts or influences (corresponds to the ID of a registered Metric). |
Handler | Func<IMoBroSettings, Task> | The handler function that will be executed whenever this action is invoked. |
Settings | IEnumerable<SettingsFieldBase> | Settings exposed by this specific action. |