TriLib
Search Results for

    Show / Hide Table of Contents

    Class IObjectExtensions

    Represents a series of Object extension methods.

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

    Methods

    TryToDispose<T>(IList<T>)

    Declaration
    public static void TryToDispose<T>(this IList<T> obj)
    Parameters
    Type Name Description
    IList<T> obj
    Type Parameters
    Name Description
    T

    TryToDispose<T>(object)

    Tries to Dispose the Object without causing an Exception.

    Declaration
    public static void TryToDispose<T>(this object obj)
    Parameters
    Type Name Description
    object obj

    The Object.

    Type Parameters
    Name Description
    T

    The Object value type.

    In this article
    Back to top Generated by DocFX