Files
DP44/Common/DTS.CommonCore/Events/FeedbackEvent.cs
2026-04-17 14:55:32 -04:00

41 lines
946 B
C#

using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// Event to inform feedback page to get updated
/// FB 22323
/// </summary>
/// <remarks>
///
/// </remarks>
public class FeedbackEvent : CompositePresentationEvent<FeedbackArg> { }
public class FeedbackArg
{
/// <summary>
/// Severity being notified
/// </summary>
public Severity Severity { get; private set; }
/// <summary>
/// Message that is logged
/// </summary>
public string Message { get; private set; }
public FeedbackArg(Severity severity, string message)
{
Severity = severity;
Message = message;
}
}
public enum Severity
{
Information,
Warning,
Error,
ResponseStarting,
CommandStarting
}
}