I am trying to upgrade to the latest Autofac version within Orchard CMS, and this changeset is breaking the upgrade.
It appears that when moving _availableConstructors = _constructorFinder.FindConstructors(_implementationType); to the Ctor that number of parameterless constructors that are returned when using an intercept remains at 1. Where as, if you have an intercept registered, you would expect 2.
What is happening is that AttachToComponentRegistration is called later, and this is where the InterceptedBy method is called.
Hi All, I left a comment on here: https://github.com/autofac/Autofac/commit/f25596a3e15a22a886d6200f34756a4c5ae807a8 However, it might be better to talk about it here.
I am trying to upgrade to the latest Autofac version within Orchard CMS, and this changeset is breaking the upgrade.
It appears that when moving _availableConstructors = _constructorFinder.FindConstructors(_implementationType); to the Ctor that number of parameterless constructors that are returned when using an intercept remains at 1. Where as, if you have an intercept registered, you would expect 2.
What is happening is that AttachToComponentRegistration is called later, and this is where the InterceptedBy method is called.
Do you know how I can resolve this?