IEventSource<T>. Zdarzenie OnNext
Wywołuje zdarzenie Next sygnalizujące następny element w strumieniu danych.
Przestrzeń nazw:System.Reaktywna
Zestawu: System.Reactive (w System.Reactive.dll)
Składnia
'Declaration
Event OnNext As Action(Of T)
'Usage
Dim instance As IEventSource
Dim handler As Action(Of T)
AddHandler instance.OnNext, handler
event Action<T> OnNext
event Action<T>^ OnNext {
void add (Action<T>^ value);
void remove (Action<T>^ value);
}
abstract OnNext : IEvent<Action<'T>,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.