예제 #1
0
 public HomeTimelineControlViewModel(ITwitterService twitterService, ISettings settings, ISystemState systemState)
     : base(settings, systemState, justOverMinute)
 {
     timelineName   = (string)Application.Current.FindResource("home-timeline");
     TwitterService = twitterService;
     AddUpdateTask(tl => GetAndUpdateStatusesAsync(tl));
     AddUpdateTask(tl => DonateNagTask.Execute(tl));
     AddUpdateTask(tl => TruncateStatusCollectionTask.Execute(tl));
     AddUpdateTask(tl => UpdateTimeStampsTask.Execute(tl));
 }
 public HomeTimelineControlViewModel(ITwitterService twitterService, ISettings settings, ISystemState systemState)
     : base(settings, systemState, justOverMinute)
 {
     timelineName   = App.GetString("home-timeline");
     TwitterService = twitterService;
     AddUpdateTask(tl => GetAndUpdateStatusesAsync(tl));
     AddUpdateTask(tl => DonateNagTask.Execute(tl));
     AddUpdateTask(tl => TruncateStatusCollectionTask.Execute(tl));
     AddUpdateTask(tl => UpdateTimeStampsTask.Execute(tl));
     AddUpdateTask(t1 => UpdateNamesTask.Execute(t1));
     AddUpdateTask(__ => CollectAllTask.Execute());
 }