IMethodInterceptionAspect Interface |
Runtime semantics of an aspect that, when applied on a method, intercepts invocations of this method.
Namespace: PostSharp.AspectsAssembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)

C#
public interface IMethodInterceptionAspect : IMethodLevelAspect, IAspect
The IMethodInterceptionAspect type exposes the following members.

Name | Description | |
---|---|---|
![]() | OnInvoke |
Method invoked instead of the method to which the aspect has been applied.
|
![]() | RuntimeInitialize |
Initializes the current aspect.
(Inherited from IMethodLevelAspect.) |

See MethodInterceptionAspect for details.
