AppActs.API.WebService.InstallService.Install C# (CSharp) Method

Install() public method

public Install ( Castle container, Castle store ) : void
container Castle
store Castle
return void
        public void Install(Castle.Windsor.IWindsorContainer container, Castle.MicroKernel.SubSystems.Configuration.IConfigurationStore store)
        {
            container.Register(Component.For<ILog>().Instance(createLogger(log4net.Core.Level.All)).LifeStyle.Singleton);
            container.Register(Component.For<IDeviceService>().ImplementedBy<DeviceService>().LifeStyle.Singleton);
        }