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