Class IObjectExtensions
Represents a series of Object extension methods.
Inherited Members
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. |