Show / Hide Table of Contents

    Class DisposableBase

    This is a base class for common IDisposable implementation.

    Inheritance
    Object
    DisposableBase
    SpatialCoordinateServiceBase<TKey>
    Implements
    IDisposable
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.SpatialAlignment
    Assembly: cs.temp.dll.dll
    Syntax
    public class DisposableBase : IDisposable
    Remarks

    Follows https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose

    Properties

    IsDisposed

    Is the current object disposed.

    Declaration
    public bool IsDisposed { get; }
    Property Value
    Type Description
    Boolean

    ObjectName

    The name of the current object.

    Declaration
    protected virtual string ObjectName { get; }
    Property Value
    Type Description
    String

    Methods

    Dispose()

    Dispose the current object.

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    OnManagedDispose()

    Override this method to dispose of managed objects.

    Declaration
    protected virtual void OnManagedDispose()

    OnUnmanagedDispose()

    Override this method to dispose of unmanaged objects.

    Declaration
    protected virtual void OnUnmanagedDispose()

    ThrowIfDisposed()

    A helper method to throw if the current object is disposed.

    Declaration
    protected void ThrowIfDisposed()

    Implements

    System.IDisposable
    Back to top Generated by DocFX