public TwitterListController( ITweetFactory tweetFactory, IUserFactory userFactory, ITwitterListQueryExecutor twitterListQueryExecutor, ITwitterListFactory twitterListsFactory, ITwitterListQueryParameterGenerator twitterListQueryParameterGenerator, ITwitterListIdentifierFactory twitterListIdentifierFactory) { _tweetFactory = tweetFactory; _userFactory = userFactory; _twitterListQueryExecutor = twitterListQueryExecutor; _twitterListsFactory = twitterListsFactory; _twitterListQueryParameterGenerator = twitterListQueryParameterGenerator; _twitterListIdentifierFactory = twitterListIdentifierFactory; }
public UserStream( IStreamResultGenerator streamResultGenerator, ITweetFactory tweetFactory, IMessageFactory messageFactory, IUserFactory userFactory, ITwitterListFactory twitterListFactory, IJObjectStaticWrapper jObjectWrapper, IJsonObjectConverter jsonObjectConverter, ITwitterRequestGenerator twitterRequestGenerator, IStreamTrackManager<ITweet> streamTrackManager, ISynchronousInvoker synchronousInvoker, ITaskFactory taskFactory, ICustomRequestParameters customRequestParameters, ITwitterQueryFactory twitterQueryFactory, ISingleAggregateExceptionThrower singleAggregateExceptionThrower) : base( streamTrackManager, jsonObjectConverter, jObjectWrapper, streamResultGenerator, tweetFactory, twitterRequestGenerator, synchronousInvoker, customRequestParameters, twitterQueryFactory, singleAggregateExceptionThrower) { _messageFactory = messageFactory; _userFactory = userFactory; _twitterListFactory = twitterListFactory; _jObjectWrapper = jObjectWrapper; _taskFactory = taskFactory; _twitterQueryFactory = twitterQueryFactory; _singleAggregateExceptionThrower = singleAggregateExceptionThrower; _events = new Dictionary<string, Action<JObject>>(); InitializeEvents(); }
public UserStream( IStreamResultGenerator streamResultGenerator, ITweetFactory tweetFactory, IMessageFactory messageFactory, IUserFactory userFactory, ITwitterListFactory twitterListFactory, IJObjectStaticWrapper jObjectWrapper, IJsonObjectConverter jsonObjectConverter, ITwitterRequestGenerator twitterRequestGenerator, IStreamTrackManager <ITweet> streamTrackManager, ISynchronousInvoker synchronousInvoker, ITaskFactory taskFactory, ICustomRequestParameters customRequestParameters, ITwitterQueryFactory twitterQueryFactory, ISingleAggregateExceptionThrower singleAggregateExceptionThrower) : base( streamTrackManager, jsonObjectConverter, jObjectWrapper, streamResultGenerator, tweetFactory, twitterRequestGenerator, synchronousInvoker, customRequestParameters, twitterQueryFactory, singleAggregateExceptionThrower) { _messageFactory = messageFactory; _userFactory = userFactory; _twitterListFactory = twitterListFactory; _jObjectWrapper = jObjectWrapper; _taskFactory = taskFactory; _twitterQueryFactory = twitterQueryFactory; _singleAggregateExceptionThrower = singleAggregateExceptionThrower; _events = new Dictionary <string, Action <JObject> >(); InitializeEvents(); }
private static void Initialize() { _twitterListFactory = TweetinviContainer.Resolve<ITwitterListFactory>(); _twitterListController = TweetinviContainer.Resolve<ITwitterListController>(); }
private static void Initialize() { _twitterListFactory = TweetinviContainer.Resolve <ITwitterListFactory>(); _twitterListController = TweetinviContainer.Resolve <ITwitterListController>(); }