ActionDisposable Class

An IDisposable implementation that executes an Action upon disposal.
public class ActionDisposable : IDisposable
View source
Namespace
Jdenticon.Rendering
Package
PackageJdenticon-net
Inheritance
SystemObject Jdenticon.RenderingActionDisposable

Constructors

Public methodActionDisposable
Creates an instance of ActionDisposable.

Properties

Public propertyStatic memberEmpty
Gets an ActionDisposable that does nothing when it is disposed.

Methods

Public methodDispose
Calls the dispose action of this ActionDisposable.

See Also

Reference