/// <summary> /// ctor(); /// </summary> public DriveAutoDetailsViewModel(IPickMediaService pickMediaService, IVisionService visionService, IDriveAutoService driveAutoService) { _visionService = visionService; _pickMediaService = pickMediaService; _driveAutoService = driveAutoService; ActionBarViewModel = DependencyLocator.Resolve <CommonActionBarViewModel>(); IsBackButtonAvailable = NavigationService.IsBackButtonAvailable; }
public NewPostViewModel( IPickMediaService pickMediaService, IValidationObjectFactory validationObjectFactory) { _pickMediaService = pickMediaService; _validationObjectFactory = validationObjectFactory; ResetValidationObjects(); AttachedPostMedias = new ObservableCollection <AttachedAnnounceMediaBase>(); ActionBarViewModel = DependencyLocator.Resolve <NewPostActionBarViewModel>(); }