If I understand it correctly, FromAssemblyDescriptor.Where still creates a 
BasedOnDescriptor.

https://github.com/castleproject/Castle.Windsor/blob/master/src/Castle.Windsor/MicroKernel/Registration/FromDescriptor.cs#L81

Because of this, the BasedOn TryRegister and Accepts always restricts things 
down to type.IsClass.

https://github.com/castleproject/Castle.Windsor/blob/master/src/Castle.Windsor/MicroKernel/Registration/BasedOnDescriptor.cs#L201

Since TryRegister and Accepts are both locked down, I think that overriding 
the BasedOnDescriptor is out of the question. I'm more than happy to find an 
easy way around this, or to help contribute getting something into the 
Castle source, I just want to make sure that I'm going in the right 
direction and/or it's something that should be in there.

- Nick

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to