Class NotificationEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for notification state changes.
public class NotificationEventArgs : EventArgs
- Inheritance
-
NotificationEventArgs
- Inherited Members
- Extension Methods
Constructors
NotificationEventArgs(NotificationInfo, NotificationState, NotificationState)
Initializes a new instance of the NotificationEventArgs class.
public NotificationEventArgs(NotificationInfo notification, NotificationState previousState, NotificationState currentState)
Parameters
notificationNotificationInfopreviousStateNotificationStatecurrentStateNotificationState
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; }