PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / IMethod­Body­Transformation­Instance Interface

IMethodBodyTransformationInstance Interface

Defines the semantics of an instance of a code transformation that modifies the body of a method (i.e. its flow of MSIL instructions).

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public interface IMethodBodyTransformationInstance : ITransformationInstance

The IMethodBodyTransformationInstance type exposes the following members.

Methods
  NameDescription
Public methodGetOptions
Gets options that allow the aspect framework to predict the behavior of the Implement(MethodBodyTransformationContext) method.
Public methodImplement
Implements the transformation.
See Also