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); } }
private bool TryAssignListPropertyAttribute(ToolboxListPropertyAttribute attribute) { return(isArray && TryAssignBasePropertyAttribute(attribute)); }