public OrdinaryOperation(UndoManager manager, OperationType type, GEDCOMObject obj, object newVal) : base(manager) { fType = type; fObj = obj; fNewVal = newVal; }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetName("DATA"); fEvents = new GEDCOMList <GEDCOMEvent>(this); }
public void GEDCOMUtils_Tests() { GEDCOMObject obj = new GEDCOMObject(); obj.ExtData = this; Assert.AreEqual(obj.ExtData, this); obj.Dispose(); // Assert.AreEqual("I12", GEDCOMUtils.CleanXRef("@I12@"), "CleanXRef(@I12@)"); Assert.AreEqual("@I12@", GEDCOMUtils.EncloseXRef("I12"), "EncloseXRef(I12)"); // string s1 = " 12345 efgh"; string s2 = ""; s2 = GEDCOMUtils.ExtractDelimiter(s1, 0); Assert.AreEqual("12345 efgh", s2); // string s3 = GEDCOMUtils.ExtractDelimiter(" abrvalg", 2); Assert.AreEqual(" abrvalg", s3); }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetRecordType(GEDCOMRecordType.rtSubmitter); SetName("SUBM"); fLanguages = new GEDCOMList <GEDCOMLanguage>(this); }
public bool DoOrdinaryOperation(OperationType type, GEDCOMObject obj, object newVal) { if (obj == null) { throw new ArgumentNullException("obj"); } if (newVal == null) { throw new ArgumentNullException("newVal"); } return(DoOperation(new OrdinaryOperation(this, type, obj, newVal))); }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMUserReference(owner, parent, tagName, tagValue)); }
public GEDCOMAssociation(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMLocationRecord(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMPlace(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); fDatePhrase = ""; }
public GEDCOMSpouseSealing(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public SearchResult(GEDCOMObject result) { Result = result; }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMIndividualEvent(owner, parent, tagName, tagValue)); }
public GEDCOMIndividualEvent(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMRepositoryCitation(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMDateStatus(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMFamilyEvent(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetRecordType(GEDCOMRecordType.rtSubmission); SetName("SUBN"); }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMSpouseSealing(owner, parent, tagName, tagValue)); }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMCutoutPosition(owner, parent, tagName, tagValue)); }
public GEDCOMCutoutPosition(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMDateInterpreted(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMSubmitterRecord(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
public GEDCOMChildToFamilyLink(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetName("PLAC"); }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMChildToFamilyLink(owner, parent, tagName, tagValue)); }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetRecordType(GEDCOMRecordType.rtLocation); SetName("_LOC"); }
protected override void CreateObj(GEDCOMTree owner, GEDCOMObject parent) { base.CreateObj(owner, parent); SetName("ASSO"); fSourceCitations = new GEDCOMList <GEDCOMSourceCitation>(this); }
public new static GEDCOMTag Create(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) { return(new GEDCOMLocationRecord(owner, parent, tagName, tagValue)); }
protected GEDCOMCustomEvent(GEDCOMTree owner, GEDCOMObject parent, string tagName, string tagValue) : base(owner, parent, tagName, tagValue) { }