Automatically executes an action when a triggering event occurs.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public void AutoExecute( TriggerEvent triggerEvent, Action triggerAction ) |
| Visual Basic (Declaration) |
|---|
Public Sub AutoExecute ( _ triggerEvent As TriggerEvent, _ triggerAction As Action _ ) |
Parameters
- triggerEvent
- Type: Gallio.Framework..::.TriggerEvent
The triggering event.
- triggerAction
- Type: Gallio.Common..::.Action
The action to execute when triggered.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if triggerAction is null. |
