Particular/NServiceBus — pull request #2337 by johannesg (2014-08-27 12:23:06+00:00)
Title:  Fix for slow debugging when using castle windsor: #1989

The fix mimics the way Castle:s registration API does when registering properties. So this code:

NServiceBus.Configure.Component(DependencyLifecycle.InstancePerCall)
.ConfigureProperty(t => t.Settings, settings);

Will now be the same as:

Container.Register(Component.For().LifeStyle.Transient)
.DependsOn(
Dependency.OnValue("Settings", settings))