private AtomTypeMapper(string mappingFile, Stream stream) { this.Name = mappingFile; using (var reader = new OWLAtomTypeMappingReader(new StreamReader(stream))) { mappings = reader.ReadAtomTypeMappings(); } }
private AtomTypeMapper(string mappingFile) { this.Name = mappingFile; using (var reader = new OWLAtomTypeMappingReader(new StreamReader(ResourceLoader.GetAsStream(mappingFile)))) { mappings = reader.ReadAtomTypeMappings(); } }