NullDisposable Class
Namespace: Stride.CoreAssembly: Stride.Core.dll
This class is an implementation of the System.IDisposable interface that does nothing when disposed.
System.Object →
NullDisposable
Derived from NullDisposable:
public class NullDisposable : IDisposable
| Name | Description | |
|---|---|---|
| Fields | ||
| Instance | A static instance of the NullDisposable class. |
|
| Methods | ||
| Dispose() | Implementation of the System.IDisposable.Dispose() method. This method does nothing. |
|
Fields
Instance
A static instance of the NullDisposable class.
public static readonly NullDisposable Instance
Field Value
| Type | Description |
|---|---|
| NullDisposable |
Methods
Dispose()
Implementation of the System.IDisposable.Dispose() method. This method does nothing.
public void Dispose()