Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Itslet
Created March 26, 2011 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Itslet/888437 to your computer and use it in GitHub Desktop.
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