protected override void Dispose(bool manualDispose)
 {
     if (manualDispose)
     {
         pattern.WriteFooter(console.Out);
     }
     base.Dispose(manualDispose);
 }
 public override void EndDocument()
 {
     parsedLayout.WriteFooter(SafeWriter());
 }