C# Класс Mapsui.Providers.Wfs.Xml.XPathQueryManager.CustomQueryContext

This class represents a custom context for XPath queries. It is derived from XsltContext.
Наследование: System.Xml.Xsl.XsltContext
Показать файл Открыть проект

Открытые методы

Метод Описание
AddNamespace ( string>.IDictionary namespaces ) : void

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

AddParam ( DictionaryEntry parameters ) : void

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

AddParam ( string name, object parameter ) : void

This method adds a parameter to the custom context.

CompareDocument ( string baseUri, string nextbaseUri ) : int

Method from XsltContext.

CustomQueryContext ( ) : System

Initializes a new instance of the CustomQueryContext class.

CustomQueryContext ( NameTable table ) : System

Initializes a new instance of the CustomQueryContext class.

GetParam ( string name ) : object

This method gets a parameter by name.

PreserveWhitespace ( XPathNavigator node ) : bool

Method from XsltContext.

RemoveParam ( string name ) : object

This method removes a parameter from the inherent parameter list.

ResetParams ( ) : void

This methods clears the inherent parameter list.

ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction

This method resolves a function appearing in an XPath expression.

ResolveVariable ( string prefix, string name ) : IXsltContextVariable

This method resolves a variable appearing in an XPath expression.

Описание методов

AddNamespace() публичный Метод

This method adds a list of namespaces to use in the custom context.
public AddNamespace ( string>.IDictionary namespaces ) : void
namespaces string>.IDictionary A list of namespaces
Результат void

AddParam() публичный Метод

This method adds a list of parameters to the custom context.
public AddParam ( DictionaryEntry parameters ) : void
parameters System.Collections.DictionaryEntry A list of parameters
Результат void

AddParam() публичный Метод

This method adds a parameter to the custom context.
public AddParam ( string name, object parameter ) : void
name string The name of the parameter
parameter object The value of the parameter
Результат void

CompareDocument() публичный Метод

Method from XsltContext.
public CompareDocument ( string baseUri, string nextbaseUri ) : int
baseUri string
nextbaseUri string
Результат int

CustomQueryContext() публичный Метод

Initializes a new instance of the CustomQueryContext class.
public CustomQueryContext ( ) : System
Результат System

CustomQueryContext() публичный Метод

Initializes a new instance of the CustomQueryContext class.
public CustomQueryContext ( NameTable table ) : System
table System.Xml.NameTable A NameTable instance
Результат System

GetParam() публичный Метод

This method gets a parameter by name.
public GetParam ( string name ) : object
name string The name of the parameter
Результат object

PreserveWhitespace() публичный Метод

Method from XsltContext.
public PreserveWhitespace ( XPathNavigator node ) : bool
node System.Xml.XPath.XPathNavigator
Результат bool

RemoveParam() публичный Метод

This method removes a parameter from the inherent parameter list.
public RemoveParam ( string name ) : object
name string The name of the parameter
Результат object

ResetParams() публичный Метод

This methods clears the inherent parameter list.
public ResetParams ( ) : void
Результат void

ResolveFunction() публичный Метод

This method resolves a function appearing in an XPath expression.
public ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction
prefix string The prefix of the function
name string The name of the function
argTypes XPathResultType A list of argument types of the function
Результат IXsltContextFunction

ResolveVariable() публичный Метод

This method resolves a variable appearing in an XPath expression.
public ResolveVariable ( string prefix, string name ) : IXsltContextVariable
prefix string The prefix of the variable
name string The name of the variable
Результат IXsltContextVariable