Share via


EventPattern<TEventArgs> Constructor

Initialize a new instance of the EventPattern<TEventArgs> type.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'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
)

Parameters

See Also

Reference

EventPattern<TEventArgs> Class

System.Reactive Namespace