private void CheckPointerWithNotes(GDMPointerWithNotes ptr) { GDMRecord val = fTree.GetPtrValue <GDMRecord>(ptr); if (!string.IsNullOrEmpty(ptr.XRef) && val == null) { ptr.XRef = string.Empty; } CheckTagWithNotes(ptr); }
private static void CheckPointerWithNotes(GDMTree tree, GEDCOMFormat format, GDMPointerWithNotes ptr) { GDMRecord val = ptr.Value; if (!string.IsNullOrEmpty(ptr.XRef) && val == null) { ptr.Value = null; } CheckTagWithNotes(tree, format, ptr); }
private static void CheckPointerWithNotes(GDMTree tree, GEDCOMFormat format, GDMPointerWithNotes ptr) { // TODO: checkit! GDMRecord val = ptr.Value; if (!string.IsNullOrEmpty(ptr.XRef) && val == null) { ptr.Value = null; } int num = ptr.Notes.Count; for (int i = 0; i < num; i++) { GDMNotes note = ptr.Notes[i]; if (!note.IsPointer) { TransformNote(tree, note); } } }