Trying to make CustomAttributeMatchingRule
for Policy injection work, seems that I should do something with the constructor.
The types are unknown and defined in a different class as it's properties.
Got it work in a different manner.
Getting this error
The type Microsoft.Practices.Unity.InterceptionExtension.CustomAttributeMatchingRule does not have a constructor that takes the parameters (LoggingAttribute, Boolean).
Error Location: in below line of the UnityContainer.cs
member.AddPolicies(from, to, name, policies);
Type AttType = asp.TypeName;