Search Results for

    Show / Hide Table of Contents

    Class DisposableWrapper<T>

    Inheritance
    object
    DisposableWrapper<T>
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Disposing
    Assembly: Mapsui.dll
    Syntax
    public class DisposableWrapper<T> : IDisposable where T : IDisposable
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    DisposableWrapper(T, bool)

    Declaration
    public DisposableWrapper(T wrappedObject, bool ownsObject)
    Parameters
    Type Name Description
    T wrappedObject
    bool ownsObject

    Properties

    | Edit this page View Source

    WrappedObject

    Declaration
    public T WrappedObject { get; }
    Property Value
    Type Description
    T

    Methods

    | Edit this page View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    | Edit this page View Source

    Dispose(bool)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    | Edit this page View Source

    ~DisposableWrapper()

    Declaration
    protected ~DisposableWrapper()

    Implements

    IDisposable

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX