private void ApplyIntegration(Requirements requirements) { Log.Info("Applying desktop integration"); var feed = FeedManager.GetFeed(requirements.InterfaceUri); using (var integrationManager = new CategoryIntegrationManager(Handler, _machineWide)) { var appEntry = integrationManager.AddApp(new FeedTarget(requirements.InterfaceUri, feed)); integrationManager.AddAccessPointCategories(appEntry, feed, CategoryIntegrationManager.StandardCategories); } }
private void ApplyIntegration(Requirements requirements) { Log.Info(Resources.DesktopIntegrationApply); var feed = FeedManager[requirements.InterfaceUri]; using (var integrationManager = new CategoryIntegrationManager(Handler, MachineWide)) { var appEntry = integrationManager.AddApp(new FeedTarget(requirements.InterfaceUri, feed)); integrationManager.AddAccessPointCategories(appEntry, feed, CategoryIntegrationManager.StandardCategories); } }