public bool Open(string filename, Stream stream = null) { _filename = filename; _stream = stream ?? File.OpenRead(filename); Name = Path.GetFileNameWithoutExtension(filename); _import = _importDetector.GetImportDetector(_filename); return _import != null; }
public ImportDetector(IImportDetector[] importDetectors) { _importDetectors = importDetectors; }