PluginNotificationResult14.1
Class in Unbroken.LaunchBox.Plugins.Services.Notifications
public sealed class PluginNotificationResult
Reports the outcome of a notification publication request.
Constructors
PluginNotificationResultInitializes a notification publication result.
PluginNotificationResult
public PluginNotificationResult(
PluginNotificationStatus status,
IPluginNotification? notification = null
)Initializes a notification publication result.
status- The publication outcome.
notification- The notification handle. Required for Published and null for every other status.
Properties
NotificationGets the published notification, or null when the request was not published.StatusGets the publication outcome.
Notification
public IPluginNotification? Notification { get; }
Gets the published notification, or null when the request was not published.
Status
public PluginNotificationStatus Status { get; }
Gets the publication outcome.