TreeViewItemCollectionChangedEvent
This class provides a push notification to all of the clients subscribers, when file(s) are loaded/removed from/to JustDecompile. Event base notification is dispatched to all of the subscribers.
Syntax
C# |
---|
public class TreeViewItemCollectionChangedEvent : CompositePresentationEvent<IEnumerable<ITreeViewItem>> { } public interface ITreeViewItem { TreeNodeType TreeNodeType { get; } } |
Example
C# |
---|
public void OnImportsSatisfied() { this.eventAggregator.GetEvent<TreeViewItemCollectionChangedEvent>().Subscribe(OnTreeViewItemCollectionChangedEvent); } private void LoadAssembliesIntoPlugin(IEnumerable<ITreeViewItem>assemblies) { this.assemblies = assemblies; } |
A collection of ITreeViewItem is provided by JustDecompile to all of the event subscribers. Currently the collection may contain IAssemblyDefinitionTreeViewItem (s) or IXapTreeViewItem (s) only.