Show / Hide Table of Contents

    Class XPathQueryManager.CustomQueryContext

    This class represents a custom context for XPath queries. It is derived from XsltContext.

    Inheritance
    System.Object
    XPathQueryManager.CustomQueryContext
    Namespace: Mapsui.Providers.Wfs.Xml
    Assembly: Mapsui.Desktop.dll
    Syntax
    public class CustomQueryContext : XsltContext

    Constructors

    | Improve this Doc View Source

    CustomQueryContext()

    Initializes a new instance of the XPathQueryManager.CustomQueryContext class.

    Declaration
    public CustomQueryContext()
    | Improve this Doc View Source

    CustomQueryContext(NameTable)

    Initializes a new instance of the XPathQueryManager.CustomQueryContext class.

    Declaration
    public CustomQueryContext(NameTable table)
    Parameters
    Type Name Description
    NameTable table

    A NameTable instance

    Properties

    | Improve this Doc View Source

    Whitespace

    Method from XsltContext.

    Declaration
    public override bool Whitespace { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    AddNamespace(IDictionary<String, String>)

    This method adds a list of namespaces to use in the custom context.

    Declaration
    public void AddNamespace(IDictionary<string, string> namespaces)
    Parameters
    Type Name Description
    IDictionary<System.String, System.String> namespaces

    A list of namespaces

    | Improve this Doc View Source

    AddParam(DictionaryEntry[])

    This method adds a list of parameters to the custom context.

    Declaration
    public void AddParam(DictionaryEntry[] parameters)
    Parameters
    Type Name Description
    DictionaryEntry[] parameters

    A list of parameters

    | Improve this Doc View Source

    AddParam(String, Object)

    This method adds a parameter to the custom context.

    Declaration
    public void AddParam(string name, object parameter)
    Parameters
    Type Name Description
    System.String name

    The name of the parameter

    System.Object parameter

    The value of the parameter

    | Improve this Doc View Source

    CompareDocument(String, String)

    Method from XsltContext.

    Declaration
    public override int CompareDocument(string baseUri, string nextbaseUri)
    Parameters
    Type Name Description
    System.String baseUri
    System.String nextbaseUri
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetParam(String)

    This method gets a parameter by name.

    Declaration
    public object GetParam(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the parameter

    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    PreserveWhitespace(XPathNavigator)

    Method from XsltContext.

    Declaration
    public override bool PreserveWhitespace(XPathNavigator node)
    Parameters
    Type Name Description
    XPathNavigator node
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveParam(String)

    This method removes a parameter from the inherent parameter list.

    Declaration
    public object RemoveParam(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the parameter

    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    ResetParams()

    This methods clears the inherent parameter list.

    Declaration
    public void ResetParams()
    | Improve this Doc View Source

    ResolveFunction(String, String, XPathResultType[])

    This method resolves a function appearing in an XPath expression.

    Declaration
    public override IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] argTypes)
    Parameters
    Type Name Description
    System.String prefix

    The prefix of the function

    System.String name

    The name of the function

    XPathResultType[] argTypes

    A list of argument types of the function

    Returns
    Type Description
    IXsltContextFunction
    | Improve this Doc View Source

    ResolveVariable(String, String)

    This method resolves a variable appearing in an XPath expression.

    Declaration
    public override IXsltContextVariable ResolveVariable(string prefix, string name)
    Parameters
    Type Name Description
    System.String prefix

    The prefix of the variable

    System.String name

    The name of the variable

    Returns
    Type Description
    IXsltContextVariable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX