Class XPathQueryManagerCompiledExpressionsDecorator
This class is a decorator for classes implementing IXPathQueryManager. It stores compiled XPath expressions for re-use.
Inheritance
Implements
Inherited Members
Namespace: Mapsui.Providers.Wfs.Xml
Assembly: Mapsui.Desktop.dll
Syntax
public class XPathQueryManagerCompiledExpressionsDecorator : XPathQueryManagerDecoratorBase, IXPathQueryManager
Constructors
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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 |
---|---|---|
System.String | xPath | The XPath string |
Returns
Type | Description |
---|---|
XPathExpression | A compiled XPath expression |
Overrides
| Improve this Doc 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 |