public CypherProjectionExpressionVisitorFactory( [NotNull] CypherProjectionExpressionVisitorDependencies dependencies ) { Check.NotNull(dependencies, nameof(dependencies)); Dependencies = dependencies; }
public CypherProjectionExpressionVisitor( [NotNull] CypherProjectionExpressionVisitorDependencies dependencies, [NotNull] CypherQueryModelVisitor queryModelVisitor, [NotNull] IQuerySource querySource ) : base(Check.NotNull(queryModelVisitor, nameof(queryModelVisitor))) { Check.NotNull(dependencies, nameof(dependencies)); Check.NotNull(querySource, nameof(querySource)); _cypherTranslatingExpressionVisitorFactory = dependencies.CypherTranslatingExpressionVisitorFactory; _entityMaterializerSource = dependencies.EntityMaterializerSource; _querySource = querySource; _topLevelReturn = true; }