EventCommandAdapter Constructor (TInvoker, String)
Initializes a new instance and wires the specified invoker event to this adapter.
Namespace: Microsoft.Practices.CompositeUI.Commands
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Sub New ( _
invoker As TInvoker, _
eventName As String _
)
'Usage
Dim invoker As TInvoker
Dim eventName As String
Dim instance As New EventCommandAdapter(Of TInvoker)(invoker, eventName)
public EventCommandAdapter (
TInvoker invoker,
string eventName
)
public:
EventCommandAdapter (
TInvoker invoker,
String^ eventName
)
public EventCommandAdapter (
TInvoker invoker,
String eventName
)
public function EventCommandAdapter (
invoker : TInvoker,
eventName : String
)
Parameters
- invoker
The invoker that is to be adapted.
- eventName
The event the adapter will listen on the invoker.
See Also
Reference
EventCommandAdapter Class
EventCommandAdapter Members
Microsoft.Practices.CompositeUI.Commands Namespace