Bildirim<T>. Accept Yöntemi (Eylem<T>, Eylem<Özel Durumu>, Eylem)
Bildirime karşılık gelen temsilciyi çağırır.
Ad Alanı:System.Reactive
Derleme: System.Reactive (System.Reactive.dll içinde)
Söz dizimi
'Declaration
Public MustOverride Sub Accept ( _
onNext As Action(Of T), _
onError As Action(Of Exception), _
onCompleted As Action _
)
'Usage
Dim instance As Notification
Dim onNext As Action(Of T)
Dim onError As Action(Of Exception)
Dim onCompleted As Action
instance.Accept(onNext, onError, onCompleted)
public abstract void Accept(
Action<T> onNext,
Action<Exception> onError,
Action onCompleted
)
public:
virtual void Accept(
Action<T>^ onNext,
Action<Exception^>^ onError,
Action^ onCompleted
) abstract
abstract Accept :
onNext:Action<'T> *
onError:Action<Exception> *
onCompleted:Action -> unit
public abstract function Accept(
onNext : Action<T>,
onError : Action<Exception>,
onCompleted : Action
)
Parametreler
- Onnext
Tür: System.Action<T>
Bir OnNext bildirimi için çağrılacak temsilci.
- Onerror
Tür: System.Action<Özel Durumu>
OnError bildirimi için çağrılacak temsilci.
- Oncompleted
Tür: System.Action
OnCompleted bildirimi için çağrılacak temsilci.