示例#1
0
        public static GEDCOMDate CreateApproximated(GEDCOMTree owner, GEDCOMObject parent, GEDCOMDate date, GEDCOMApproximated approximated)
        {
            GEDCOMDate result = new GEDCOMDate(owner, parent, "", "");

            result.Assign(date);
            result.Approximated = approximated;
            return(result);
        }
示例#2
0
        public void testAssign()
        {
            // TODO review the generated test code and remove the default call to fail.
            GEDCOMDate instance = new GEDCOMDate(null, null, "", "");

            GEDCOMTag source = null;

            //Assert.Throws(typeof(ArgumentNullException), () => {
            instance.Assign(source);
            //});
        }