Ejemplo n.º 1
0
 /// <summary>
 /// Resets this node context to the scope of the provided new operation. All field sets
 /// and scopes are reset under this operation.
 /// </summary>
 /// <param name="operation">The operation.</param>
 private void BeginNewOperation(QueryOperation operation)
 {
     this.DocumentContext.Operations.AddOperation(operation);
     _operation    = operation;
     _selectionSet = operation.CreateFieldSelectionSet();
     this.BeginNewDocumentScope();
     this.IncreaseMaxDepth();
 }