コード例 #1
0
ファイル: InlineFragment.cs プロジェクト: mdekrey/GraphLinqQL
 public InlineFragment(TypeCondition?typeCondition, IEnumerable <Directive>?directives, SelectionSet selectionSet, LocationRange location) : base(location)
 {
     TypeCondition = typeCondition;
     Directives    = directives?.ToArray() ?? EmptyArrayHelper.Empty <Directive>();
     SelectionSet  = selectionSet;
 }
コード例 #2
0
 public FragmentDefinition(string name, TypeCondition typeCondition, IEnumerable <Directive>?directives, SelectionSet selectionSet, LocationRange location) : base(location)
 {
     Name          = name;
     TypeCondition = typeCondition;
     SelectionSet  = selectionSet;
     Directives    = directives?.ToArray() ?? EmptyArrayHelper.Empty <Directive>();
 }
コード例 #3
0
 public OperationDefinition(OperationType operationType, string?name, IEnumerable <VariableDefinition>?variables, SelectionSet selectionSet, LocationRange location)
 {
     this.OperationType = operationType;
     this.Name          = name;
     this.Variables     = variables?.ToArray() ?? EmptyArrayHelper.Empty <VariableDefinition>();
     this.SelectionSet  = selectionSet;
     this.Location      = location;
 }