public TweetTrackerViewModel(TwitterFeedViewModel feed) { Tweets = new BindableCollection<string>(); feed.PropertyChanged += (_, args) => { if (args.PropertyName == "SelectedTweet") { Tweets.Add(feed.SelectedTweet.Text); } }; }
public TweetTrackerViewModel(TwitterFeedViewModel feed) { Tweets = new BindableCollection <string>(); feed.PropertyChanged += (_, args) => { if (args.PropertyName == "SelectedTweet") { Tweets.Add(feed.SelectedTweet.Text); } }; }