C# Class Mapsui.Providers.Wfs.Xml.XPathQueryManagerCompiledExpressionsDecorator

This class is a decorator for classes implementing IXPathQueryManager. It stores compiled XPath expressions for re-use.
Inheritance: XPathQueryManagerDecoratorBase, IXPathQueryManager
Mostra file Open project: pauldendulk/Mapsui

Public Methods

Method Description
Clone ( ) : IXPathQueryManager

This method returns a clone of the current instance. The cloned instance operates on the same (read-only) XPathDocument instance.

Compile ( string xPath ) : XPathExpression

This method compiles an XPath string, if not already saved. Otherwise it returns the available XPath compilation.

GetXPathQueryManagerInContext ( XPathExpression xPath, DictionaryEntry queryParameters = null ) : IXPathQueryManager

This method returns an instance of XPathQueryManagerCompiledExpressionsDecorator in the context of the first node the XPath expression addresses.

XPathQueryManagerCompiledExpressionsDecorator ( IXPathQueryManager xPathQueryManager ) : System.Collections

Initializes a new instance of the XPathQueryManagerCompiledExpressionsDecorator class.

Method Details

Clone() public method

This method returns a clone of the current instance. The cloned instance operates on the same (read-only) XPathDocument instance.
public Clone ( ) : IXPathQueryManager
return IXPathQueryManager

Compile() public method

This method compiles an XPath string, if not already saved. Otherwise it returns the available XPath compilation.
public Compile ( string xPath ) : XPathExpression
xPath string The XPath string
return System.Xml.XPath.XPathExpression

GetXPathQueryManagerInContext() public method

This method returns an instance of XPathQueryManagerCompiledExpressionsDecorator in the context of the first node the XPath expression addresses.
public GetXPathQueryManagerInContext ( XPathExpression xPath, DictionaryEntry queryParameters = null ) : IXPathQueryManager
xPath System.Xml.XPath.XPathExpression The compiled XPath expression
queryParameters System.Collections.DictionaryEntry Parameters for the compiled XPath expression
return IXPathQueryManager

XPathQueryManagerCompiledExpressionsDecorator() public method

Initializes a new instance of the XPathQueryManagerCompiledExpressionsDecorator class.
public XPathQueryManagerCompiledExpressionsDecorator ( IXPathQueryManager xPathQueryManager ) : System.Collections
xPathQueryManager IXPathQueryManager An instance implementing to operate on
return System.Collections