Ejemplo n.º 1
0
        protected WriterContinuation(IHttpWriter writer, DoNext doNext)
        {
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }

            DoNext = doNext;

            Action = () => {
                Write(writer);
                writer.Flush();
            };
        }
Ejemplo n.º 2
0
 public void Flush()
 {
     _writer.Flush();
 }