C# 클래스 PortableRx.Reactive.Disposables.ContextDisposable

Represents a disposable resource whose disposal invocation will be posted to the specified T:System.Threading.SynchronizationContext.
상속: ICancelable
파일 보기 프로젝트 열기: robfe/PortableRx

공개 메소드들

메소드 설명
ContextDisposable ( SynchronizationContext context, IDisposable disposable ) : System

Initializes a new instance of the T:Catch.Reactive.Disposables.ContextDisposable class that uses the specified T:System.Threading.SynchronizationContext on which to dispose the specified disposable resource.

Dispose ( ) : void

Disposes the underlying disposable on the provided T:System.Threading.SynchronizationContext.

메소드 상세

ContextDisposable() 공개 메소드

Initializes a new instance of the T:Catch.Reactive.Disposables.ContextDisposable class that uses the specified T:System.Threading.SynchronizationContext on which to dispose the specified disposable resource.
or is null.
public ContextDisposable ( SynchronizationContext context, IDisposable disposable ) : System
context System.Threading.SynchronizationContext Context to perform disposal on.
disposable IDisposable Disposable whose Dispose operation to run on the given synchronization context.
리턴 System

Dispose() 공개 메소드

Disposes the underlying disposable on the provided T:System.Threading.SynchronizationContext.
public Dispose ( ) : void
리턴 void