Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes this scope; if a tear-down method exists, it is executed.
|
|
TemporaryScope ( System.Action setup = null, System.Action tearDown = null ) : System |
Initializes a new instance of the TemporaryScope class.
|
public TemporaryScope ( System.Action setup = null, System.Action tearDown = null ) : System | ||
setup | System.Action | The setup. |
tearDown | System.Action | The tear down. |
return | System |