Inheritance: Entity
Exemplo n.º 1
0
 protected override Property ReadSonClass(Property prop)
 {
     switch (prop.Value)
     {
         case "CLASS":
             CLASS entity = new CLASS(DXFData, prop);
             Sons.Add(entity);
             var lastProp = entity.ReadProperties();
             return lastProp;
         default:
             return base.ReadSonClass(prop);
     }
 }
Exemplo n.º 2
0
        protected override Property ReadSonClass(Property prop)
        {
            switch (prop.Value)
            {
            case "CLASS":
                CLASS entity = new CLASS(DXFData, prop);
                Sons.Add(entity);
                var lastProp = entity.ReadProperties();
                return(lastProp);

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