public ObservableProduct() { _users = new List <IObserverUser>(); message = new ProductUpdateMessage(); }
public void SendNotification(ProductUpdateMessage message) { Console.WriteLine(message.ToString()); }
public ObservableProduct() { _users = new List <IObserverUser>(); message = new ProductUpdateMessage(); }
public void SendNotification(ProductUpdateMessage message) { Console.WriteLine(message.ToString()); }