public Marker(ParserReader reader) { if (reader == null) { throw new ArgumentNullException("reader"); } _reader = reader; _reader.Mark(); }
public YamlParser(TextReader reader, ParserEvent @event) { this._reader = new ParserReader(reader); this._event = @event; this._props = new Dictionary <string, string>(); }