LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

Subscribe<T> Method (IWorkstationEventBroker)

Show in webframe






The type of the event the component is interested in subscribing into.
A callback which will be called when the typed event is being published.
Allows components to register to a typed events published by other components.
Syntax
void Subscribe<T>( 
   EventHandler<T> onEventExecuted
)
where T: EventArgs
'Declaration
 
Sub Subscribe(Of T As EventArgs)( _
   ByVal onEventExecuted As EventHandler(Of T) _
) 
'Usage
 
Dim instance As IWorkstationEventBroker
Dim onEventExecuted As EventHandler(Of T)
 
instance.Subscribe(Of T)(onEventExecuted)

            

            
void Subscribe<T>( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs
void Subscribegeneric<typename T>
( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs

Parameters

onEventExecuted
A callback which will be called when the typed event is being published.

Type Parameters

T
The type of the event the component is interested in subscribing into.
Requirements

Target Platforms

See Also

Reference

IWorkstationEventBroker Interface
IWorkstationEventBroker Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.