C# Класс PortableRx.Reactive.Disposables.ContextDisposable

Represents a disposable resource whose disposal invocation will be posted to the specified T:System.Threading.SynchronizationContext.
Наследование: ICancelable
Показать файл Открыть проект

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

Метод Описание
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