public MainViewModel(IMapperVoToModel mapper, IPgmService pgmService, IMainOrchestrator mainOrchestrator, IDialogCoordinatorService dialogCoordinatorService) : base(mapper) { _pgmService = pgmService; _mainOrchestrator = mainOrchestrator; _dialogCoordinatorService = dialogCoordinatorService; _dialogCoordinatorService.MainWindow = (MetroWindow)Application.Current.MainWindow; }
protected SubViewModelBase(IMapperVoToModel mapper) { Mapper = mapper; }
public ProjectContentViewModel(IProjectContentOrchestrator projectContentOrchestrator, IDialogCoordinatorService dialogCoordinatorService, IMapperVoToModel mapper) : base(mapper) { _projectContentOrchestrator = projectContentOrchestrator; _dialogCoordinatorService = dialogCoordinatorService; _dialogCoordinatorService.MainWindow = (MetroWindow)Application.Current.MainWindow; }