Exemple #1
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;
        }
Exemple #2
0
 public FriendshipJsonController(
     IFriendshipQueryGenerator friendshipQueryGenerator,
     IFriendshipFactory friendshipFactory,
     ITwitterAccessor twitterAccessor)
 {
     _friendshipQueryGenerator = friendshipQueryGenerator;
     _friendshipFactory        = friendshipFactory;
     _twitterAccessor          = twitterAccessor;
 }
 public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory)
 {
     _friendshipQueryExecutor = friendshipQueryExecutor;
     _userFactory             = userFactory;
     _friendshipFactory       = friendshipFactory;
 }
 public FriendshipJsonController(
     IFriendshipQueryGenerator friendshipQueryGenerator,
     IFriendshipFactory friendshipFactory,
     ITwitterAccessor twitterAccessor)
 {
     _friendshipQueryGenerator = friendshipQueryGenerator;
     _friendshipFactory = friendshipFactory;
     _twitterAccessor = twitterAccessor;
 }
Exemple #5
0
 public User(
     IUserDTO userDTO,
     ITimelineController timelineController,
     IUserController userController,
     IFriendshipFactory friendshipFactory)
 {
     _userDTO            = userDTO;
     _timelineController = timelineController;
     _userController     = userController;
     _friendshipFactory  = friendshipFactory;
 }
Exemple #6
0
 public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory,
     IFactory <IRelationshipDetails> relationshipFactory,
     IFactory <IRelationshipState> relationshipStateFactory,
     IFactory <IFriendshipAuthorizations> friendshipAuthorizationsFactory)
 {
     _friendshipQueryExecutor         = friendshipQueryExecutor;
     _userFactory                     = userFactory;
     _friendshipFactory               = friendshipFactory;
     _relationshipFactory             = relationshipFactory;
     _relationshipStateFactory        = relationshipStateFactory;
     _friendshipAuthorizationsFactory = friendshipAuthorizationsFactory;
 }
 public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory,
     IFactory<IRelationshipDetails> relationshipFactory,
     IFactory<IRelationshipState> relationshipStateFactory,
     IFactory<IFriendshipAuthorizations> friendshipAuthorizationsFactory)
 {
     _friendshipQueryExecutor = friendshipQueryExecutor;
     _userFactory = userFactory;
     _friendshipFactory = friendshipFactory;
     _relationshipFactory = relationshipFactory;
     _relationshipStateFactory = relationshipStateFactory;
     _friendshipAuthorizationsFactory = friendshipAuthorizationsFactory;
 }
 public CharacterDataService(
     ICharacterFactory characterFactory,
     IEpisodeFactory episodeFactory,
     IFriendshipFactory friendshipFactory,
     ICharacterRepository characterRepository,
     IEpisodeRepository episodeRepository,
     IFriendshipRepository friendshipRepository,
     AppDbContext dbContext)
 {
     _characterFactory     = characterFactory;
     _episodeFactory       = episodeFactory;
     _friendshipFactory    = friendshipFactory;
     _characterRepository  = characterRepository;
     _episodeRepository    = episodeRepository;
     _friendshipRepository = friendshipRepository;
     _dbContext            = dbContext;
 }