Skip to content

Instantly share code, notes, and snippets.

@tjchaplin
Created May 11, 2013 22:12
Show Gist options
  • Save tjchaplin/5561613 to your computer and use it in GitHub Desktop.
Save tjchaplin/5561613 to your computer and use it in GitHub Desktop.
var container = new WindsorContainer();
container.Register(Component.For<ILoader<object>>().ImplementedBy<UserLoader>());
covariantArray = container.ResolveAll<ILoader<object>>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment