/// <summary> /// Initializes a new instance of the <see cref="DomainController"/> class. /// </summary> /// <param name="commandProcessor">The command processor.</param> /// <param name="domainRepository">The domain repository.</param> /// <param name="feedRepository">The feed repository.</param> /// <param name="pipeRepository">The pipe repository.</param> public DomainController( IAmACommandProcessor commandProcessor, IAmARepository<Domain> domainRepository, IAmARepository<Feed> feedRepository, IAmARepository<Pipe> pipeRepository) { _commandProcessor = commandProcessor; _domainRepository = domainRepository; _feedRepository = feedRepository; _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="joinRepository">The join repository.</param> /// <param name="logger">The logger.</param> public AddJoinCommandHandler(IAmARepository <Join> joinRepository, ILog logger) : base(logger) { this.joinRepository = joinRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> /// <param name="logger">The logger.</param> public DeletePipeCommandHandler(IAmARepository <Pipe> pipeRepository, ILog logger) : base(logger) { this.pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class. /// </summary> /// <param name="feedRepository"></param> /// <param name="commandProcessor"></param> /// <param name="logger">The logger.</param> public AddJoinToFeedCommandHandler(IAmARepository <Feed> feedRepository, IAmACommandProcessor commandProcessor, ILog logger) : base(logger) { this.feedRepository = feedRepository; this.commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class. /// </summary> /// <param name="repository"></param> /// <param name="logger">The logger.</param> public AddPipeToDomainCommandHandler(IAmARepository <Domain> repository, ILog logger) : base(logger) { this.repository = repository; }
public FeedController(IAmACommandProcessor commandProcessor, IAmARepository <Feed> feedRepository) { this.commandProcessor = commandProcessor; this.feedRepository = feedRepository; }
/// <summary> /// Initializes a new instance of the <see cref="JoinController"/> class. /// </summary> /// <param name="joinRepository">The join repository.</param> public JoinController(IAmARepository <Join> joinRepository) { _joinRepository = joinRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> /// <param name="commandProcessor">The command processor.</param> /// <param name="logger">The logger.</param> public AddJoinToPipeCommandHandler(IAmARepository <Pipe> pipeRepository, IAmACommandProcessor commandProcessor, ILog logger) { _pipeRepository = pipeRepository; _commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="MessageRetriever"/> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> public MessageRetriever(IAmARepository <Pipe> pipeRepository) { _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PipeRetriever"/> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> public PipeRetriever(IAmARepository <Pipe> pipeRepository) { this.pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DomainRetriever"/> class. /// </summary> /// <param name="domainRepository">The domain repository.</param> /// <param name="feedRepository">The feed repository.</param> public DomainRetriever(IAmARepository <Domain> domainRepository, IAmARepository <Feed> feedRepository, IAmARepository <Pipe> pipeRepository) { this.feedRepository = feedRepository; this.pipeRepository = pipeRepository; this.domainRepository = domainRepository; }
/// <summary> /// Initializes a new instance of the <see cref="JoinController"/> class. /// </summary> /// <param name="joinRepository">The join repository.</param> public JoinController(IAmARepository<Join> joinRepository) { _joinRepository = joinRepository; }
public IUseCredentials Repositories(IAmARepository<Domain> domainRepository, IAmARepository<Feed> feedRepository) { _domainRepository = domainRepository; _feedRepository = feedRepository; return this; }
/// <summary> /// Initializes a new instance of the <see cref="FeedRetriever"/> class. /// </summary> /// <param name="feedRepository">The feed repository.</param> public FeedRetriever(IAmARepository<Feed> feedRepository) { _feedRepository = feedRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DeleteFeedCommandHandler"/> class. /// </summary> /// <param name="feedRepository">The feed repository.</param> /// <param name="commandProcessor">The command processor.</param> /// <param name="log">The log.</param> public DeleteFeedCommandHandler(IAmARepository <Feed> feedRepository, IAmACommandProcessor commandProcessor, ILog log) { _feedRepository = feedRepository; _commandProcessor = commandProcessor; }
public IUseCredentials Repositories(IAmARepository <Domain> domainRepository, IAmARepository <Feed> feedRepository) { this.domainRepository = domainRepository; this.feedRepository = feedRepository; return(this); }
/// <summary> /// Initializes a new instance of the <see cref="FeedController"/> class. /// </summary> /// <param name="commandProcessor">The command processor.</param> /// <param name="feedRepository">The feed repository.</param> /// <param name="cachingHandler">The caching handler, used to invalidate related resources</param> public FeedController(IAmACommandProcessor commandProcessor, IAmARepository<Feed> feedRepository, ICachingHandler cachingHandler) { _commandProcessor = commandProcessor; _feedRepository = feedRepository; _cachingHandler = cachingHandler; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class. /// </summary> /// <param name="feedRepository"></param> /// <param name="logger">The logger.</param> public AddMessageToFeedCommandHandler(IAmARepository <Feed> feedRepository, ILog logger) : base(logger) { this.feedRepository = feedRepository; }
/// <summary> /// Initializes a new instance of the <see cref="JoinRetriever"/> class. /// </summary> /// <param name="joinRepository">The join repository.</param> /// <param name="logger">The logger.</param> public JoinRetriever(IAmARepository<Join> joinRepository) { _joinRepository = joinRepository; }
/// <summary> /// Initializes a new instance of the <see cref="FeedController"/> class. /// </summary> /// <param name="commandProcessor">The command processor.</param> /// <param name="feedRepository">The feed repository.</param> /// <param name="cachingHandler">The caching handler, used to invalidate related resources</param> public FeedController(IAmACommandProcessor commandProcessor, IAmARepository <Feed> feedRepository, ICachingHandler cachingHandler) { this.commandProcessor = commandProcessor; this.feedRepository = feedRepository; this.cachingHandler = cachingHandler; }
/// <summary> /// Initializes a new instance of the <see cref="RemoveFeedFromDomainCommandHandler"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="logger">The logger.</param> public RemoveFeedFromDomainCommandHandler(IAmARepository <Domain> repository, ILog logger) : base(logger) { this.repository = repository; }
/// <summary> /// Initializes a new instance of the <see cref="JoinRetriever"/> class. /// </summary> /// <param name="joinRepository">The join repository.</param> /// <param name="logger">The logger.</param> public JoinRetriever(IAmARepository <Join> joinRepository) { _joinRepository = joinRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> /// <param name="logger">The logger.</param> public DeleteMessageCommandHandler(IAmARepository <Pipe> pipeRepository, IAmACommandProcessor commandProcessor, ILog logger) { _pipeRepository = pipeRepository; _commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="MessageRetriever"/> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> public MessageRetriever(IAmARepository<Pipe> pipeRepository) { _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> /// <param name="logger">The logger.</param> public DeleteMessageCommandHandler(IAmARepository <Pipe> pipeRepository, IAmACommandProcessor commandProcessor, ILog logger) : base(logger) { this.pipeRepository = pipeRepository; this.commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="joinRepository">The join repository.</param> /// <param name="logger">The logger.</param> public AddJoinCommandHandler(IAmARepository <Join> joinRepository, ILog logger) { _joinRepository = joinRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}" /> class. /// </summary> /// <param name="pipeRepository">The pipe repository.</param> /// <param name="logger">The logger.</param> public DeletePipeCommandHandler(IAmARepository <Pipe> pipeRepository, ILog logger) { _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class. /// </summary> /// <param name="feedRepository"></param> /// <param name="commandProcessor"></param> /// <param name="logger">The logger.</param> public AddJoinToFeedCommandHandler(IAmARepository <Feed> feedRepository, IAmACommandProcessor commandProcessor, ILog logger) { _feedRepository = feedRepository; _commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="DomainRetriever"/> class. /// </summary> /// <param name="domainRepository">The domain repository.</param> /// <param name="feedRepository">The feed repository.</param> public DomainRetriever(IAmARepository<Domain> domainRepository, IAmARepository<Feed> feedRepository, IAmARepository<Pipe> pipeRepository) { _feedRepository = feedRepository; _pipeRepository = pipeRepository; _domainRepository = domainRepository; }
/// <summary> /// Initializes a new instance of the <see cref="FeedRetriever"/> class. /// </summary> /// <param name="feedRepository">The feed repository.</param> public FeedRetriever(IAmARepository <Feed> feedRepository) { this.feedRepository = feedRepository; }
/// <summary> /// Initializes a new instance of the <see cref="MessageController"/> class. /// </summary> /// <param name="commandProcessor"></param> /// <param name="pipeRepository">The pipe repository.</param> public MessageController(IAmACommandProcessor commandProcessor, IAmARepository <Pipe> pipeRepository) { _commandProcessor = commandProcessor; _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="MessageController"/> class. /// </summary> /// <param name="commandProcessor"></param> /// <param name="pipeRepository">The pipe repository.</param> public MessageController(IAmACommandProcessor commandProcessor, IAmARepository<Pipe> pipeRepository) { _commandProcessor = commandProcessor; _pipeRepository = pipeRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DeleteFeedCommandHandler"/> class. /// </summary> /// <param name="feedRepository">The feed repository.</param> /// <param name="commandProcessor">The command processor.</param> /// <param name="log">The log.</param> public DeleteFeedCommandHandler(IAmARepository <Feed> feedRepository, IAmACommandProcessor commandProcessor, ILog log) : base(log) { this.feedRepository = feedRepository; this.commandProcessor = commandProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="feedRepository"></param> /// <param name="commandProcessor"></param> public AddFeedCommandHandler(ILog logger, IAmARepository <Feed> feedRepository, IAmACommandProcessor commandProcessor) : base(logger) { _feedRepository = feedRepository; _commandProcessor = commandProcessor; }