|
|
|
|
@ -52,13 +52,12 @@ namespace GBase.DataHandling |
|
|
|
|
/// <param name="xmlDataReaderFactory">The <see cref="IXmlDataReader"/> factory</param> |
|
|
|
|
/// <param name="xmlDataWriterFactory">The <see cref="IXmlDataWriter"/> factory</param> |
|
|
|
|
/// <param name="xmlDataHandlerCacheFactory">The <see cref="IXmlDataHandlerCache"/> factory</param> |
|
|
|
|
public XmlDataHandler(string path, |
|
|
|
|
IXmlDataReaderFactory xmlDataReaderFactory, |
|
|
|
|
public XmlDataHandler(IXmlDataReaderFactory xmlDataReaderFactory, |
|
|
|
|
IXmlDataWriterFactory xmlDataWriterFactory, |
|
|
|
|
IXmlDataHandlerCacheFactory xmlDataHandlerCacheFactory) |
|
|
|
|
{ |
|
|
|
|
_xmlDataWriter = xmlDataWriterFactory.Create(); |
|
|
|
|
_xmlDataReader = xmlDataReaderFactory.Create(path); |
|
|
|
|
_xmlDataReader = xmlDataReaderFactory.Create(); |
|
|
|
|
|
|
|
|
|
_cache = xmlDataHandlerCacheFactory.Create(_xmlDataReader); |
|
|
|
|
} |
|
|
|
|
|