class MAGES::StepContainer¶
Overview¶
Contains a list of steps to be executed at a specific point in an action’s lifecycle. More…
class StepContainer
{
public:
// properties
List<Step> BeforeInitializeSteps;
List<Step> AfterInitializeSteps;
List<Step> BeforePerformSteps;
List<Step> AfterPerformSteps;
List<Step> BeforeRevertSteps;
List<Step> AfterRevertSteps;
// methods
static string StepEventToProperty(StepEvent e);
static string StepEventToProperty(int i);
List<Step> Get(StepEvent e);
void Set(StepEvent e, List<Step> steps);
};
Detailed Documentation¶
Contains a list of steps to be executed at a specific point in an action’s lifecycle.
Properties¶
List<Step> BeforeInitializeSteps
Gets or sets the before initialize steps.
List<Step> AfterInitializeSteps
Gets or sets the after initialize steps.
List<Step> BeforePerformSteps
Gets or sets the before perform steps.
List<Step> AfterPerformSteps
Gets or sets the after perform steps.
List<Step> BeforeRevertSteps
Gets or sets the before revert steps.
List<Step> AfterRevertSteps
Gets or sets the after revert steps.
Methods¶
static string StepEventToProperty(StepEvent e)
Converts a step event to a property name.
Parameters:
e |
The event. |
Returns:
The string of the property to search for.
static string StepEventToProperty(int i)
Converts a step event to a property name.
Parameters:
i |
The index. |
Returns:
The property name.
List<Step> Get(StepEvent e)
Gets the steps for the specified event.
Parameters:
e |
The event. |
Returns:
The list of steps for this event.
void Set(StepEvent e, List<Step> steps)
Sets the steps for the specified event.
Parameters:
e |
The event. |
steps |
The step list. |