C# Класс Corlib.DisposableExtensions

IDisposable extension methods
Показать файл Открыть проект

Открытые методы

Метод Описание
TryDispose ( ) : bool

Attempts the call to dispose for each arg by catches exceptions

Exceptions are routed to the current exception handler

TryDispose ( this disposable ) : bool

Attempts the call to dispose by catches exceptions

Exceptions are routed to the current exception handler

TryDispose ( this disposables ) : bool

Attempts the call to dispose for each instance by catches exceptions

Exceptions are routed to the current exception handler

Приватные методы

Метод Описание
TryDispose ( IEnumerable disposables, Lazy exceptionHandler ) : bool
TryDispose ( this disposable, Lazy exceptionHandler ) : bool

Описание методов

TryDispose() публичный статический Метод

Attempts the call to dispose for each arg by catches exceptions
Exceptions are routed to the current exception handler
public static TryDispose ( ) : bool
Результат bool

TryDispose() публичный статический Метод

Attempts the call to dispose by catches exceptions
Exceptions are routed to the current exception handler
public static TryDispose ( this disposable ) : bool
disposable this instance to dispose
Результат bool

TryDispose() публичный статический Метод

Attempts the call to dispose for each instance by catches exceptions
Exceptions are routed to the current exception handler
public static TryDispose ( this disposables ) : bool
disposables this instances to dispose
Результат bool