Table of Contents

Class Disposable

Namespace
NanoByte.Common
Assembly
NanoByte.Common.dll

Invokes a callback on Dispose().

[MustDisposeResource]
public sealed class Disposable
Inheritance
Disposable
Extension Methods

Constructors

Disposable(Action)

Invokes a callback on Dispose().

public Disposable(Action callback)

Parameters

callback Action

The callback to invoke on Dispose().

Methods

Dispose()

Invokes the callback.

public void Dispose()