Show / Hide Table of Contents

Class MockSubscribable<T>

Inheritance
System.Object
MockSubscribable<T>
Implements
ITestableSubscribable<T>
ISubscribable<T>
System.IObservable<T>
Namespace: Reaqtive.TestingFramework.Mocks
Assembly: Reaqtive.TestingFramework.dll
Syntax
public abstract class MockSubscribable<T> : Object, ITestableSubscribable<T>, ISubscribable<T>, IObservable<T>
Type Parameters
Name Description
T

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
Type Description
IClockable<System.Int64>

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
Type Description
ISubscription

Implements

ITestableSubscribable<T>
ISubscribable<T>
System.IObservable<>
In This Article
Back to top Generated by DocFX