public void OnImportsSatisfied() { this.assemblyNodeContextMenu = new ContextMenuItem { Header = "De4dot" }; this.assemblyNodeContextMenu.MenuItems.Add(new ContextMenuItem { Header = "Obfuscator search ...", Command = new DelegateCommand(OnContextMenuClick) }); this.eventAggregator.GetEvent<SelectedTreeViewItemChangedEvent>().Subscribe(OnSelectedTreeViewItemChanged); }
public void OnImportsSatisfied() { this.assemblyNodeContextMenu = new ContextMenuItem { Header = "De4dot" }; this.assemblyNodeContextMenu.MenuItems.Add(new ContextMenuItem { Header = "Obfuscator search ...", Command = new DelegateCommand(OnContextMenuClick) }); this.eventAggregator.GetEvent <SelectedTreeViewItemChangedEvent>().Subscribe(OnSelectedTreeViewItemChanged); }