Does every Method will be matched once it's invoked with the matchingrules?

Jun 22, 2011 at 8:30 AM
Hi All,
I have a doubt that I had define the matchingrules, does every method will be matched once it's invoked? ()
             <addtype="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.MemberNameMatchingRule, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" name="Member Name Matching Rule">
               <addmatch="ProcessOrder"ignoreCase="false" />
            <add type="DV.CustomCallHandlers.OrderValidationCallHandler, DV.CustomCallHandlers"name="OrderValidationCallHandler"validateSupplier="true" validateTotalPrice="true"/>
Jun 22, 2011 at 10:33 AM


Yes it will do the matching with methods, including the properties as they are considered to be members of the class. If you just want to match the method name only, then you can use the Method Signature Matching rule.


Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.