/// <summary>
 /// Reads the next node as a member, respecting depth/scope and adds it to the given <see cref="SerializedMemberViewCollection"/>.
 /// </summary>
 /// <param name="collection">The collection to add the member to.</param>
 public void ReadMember(SerializedMemberViewCollection collection)
 {
     collection.Add(ReadMember());
 }
Beispiel #2
0
 public void Read(SerializedMemberViewCollection collection)
 {
     Read(out var view);
     collection.Add(view.AsMemberView());
 }