Esempio n. 1
0
        public void Read(OsiReader reader)
        {
            Parameters = new ParameterList();
            Parameters.Read(reader);

            FactsPosition = reader.BaseStream.Position;
            Facts         = new FactCollection(this);
            reader.ReadList <Fact>(Facts);
        }
Esempio n. 2
0
 public void Visit(FactCollection facts)
 {
     writer.WriteStartArray();
     foreach (var fact in facts)
     {
         Visit(fact);
     }
     writer.WriteEndArray();
 }