public override MaxComplexityVisitorContext CreateScope() { var newContext = new MaxComplexityWithMultipliersVisitorContext(this); newContext.Scope = newContext; return(newContext); }
protected MaxComplexityWithMultipliersVisitorContext( ImmutableHashSet <string> fragmentPath, ImmutableList <IOutputField> fieldPath, MaxComplexityWithMultipliersVisitorContext context) : base(fragmentPath, fieldPath, context) { _variables = context._variables; }
public override MaxComplexityVisitorContext SetTypeContext( INamedOutputType typeContext) { var newContext = new MaxComplexityWithMultipliersVisitorContext(this); newContext.TypeContext = typeContext; return(newContext); }
protected MaxComplexityWithMultipliersVisitorContext( MaxComplexityWithMultipliersVisitorContext context) : base(context) { _variables = context._variables; }