public GDMSourceCitationData() { SetName(GEDCOMTagType.DATA); fDate = new GDMDateValue(); fText = new GDMTextTag((int)GEDCOMTagType.TEXT); }
public GDMSourceCitation() { SetName(GEDCOMTagType.SOUR); fCertaintyAssessment = -1; fDescription = new GDMLines(); fPage = string.Empty; fData = new GDMSourceCitationData(); fText = new GDMTextTag((int)GEDCOMTagType.TEXT); }
public GDMSourceRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.SOUR); fData = new GDMSourceData(this); fOriginator = new GDMTextTag(this, (int)GEDCOMTagType.AUTH); fPublication = new GDMTextTag(this, (int)GEDCOMTagType.PUBL); fRepositoryCitations = new GDMList <GDMRepositoryCitation>(this); fShortTitle = string.Empty; fText = new GDMTextTag(this, (int)GEDCOMTagType.TEXT); fTitle = new GDMTextTag(this, (int)GEDCOMTagType.TITL); }
public GDMHeader(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.HEAD); fCharacterSet = new GDMHeaderCharSet(this); fFile = new GDMHeaderFile(this); fGEDCOM = new GDMHeaderGEDCOM(this); fNote = new GDMTextTag(this, (int)GEDCOMTagType.NOTE); fPlace = new GDMPlace(this); fSource = new GDMHeaderSource(this); fSubmission = new GDMPointer(this, (int)GEDCOMTagType.SUBN, string.Empty); fSubmitter = new GDMPointer(this, (int)GEDCOMTagType.SUBM, string.Empty); }
public override void Assign(GDMTag source) { GDMTextTag sourceObj = (source as GDMTextTag); if (sourceObj == null) { throw new ArgumentException(@"Argument is null or wrong type", "source"); } base.Assign(sourceObj); fLines.Assign(sourceObj.fLines); }
public GDMHeader() { SetName(GEDCOMTagType.HEAD); fCharacterSet = new GDMHeaderCharSet(); fFile = new GDMHeaderFile(); fGEDCOM = new GDMHeaderGEDCOM(); fNote = new GDMTextTag((int)GEDCOMTagType.NOTE); fPlace = new GDMPlace(); fSource = new GDMHeaderSource(); fSubmission = new GDMPointer((int)GEDCOMTagType.SUBN, string.Empty); fSubmitter = new GDMPointer((int)GEDCOMTagType.SUBM, string.Empty); }