Show / Hide Table of Contents

    Class XPathQueryManager.ParamCompare

    This class performs a string comparison in an XPath expression.

    Inheritance
    System.Object
    XPathQueryManager.ParamBase
    XPathQueryManager.ParamCompare
    XPathQueryManager.ParamCompareWithTargetNs
    Implements
    IXsltContextFunction
    Inherited Members
    XPathQueryManager.ParamBase.ArgTypes
    XPathQueryManager.ParamBase.ReturnType
    XPathQueryManager.ParamBase.Minargs
    XPathQueryManager.ParamBase.Maxargs
    Namespace: Mapsui.Providers.Wfs.Xml
    Assembly: Mapsui.Desktop.dll
    Syntax
    public class ParamCompare : XPathQueryManager.ParamBase, IXsltContextFunction

    Constructors

    | Improve this Doc View Source

    ParamCompare(XPathResultType[], Int32, Int32)

    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

    System.Int32 minArgs

    The minimum number of arguments allowed

    System.Int32 maxArgs

    The maximum number of arguments allowed

    Fields

    | Improve this Doc View Source

    FunctionName

    The name to use when embedding the function in an XPath expression.

    Declaration
    public static readonly string FunctionName
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Invoke(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

    System.Object[] args

    The arguments of the function

    XPathNavigator docContext

    The document context

    Returns
    Type Description
    System.Object

    A boolean value indicating whether the argument strings are identical

    | Improve this Doc View Source

    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
    System.Object arg

    An argument of the function to be resolved

    Returns
    Type Description
    System.String

    Implements

    IXsltContextFunction
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX