internal virtual Element ReadNewChildContents( EmberReader reader, ElementType actualType, Context context, out RetrievalState childRetrievalState) { reader.SkipToEndContainer(); childRetrievalState = RetrievalState.Complete; return(null); }
internal sealed override RetrievalState ReadQualifiedChild( EmberReader reader, ElementType actualType, int[] path, int index) { if (index == path.Length - 1) { this.ReadChild(reader, actualType, path[index]); } else { Element child; if (!this.children.TryGetValue(path[index], out child)) { reader.SkipToEndContainer(); } else { this.RetrievalState &= child.ReadQualifiedChild(reader, actualType, path, index + 1); } } return(this.RetrievalState); }