MethodInterceptionAdviceArgsBuilder Class |
Implementation of AdviceArgsBuilder that can emit instructions to create objects of type MethodInterceptionArgs.
System.Object
PostSharp.Sdk.AspectWeaver.AdviceArgsBuilder
PostSharp.Sdk.AspectWeaver.InterceptionAdviceArgsBuilder
PostSharp.Sdk.AspectWeaver.MethodInterceptionAdviceArgsBuilder
PostSharp.Sdk.AspectWeaver.AdviceArgsBuilder
PostSharp.Sdk.AspectWeaver.InterceptionAdviceArgsBuilder
PostSharp.Sdk.AspectWeaver.MethodInterceptionAdviceArgsBuilder
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public class MethodInterceptionAdviceArgsBuilder : InterceptionAdviceArgsBuilder
The MethodInterceptionAdviceArgsBuilder type exposes the following members.
Name | Description | |
---|---|---|
MethodInterceptionAdviceArgsBuilder |
Initializes a new MethodInterceptionAdviceArgsBuilder.
|
Name | Description | |
---|---|---|
Task |
Gets the parent AspectWeaverTask.
(Inherited from AdviceArgsBuilder.) |
Name | Description | |
---|---|---|
EmitLoadReflectionObject |
Emits instructions that load the reflection object associated with the AdviceArgs.
(Inherited from AdviceArgsBuilder.) | |
EmitRestoreAdviceArgs | (Inherited from InterceptionAdviceArgsBuilder.) | |
EmitSetDeclarationIdentifier | (Inherited from AdviceArgsBuilder.) | |
EmitStoreAdviceArgsToLocal(AspectWeaverInstance, InstructionWriter, ArgumentsWriter, MethodMappingWriter, MethodMapping, Boolean, Boolean, MetadataDeclaration, MetadataDeclaration, IType, ILocalStorage, LocalVariableSymbol, IMethod, IField, IField) |
Emits instructions that construct an AdviceArgs object (or load and complete construction of an existing one, if available)
and store it into a local variable.
(Inherited from InterceptionAdviceArgsBuilder.) | |
EmitStoreAdviceArgsToLocal(AspectWeaverInstance, InstructionWriter, ArgumentsWriter, MethodMappingWriter, MethodMapping, Boolean, Boolean, MetadataDeclaration, MetadataDeclaration, IType, ILocalStorage, ILocalStorage, LocalVariableSymbol, IMethod, IField, IField, Action<InstructionWriter>) |
Emits instructions that construct an AdviceArgs object (or load and complete construction of an existing one, if available)
and store it into a local variable.
(Inherited from InterceptionAdviceArgsBuilder.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MustStoreByRefArguments | (Inherited from InterceptionAdviceArgsBuilder.) | |
MustStoreInstance | (Inherited from InterceptionAdviceArgsBuilder.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |