Class XPathQueryManagerCompiledExpressionsDecorator
This class is a decorator for classes implementing IXPathQueryManager. It stores compiled XPath expressions for re-use.
Implements
Inherited Members
Namespace: Mapsui.Providers.Wfs.Xml
Assembly: Mapsui.Nts.dll
Syntax
public class XPathQueryManagerCompiledExpressionsDecorator : XPathQueryManagerDecoratorBase, IXPathQueryManager
Constructors
| Edit this page View SourceXPathQueryManagerCompiledExpressionsDecorator(IXPathQueryManager)
Initializes a new instance of the XPathQueryManagerCompiledExpressionsDecorator class.
Declaration
public XPathQueryManagerCompiledExpressionsDecorator(IXPathQueryManager xPathQueryManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IXPathQueryManager | xPathQueryManager | An instance implementing IXPathQueryManager to operate on |
Methods
| Edit this page View SourceClone()
This method returns a clone of the current instance. The cloned instance operates on the same (read-only) XPathDocument instance.
Declaration
public override IXPathQueryManager Clone()
Returns
| Type | Description |
|---|---|
| IXPathQueryManager |
Overrides
| Edit this page View SourceCompile(string)
This method compiles an XPath string, if not already saved.
Otherwise it returns the available XPath compilation.
Declaration
public override XPathExpression? Compile(string xPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xPath | The XPath string |
Returns
| Type | Description |
|---|---|
| XPathExpression | A compiled XPath expression |
Overrides
| Edit this page View SourceGetXPathQueryManagerInContext(XPathExpression?, DictionaryEntry[]?)
This method returns an instance of XPathQueryManagerCompiledExpressionsDecorator in the context of the first node the XPath expression addresses.
Declaration
public override IXPathQueryManager? GetXPathQueryManagerInContext(XPathExpression? xPath, DictionaryEntry[]? queryParameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathExpression | xPath | The compiled XPath expression |
| DictionaryEntry[] | queryParameters | Parameters for the compiled XPath expression |
Returns
| Type | Description |
|---|---|
| IXPathQueryManager |