IMethodInterceptionAspect Interface
Runtime semantics of an aspect that, when applied on a method, intercepts invocations of this method.

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public interface IMethodInterceptionAspect : IMethodLevelAspect, 
	IAspect

The IMethodInterceptionAspect type exposes the following members.

Methods
  NameDescription
Public methodOnInvoke
Method invoked instead of the method to which the aspect has been applied.
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from IMethodLevelAspect.)
Top
Remarks
See MethodInterceptionAspect for details.
See Also