Add Method
- Namespace
- SatorImaging.LifecycleManager
Add(Action)
public Action Add(Action act)
Parameters
act
Action
Returns
- Action
Returns received action instance as-is. It is null when null is passed.
Note
Add(instance.Method)
will create new Action instance call by call implicitly. If plan to remove action later, removing requires exactly same instance so need to keep returned one.
Remarks
Do nothing when null action specified.