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