PluginProgressNotificationResult14.1
Class in Unbroken.LaunchBox.Plugins.Services.Notifications
public sealed class PluginProgressNotificationResult
Reports the outcome of a progress-notification publication request.
Constructors
PluginProgressNotificationResultInitializes a notification publication result.
PluginProgressNotificationResult
public PluginProgressNotificationResult(
PluginNotificationStatus status,
IPluginProgressNotification? 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 progress notification, or null when the request was not published.StatusGets the publication outcome.
Notification
public IPluginProgressNotification? Notification { get; }
Gets the published progress notification, or null when the request was not published.
Status
public PluginNotificationStatus Status { get; }
Gets the publication outcome.