public QueryBuilderFactory(IGraphQlRepositoryProvider graphQlRepository, IDistributedCache distributedCache, ILogger logger, IConnectionEdgeHandler connectionEdgeHandler, IInMemoryComparerProvider inMemoryComparerProvider, IModelMemberQueryArgumentProvider modelMemberQueryArgumentProvider, IContextValueResolver contextValueResolver) { _graphQlRepository = graphQlRepository; _distributedCache = distributedCache; _logger = logger; _connectionEdgeHandler = connectionEdgeHandler; _inMemoryComparerProvider = inMemoryComparerProvider; _modelMemberQueryArgumentProvider = modelMemberQueryArgumentProvider; _contextValueResolver = contextValueResolver; }
internal QueryBuilder(ObjectGraphType <object> objectGraphType, string queryName, string description, IGraphQlRepositoryProvider graphQlRepositoryProvider, IDistributedCache distributedCache, ILogger logger, IConnectionEdgeHandler connectionEdgeHandler, IInMemoryComparerProvider inMemoryComparerProvider, IModelMemberQueryArgumentProvider modelMemberQueryArgumentProvider, IContextValueResolver contextValueResolver) { _objectGraphType = objectGraphType; _queryName = queryName; _description = description; _queryExecutor = new QueryExecutor <TSource>(graphQlRepositoryProvider, logger, connectionEdgeHandler); _distributedCache = distributedCache; _logger = logger; _modelMemberQueryArgumentProvider = modelMemberQueryArgumentProvider; _queryParameterBuilder = new QueryParameterBuilder <TSource>(this, inMemoryComparerProvider, contextValueResolver); }