예제 #1
0
        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);
        }
예제 #2
0
 internal DefaultAddinContext(AddinFramework addinFramework, Addin addin)
 {
     _addinFramework = addinFramework;
     _addin          = addin;
 }