19 lines
574 B
C#
19 lines
574 B
C#
using Castle.MicroKernel.Registration;
|
|
using Castle.MicroKernel.SubSystems.Configuration;
|
|
using Castle.Windsor;
|
|
using Filtration.ThemeEditor.ViewModels;
|
|
|
|
namespace Filtration.ThemeEditor.WindsorInstallers
|
|
{
|
|
public class ViewModelsInstaller : IWindsorInstaller
|
|
{
|
|
public void Install(IWindsorContainer container, IConfigurationStore store)
|
|
{
|
|
container.Register(
|
|
Component.For<IThemeEditorViewModel>()
|
|
.ImplementedBy<ThemeEditorViewModel>()
|
|
.LifeStyle.Singleton);
|
|
}
|
|
}
|
|
}
|