Inheritance: Entity
Example #1
0
 protected override Property ReadSonClass(Property prop)
 {
     switch (prop.Value)
     {
         case "TABLE":
             TABLE entity = new TABLE(DXFData, prop);
             TABLEList.Add(entity);
             return entity.ReadProperties();
         case "ENDTAB":
             return DXFData.Next();
         default:
             return base.ReadSonClass(prop);
     }
 }
Example #2
0
        protected override Property ReadSonClass(Property prop)
        {
            switch (prop.Value)
            {
            case "TABLE":
                TABLE entity = new TABLE(DXFData, prop);
                TABLEList.Add(entity);
                return(entity.ReadProperties());

            case "ENDTAB":
                return(DXFData.Next());

            default:
                return(base.ReadSonClass(prop));
            }
        }