Пример #1
0
 public ThemeManagerViewModel(
     IViewModelNavigator navigator,
     IDialogService dialogService,
     SettingsProvider settingsProvider,
     IMappingEngine mappingEngine,
     ImageLoadService imageLoadService)
 {
     _navigator = navigator;
     _dialogService = dialogService;
     _settingsProvider = settingsProvider;
     _mappingEngine = mappingEngine;
     _imageLoadService = imageLoadService;
 }
Пример #2
0
        public TemplateEditorViewModel(
            IViewModelNavigator navigator, 
            IDialogService dialogService, 
            ImageLoadService imageLoadService,
            CheckableTemplateViewModel template)
        {
            OverlayOpacity = 1.0;

            _navigator = navigator;
            _dialogService = dialogService;
            _imageLoadService = imageLoadService;
            _originalObject = template;
            Template = _originalObject.Copy();

            Init();
        }