v4.7.0
Issues addressed in this release:
- #624: Components registered as
IStartable
andAutoActivate()
will be started in dependency order. - #733: Building a container will fail with an exception if you
RegisterType<T>()
a type that doesn't have a public constructor. - #824: Parameters passed to a
Resolve()
operation for a decorated object will pass by the decorators and only be provided to the object being decorated. - #846: Parameters passed to a
Resolve()
operation will be provided to the constructor selector so they can be used to influence which constructor gets used (IConstructorSelector.SelectConstructorBinding()
). This is a minor breaking change for theIConstructorSelector
interface but very few people have implemented custom constructor selectors so a major version increment wasn't used. - #882: An exception is now thrown if you try to create a new lifetime scope with a tag that has already been assigned to a parent lifetime scope.