public SinglePhotoFlickrMatchesViewModel(string localFilePath, FlickrModel flickrModel)
        {
            LocalFilePath = localFilePath;
            _flickrModel = flickrModel;

            RaisePropertyChanged(() => LocalFilePath);
            RaisePropertyChanged(() => LocalPhoto);
        }
Exemplo n.º 2
0
        public MainWindowViewModel()
        {
            if (!VisualHelpers.IsInDesignMode)
            {
                _flickrModel = new FlickrModel();
            }

            LoginViewModel = new LoginViewModel(_flickrModel);

            PreviewDropCommand = new DelegateCommand<DataObject>(HandlePreviewDropCommand);
            LocalPhotos = new ObservableCollection<SinglePhotoFlickrMatchesViewModel>();
        }
Exemplo n.º 3
0
        public LoginViewModel(FlickrModel flickrModel)
        {
            _flickrModel = flickrModel;

            RaisePropertyChanged(() => StatusDescription);
        }