Equivalent of AspectJ call pointcut in PostSharp -
Is Aspex call point in postspark?
Concrete: The method foo () on both classes and classbie call classes I only want to block calls from A to C, ATP to C, as it happens in Eptex, Inbound calls can be obtained from:
call (* ClassC.foo ()) & amp; ; & Amp;
This method is not directly possible as extension calls to a method does not apply to the site itself And such signals will only be able to filter methods, not call sites
For possible solutions, two aspects must be cooperated - one will manage a thread-fixed variable, the second, either execute the lost method or do some additional work. However, this is not an ideal solution.
Comments
Post a Comment