public override void VisitShapeEnd(ShapeProxy shape) { this.builder.AppendLine("</Shape>"); }
public override void VisitShapeStart(ShapeProxy shape) { this.builder .AppendFormat("<Shape {0}>", FormatAttributes(new NamedValue("Name", shape.Name))) .AppendLine(); if (this.displayOptions.IncludeImages) { this.builder .AppendFormat("<Image>{0}</Image>", shape.Image); } }
public ShapeProxyFacts() { this.testee = new ShapeProxy(ShapeName); }