Inheritance: Entity
Exemplo n.º 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);
     }
 }
Exemplo n.º 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));
            }
        }