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