GraphQLVariableReference
Namespace: GraphQL.Query.Builder
Represents a reference to a GraphQL variable ($varName) used in argument values.
public class GraphQLVariableReference
Inheritance Object → GraphQLVariableReference
Attributes NullableContextAttribute, NullableAttribute
Properties
Name
Gets the variable name (without the $ prefix).
public string Name { get; }
Property Value
Constructors
GraphQLVariableReference(String)
Initializes a new instance of the GraphQLVariableReference class.
public GraphQLVariableReference(string name)
Parameters
name String
The variable name (without the $ prefix).
Exceptions
ArgumentException
The name is not a valid GraphQL name.