public CommentsPageViewModel(
            EchoJsClient echoJsClient,
            IEventAggregator eventAggregator)
        {
            this.echoJsClient = echoJsClient;
            this.eventAggregator = eventAggregator;

            this.Comments = new BindableCollection<Comment>();
        }
Beispiel #2
0
        public LatestViewModel(
            INavigationService navigationService,
            ICacheService cacheService,
            EchoJsClient echoJsClient)
        {
            this.navigationService = navigationService;
            this.cacheService = cacheService;
            this.echoJsClient = echoJsClient;

            this.Articles = new BindableCollection<Article>();
            this.DisplayName = AppResources.LatestPivotTitle;
        }