private IXsltContextFunction CreateHtmlXsltFunction(string prefix, string name, XPathResultType[] argTypes) { var fn = HtmlXsltFunction.GetBuiltIn(this, prefix, name, argTypes); if (fn == null) { throw new ArgumentException("XPATH function '" + name + "' is unknown.", nameof(name)); } return(fn); }
protected virtual IXsltContextFunction CreateHtmlXsltFunction(string prefix, string name, XPathResultType[] ArgTypes) { var fn = HtmlXsltFunction.GetBuiltIn(this, prefix, name, ArgTypes); if (fn == null) { throw new Exception("XPATH function '" + name + "' is unknown."); } return(fn); }