public PostsWatcher( TimeSpan interval, IPostsChecker postsChecker) { _interval = interval; _postsChecker = postsChecker; }
public WatchedUsersController( IServiceScopeFactory scopeFactory, UserManager <ApplicationUser> userManager, TwitterService twitter, IPostsWatcher postsWatcher, IPostsChecker postsChecker) { _scopeFactory = scopeFactory; _userManager = userManager; _twitter = twitter; _postsWatcher = postsWatcher; _postsChecker = postsChecker; }
public TwitterService( IServiceScopeFactory scopeFactory, TwitterAppConfiguration configuration, IPostsWatcher postsWatcher, IPostsChecker postsChecker, IProvidersOperator providersOperator, IPostOperationValidator postOperationValidator) { _scopeFactory = scopeFactory; _configuration = configuration; _postsWatcher = postsWatcher; _postsChecker = postsChecker; _providersOperator = providersOperator; _postOperationValidator = postOperationValidator; }