Interface INotificationsAPI
Describes notification API.
public interface INotificationsAPI
Properties
Count
Gets notification count.
int Count { get; }
Property Value
Messages
Gets list of all notification messages.
ObservableCollection<NotificationMessage> Messages { get; }
Property Value
Methods
Add(NotificationMessage)
Adds new notification message.
void Add(NotificationMessage message)
Parameters
messageNotificationMessageNotification message
Add(string, string, NotificationType)
Adds new notification message.
void Add(string id, string text, NotificationType type)
Parameters
idstringNotification id.
textstringNotification text.
typeNotificationTypeNotification type.
Remove(string)
Removes specific notification.
void Remove(string id)
Parameters
idstringNotification id.
RemoveAll()
Removes all notifications.
void RemoveAll()