A disposable class that does nothing.
- Namespace
- Statiq
.Common - Interfaces
-
- IDisposable
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IDisposable"]
Type["EmptyDisposable"]
class Type type-node
Syntax
public sealed class EmptyDisposable : IDisposable
Fields
| Name | Field Type | Constant Value | Summary |
|---|---|---|---|
| Instance | EmptyDisposable |
A singleton instance of the
EmptyDisposable.
static
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| Dispose |
void |
Does nothing.
|