예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
        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();
        }
예제 #4
0
        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();
        }
예제 #5
0
 private static void Initialize()
 {
     _twitterListFactory = TweetinviContainer.Resolve<ITwitterListFactory>();
     _twitterListController = TweetinviContainer.Resolve<ITwitterListController>();
 }
예제 #6
0
 private static void Initialize()
 {
     _twitterListFactory    = TweetinviContainer.Resolve <ITwitterListFactory>();
     _twitterListController = TweetinviContainer.Resolve <ITwitterListController>();
 }