public static bool HasControl(MemberInfo memberInfo) { return(ReflectionUtil.HasAttribute(memberInfo, typeof(EntityControlAttribute))); }
public static string GetAttributePropertyValueAsString(MemberInfo memberInfo, Type attributeType, string propertyName) { return(ReflectionUtil.GetAttributePropertyValue(memberInfo, attributeType, propertyName).ToString()); }