PostSharp//API Reference/Post­Sharp.​Aspects/IMethod­Interception­Aspect
Open sandboxFocus

Interface IMethodInterceptionAspect

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

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[HasInheritedAttribute]
public interface IMethodInterceptionAspect : IMethodLevelAspect, IAspect

Methods

Name Description
OnInvoke(MethodInterceptionArgs)

Method invoked instead of the method to which the aspect has been applied.