예제 #1
0
        public GDMSourceCitation()
        {
            SetName(GEDCOMTagType.SOUR);

            fCertaintyAssessment = -1;
            fDescription         = new GDMLines();
            fPage = string.Empty;

            fData = new GDMSourceCitationData();
            fText = new GDMTextTag((int)GEDCOMTagType.TEXT);
        }
예제 #2
0
        public override void Assign(GDMTag source)
        {
            GDMSourceCitationData otherObj = (source as GDMSourceCitationData);

            if (otherObj == null)
            {
                throw new ArgumentException(@"Argument is null or wrong type", "source");
            }

            base.Assign(otherObj);

            fDate.Assign(otherObj.fDate);
            fText.Assign(otherObj.fText);
        }