示例#1
0
        // *** Constructors ***

        public ShareTargetManager(IActivationManager activationManager, IViewFactory viewFactory)
        {
            this.viewFactory = viewFactory;

            // Register with the activation manager

            activationManager.Register(this);
        }
示例#2
0
        // *** Constructors ***

        public LaunchActivationHandler(IActivationManager activationManager, INavigationManager navigationManager)
        {
            this.navigationManager = navigationManager;

            // Register with the activation manager

            activationManager.Register(this);
        }
示例#3
0
        // *** Constructors ***

        public LaunchActivationHandler(IActivationManager activationManager, INavigationManager navigationManager)
        {
            this.navigationManager = navigationManager;

            // Register with the activation manager

            activationManager.Register(this);
        }
示例#4
0
        // *** Constructors ***

        public SearchManager(INavigationManager navigationManager, IActivationManager activationManager)
        {
            this.navigationManager = navigationManager;

            // Register with the activation manager

            activationManager.Register(this);
            activationManager.Activated += OnActivationManagerActivated;
        }
示例#5
0
        // *** 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);
        }
示例#7
0
        // *** 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);
        }