Subscribe<T> Method

Summary
Allows components to register to a typed events published by other components.
Syntax
C#
C++/CLI
public void Subscribe<T>( 
   EventHandler<T> onEventExecuted 
) 
public:  
   generic<typename T> 
   void Subscribe( 
      EventHandler<T>^ onEventExecuted 
   ) 

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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.