Class NotificationEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for notification state changes.
public class NotificationEventArgs : EventArgs
- Inheritance
-
NotificationEventArgs
- Inherited Members
Constructors
NotificationEventArgs(NotificationInfo, NotificationState, NotificationState)
Initializes a new instance of the NotificationEventArgs class.
public NotificationEventArgs(NotificationInfo notification, NotificationState previousState, NotificationState currentState)
Parameters
notificationNotificationInfoThe notification that triggered the event.
previousStateNotificationStateThe previous notification state.
currentStateNotificationStateThe current notification state.
Properties
CurrentState
Gets the current notification state.
public NotificationState CurrentState { get; }
Property Value
Notification
Gets the notification that triggered the event.
public NotificationInfo Notification { get; }
Property Value
PreviousState
Gets the previous notification state.
public NotificationState PreviousState { get; }