Пример #1
0
 public void RenderBody(TextWriter writer)
 {
     if (Body == null)
     {
         throw new MonoRailException("This component does not have a body content to be rendered");
     }
     using (parent.SetOutputStream(writer))
     {
         Body(writer);
     }
 }