public void Traverse() { if (IsNotEmpty) { Dictionary<int, TestStep>.ValueCollection steps = testSteps.Values; foreach (TestStep step in steps) { ReportBase newReport = new ReportBase(); newReport.Name = step.ToString(); HandleReport(newReport); } } }
private void HandleReport(ReportBase reportToHandle) { if (ReportHandlerOn) { ReportHandler(reportToHandle); } }
protected void HandleReport(ReportBase reportToHandle) { if (ReportHandlerOn) { ReportHandler(reportToHandle); } }