ReplaySubject<T> Constructor (Int32, IScheduler)
Initializes a new instance of the ReplaySubject<T> class with the specified buffer size and scheduler.
Namespace: System.Reactive.Subjects
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Sub New ( _
bufferSize As Integer, _
scheduler As IScheduler _
)
'Usage
Dim bufferSize As Integer
Dim scheduler As IScheduler
Dim instance As New ReplaySubject(bufferSize, _
scheduler)
public ReplaySubject(
int bufferSize,
IScheduler scheduler
)
public:
ReplaySubject(
int bufferSize,
IScheduler^ scheduler
)
new :
bufferSize:int *
scheduler:IScheduler -> ReplaySubject
public function ReplaySubject(
bufferSize : int,
scheduler : IScheduler
)
Parameters
- bufferSize
Type: System.Int32
Maximum element count of the replay buffer.
- scheduler
Type: System.Reactive.Concurrency.IScheduler
Scheduler the observers are invoked on.