Пример #1
0
 private AtomTypeMapper(string mappingFile, Stream stream)
 {
     this.Name = mappingFile;
     using (var reader = new OWLAtomTypeMappingReader(new StreamReader(stream)))
     {
         mappings = reader.ReadAtomTypeMappings();
     }
 }
Пример #2
0
 private AtomTypeMapper(string mappingFile)
 {
     this.Name = mappingFile;
     using (var reader = new OWLAtomTypeMappingReader(new StreamReader(ResourceLoader.GetAsStream(mappingFile))))
     {
         mappings = reader.ReadAtomTypeMappings();
     }
 }