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