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