private IStrategyResult FindOriginalMailUsingAddins() { var framework = new AddinFramework(); List<IContentSource> sources = framework.LoadSources(Global.ApplicationProvider); List<IDiscoveryStrategy> strategies = framework.LoadStrategies(_mailItem); NumberOfStrategies = strategies.Count; NumberOfItems = 0; foreach (IContentSource source in sources) { NumberOfItems += source.Count; } return FindOriginal(sources, strategies); }
internal DefaultAddinContext(AddinFramework addinFramework, Addin addin) { _addinFramework = addinFramework; _addin = addin; }