Beispiel #1
0
        public AuthenticatedUser(
            IUserDTO userDTO,
            ICredentialsAccessor credentialsAccessor,
            ITimelineController timelineController,
            ITweetController tweetController,
            IUserController userController,
            IMessageController messageController,
            IFriendshipController friendshipController,
            IAccountController accountController,
            ITwitterListController twitterListController,
            ISavedSearchController savedSearchController,
            ITaskFactory taskFactory)

            : base(userDTO, userController, timelineController, friendshipController, twitterListController, taskFactory)
        {
            _credentialsAccessor   = credentialsAccessor;
            _tweetController       = tweetController;
            _messageController     = messageController;
            _friendshipController  = friendshipController;
            _accountController     = accountController;
            _twitterListController = twitterListController;
            _savedSearchController = savedSearchController;

            Credentials = _credentialsAccessor.CurrentThreadCredentials;
        }
Beispiel #2
0
        public LoggedUser(
            IUserDTO userDTO,
            ICredentialsAccessor credentialsAccessor,
            ITimelineController timelineController,
            ITweetController tweetController,
            ITweetFactory tweetFactory,
            IUserController userController,
            IMessageController messageController,
            IFriendshipFactory friendshipFactory,
            IFriendshipController friendshipController,
            IAccountController accountController,
            ISavedSearchController savedSearchController)

            : base(userDTO, timelineController, userController, friendshipFactory)
        {
            _credentialsAccessor   = credentialsAccessor;
            _tweetController       = tweetController;
            _tweetFactory          = tweetFactory;
            _messageController     = messageController;
            _friendshipController  = friendshipController;
            _accountController     = accountController;
            _savedSearchController = savedSearchController;

            Credentials = _credentialsAccessor.CurrentThreadCredentials;
        }
Beispiel #3
0
 private static void Initialize()
 {
     _savedSearchFactory    = TweetinviContainer.Resolve <ISavedSearchFactory>();
     _savedSearchController = TweetinviContainer.Resolve <ISavedSearchController>();
 }
Beispiel #4
0
 private static void Initialize()
 {
     _savedSearchFactory = TweetinviContainer.Resolve<ISavedSearchFactory>();
     _savedSearchController = TweetinviContainer.Resolve<ISavedSearchController>();
 }