public void TestDiscovery1() { var directory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); var resolver = new FolderBasedAssemblyResolver(directory); var discovery = new Discovery(resolver); var info = discovery.GetAssemblyCatalogInfoFromFile("TestAssemblyA.dll"); }
//private bool hasInheritedExports = false; //private readonly Dictionary<Handle, bool> inheritedExportTypes = new Dictionary<Handle, bool>(); //private readonly HashSet<string> inheritedExportTypesByName = new HashSet<string>(); public AssemblyCatalogInfo(Discovery discovery, MetadataReader metadataReader, string assemblyFilePath) { Debug.WriteLine("AssemblyCatalogInfo: " + assemblyFilePath); this.discovery = discovery; this.metadataReader = metadataReader; this.assemblyFilePath = assemblyFilePath; }