protected override CameraViewModel GetViewModel(object param) { //PatternData data = new PatternData() { Name = string.Empty, Id = 0, PatternType = PatternType.Simple, Data = new byte[] {0}}; Template composition = _mappingEngine.Map <Template>(param); CompositionModelProcessor processor = _imageProcessorFactory.Create(composition); return(new CameraViewModel(_settings, _dialogService, _navigator, processor)); }
public CameraSettingsExplorerViewModelFactory( SettingsProvider settingsProvider, IViewModelNavigator navigator, CompositionModelProcessor imageProcessor, IMappingEngine mappingEngine, IDialogService dialogService) { _settingsProvider = settingsProvider; _navigator = navigator; _imageProcessor = imageProcessor; _mappingEngine = mappingEngine; _dialogService = dialogService; }
public TakePhotoViewModel( IViewModelNavigator navigator, CompositionModelProcessor imageProcessor, SettingsProvider settingsProvider ) { _settingsProvider = settingsProvider; _navigator = navigator; _imageProcessor = imageProcessor; _width = CDefWidth; _height = CDefHeight; }
public CameraViewModel( SettingsProvider settingsProvider, IDialogService dialogService, IViewModelNavigator navigator, CompositionModelProcessor imageProcessor ) { _settingsProvider = settingsProvider; _dialogService = dialogService; _navigator = navigator; _imageProcessor = imageProcessor; _width = CDefWidth; _height = CDefHeight; }
public CameraViewModel( SettingsProvider settingsProvider, IDialogService dialogService, IViewModelNavigator navigator, CompositionModelProcessor imageProcessor ) { _settingsProvider = settingsProvider; _dialogService = dialogService; _navigator = navigator; _imageProcessor = imageProcessor; _width = CDefWidth; _height = CDefHeight; }
public CameraSettingsExplorerViewModel( IViewModelNavigator navigator, SettingsProvider settingsProvider, CompositionModelProcessor imageProcessor, IMappingEngine mappingEngine, IDialogService dialogService) { _navigator = navigator; _settingsProvider = settingsProvider; _imageProcessor = imageProcessor; _mappingEngine = mappingEngine; _dialogService = dialogService; }
public CameraSettingsViewModel(CompositionModelProcessor imageProcessor, SettingsProvider settingsProvider) { _imageProcessor = imageProcessor; _settingsProvider = settingsProvider; }