/// <summary>
 /// Removes the observer.
 /// </summary>
 /// <param name='o'>
 /// object that do not want to receive messages.
 /// </param>
 public static bool RemoveObserver(IMessageObsever o)
 {
     if (_observers.Count > 0)
         return _observers.Remove(o);
     return true;
 }
 /// <summary>
 /// Registers the observer.
 /// </summary>
 /// <param name='o'>
 /// o object will recive messages.
 /// </param>
 public static void RegisterObserver(IMessageObsever o)
 {
     if (_observers.Contains(o) == false)
         _observers.Add(o);
 }