C# Class PortableRx.Reactive.Disposables.SingleAssignmentDisposable

Represents a disposable resource which only allows a single assignment of its underlying disposable resource. If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an T:System.InvalidOperationException.
Inheritance: ICancelable
ファイルを表示 Open project: robfe/PortableRx

Public Methods

Method Description
Dispose ( ) : void

Disposes the underlying disposable.

SingleAssignmentDisposable ( ) : System

Initializes a new instance of the T:Catch.Reactive.Disposables.SingleAssignmentDisposable class.

Method Details

Dispose() public method

Disposes the underlying disposable.
public Dispose ( ) : void
return void

SingleAssignmentDisposable() public method

Initializes a new instance of the T:Catch.Reactive.Disposables.SingleAssignmentDisposable class.
public SingleAssignmentDisposable ( ) : System
return System