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
message
NotificationMessageNotification message
Add(string, string, NotificationType)
Adds new notification message.
void Add(string id, string text, NotificationType type)
Parameters
id
stringNotification id.
text
stringNotification text.
type
NotificationTypeNotification type.
Remove(string)
Removes specific notification.
void Remove(string id)
Parameters
id
stringNotification id.
RemoveAll()
Removes all notifications.
void RemoveAll()