Exemplo n.º 1
0
 public WindowService(IContainer container, IEventAggregator eventAggregator, IShellInformationService shellInformationService,
                      IRegionManager regionManager, Lazy <IApplicationShutdownService> applicationShutdownService)
 {
     _container                       = container;
     _eventAggregator                 = eventAggregator;
     _shellInformationService         = shellInformationService;
     _regionManager                   = regionManager;
     this._applicationShutdownService = applicationShutdownService;
 }
Exemplo n.º 2
0
        public ShellViewModel(IShellInformationService shellInformationService, IRegionManager regionManager, IWindowService windowService)
        {
            _windowService                = windowService;
            _originalWindowState.Title    = shellInformationService.GetDefaultTitle();
            _originalWindowState.IconPath = shellInformationService.GetDefaultIconPath();

            SetWindowProperties(_originalWindowState);

            regionManager.Regions.CollectionChanged += RegionCollectionChanged;
        }
Exemplo n.º 3
0
 public MatiscoPrismModule(IRegionManager regionManager, IShellInformationService shellInformationService)
 {
     _regionManager           = regionManager;
     _shellInformationService = shellInformationService;
 }