protected override IEnumerable <DocumentNodeAndName> GetDocumentNodeChildrenWithName() { if (null != _child) { yield return(new DocumentNodeAndName(_child, () => _child = null, "Child")); } }
public TestNodeWithoutChild_SuspendableDocumentNode(SuspendableDocumentLeafNode child) { _child = child; }