// *** Constructors *** public ShareTargetManager(IActivationManager activationManager, IViewFactory viewFactory) { this.viewFactory = viewFactory; // Register with the activation manager activationManager.Register(this); }
// *** Constructors *** public LaunchActivationHandler(IActivationManager activationManager, INavigationManager navigationManager) { this.navigationManager = navigationManager; // Register with the activation manager activationManager.Register(this); }
// *** Constructors *** public SearchManager(INavigationManager navigationManager, IActivationManager activationManager) { this.navigationManager = navigationManager; // Register with the activation manager activationManager.Register(this); activationManager.Activated += OnActivationManagerActivated; }
// *** Constructors *** public ShareTargetManager(IActivationManager activationManager, IViewFactory viewFactory) { if (activationManager == null) throw new ArgumentNullException(nameof(activationManager)); if (viewFactory == null) throw new ArgumentNullException(nameof(viewFactory)); _viewFactory = viewFactory; // Register with the activation manager activationManager.Register(this); }
// *** Constructors *** public SearchManager(INavigationManager navigationManager, IActivationManager activationManager) { if (navigationManager == null) throw new ArgumentNullException(nameof(navigationManager)); if (activationManager == null) throw new ArgumentNullException(nameof(activationManager)); _navigationManager = navigationManager; // Register with the activation manager activationManager.Register(this); activationManager.Activated += OnActivationManagerActivated; }
// *** Constructors *** public LaunchActivationHandler(IActivationManager activationManager, INavigationManager navigationManager) { // Validate parameters if (activationManager == null) throw new ArgumentNullException(nameof(activationManager)); if (navigationManager == null) throw new ArgumentNullException(nameof(navigationManager)); // Store state _navigationManager = navigationManager; // Register with the activation manager activationManager.Register(this); }