public void Show(INavigationNode node) { if (CurrentNode == node) { return; } CurrentNode.Dispose(); CurrentNode = node; CurrentNodeChanged?.Invoke(); }
protected virtual void OnCurrentNodeChanged(EventArgs e) { this.currentNodeCompleteCount = 0; CurrentNodeChanged?.Invoke(this.CurrentNode, e); }
protected virtual void InvokeCurrentNodeChanged(EventArgs e) { CurrentNodeChanged?.Invoke(this.currentNodeTitle, e); }