Exemple #1
0
    public string GetAttributeValueDisplay(AttributeNameType attributeName)
    {
        int index = (int)attributeName;

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

        return((_attributes?[index] != null) ? _attributes[index].GetValue(attrValueType) : 0);
    }