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

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

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

Same methods

ZXPProxy::GetAttribute ( FieldInfo fi ) : ZXParseAttribute
ZXPProxy::GetAttribute ( PropertyInfo pi ) : ZXParseAttribute