private void AddScenario(ReportModel.Scenario[] scenarioGroup) { using (OpenTag(string.Format("<div class='scenario'>"), HtmlTag.div)) { if (scenarioGroup.Count() == 1) AddScenario(scenarioGroup.Single()); else AddScenarioWithExamples(scenarioGroup); } }