Inheritance: AbstractNode
Example #1
0
 public Field(NameNode alias, NameNode name)
 {
     Alias = alias?.Name;
     AliasNode = alias;
     Name = name.Name;
     NameNode = name;
 }
Example #2
0
 public Operation(NameNode name) : this(name, null !)
 {
 }
Example #3
0
 /// <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;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of an argument node with the specified properties.
 /// </summary>
 public Argument(NameNode name)
 {
     NameNode = name;
 }
Example #5
0
 public Alias(NameNode alias, NameNode name)
 {
     Al   = alias;
     Name = name;
 }
Example #6
0
 public EnumValue(NameNode name)
 {
     Name     = name.Name;
     NameNode = name;
 }
Example #7
0
 public ObjectField(NameNode name, IValue value)
 {
     NameNode = name;
     Value    = value;
 }
Example #8
0
 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;
 }
Example #10
0
 /// <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;
 }
Example #12
0
 public NamedType(NameNode node)
 {
     NameNode = node;
 }
Example #13
0
 public FragmentDefinition(NameNode node)
     : this()
 {
     Name     = node.Name;
     NameNode = node;
 }
 public FragmentSpread(NameNode node)
     : this()
 {
     Name = node.Name;
     NameNode = node;
 }
 public Operation(NameNode name)
     : this()
 {
     Name = name?.Name;
     NameNode = name;
 }
Example #16
0
 public ObjectField(NameNode name, IValue value)
     : this(name.Name, value)
 {
     NameNode = name;
 }
Example #17
0
 /// <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;
 }
Example #18
0
 public EnumValue(NameNode name)
 {
     Name = name.Name;
     NameNode = name;
 }
Example #19
0
 /// <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;
 }
Example #20
0
 public Directive(NameNode node)
 {
     NameNode = node;
 }
Example #21
0
 public FragmentSpread(NameNode node)
     : this()
 {
     Name     = node.Name;
     NameNode = node;
 }
Example #22
0
 public EnumValue(NameNode name)
 {
     NameValidator.ValidateDefault(name.Name, NamedElement.EnumValue);
     NameNode = name;
 }
Example #23
0
 public ObjectField(NameNode name, IValue value)
     : this(name.Name, value)
 {
     NameNode = name;
 }
 public Directive(NameNode node)
 {
     NameNode = node;
 }
 public VariableReference(NameNode name)
 {
     Name     = name.Name;
     NameNode = name;
 }
Example #26
0
 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;
 }
Example #28
0
 public Argument(NameNode name)
 {
     Name = name.Name;
     NamedNode = name;
 }
Example #29
0
 public Operation(NameNode name)
     : this()
 {
     NameNode = name;
 }
Example #30
0
 public Argument(NameNode name)
 {
     Name      = name.Name;
     NamedNode = name;
 }