Пример #1
0
 public MainViewModel(IFlickrService flickrService, Resources resources, INavigationService navigationService, IRequestMessageResolver messageResolver)
 {
     _flickrService = flickrService;
     _resources = resources;
     _navigationService = navigationService;
     _messageResolver = messageResolver;
     //Initialize Commands
     LoadInitialPhotosCommand = new AsyncExtendedCommand(LoadInitialPhotosAsync);
     PhotoClickedCommand = new ExtendedCommand<Photo>(PhotoClicked);
 }
 public RequestMessageResolver( Resources resources )
 {
     _resources = resources;
 }