/// <summary> /// Remove a previously registered <c>ICommand</c> to <c>INotification</c> mapping. /// </summary> /// <param name="notificationName">the name of the <c>INotification</c> to remove the <c>ICommand</c> mapping for</param> public virtual void RemoveCommand(string notificationName) { if (!CommandMap.ContainsKey(notificationName)) { return; } MyView.RemoveObserver(notificationName, this); }