Class XPathQueryManager.ParamCompare
This class performs a string comparison in an XPath expression.
Inheritance
XPathQueryManager.ParamCompare
Implements
Inherited Members
Namespace: Mapsui.Providers.Wfs.Xml
Assembly: Mapsui.Nts.dll
Syntax
public class XPathQueryManager.ParamCompare : XPathQueryManager.ParamBase, IXsltContextFunction
Constructors
| Edit this page View SourceParamCompare(XPathResultType[], int, int)
Initializes a new instance of the XPathQueryManager.ParamCompare class.
Declaration
public ParamCompare(XPathResultType[] argTypes, int minArgs, int maxArgs)
Parameters
Type | Name | Description |
---|---|---|
XPathResultType[] | argTypes | The argument types of the function |
int | minArgs | The minimum number of arguments allowed |
int | maxArgs | The maximum number of arguments allowed |
Fields
| Edit this page View SourceFunctionName
The name to use when embedding the function in an XPath expression.
Declaration
public static readonly string FunctionName
Field Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceInvoke(XsltContext, object[], XPathNavigator)
This method performs a string comparison.
Declaration
public virtual object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext)
Parameters
Type | Name | Description |
---|---|---|
XsltContext | xsltContext | The Xslt context |
object[] | args | The arguments of the function |
XPathNavigator | docContext | The document context |
Returns
Type | Description |
---|---|
object | A boolean value indicating whether the argument strings are identical |
ResolveArgument(object)
This method creates a string from an object argument. In many cases the argument is an XPathNodeIterator that must be resolved.
Declaration
protected string? ResolveArgument(object arg)
Parameters
Type | Name | Description |
---|---|---|
object | arg | An argument of the function to be resolved |
Returns
Type | Description |
---|---|
string |