private string ConstructResultMessage(IQualityCheckingResult result, string additionalMessage) { var messageBuilder = new StringBuilder(); messageBuilder.Append(result.Message); messageBuilder.Append("<br/>"); messageBuilder.Append(additionalMessage); return messageBuilder.ToString(); }
private string ConstructResultMessage(IQualityCheckingResult result, string additionalMessage) { var messageBuilder = new StringBuilder(); messageBuilder.Append(result.Message); messageBuilder.Append("<br/>"); messageBuilder.Append(additionalMessage); return(messageBuilder.ToString()); }
public void AddResult(IQualityCheckingResult result) { // Retain the most severe NeedCorrection status if (NeedCorrection == false) { NeedCorrection = result.NeedCorrection; } // Retain the most severe Level if (Level == QualityCheckingResultLevel.Info) { Level = result.Level; } IQualityCheckingResults.Add(result); }