Notification.CreateOnNext<T> 方法

创建一个 对象,该对象表示向观察者发送的 OnNext 通知。

Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (

语法

'Declaration
Public Shared Function CreateOnNext(Of T) ( _
    value As T _
) As Notification(Of T)
'Usage
Dim value As T
Dim returnValue As Notification(Of T)

returnValue = Notification.CreateOnNext(value)
public static Notification<T> CreateOnNext<T>(
    T value
)
public:
generic<typename T>
static Notification<T>^ CreateOnNext(
    T value
)
static member CreateOnNext : 
        value:'T -> Notification<'T> 
JScript does not support generic types and methods.

类型参数

  • T
    通知参数类型。

参数

  • value
    类型:T
    通知中包含的值。

返回值

类型: System.Reactive.Notification<T>
包含值的 OnNext 通知。

另请参阅

参考

通知类

System.Reactive 命名空间