Метод | Описание | |
---|---|---|
AddCleanupAction ( System.Action action ) : void |
Adds a delegate to an action that will be executed on cleanup
|
|
BeginIsolationScope ( string isolationScopeName ) : IDisposable |
Begins a new, nested, isolation scope
|
|
BeginIsolationScope ( string isolationScopeName, Action |
Begins a new, nested, isolation scope
|
|
EndIsolationScope ( ) : void |
Ends the current isolation scope, calling all cleanup actions that were added to this scope in reverse order
|
|
TestExecutionScopesManager ( string name, Action |
Initializes a new TestExecutionScopesManager object, with one (default) isolation scope
|
Метод | Описание | |
---|---|---|
CleanupCurrentLevel ( ) : void |
public AddCleanupAction ( System.Action action ) : void | ||
action | System.Action | A delegate to the action to perform |
Результат | void |
public BeginIsolationScope ( string isolationScopeName ) : IDisposable | ||
isolationScopeName | string | The name of the new isolation scope |
Результат | IDisposable |
public BeginIsolationScope ( string isolationScopeName, Action |
||
isolationScopeName | string | The name of the new isolation scope |
initialize | Action |
A delegate to an action that is performed on initialization. If an exception occurs inside this /// method, then the scope is automatically destroyed, calling any cleanup actions that were added during this method |
Результат | IDisposable |
public TestExecutionScopesManager ( string name, Action |
||
name | string | The name of the isolation scope |
initialize | Action |
A delegate to an action that is performed on initialization. If an exception occurs inside this /// method, then the scope is automatically destroyed, calling any cleanup actions that were added during this method |
Результат | System |