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