public static void AddDiv4OkMessage(this ControlCollection controls, TestRule rule, TestSent sent) { controls.AddDiv(rule.ToString() + '.' + sent.ToString() + " - OK"); }
public static void AddDiv4FinalMessage(this ControlCollection controls, TestXmlFile testXmlFile, int errorCount, Stopwatch sw) { controls.AddDiv("<br/> (Всего: " + testXmlFile.TestRules.Sum(_ => _.TestSents.Count) + " штук, " + ((errorCount == 0) ? "Ошибок НЕТ" : "Ошибок: " + errorCount + " штук") + ", Время: " + sw.Elapsed); }
public static void AddDiv4FinalMessage(this ControlCollection controls, TestXmlFile testXmlFile, int errorCount) { controls.AddDiv("<br/> (Всего: " + testXmlFile.TestRules.Sum(_ => _.TestSents.Count) + " штук, " + ((errorCount == 0) ? "Ошибок НЕТ)" : "Ошибок: " + errorCount + " штук)")); }