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

EventInterceptionAdviceArgsBuilder Class

Implementation of MethodExecutionAdviceArgsBuilder able to emit instructions that build objects of type EventInterceptionArgs.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AdviceArgsBuilder
    PostSharp.Sdk.AspectWeaver.InterceptionAdviceArgsBuilder
      PostSharp.Sdk.AspectWeaver.EventInterceptionAdviceArgsBuilder

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 EventInterceptionAdviceArgsBuilder : InterceptionAdviceArgsBuilder

The EventInterceptionAdviceArgsBuilder type exposes the following members.

Constructors
  NameDescription
Public methodEventInterceptionAdviceArgsBuilder
Initializes a new EventInterceptionAdviceArgsBuilder.
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 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