Search Results for

    Show / Hide Table of Contents

    Class XPathQueryManager.CustomQueryContext

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

    Inheritance
    object
    XmlNamespaceManager
    XsltContext
    XPathQueryManager.CustomQueryContext
    Implements
    IEnumerable
    IXmlNamespaceResolver
    Inherited Members
    XmlNamespaceManager.AddNamespace(string, string)
    XmlNamespaceManager.GetEnumerator()
    XmlNamespaceManager.GetNamespacesInScope(XmlNamespaceScope)
    XmlNamespaceManager.HasNamespace(string)
    XmlNamespaceManager.LookupNamespace(string)
    XmlNamespaceManager.LookupPrefix(string)
    XmlNamespaceManager.PopScope()
    XmlNamespaceManager.PushScope()
    XmlNamespaceManager.RemoveNamespace(string, string)
    XmlNamespaceManager.DefaultNamespace
    XmlNamespaceManager.NameTable
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Providers.Wfs.Xml
    Assembly: Mapsui.Nts.dll
    Syntax
    public class XPathQueryManager.CustomQueryContext : XsltContext, IEnumerable, IXmlNamespaceResolver

    Constructors

    | Edit this page View Source

    CustomQueryContext()

    Initializes a new instance of the XPathQueryManager.CustomQueryContext class.

    Declaration
    public CustomQueryContext()
    | Edit this page 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

    | Edit this page View Source

    Whitespace

    Method from XsltContext.

    Declaration
    public override bool Whitespace { get; }
    Property Value
    Type Description
    bool
    Overrides
    XsltContext.Whitespace

    Methods

    | Edit this page 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<string, string> namespaces

    A list of namespaces

    | Edit this page 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

    | Edit this page 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
    string name

    The name of the parameter

    object parameter

    The value of the parameter

    | Edit this page View Source

    CompareDocument(string, string)

    Method from XsltContext.

    Declaration
    public override int CompareDocument(string baseUri, string nextbaseUri)
    Parameters
    Type Name Description
    string baseUri
    string nextbaseUri
    Returns
    Type Description
    int
    Overrides
    XsltContext.CompareDocument(string, string)
    | Edit this page View Source

    GetParam(string)

    This method gets a parameter by name.

    Declaration
    public object? GetParam(string name)
    Parameters
    Type Name Description
    string name

    The name of the parameter

    Returns
    Type Description
    object
    | Edit this page View Source

    PreserveWhitespace(XPathNavigator)

    Method from XsltContext.

    Declaration
    public override bool PreserveWhitespace(XPathNavigator node)
    Parameters
    Type Name Description
    XPathNavigator node
    Returns
    Type Description
    bool
    Overrides
    XsltContext.PreserveWhitespace(XPathNavigator)
    | Edit this page View Source

    RemoveParam(string)

    This method removes a parameter from the inherent parameter list.

    Declaration
    public object? RemoveParam(string name)
    Parameters
    Type Name Description
    string name

    The name of the parameter

    Returns
    Type Description
    object
    | Edit this page View Source

    ResetParams()

    This methods clears the inherent parameter list.

    Declaration
    public void ResetParams()
    | Edit this page 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
    string prefix

    The prefix of the function

    string name

    The name of the function

    XPathResultType[] argTypes

    A list of argument types of the function

    Returns
    Type Description
    IXsltContextFunction
    Overrides
    XsltContext.ResolveFunction(string, string, XPathResultType[])
    | Edit this page 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
    string prefix

    The prefix of the variable

    string name

    The name of the variable

    Returns
    Type Description
    IXsltContextVariable
    Overrides
    XsltContext.ResolveVariable(string, string)

    Implements

    IEnumerable
    IXmlNamespaceResolver
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX