XmlDocExtensions.WithCaching Method
- Namespace
- Kampute.DocToolkit.XmlDoc
- Assembly
- Kampute.DocToolkit.dll
Definition
Wraps the specified IXmlDocProvider instance in a caching layer if it is not already cached.
public static IXmlDocProvider WithCaching(this IXmlDocProvider xmlDocProvider)Parameters
xmlDocProviderIXmlDocProvider- The XML documentation provider to wrap.
Returns
- IXmlDocProvider
- A cached version of the XML documentation provider.
Exceptions
- ArgumentNullException
- Thrown when
xmlDocProviderisnull.
