19 lines
553 B
C#
19 lines
553 B
C#
|
using Castle.MicroKernel.Registration;
|
|||
|
using Castle.MicroKernel.SubSystems.Configuration;
|
|||
|
using Castle.Windsor;
|
|||
|
using Filtration.Common.Services;
|
|||
|
|
|||
|
namespace Filtration.Common.WindsorInstallers
|
|||
|
{
|
|||
|
public class ServicesInstaller :IWindsorInstaller
|
|||
|
{
|
|||
|
public void Install(IWindsorContainer container, IConfigurationStore store)
|
|||
|
{
|
|||
|
container.Register(
|
|||
|
Component.For<IFileSystemService>()
|
|||
|
.ImplementedBy<FileSystemService>()
|
|||
|
.LifeStyle.Singleton);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|