public FlagSetInputEvaluator(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor, InputValueEvaluator[] valueEvals) : base(inputDef, resultTypeRef, anchor) { ElemEvaluators = valueEvals; EnumTypeDef = (EnumTypeDef)ResultTypeRef.TypeDef; }
public InputValueEvaluator(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor) { InputDef = inputDef; ResultTypeRef = resultTypeRef; Anchor = anchor; // prepare directives if (inputDef.Directives != null) { Directives = inputDef.Directives.Where(d => d.Def.Handler is IInputValueDirectiveAction) .Select(d => new RuntimeModelDirective(d)).ToList(); } }
public InputListEvaluator(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor, InputValueEvaluator[] elemEvaluators) : base(inputDef, resultTypeRef, anchor) { ElemEvaluators = elemEvaluators; if (ResultTypeRef.Kind == TypeKind.NonNull) { ElemTypeRef = ResultTypeRef.Inner.Inner; } else { ElemTypeRef = ResultTypeRef.Inner; } }
public ConstInputValue(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor, object value) : base(inputDef, resultTypeRef, anchor) { Value = value; }
public InputObjectEvaluator(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor, IList <InputFieldEvalInfo> fields) : base(inputDef, resultTypeRef, anchor) { Fields = fields; }
public InputValueEvaluator(InputValueDef inputDef, TypeRef resultTypeRef, RequestObjectBase anchor) { InputDef = inputDef; ResultTypeRef = resultTypeRef; Anchor = anchor; }
public SelectionSubset(RequestObjectBase parent, List <SelectionItem> items, SourceLocation location) { Parent = parent; Items = items; this.SourceLocation = location; }