castle-windsor FromAssembly Class


Example

Another way to .Install installers is by using Castle's FromAssembly class. It gives an array of functions to locate installers in the loaded assemblies. For example:

//Will locate IInstallers in the current assembly that is calling the method
container.Install(FromAssembly.This()); 

For more details see Castle's Documentation