Beispiel #1
0
 private static XQueryCliFunction FromName(string xname, string cliname)
 {
     return(XQueryCliFunction.CreateFromMethodInfo(
                new XmlQualifiedName(xname, XQueryFunction.Namespace),
                FindNamedMethods(typeof(XQueryFunctionCliImpl), cliname)
                ));
 }
Beispiel #2
0
 internal static XQueryCliFunction FromQName(XmlQualifiedName qname)
 {
     return(XQueryCliFunction.CreateFromMethodInfo(
                qname, FindNamedMethods(Type.GetType(qname.Namespace), qname.Name)));
 }