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