예제 #1
0
 public OperationVisitor(QueryVariables variables, Schema.ISchemaProvider schemaProvider, ClaimsIdentity claims)
 {
     this.claims          = claims;
     this.variables       = variables;
     this.operation       = new GraphQLOperation();
     this.constantVisitor = new ConstantVisitor(schemaProvider);
 }
 public EntityQueryNodeVisitor(Expression expression, ISchemaProvider schemaProvider, IMethodProvider methodProvider, QueryVariables variables, ClaimsIdentity claims)
 {
     this.claims          = claims;
     currentContext       = (ExpressionResult)expression;
     this.schemaProvider  = schemaProvider;
     this.methodProvider  = methodProvider;
     this.constantVisitor = new ConstantVisitor(schemaProvider);
 }
예제 #3
0
 public GraphQLVisitor(ISchemaProvider schemaProvider, IMethodProvider methodProvider, QueryVariables variables, ClaimsIdentity claims)
 {
     this.claims          = claims;
     this.schemaProvider  = schemaProvider;
     this.methodProvider  = methodProvider;
     this.variables       = variables;
     this.constantVisitor = new ConstantVisitor(schemaProvider);
 }