// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // An Implimentation of IWindsorInstaller for this library. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.Interop { using Castle.Core; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using HandBrake.Interop.Interfaces; /// /// An Implimentation of IWindsorInstaller for this library. /// public class InteropWindsorInstaller : IWindsorInstaller { /// /// An Implimentation of IWindsorInstaller for this library. /// /// /// The container. /// /// /// The store. /// public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); } } }