Ejemplo n.º 1
0
 private bool TryAssignPropertyAttribute(ToolboxListPropertyAttribute attribute)
 {
     //we can only have one property attribute for an array property
     if (propertyAttribute != null || !isArray)
     {
         return(false);
     }
     else
     {
         propertyAttribute = attribute;
         return(true);
     }
 }
Ejemplo n.º 2
0
 private bool TryAssignListPropertyAttribute(ToolboxListPropertyAttribute attribute)
 {
     return(isArray && TryAssignBasePropertyAttribute(attribute));
 }