tags:

views:

27

answers:

1

Can i specify that an OnMethodInvocationAspect can only be applied to a specific method signature, for exemple "int methodname(ClassA obj)" ?

A: 

Yes, by overriding the method CompileTimeValidate and returning false if the MethodBase has not the expected signature.

Gael Fraiteur
hey, thanks a lot
Carlos Decas