Remove IPropertyResolverPolicy

Feb 19, 2008 at 4:58 AM
I'd remove IPropertyResolverPolicy and only use IParameterResolverPolicy.

They way to it is that when a property is being injected, you extract the ParameterInfo of the setter method.

This allows you to eliminate IPropertyResolverPolicy, AttributePropertyResolverPolicy and a potential ConfigPropertyResolverPolicy.

It also greatly simplifies the model as we only have to deal with parameters (the same way the previous OB saw it with IParameter).