using System;
namespace BismNormalizer.TabularCompare
{
///
/// Provides data for the Comparison.ValidationMessage event.
///
public class ValidationMessageEventArgs : EventArgs
{
///
/// Initializes ValidationMessageEventArgs with necessary data for Comparison.ValidationMessage event.
///
/// The message to be displayed.
/// Type of object that a validation message relates to. For example, Table, Measure, MeasureCalculationDependency, etc.
/// Status for a validation message, such as Informational and Warning.
public ValidationMessageEventArgs (string message, ValidationMessageType validationMessageType, ValidationMessageStatus validationMessageStatus)
{
Message = message;
ValidationMessageType = validationMessageType;
ValidationMessageStatus = validationMessageStatus;
}
///
/// Gets or sets the validation message.
///
public string Message { get; set; }
///
/// Gets or sets the ValidationMessageType.
///
public ValidationMessageType ValidationMessageType { get; set; }
///
/// Gets or sets the ValidationMessageStatus.
///
public ValidationMessageStatus ValidationMessageStatus { get; set; }
}
}