Class MockSubscribable<T>
Inheritance
System.Object
MockSubscribable<T>
Implements
System.IObservable<T>
Assembly: Reaqtive.TestingFramework.dll
Syntax
public abstract class MockSubscribable<T> : Object, ITestableSubscribable<T>, ISubscribable<T>, IObservable<T>
Type Parameters
Constructors
MockSubscribable(IClockable<Int64>)
Declaration
protected MockSubscribable(IClockable<long> clock)
Parameters
Type |
Name |
Description |
IClockable<System.Int64> |
clock |
|
Properties
Clock
Declaration
protected IClockable<long> Clock { get; }
Property Value
ObserverMessages
Declaration
public abstract IList<Recorded<Notification<T>>> ObserverMessages { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<Reaqtive.Testing.Recorded<Reaqtive.Notification<T>>> |
|
Subscriptions
Declaration
public IList<Subscription> Subscriptions { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<Reaqtive.Testing.Subscription> |
|
TheObserver
Declaration
protected IObserver<T> TheObserver { get; set; }
Property Value
Type |
Description |
System.IObserver<T> |
|
Methods
AfterSubscribe(IObserver<T>)
Declaration
protected virtual void AfterSubscribe(IObserver<T> observer)
Parameters
Type |
Name |
Description |
System.IObserver<T> |
observer |
|
Subscribe(IObserver<T>)
Declaration
public virtual ISubscription Subscribe(IObserver<T> observer)
Parameters
Type |
Name |
Description |
System.IObserver<T> |
observer |
|
Returns
Implements
System.IObservable<>