public QueryService(IQueryPerformer queryPerformer, IQueryManager queryManager, IEventFormatter eventFormatter, ISubscriptionManager subscriptionManager) { _eventFormatter = eventFormatter; _queryPerformer = queryPerformer; _queryManager = queryManager; _subscriptionManager = subscriptionManager; }
public QueryService(ISubscriptionManager subscriptionManager, IQueryManager queryManager, IQueryPerformer queryPerformer, IResponseFormatter responseFormatter) { _subscriptionManager = subscriptionManager ?? throw new ArgumentNullException(nameof(subscriptionManager)); _queryManager = queryManager ?? throw new ArgumentNullException(nameof(queryManager)); _queryPerformer = queryPerformer ?? throw new ArgumentNullException(nameof(queryPerformer)); _responseFormatter = responseFormatter; }
public SubscriptionRunner(IQueryPerformer queryPerformer, IResponseFormatter responseFormatter) { _queryPerformer = queryPerformer; _responseFormatter = responseFormatter; }
public SubscriptionRunner(ISubscriptionRepository subscriptionRepository, IQueryPerformer queryPerformer, IResponseFormatter responseFormatter) { _subscriptionRepository = subscriptionRepository; _queryPerformer = queryPerformer; _responseFormatter = responseFormatter; }