// @return value: whether new or updated addins found. ResolutionResult ParseAndUpdateAddin(ScanFilePack filePack) { var scanFilePackResult = new ScanFilePackResult(); scanFilePackResult.AddScanFilePack(filePack); var proxy = new AddinResolverProxy(); return(proxy.Resolve(_addinFramework.NameConvention, _addinFramework.FileSettings, _addinFramework.AssemblyLoadPolicy, _addinStorage, _addinRelationManager, scanFilePackResult)); }
// @return value: whether new or updated addins found. ResolutionResult ParseAndResolveAddins(ScanFilePackResult scanFilePackResult) { //var domainName = "addin"; //var dmManager = new DomainManager(); //var proxy = dmManager.CreateMarshalObject<AddinResolverProxy>(domainName); var proxy = new AddinResolverProxy(); var result = proxy.Resolve(_addinFramework.NameConvention, _addinFramework.FileSettings, _addinFramework.AssemblyLoadPolicy, _addinStorage, _addinRelationManager, scanFilePackResult); //dmManager.UnloadDomain(domainName); return(result); }