Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Castle.MicroKernel.SubSystems.Configuration;
using CastleDemo.Infrastructure;
namespace CastleDemo.Installers
{
public class StoryTellerInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.Register(
Component.For<IStoryTeller>().ImplementedBy<DutchStoryTeller>());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment