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