コード例 #1
0
        public CommentsPageViewModel(
            EchoJsClient echoJsClient,
            IEventAggregator eventAggregator)
        {
            this.echoJsClient = echoJsClient;
            this.eventAggregator = eventAggregator;

            this.Comments = new BindableCollection<Comment>();
        }
コード例 #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;
        }