PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Location­Interception­Advice­Args­Builder Class

LocationInterceptionAdviceArgsBuilder Class

Implementation of AdviceArgsBuilder that can emit instructions to create objects of type LocationInterceptionArgs or EventInterceptionArgs.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AdviceArgsBuilder
    PostSharp.Sdk.AspectWeaver.InterceptionAdviceArgsBuilder
      PostSharp.Sdk.AspectWeaver.LocationInterceptionAdviceArgsBuilder

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public class LocationInterceptionAdviceArgsBuilder : InterceptionAdviceArgsBuilder

The LocationInterceptionAdviceArgsBuilder type exposes the following members.

Constructors
  NameDescription
Public methodLocationInterceptionAdviceArgsBuilder
Initializes a new LocationInterceptionAdviceArgsBuilder/
Properties
  NameDescription
Public propertyTask
Gets the parent AspectWeaverTask.
(Inherited from AdviceArgsBuilder.)
Methods
  NameDescription
Public methodEmitLoadReflectionObject
Emits instructions that load the reflection object associated with the AdviceArgs.
(Inherited from AdviceArgsBuilder.)
Public methodEmitRestoreAdviceArgs (Inherited from InterceptionAdviceArgsBuilder.)
Public methodEmitSetDeclarationIdentifier (Inherited from AdviceArgsBuilder.)
Public methodEmitSetLocationProperties
Public methodEmitStoreAdviceArgsToLocal(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.)
Public methodEmitStoreAdviceArgsToLocal(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.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMustStoreByRefArguments (Inherited from InterceptionAdviceArgsBuilder.)
Protected methodMustStoreInstance (Inherited from InterceptionAdviceArgsBuilder.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also