System.ZXPProxy.GetAttribute C# (CSharp) Метод

GetAttribute() приватный статический Метод

private static GetAttribute ( FieldInfo fi ) : ZXParseAttribute
fi System.Reflection.FieldInfo
Результат ZXParseAttribute
        private static ZXParseAttribute GetAttribute(FieldInfo fi)
        {
            object[] attr = fi.GetCustomAttributes(ATTR_TYPE, true);
            if(attr == null || attr.Length < 1) return null;
            return attr[0] as ZXParseAttribute;
        }

Same methods

ZXPProxy::GetAttribute ( MethodInfo mi ) : ZXParseAttribute
ZXPProxy::GetAttribute ( PropertyInfo pi ) : ZXParseAttribute