NamespaceMatchingRule

May 26, 2010 at 4:09 PM
Edited May 26, 2010 at 4:17 PM

Hi all,

I'm new here. I've just a conceptual problem about using NamespaceMatchingRule to define a policy injection for a particular namespace in my project.

I would inject a parameter to constructors of all classes under a namespace.

Can someone provide me an example?

 

Thanks in advance!

May 26, 2010 at 6:22 PM
Policy injection only kicks in when calling methods. You cannot use it to configure injection of constructor parameters.
May 27, 2010 at 11:34 AM

Thanks ctavares!

I solved my problem making a concrete example!