You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
739 B
28 lines
739 B
// Author: Gockner, Simon
|
|
// Created: 2020-02-12
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
|
|
using GBase.FileHandling;
|
|
using GBase.FileHandling.Factories;
|
|
using GBase.Interfaces.FileHandling;
|
|
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>();
|
|
}
|
|
}
|
|
} |