Created
March 26, 2011 16:57
-
-
Save Itslet/888437 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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