Class MultiSubjectProxy
A proxy for subjects.
Inheritance
System.Object
MultiSubjectProxy
Namespace: Reaqtor.Reactive
Assembly: Reaqtor.Reactive.HigherOrder.dll
Syntax
public class MultiSubjectProxy : Object, IMultiSubject, IDisposable
Constructors
MultiSubjectProxy(Uri)
Create the subject proxy.
Declaration
public MultiSubjectProxy(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The subject URI. |
Methods
Dispose()
Dispose the subject proxy.
Declaration
public void Dispose()
GetObservable<T>()
Gets a subscribable to subscribe to the subject.
Declaration
public ISubscribable<T> GetObservable<T>()
Returns
Type | Description |
---|---|
ISubscribable<T> | A subscribable that can receive elements of the subject. |
Type Parameters
Name | Description |
---|---|
T | The type of elements. |
GetObserver<T>()
Gets an observer to push elements into the subject.
Declaration
public IObserver<T> GetObserver<T>()
Returns
Type | Description |
---|---|
System.IObserver<T> | An observer that can push elements into the subject. |
Type Parameters
Name | Description |
---|---|
T | The type of elements. |
Implements
System.IDisposable