Table of Contents

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

notification NotificationInfo

The notification that triggered the event.

previousState NotificationState

The previous notification state.

currentState NotificationState

The current notification state.

Properties

CurrentState

Gets the current notification state.

public NotificationState CurrentState { get; }

Property Value

NotificationState

Notification

Gets the notification that triggered the event.

public NotificationInfo Notification { get; }

Property Value

NotificationInfo

PreviousState

Gets the previous notification state.

public NotificationState PreviousState { get; }

Property Value

NotificationState