Exemple #1
0
 public FavouriteWeatherInfoUseCase(IAppRestService appRestService = null, IFavouriteWeatherInfo favouriteWeatherInfo = null)
 {
     _favouriteWeatherInfo = favouriteWeatherInfo ?? Locator.Current.GetService <IFavouriteWeatherInfo>();
     _appRestService       = appRestService ?? Locator.Current.GetService <IAppRestService>();
 }
Exemple #2
0
 public AppManager(IAppRestService service)
 {
     restService = service;
     Apps        = new List <AppModel>();
     WhiteList   = new List <string>();
 }