#9: add file handling installer

pull/26/head
Simon Gockner 6 years ago
parent 4596640373
commit 9f22255e69
  1. 28
      GBase/Installers/FileHandlingInstaller.cs

@ -0,0 +1,28 @@
// Author: Gockner, Simon
// Created: 2020-02-12
// Copyright(c) 2020 SimonG. All Rights Reserved.
using GBase.FileHandling;
using GBase.Interfaces.FileHandling;
using GBase.Interfaces.FileHandling.Factories;
using LightweightIocContainer.Interfaces;
using LightweightIocContainer.Interfaces.Installers;
namespace GBase.Installers
{
/// <summary>
/// <see cref="IIocInstaller"/> for the file handling
/// </summary>
public class FileHandlingInstaller : IIocInstaller
{
/// <inheritdoc />
public void Install(IIocContainer container)
{
container.Register<IFileHandler, FileHandler>();
//factories
container.RegisterFactory<IFileHandlerFactory>();
}
}
}
Loading…
Cancel
Save