C# 클래스 Corlib.DisposableExtensions

IDisposable extension methods
파일 보기 프로젝트 열기: GeorgeTsiokos/corlib

공개 메소드들

메소드 설명
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