diff --git a/GBase/GBase.csproj b/GBase/GBase.csproj index 4f7e411..acd56fe 100644 --- a/GBase/GBase.csproj +++ b/GBase/GBase.csproj @@ -21,4 +21,8 @@ + + + + diff --git a/GBase/Installer/DataHandlingInstaller.cs b/GBase/Installer/DataHandlingInstaller.cs new file mode 100644 index 0000000..817d065 --- /dev/null +++ b/GBase/Installer/DataHandlingInstaller.cs @@ -0,0 +1,45 @@ +// Author: Gockner, Simon +// Created: 2020-02-12 +// Copyright(c) 2020 SimonG. All Rights Reserved. + + +using GBase.DataHandling; +using GBase.DataHandling.Cache; +using GBase.Interfaces.DataHandling.Xml; +using GBase.Interfaces.DataHandling.Xml.Cache; +using GBase.Interfaces.DataHandling.Xml.Cache.Factories; +using GBase.Interfaces.DataHandling.Xml.Factories; +using LightweightIocContainer.Interfaces; +using LightweightIocContainer.Interfaces.Installers; + +namespace GBase.Installer +{ + /// + /// for the data handling + /// + public class DataHandlingInstaller : IIocInstaller + { + /// + public void Install(IIocContainer container) + { + container.Register(); + container.Register(); + container.Register(); + + //cache + container.Register(); + container.Register(); + container.Register(); + + //factories + container.RegisterFactory(); + container.RegisterFactory(); + container.RegisterFactory(); + + //cache factories + container.RegisterFactory(); + container.RegisterFactory(); + container.RegisterFactory(); + } + } +} \ No newline at end of file