From cbfa772361de5589b3c4bb9fec15a23d0e150eb3 Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Wed, 12 Feb 2020 12:01:06 +0100 Subject: [PATCH] #10: add class and function comments for dataHandling factories --- GBase/GBase.xml | 75 +++++++++++++++++++ .../IXmlDataHandlerCacheEntryFactory.cs | 10 +++ .../Factories/IXmlDataHandlerCacheFactory.cs | 8 ++ ...XmlDataHandlerCachePropertyEntryFactory.cs | 9 +++ .../Xml/Factories/IXmlDataHandlerFactory.cs | 7 ++ .../Xml/Factories/IXmlDataReaderFactory.cs | 8 ++ .../Xml/Factories/IXmlDataWriterFactory.cs | 9 +++ 7 files changed, 126 insertions(+) diff --git a/GBase/GBase.xml b/GBase/GBase.xml index 045a197..18a74aa 100644 --- a/GBase/GBase.xml +++ b/GBase/GBase.xml @@ -494,6 +494,45 @@ The value to set A to await + + + Factory for the + + + + + Create an + + The that implements the property + The name of the property + The value of the property + A newly created instance of the implementation for + + + + Factory for the + + + + + Creates an + + The + A newly created instance of the implementation for + + + + Factory for the + + + + + Creates an + + The name of the property + The value of the property + A newly created instance of the implementation for + An interface for the @@ -509,6 +548,42 @@ A property entry for the + + + Factory for the + + + + + Creates an + + A newly created instance of the implementation for + + + + Factory for the + + + + + Creates an + + The path to the xml file + A newly created instance of the implementation for + + + + Factory for the + + + + + Creates an + + The path to the xml file + The root element name of the xml file + A newly created instance of the implementation for + A that handles its data in an xml file diff --git a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheEntryFactory.cs b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheEntryFactory.cs index fce263e..f5ca37b 100644 --- a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheEntryFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheEntryFactory.cs @@ -6,8 +6,18 @@ using System; namespace GBase.Interfaces.DataHandling.Xml.Cache.Factories { + /// + /// Factory for the + /// public interface IXmlDataHandlerCacheEntryFactory { + /// + /// Create an + /// + /// The that implements the property + /// The name of the property + /// The value of the property + /// A newly created instance of the implementation for IXmlDataHandlerCacheEntry Create(Type type, string propertyName, object value); } } \ No newline at end of file diff --git a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheFactory.cs b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheFactory.cs index ffb517f..8ebc61a 100644 --- a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCacheFactory.cs @@ -4,8 +4,16 @@ namespace GBase.Interfaces.DataHandling.Xml.Cache.Factories { + /// + /// Factory for the + /// public interface IXmlDataHandlerCacheFactory { + /// + /// Creates an + /// + /// The + /// A newly created instance of the implementation for IXmlDataHandlerCache Create(IXmlDataReader xmlDataReader); } } \ No newline at end of file diff --git a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCachePropertyEntryFactory.cs b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCachePropertyEntryFactory.cs index 23ef25c..d80bebd 100644 --- a/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCachePropertyEntryFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Cache/Factories/IXmlDataHandlerCachePropertyEntryFactory.cs @@ -4,8 +4,17 @@ namespace GBase.Interfaces.DataHandling.Xml.Cache.Factories { + /// + /// Factory for the + /// public interface IXmlDataHandlerCachePropertyEntryFactory { + /// + /// Creates an + /// + /// The name of the property + /// The value of the property + /// A newly created instance of the implementation for IXmlDataHandlerCachePropertyEntry Create(string propertyName, object value); } } \ No newline at end of file diff --git a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataHandlerFactory.cs b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataHandlerFactory.cs index 52b5f53..7f303f8 100644 --- a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataHandlerFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataHandlerFactory.cs @@ -4,8 +4,15 @@ namespace GBase.Interfaces.DataHandling.Xml.Factories { + /// + /// Factory for the + /// public interface IXmlDataHandlerFactory { + /// + /// Creates an + /// + /// A newly created instance of the implementation for IXmlDataHandler Create(); } } \ No newline at end of file diff --git a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataReaderFactory.cs b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataReaderFactory.cs index e573acd..ce4fe53 100644 --- a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataReaderFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataReaderFactory.cs @@ -4,8 +4,16 @@ namespace GBase.Interfaces.DataHandling.Xml.Factories { + /// + /// Factory for the + /// public interface IXmlDataReaderFactory { + /// + /// Creates an + /// + /// The path to the xml file + /// A newly created instance of the implementation for IXmlDataReader Create(string path); } } \ No newline at end of file diff --git a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataWriterFactory.cs b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataWriterFactory.cs index 9c2db97..785c56a 100644 --- a/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataWriterFactory.cs +++ b/GBase/Interfaces/DataHandling/Xml/Factories/IXmlDataWriterFactory.cs @@ -4,8 +4,17 @@ namespace GBase.Interfaces.DataHandling.Xml.Factories { + /// + /// Factory for the + /// public interface IXmlDataWriterFactory { + /// + /// Creates an + /// + /// The path to the xml file + /// The root element name of the xml file + /// A newly created instance of the implementation for IXmlDataWriter Create(string path, string rootElementName); } } \ No newline at end of file