Interface IRunnableHook
Denotes Runnable entities that hook into initialization and finalization of the instance
Namespace: Azos.Scripting
Assembly: Azos.dll
Syntax
public interface IRunnableHook
Methods
Epilogue(Runner, FID, Exception)
Handles the post factum call, return true if exception was handled by this method and should NOT be thrown
Declaration
bool Epilogue(Runner runner, FID id, Exception error)
Parameters
Type | Name | Description |
---|---|---|
Runner | runner | |
FID | id | |
System.Exception | error |
Returns
Type | Description |
---|---|
System.Boolean |
Prologue(Runner, FID)
Invoked before the first method in runnable instance. Unit testing may use this as fixture setup
Declaration
void Prologue(Runner runner, FID id)
Parameters
Type | Name | Description |
---|---|---|
Runner | runner | |
FID | id |