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
Extension Methods

Constructors

NotificationEventArgs(NotificationInfo, NotificationState, NotificationState)

Initializes a new instance of the NotificationEventArgs class.

public NotificationEventArgs(NotificationInfo notification, NotificationState previousState, NotificationState currentState)

Parameters

notification NotificationInfo
previousState NotificationState
currentState NotificationState

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