public PluginsPage(IApplicationHost appHost, INavigationService nav, IPresentationManager presentation, IInstallationManager installationManager)
        {
            _presentation = presentation;
            InitializeComponent();

            var viewModel = new PluginsPageViewModel(appHost, nav, installationManager, presentation);
            viewModel.PropertyChanged += viewModel_PropertyChanged;
            DataContext = viewModel;
        }
예제 #2
0
        public PluginsPage(IApplicationHost appHost, INavigationService nav, IPresentationManager presentation, IInstallationManager installationManager)
        {
            _presentation = presentation;
            InitializeComponent();

            var viewModel = new PluginsPageViewModel(appHost, nav, installationManager, presentation);

            viewModel.PropertyChanged += viewModel_PropertyChanged;
            DataContext = viewModel;
        }