public DescriptionTextWriter(Description description) { if (!description.IsMultiLevel()) { _report.AddText(description.ToString()); } else { description.AcceptVisitor(this); } }
public DescriptionTextWriter(Description description) { if (description.IsMultiLevel()) { description.AcceptVisitor(this); } else { this.As<IDescriptionVisitor>().Start(description); } }
public DescriptionTextWriter(Description description) { if (description.IsMultiLevel()) { description.AcceptVisitor(this); } else { this.As <IDescriptionVisitor>().Start(description); } }