Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#419 QuotedTweets are now considered when using a FilteredStream. The…
… MatchedTweetReceivedEventArgs now contains new matching properties for the QuotedTweets.
- Loading branch information
Showing
8 changed files
with
479 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Tweetinvi.Core.Streaming; | ||
using Tweetinvi.Models; | ||
|
||
namespace Tweetinvi.Streams | ||
{ | ||
public interface IFilterStreamTweetMatcherFactory | ||
{ | ||
IFilterStreamTweetMatcher Create( | ||
IStreamTrackManager<ITweet> streamTrackManager, | ||
Dictionary<ILocation, Action<ITweet>> locations, | ||
Dictionary<long?, Action<ITweet>> followingUserIds); | ||
} | ||
|
||
public class FilterStreamTweetMatcherFactory : IFilterStreamTweetMatcherFactory | ||
{ | ||
public IFilterStreamTweetMatcher Create( | ||
IStreamTrackManager<ITweet> streamTrackManager, | ||
Dictionary<ILocation, Action<ITweet>> locations, | ||
Dictionary<long?, Action<ITweet>> followingUserIds) | ||
{ | ||
return new FilterStreamTweetMatcher(streamTrackManager, locations, followingUserIds); | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters