/// <summary> /// Initializes a new instance of the <see cref="NotificationGenericMessage"/> class. /// </summary> /// <param name="sender">The sender.</param> /// <param name="message">The message.</param> /// <param name="mode">The mode.</param> /// <param name="severity">The severity.</param> public NotificationGenericMessage(object sender, string message, NotificationModeEnum mode, NotificationSeverityEnum severity) : base(sender, message) { this.Mode = mode; this.Severity = severity; }
/// <summary> /// Initializes a new instance of the <see cref="NotificationLongRunningGenericMessage"/> class. /// </summary> /// <param name="sender">The sender.</param> /// <param name="message">The message.</param> /// <param name="mode">The mode.</param> /// <param name="severity">The severity.</param> public NotificationLongRunningGenericMessage(object sender, string message, NotificationModeEnum mode, NotificationSeverityEnum severity) : base(sender, message, mode, severity) { }
/// <summary> /// Initializes a new instance of the <see cref="NotificationGenericMessage"/> class. /// </summary> /// <param name="sender">The sender.</param> /// <param name="message">The message.</param> /// <param name="mode">The mode.</param> public NotificationGenericMessage(object sender, string message, NotificationModeEnum mode) : this(sender, message, mode, NotificationSeverityEnum.Info) { }