/// <summary> /// Removes the action at observer specified by notification name /// </summary> /// <param name="notificationName">Notification name.</param> /// <param name="action">Action.</param> public void RemoveActionAtObserver(string notificationName, System.Action <Parameters> action) { if (this.eventObservers.ContainsKey(notificationName)) { ObserverList eventObserver = this.eventObservers[notificationName]; eventObserver.RemoveObserver(action); } }
/// <summary> /// Removes the action at observer specified by notification name /// </summary> /// <param name="notificationName">Notification name.</param> /// <param name="action">Action.</param> public void RemoveActionAtObserver(string notificationName, Action action) { if (eventObservers.ContainsKey(notificationName)) { ObserverList eventObserver = eventObservers[notificationName]; eventObserver.RemoveObserver(action); } }