TabItemOpenEvent
This class provides a push notification to all of the clients subscribers, when a new tab item is created in JustDecompile.
Event base notification is dispatched to all of the subscribers.
Syntax
C# |
---|
public class TabItemOpenEvent : CompositePresentationEvent<ITabItem> { } |
Example
You can subscribe to this event using the following code:
C# |
---|
public void OnImportsSatisfied() { this.eventAggregator.GetEvent<TabItemOpenEvent>().Subscribe(OnTabItemOpen); } |
An ITabItem instance is provided by JustDecompile to all of the event subscribers. It contains the tab item that will be opened in the application.