Click or drag to resize
Ab4d.SharpEngine logo

DisposeToken Structure

DisposeToken is used to provide a way to dispose an object that does not have a public Dispose method and can be disposed only by the owner of the DisposeToken.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Ab4d.SharpEngine.CoreDisposeToken

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public struct DisposeToken : IDisposable

The DisposeToken type exposes the following members.

Constructors
 NameDescription
Public methodDisposeToken Constructor
Top
Properties
 NameDescription
Public propertyIsDisposed Gets a Boolean that specifies if the Dispose method was already called.
Top
Methods
 NameDescription
Public methodDispose Dispose method calls the disposeAction that was specified when this DisposeToken was created.
Top
See Also