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