protected HtmlXsltFunction(HtmlXsltContext context, string prefix, string name, XPathResultType[] argTypes) { Context = context; Prefix = prefix; Name = name; ArgTypes = argTypes; }
public static IXsltContextFunction GetBuiltIn(HtmlXsltContext context, string prefix, string name, XPathResultType[] argTypes) { if (name == "regex-is-match") { return(new RegexIsMatch(context, name)); } // TODO: create other functions here return(null); }
public RegexIsMatch(HtmlXsltContext context, string name) : base(context, null, name, null) { }