Skip to content

Instantly share code, notes, and snippets.

@Itslet
Created March 26, 2011 16:57
Show Gist options
  • Select an option

  • Save Itslet/888437 to your computer and use it in GitHub Desktop.

Select an option

Save Itslet/888437 to your computer and use it in GitHub Desktop.
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