Class NotificationBarModel
public sealed class NotificationBarModel : NotificationObject, INotifyPropertyChanged
- Inheritance
-
NotificationBarModel
- Implements
- Inherited Members
- Extension Methods
Constructors
NotificationBarModel(ISurface)
public NotificationBarModel(ISurface surface)
Parameters
surfaceISurface
Properties
Notifications
public ObservableCollection<NotificationModel> Notifications { get; }
Property Value
Methods
AddNotification(string, MessageLevel, bool, string?)
public void AddNotification(string message, MessageLevel level, bool isTransient, string? details = null)
Parameters
messagestringlevelMessageLevelisTransientbooldetailsstring
RemoveNotification(string)
public void RemoveNotification(string message)
Parameters
messagestring
RemoveNotifications()
public void RemoveNotifications()