public DescriptionTextWriter(Description description)
 {
     if (!description.IsMultiLevel())
     {
         _report.AddText(description.ToString());
     }
     else
     {
         description.AcceptVisitor(this);
     }
 }
Пример #2
0
 public DescriptionTextWriter(Description description)
 {
     if (description.IsMultiLevel())
     {
         description.AcceptVisitor(this);
     }
     else
     {
         this.As<IDescriptionVisitor>().Start(description);
     }
 }
Пример #3
0
 public DescriptionTextWriter(Description description)
 {
     if (!description.IsMultiLevel())
     {
         _report.AddText(description.ToString());
     }
     else
     {
         description.AcceptVisitor(this);
     }
 }
Пример #4
0
 public DescriptionTextWriter(Description description)
 {
     if (description.IsMultiLevel())
     {
         description.AcceptVisitor(this);
     }
     else
     {
         this.As <IDescriptionVisitor>().Start(description);
     }
 }