예제 #1
0
 public string Print(Reporter reporter)
 {
     reporter.Indent();
     var result = PrintContent(reporter);
     reporter.Outdent();
     return result;
 }
예제 #2
0
 public string Print(Reporter reporter)
 {
     reporter.Indent();
     var report = new StringBuilder();
     report.AppendLine(String.Format("{0}parkinglot: {1}", reporter.FormatString(), AvailablePosition()));
     reporter.Outdent();
     return report.ToString();
 }