コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }