Method | Description | |
---|---|---|
Create ( System.Action action ) : IDisposable |
Constructs an object that will call when disposed.
|
|
Dispose ( ) : void |
Invokes the action passed to the constructor.
|
|
DisposeAction ( System.Action action ) : System |
Constructs an instance that will call when disposed.
|
public static Create ( System.Action action ) : IDisposable | ||
action | System.Action | |
return | IDisposable |
public DisposeAction ( System.Action action ) : System | ||
action | System.Action | |
return | System |