示例#1
0
 public static bool needEncoded(System.Type type)
 {
     object[] customAttributes = type.GetCustomAttributes(false);
     return(AttributeHelper.needEncoded(customAttributes));
 }
示例#2
0
 public static bool needEncoded(System.Reflection.FieldInfo fieldInfo)
 {
     object[] customAttributes = fieldInfo.GetCustomAttributes(typeof(Encode), false);
     return(AttributeHelper.needEncoded(customAttributes));
 }