PostSharp SDK6.6//Post­Sharp.​Sdk.​Aspect­Weaver.​Method­Body­Wrapping Namespace/IMethod­Body­Wrapping­Advices Interface

IMethodBodyWrappingAdvices Interface

Classes implementing this interface inject method body wrapping advices into the target method (advices such as method boundary, on-exception and location validation).

Namespace:  PostSharp.Sdk.AspectWeaver.MethodBodyWrapping
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.6.3.0 (6.6.3.0)
Syntax
C#
public interface IMethodBodyWrappingAdvices

The IMethodBodyWrappingAdvices type exposes the following members.

Properties
  NameDescription
Public propertyExceptionAdviceTypes
Public propertyExceptionFilterAdviceTypes
Public propertyHasOnEntryAdvice
Indicates whether this instance emits code into the "entry" section in the method.
Public propertyHasOnExitAdvice
Indicates whether this instance emits code into the "finally" section in the method.
Public propertyHasOnSuccessAdvice
Indicates whether this instance emits code into the "successful return" section in the method.
Methods
  NameDescription
Public methodImplementOnEntryAdvice
Emits code into the "entry" section in the method.
Public methodImplementOnExceptionAdvice
Public methodImplementOnExceptionFilterAdvice
Public methodImplementOnExitAdvice
Emits code into the "finally" section in the method.
Public methodImplementOnSuccessAdvice
Emits code into the "successful return" section in the method.
See Also