public StreamOutputWriter(Stream ostream)
 {
     _writer =new StreamOutputWriter(ostream);
 }
Ejemplo n.º 2
0
 public void WriteToStream(Stream ostream)
 {
     if (_tokenized == null)
         _tokenized = _tokenizer.TokenizeStream(_templateGroup);
     StreamOutputWriter writer = new StreamOutputWriter(ostream);
     foreach (IComponent comp in _tokenized)
         comp.Append(ref _parameters, writer);
     writer.Flush();
 }