Summary
Factory methods for creating lightweight
IDisposable wrappers around cleanup actions.
- Namespace
-
GitVersion
.Helpers - Base Types
-
- object
graph BT Type-->Base0["object"] Type["Disposable"] class
Type type-node
Syntax
public static class Disposable
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Empty |
A no-op disposable that does nothing when disposed.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
|
Create |
IDisposable |
Creates an
IDisposable that
invokes
disposer
when disposed.
static
|
|
Create |
IDisposable |
static
|
|
Dispose |
void |