[This is preliminary documentation and is subject to change.]
The Scope type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| Scope | Initializes a new instance of the Scope class |
Methods
| Name | Description | |
|---|---|---|
| AtExit(Action) | ||
| AtExit T1 (T1, Action T1 ) | ||
| AtExit T1, T2 (T1, T2, Action T1, T2 ) | ||
| AtExit T1, T2, T3 (T1, T2, T3, Action T1, T2, T3 ) | ||
| AtExit T1, T2, T3, T4 (T1, T2, T3, T4, Action T1, T2, T3, T4 ) | ||
| Destructor | (Overrides DisposableObject Destructor .) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| OnExit(Action) | ||
| OnExit T1 (T1, Action T1 ) | ||
| OnExit T1, T2 (T1, T2, Action T1, T2 ) | ||
| OnExit T1, T2, T3 (T1, T2, T3, Action T1, T2, T3 ) | ||
| OnExit T1, T2, T3, T4 (T1, T2, T3, T4, Action T1, T2, T3, T4 ) | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
Properties
| Name | Description | |
|---|---|---|
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
See Also