public GedcomLine(int level, string id, string tag, string value, string pointer) { Level = level; Id = new GedcomXref(id); Tag = GedcomUtil.GetTag(tag); Value = value; Pointer = new GedcomXref(pointer); }
public GedcomLine(string line) { var gedcomLine = GedcomUtil.ParseLine(line); Level = gedcomLine.Level; Id = gedcomLine.Id; Tag = gedcomLine.Tag; Value = gedcomLine.Value; Pointer = gedcomLine.Pointer; }
public GedcomXref(string id) { Id = GedcomUtil.CleanId(id); }