Пример #1
0
        public override void Run()
        {
            this._view      = ContainerProvider.Resolve <TView>();
            this._viewModel = (ContentViewModel <T, TViewModel>)_view.DataContext;
            base.Run();

            ShellExtensionService.ShowInContentRegion(this._view);
        }
Пример #2
0
        public override void Run()
        {
            this._detailsView = new TDetailsView();
            ShellExtensionService.ShowInContentRegion(this._detailsView);
            this._detailsViewModel = (ObjectDetailViewModel <TDetail, TDetailViewModel>)_detailsView.DataContext;

            this._listView = ContainerProvider.Resolve <TListView>();
            ShellExtensionService.ShowInDockRegion(this._listView);
            this._listViewModel = (ObjectListViewModel <TInfo, TInfoViewModel>) this._listView.DataContext;

            base.Run();
        }