Поделиться через


Конструктор EventPattern<TEventArgs>

Инициализируйте новый экземпляр типа EventPattern<TEventArgs> .

Пространство имен:System.Reactive
Сборки: System.Reactive (в System.Reactive.dll)

Синтаксис

'Declaration
Public Sub New ( _
    sender As Object, _
    e As TEventArgs _
)
'Usage
Dim sender As Object
Dim e As TEventArgs

Dim instance As New EventPattern(sender, _
    e)
public EventPattern(
    Object sender,
    TEventArgs e
)
public:
EventPattern(
    Object^ sender, 
    TEventArgs e
)
new : 
        sender:Object * 
        e:'TEventArgs -> EventPattern
public function EventPattern(
    sender : Object, 
    e : TEventArgs
)

Параметры

  • отправитель
    Тип: System.Object
    Сведения об отправителе события.
  • й
    Тип: TEventArgs
    Аргументы события.

См. также:

Ссылка

Класс EventPattern<TEventArgs>

Пространство имен System.Reactive