コード例 #1
0
 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);
     }
 }