Class ToastEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event data describing a toast state transition.
public class ToastEventArgs : EventArgs
- Inheritance
-
ToastEventArgs
- Inherited Members
- Extension Methods
Constructors
ToastEventArgs(ToastInfo, ToastState, ToastState)
Initializes a new instance of the ToastEventArgs class.
public ToastEventArgs(ToastInfo toast, ToastState previous, ToastState current)
Parameters
toastToastInfoThe toast that triggered the event.
previousToastStateThe state prior to the transition.
currentToastStateThe state after the transition.
Properties
CurrentState
Gets the state after the transition.
public ToastState CurrentState { get; }
Property Value
PreviousState
Gets the state prior to the transition.
public ToastState PreviousState { get; }
Property Value
Toast
Gets the toast that triggered the event.
public ToastInfo Toast { get; }