Esempio n. 1
0
            public override void ActivateItem()
            {
                var addin    = (AddinReference)CurrentNode.DataItem;
                var resolved = addin.OwnerProject.AddinRegistry.GetAddin(addin.Id);

                if (resolved != null)
                {
                    AddinBrowserViewContent.Open(addin.OwnerProject.AddinRegistry, resolved);
                }
            }
            public override void ActivateItem()
            {
                var addin    = (AddinReference)CurrentNode.DataItem;
                var registry = addin.Project.GetFlavor <AddinProjectFlavor> ().AddinRegistry;
                var resolved = registry.GetAddin(addin.Include);

                if (resolved != null)
                {
                    AddinBrowserViewContent.Open(registry, resolved);
                }
            }