Пример #1
0
 private void MakeRequest(ITweetRequester tweetRequester)
 {
     foreach (Tweet tweet in tweetRequester.RequestTweets())
     {
         _tweetSink.AddTweet(tweet);
     }
 }
Пример #2
0
 private void RequestAndAddNewTweetsToStore(ITweetRequester tweetRequester)
 {
     _tweetSink.Add(tweetRequester.RequestTweets());
 }