Beispiel #1
0
 public OperationDefinition AddRoot(OperationType type, string name)
 {
     Root       = new OperationDefinition(type, name);
     Head       = Root;
     FieldStack = new List <FieldSelection>();
     return(Root);
 }
Beispiel #2
0
 public OperationDefinition AddRoot(OperationType type, string name)
 {
     root = new OperationDefinition(type, name);
     head = root;
     return(root);
 }