public string GetAttributeValue( string key )
{
if ( this.AttributeValues != null &&
this.AttributeValues.ContainsKey( key ) )
{
return this.AttributeValues[key].Value;
}
if ( this.Attributes != null &&
this.Attributes.ContainsKey( key ) )
{
return this.Attributes[key].DefaultValue;
}
return null;
}