public Field(NameNode alias, NameNode name) { Alias = alias?.Name; AliasNode = alias; Name = name.Name; NameNode = name; }
public Operation(NameNode name) : this(name, null !) { }
/// <summary> /// Initializes a new instance of a field selection node with the specified parameters. /// </summary> public Field(NameNode alias, NameNode name) { Alias = alias.Name; AliasNode = alias; NameNode = name; }
/// <summary> /// Initializes a new instance of an argument node with the specified properties. /// </summary> public Argument(NameNode name) { NameNode = name; }
public Alias(NameNode alias, NameNode name) { Al = alias; Name = name; }
public EnumValue(NameNode name) { Name = name.Name; NameNode = name; }
public ObjectField(NameNode name, IValue value) { NameNode = name; Value = value; }
public FragmentDefinition(NameNode node) : this(node, null !, null !) { }
/// <summary> /// Initializes a new instance with the specified <see cref="NameNode"/> containing the name of this fragment spread node. /// </summary> public FragmentSpread(NameNode node) { NameNode = node; }
/// <summary> /// Initializes a new instance of an argument node with the specified properties. /// </summary> public Argument(NameNode name, IValue value) { NameNode = name; Value = value; }
public FragmentDefinition(NameNode node) : this() { Name = node.Name; NameNode = node; }
public NamedType(NameNode node) { NameNode = node; }
public FragmentSpread(NameNode node) : this() { Name = node.Name; NameNode = node; }
public Operation(NameNode name) : this() { Name = name?.Name; NameNode = name; }
public ObjectField(NameNode name, IValue value) : this(name.Name, value) { NameNode = name; }
/// <summary> /// Initializes a new operation node with the specified <see cref="NameNode"/> containing the name of the operation, if any. /// </summary> public Operation(NameNode name) { NameNode = name; OperationType = OperationType.Query; }
/// <summary> /// Initializes a new fragment definition node with the specified <see cref="NameNode"/> containing the name of this fragment definition. /// </summary> public FragmentDefinition(NameNode node) { NameNode = node; }
public Directive(NameNode node) { NameNode = node; }
public EnumValue(NameNode name) { NameValidator.ValidateDefault(name.Name, NamedElement.EnumValue); NameNode = name; }
public VariableReference(NameNode name) { Name = name.Name; NameNode = name; }
public VariableDefinition(NameNode node) : this(node, null !) { NameNode = node; }
/// <summary> /// Initializes a new variable definition node with the specified <see cref="NameNode"/> containing the name of the variable. /// </summary> public VariableDefinition(NameNode node) { NameNode = node; }
public Argument(NameNode name) { Name = name.Name; NamedNode = name; }
public Operation(NameNode name) : this() { NameNode = name; }