public static float? GetMinimumHeightAttribute(this MemberInfo info)
{
var minimumHeight = info.GetCustomAttributes(true).OfType<MinimumHeightAttribute>().FirstOrDefault();
if (minimumHeight == null) return null;
return minimumHeight.MinimumHeight;
}