コード例 #1
0
        public MainViewModel(ITwitterFeedService twitterFeedService, INavigationService navigationService, ICommentsService commentsService)
        {
            _twitterFeedService = twitterFeedService;
            _navigationService = navigationService;
            _commentsService = commentsService;

            Tweets = new ObservableCollection<TweetDto>();
        }
コード例 #2
0
 public CommentsService(ITweetsDataContextFactory contextFactory, ITwitterFeedService twitterFeedService)
 {
     _contextFactory = contextFactory;
     _twitterFeedService = twitterFeedService;
 }