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; }
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; }
public TweetsRequester( ITwitterClient client, ITwitterClientEvents clientEvents, ITweetController tweetController, ITweetsClientRequiredParametersValidator tweetsClientRequiredParametersValidator) : base(client, clientEvents) { _tweetController = tweetController; _tweetsClientRequiredParametersValidator = tweetsClientRequiredParametersValidator; }
public TweetWithSearchMetadata( ITweetWithSearchMetadataDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory) : base(tweetDTO, tweetController, tweetFactory, userFactory, taskFactory) { _tweetWithSearchMetadataDTO = tweetDTO; }
public MentionViewModel( IEventAggregator eventAggregator, ILanguageHelper languageHelper, IEnumerable <Lazy <ITweetController, OAuthTypeMetadata> > statusControllers, IEnumerable <Lazy <IUserController, OAuthTypeMetadata> > userControllers) : base(eventAggregator, languageHelper) { statusController = statusControllers.Single(c => c.Metadata.OAuthType == App.UserSetting.OAuthSetting.OAuthSettingType).Value; userController = userControllers.Single(c => c.Metadata.OAuthType == App.UserSetting.OAuthSetting.OAuthSettingType).Value; }
public TweetWithSearchMetadata( ITweetWithSearchMetadataDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory, ITweetinviSettingsAccessor tweetinviSettingsAccessor) : base(tweetDTO, null, tweetController, tweetFactory, userFactory, taskFactory, tweetinviSettingsAccessor) { _tweetWithSearchMetadataDTO = tweetDTO; }
public Tweet( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory) { _tweetController = tweetController; _tweetFactory = tweetFactory; _userFactory = userFactory; TweetDTO = tweetDTO; }
public Mention( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory) : base(tweetDTO, tweetController, tweetFactory, userFactory) { // Default constructor inheriting from the default Tweet constructor }
public TweetJsonController( IUploadQueryExecutor uploadQueryExecutor, ITweetQueryGenerator tweetQueryGenerator, ITwitterAccessor twitterAccessor, ITweetQueryValidator tweetQueryValidator, ITweetController tweetController) { _uploadQueryExecutor = uploadQueryExecutor; _tweetQueryGenerator = tweetQueryGenerator; _twitterAccessor = twitterAccessor; _tweetQueryValidator = tweetQueryValidator; _tweetController = tweetController; }
public Mention( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory) : base(tweetDTO, tweetController, tweetFactory, userFactory, taskFactory) { // Default constructor inheriting from the default Tweet constructor }
public Tweet( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory, IFactory <IMedia> mediaFactory) { _tweetController = tweetController; _tweetFactory = tweetFactory; _userFactory = userFactory; _taskFactory = taskFactory; _mediaFactory = mediaFactory; TweetDTO = tweetDTO; }
public Mention( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory, ITweetinviSettingsAccessor tweetinviSettingsAccessor) : base(tweetDTO, null, tweetController, tweetFactory, userFactory, taskFactory, tweetinviSettingsAccessor) { // Default constructor inheriting from the default Tweet constructor }
public Tweet( ITweetDTO tweetDTO, TweetMode?tweetMode, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory, ITweetinviSettingsAccessor tweetinviSettingsAccessor) { _tweetController = tweetController; _tweetFactory = tweetFactory; _userFactory = userFactory; _taskFactory = taskFactory; // IMPORTANT: POSITION MATTERS! Look line below! TweetMode = tweetMode ?? tweetinviSettingsAccessor?.CurrentThreadSettings?.TweetMode ?? TweetMode.Compat; // IMPORTANT: Make sure that the TweetDTO is set up after the TweetMode because it uses the TweetMode to initialize the Entities TweetDTO = tweetDTO; }
private static void Initialize() { _tweetController = TweetinviContainer.Resolve <ITweetController>(); _tweetFactory = TweetinviContainer.Resolve <ITweetFactory>(); }
private static void Initialize() { _tweetController = TweetinviContainer.Resolve<ITweetController>(); _tweetFactory = TweetinviContainer.Resolve<ITweetFactory>(); }
public Tweet( ITweetDTO tweetDTO, ITweetController tweetController, ITweetFactory tweetFactory, IUserFactory userFactory, ITaskFactory taskFactory, IFactory<IMedia> mediaFactory) { _tweetController = tweetController; _tweetFactory = tweetFactory; _userFactory = userFactory; _taskFactory = taskFactory; _mediaFactory = mediaFactory; TweetDTO = tweetDTO; }