Ejemplo n.º 1
0
        public PostsChecker(
            IPostOperationValidator validator,
            IProvidersOperator @operator)
        {
            _validator = validator;
            _operator  = @operator;

            WatchedUsers = new List <IUser>();
        }
Ejemplo n.º 2
0
        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;
        }