Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created May 21, 2010 09:03
Show Gist options
  • Save jhollingworth/408638 to your computer and use it in GitHub Desktop.
Save jhollingworth/408638 to your computer and use it in GitHub Desktop.
var container = new WindsorContainer();
container.Install(new ConfigurationInstaller());
container.RegisterConfigurationEntity<Example>();
var example = container.Resolve<Example>();
if(example.IsAwesome)
Console.WriteLine("This is {0} awesome. Its level {1} awesome", example.HowAwesome, example.LevelOfAwesome);
Console.ReadKey();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment