Class YamlWriter
- Namespace
- AllenNeuralDynamics.Core
- Assembly
- AllenNeuralDynamics.Core.dll
public class YamlWriter : StreamSink<string, StreamWriter>
- Inheritance
-
YamlWriter
- Inherited Members
Methods
CreateWriter(Stream)
When overridden in a derived class, creates the object that will be responsible for writing the input elements to the specified Stream.
protected override StreamWriter CreateWriter(Stream stream)
Parameters
streamStreamThe stream on which the elements should be written.
Returns
- StreamWriter
The object that will be used to write elements into the stream.
Write(StreamWriter, string)
When overridden in a derived class, writes a new element using the specified writer.
protected override void Write(StreamWriter writer, string input)
Parameters
writerStreamWriterThe writer used to push elements into the stream.
inputstringThe input element that should be pushed into the stream.