NotifyObservers() public method

public NotifyObservers ( ) : void
return void
 /// <summary>
 /// Posts an event specified by name that requires parameters. Observers associated with this event will be called.
 /// Requires the parameters class to be passed.
 /// </summary>
 public void PostEvent(string notificationName, Parameters parameters)
 {
     if (this.eventObservers.ContainsKey(notificationName))
     {
         ObserverList eventObserver = this.eventObservers[notificationName];
         eventObserver.NotifyObservers(parameters);
     }
 }
 /// <summary>
 ///     Posts an event specified by name that does not require any parameters.
 ///     Observers associated with this event will be called.
 /// </summary>
 public void PostEvent(string notificationName)
 {
     if (eventObservers.ContainsKey(notificationName))
     {
         ObserverList eventObserver = eventObservers[notificationName];
         eventObserver.NotifyObservers();
     }
 }