示例#1
0
 private AttributeValue(BaseAttribute attribute)
 {
     if (!(HasValue = (attribute != null && attribute.Valid)))
     {
         return;
     }
     Value = attribute.GetValue <T>();
 }