C# Class Mapsui.Providers.Wfs.Xml.XPathQueryManager.ParamCompareWithTargetNs

This class performs a string comparison in an XPath expression. It is specifically created for using in XML schema documents.
Inheritance: ParamCompare
Mostrar archivo Open project: pauldendulk/Mapsui

Public Properties

Property Type Description
FunctionName string

Public Methods

Method Description
Invoke ( XsltContext xsltContext, object args, XPathNavigator docContext ) : object

This method performs a string comparison.

ParamCompareWithTargetNs ( XPathResultType argTypes, int minArgs, int maxArgs ) : System

Initializes a new instance of the ParamCompareWithTargetNs class.

Private Methods

Method Description
resolveNsPrefix ( string args, string targetNs, XPathNavigator docContext ) : string

This method resolves the prefix of an argument. If a prefix is found, the corresponding namespace URI (if existing) is looked up and substituted. Otherwise the target namespace is placed first.

Method Details

Invoke() public method

This method performs a string comparison.
public Invoke ( XsltContext xsltContext, object args, XPathNavigator docContext ) : object
xsltContext System.Xml.Xsl.XsltContext The Xslt context
args object The arguments of the function
docContext System.Xml.XPath.XPathNavigator The document context
return object

ParamCompareWithTargetNs() public method

Initializes a new instance of the ParamCompareWithTargetNs class.
public ParamCompareWithTargetNs ( XPathResultType argTypes, int minArgs, int maxArgs ) : System
argTypes XPathResultType The argument types of the function
minArgs int The minimum number of arguments allowed
maxArgs int The maximum number of arguments allowed
return System

Property Details

FunctionName public_oe static_oe property

The name to use when embedding the function in an XPath expression.
public static string FunctionName
return string