public INotificationChannel ( NotificationMessage notificationMessage ) : void | ||
notificationMessage | NotificationMessage | |
return | void |
void INotificationChannel.Notify(NotificationMessage notificationMessage)
{
if (Observer != null)
notificationMessage.InvokePayload.Invoke(Observer);
if (Messages != null)
Messages.Add(notificationMessage);
}
}