Sofu Documentation
Parser Constructor (input)
NamespacesSofu.SofuParserParser(TextReader)
Returns a new Map build from a TextReader
Declaration Syntax
C#
public Parser(
	TextReader input
)
Parameters
input (TextReader)
TextReader to read .sofu file contents from
Remarks
This ONLY parses normal Sofu Files, not binary ones and no SofuML, use SofuReader.LoadFile(stream) for autodetection
Examples
CopyC#
Sofu.Sofu.Parser p = new Sofu.Sofu.Parser(new TextReader("file.sofu"));
Sofu.Sofu.Map m = p.AsMap();
MemoryStream ms = new MemoryStream();
m.Write(new TextWriter(ms));

Assembly: Sofu (Module: Sofu) Version: 0.2.1.0 (0.2.1.0)