public string GetAttributeValueDisplay(AttributeNameType attributeName) { int index = (int)attributeName; return((_attributes?[index] != null) ? _attributes[index].GetValueDisplay() : ""); }
public int GetAttributeValue(AttributeNameType attributeName, AttrValueType attrValueType) { int index = (int)attributeName; return((_attributes?[index] != null) ? _attributes[index].GetValue(attrValueType) : 0); }