public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _hasProperties.Add(((IfcProperty)(value.EntityVal))); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: _extendedProperties.Add((IfcProperty)value.EntityVal); break; case 2: _description = value.StringVal; break; case 3: _name = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }