static bool IsVisibleXmlRpcMethod(MethodInfo mi)
{
bool ret = false;
Attribute attr = Attribute.GetCustomAttribute(mi,
typeof(XmlRpcMethodAttribute));
if (attr != null)
{
XmlRpcMethodAttribute mattr = (XmlRpcMethodAttribute)attr;
ret = !(mattr.Hidden || mattr.IntrospectionMethod == true);
}
return ret;
}