Пример #1
0
 public SpecificReader(SpecificDefaultReader reader)
 {
     this.reader = reader;
 }
Пример #2
0
 /// <summary>
 /// Constructs a generic reader for the given schemas using the DefaultReader. If the
 /// reader's and writer's schemas are different this class performs the resolution.
 /// </summary>
 /// <param name="writerSchema">The schema used while generating the data</param>
 /// <param name="readerSchema">The schema desired by the reader</param>
 public SpecificReader(Schema writerSchema, Schema readerSchema)
 {
     reader = new SpecificDefaultReader(writerSchema, readerSchema);
 }