public NewsArticlesController(ILogger logger, INewsContext context, INewsArticlesService newsArticlesRepository, ICategoryService categoryRepository, INewsArticleTextService articleText) { _logger = logger; _context = context; _newsArticlesRepository = newsArticlesRepository; _categoryRepository = categoryRepository; _articleText = articleText; }
// public MainPageViewModel(INavigationService navigationService, INewsArticlesService newsArticlesService) : base(navigationService) { Title = "Homepage"; _newsArticleService = newsArticlesService; _navigationService = navigationService; }
public NewsArticlesPageViewModel(INavigationService navigationService, INewsArticlesService newsArticlesService) : base(navigationService) { Title = "Homepage"; _newsArticlesService = newsArticlesService; _navigationService = navigationService; //Command instances GetNewsArticleCommand = new DelegateCommand <object>(MoreInfoNewsArticle); }
public HomeBaseController( ICacheManager cacheManager, ILogger logger, IAreaService areaService, IHrDbContext hrDbContext, IDistributorConfigService distributorConfigService, INewsArticlesService articlesRepository ) { _cacheManager = cacheManager; _Logger = logger; _areaService = areaService; _dbContext = hrDbContext; _distributorConfigService = distributorConfigService; _articlesRepository = articlesRepository; }
public NewsArticleDetailPageViewModel( INavigationService navigationService, INewsArticlesService newsArticlesService, IPermissionManager permissionManager ) : base(navigationService) { _navigationService = navigationService; _newsArticlesService = newsArticlesService; _permissionManager = permissionManager; OnCategoryTappedCommand = new Command(NavigateToNewsArticleCategory); OnBackNavigationCommand = new Command(NavigateBack); NavigateToRedactorPageCommand = new DelegateCommand <object>(NavigateToRedactorPage); ShareItemCommand = new Command(ShareItemAsync); }
// public MainPageViewModel(INavigationService navigationService, INewsArticlesService newsArticlesService , IRSSArticlesService RSSArticlesService) : base(navigationService) { Title = "Homepage"; _newsArticleService = newsArticlesService; _RSSArticlesService = RSSArticlesService; _navigationService = navigationService; //Command Instances GetNewsArticleCommand = new DelegateCommand<object>(MoreInfoNewsArticle); OnNextRSSArticleCommand = new Command(OnNextRSSArticle); OnPrevRSSArticleCommand = new Command(OnPrevRSSArticle); //Navigation arrow settings IsArrowLeftVisible = false; IsArrowRightVisible = true; }
public SearchNewsArticlesService(INewsArticlesService newsArticles) { _newsArticles = newsArticles; }
public ArticlesController(INewsArticlesService newsArticlesService) { _NewsArticlesService = newsArticlesService; }
public NewsArticlesController(INewsArticlesService newsArticles, IPubnubBroadcaster pubnub) { this.newsArticles = newsArticles; this.pubnub = pubnub; }
public HomeController() { _newsArticlesService = new NewsArticlesService(); }
public NewsArticlesController(INewsArticlesService newsArticles, IImagesService images) { this.newsArticles = newsArticles; this.images = images; }