Exemplo n.º 1
0
        public FavouritesScheduleViewModel(IFavouritesSchedulingService favouritiesSchedulingService, ISTLogger logger)
        {
            _favouritiesSchedulingService = favouritiesSchedulingService;
            _logger = logger;

            OnGenerateRequested = new Command(GenerateRequested);

            PageTitle = Constants.FavouritesSchedulePageTitle;
            Episodes  = new List <EpisodeDto>();
        }
Exemplo n.º 2
0
        public MainViewModel(ISTLogger stLogger, INavigationService navigationService)
        {
            _stLogger          = stLogger;
            _navigationService = navigationService;

            OnSearchNavigateCommand = new Command(SearchNavigate);
            OnAboutNavigateCommand  = new Command(AboutNavigate);
            OnFavouritiesCommand    = new Command(FavouritiesNavigate);
            OnTodayNavigateCommand  = new Command(TodayNavigate);

            PageTitle = Constants.ApplicationName;
        }
Exemplo n.º 3
0
 public FavouritesService(IJsonSerializeService jsonSerializeService, ISTLogger logger)
 {
     _jsonSerializeService = jsonSerializeService;
     _logger = logger;
 }
 public FavouritesSchedulingService(IFavouritesService favouritesService, IApiClientService apiClientService, ISTLogger logger)
 {
     _favouritesService = favouritesService;
     _apiClientService  = apiClientService;
     _logger            = logger;
 }