Search Results for

    Show / Hide Table of Contents

    Class DisposableExtension

    Inheritance
    object
    DisposableExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Extensions
    Assembly: Mapsui.dll
    Syntax
    public static class DisposableExtension

    Methods

    | Edit this page View Source

    DisposeAllIfDisposable<T>(IEnumerable<T>)

    Declaration
    public static void DisposeAllIfDisposable<T>(this IEnumerable<T> disposables) where T : class
    Parameters
    Type Name Description
    IEnumerable<T> disposables
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    DisposeAndNullify(ref object?)

    Declaration
    public static void DisposeAndNullify(ref object? disposable)
    Parameters
    Type Name Description
    object disposable
    | Edit this page View Source

    DisposeAndNullify<T>(ref T?)

    Declaration
    public static void DisposeAndNullify<T>(ref T? disposable) where T : class, IDisposable
    Parameters
    Type Name Description
    T disposable
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    DisposeIfDisposable(object?)

    Declaration
    public static void DisposeIfDisposable(this object? disposable)
    Parameters
    Type Name Description
    object disposable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX