PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Instance Class / Aspect­Weaver­Instance Properties

AspectWeaverInstance Properties

The AspectWeaverInstance type exposes the following members.

Properties
  NameDescription
Public propertyAspect
Gets the compile-time instance of the aspect.
Public propertyAspectConstruction
Gets the annotation (custom attribute) constructing the aspect instance, if any.
Public propertyAspectRuntimeInstanceField
Gets the field that contains, at runtime, the deserialized instance of the aspect.
Public propertyAspectType
Gets the type of the current aspect.
Public propertyAspectWeaver
Gets the parent AspectWeaver.
Public propertyDependencies
Gets the collection of dependencies (AspectDependency) of the current aspect (where dependency objects of the current aspect occupy the left position of the relationship), for dependency objects that apply on the element of code to which this aspect is applied.
Public propertyIsInstanceScoped
Determines whether the current aspect instance is instance-scoped.
Public propertyPriority
Gets the priority of the current aspect.
Public propertyRequiresRuntimeInstance
Determines whether the current aspect requires a runtime instance.
Public propertyRequiresRuntimeInstanceInitialization
Determines whether the current aspect requires initialization of the runtime instance.
Public propertyRuntimeReflectionObjectField
Gets the field containing the reflection object representing, at run time, the element of code to which the current aspect is applied.
Public propertySymAspectInstance
Gets the symbol representing the current aspect instance.
Public propertyTargetElement
Gets the element to which the aspect is applied.
Public propertyTargetReflectionObject
Gets the reflection object representing the element of code to which the current aspect is applied.
Public propertyTypeLevelDependencies
Gets the collection of dependencies (AspectDependency) of the current aspect (where dependency objects of the current aspect occupy the left position of the relationship), for dependency objects that apply on type declaring the element of code to which this aspect is applied. If the aspect is not applied to a type member (or a parameter of a type member), this property is equal to Dependencies.
See Also