SetOutputStream() публичный Метод

This is required because we may want to replace the output stream and get the correct behavior from components call RenderText() or RenderSection()
public SetOutputStream ( TextWriter newOutputStream ) : IDisposable
newOutputStream System.IO.TextWriter
Результат IDisposable
 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.Call(new object[] { writer });
     }
 }