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

AspectWeaver Properties

The AspectWeaver type exposes the following members.

Properties
  NameDescription
Public propertyAdviceWeavers
Gets the collection of weavers of advices included in the current aspect type.
Public propertyAspectConfigurationAttributeSystemType
Gets the Type of the aspect configuration custom attribute.
Public propertyAspectDescription
Public propertyAspectInfrastructureTask
Gets the parent AspectInfrastructureTask.
Public propertyAspectRuntimeType
Public propertyAspectType
Gets the aspect type processed by the current AspectWeaver.
Public propertyAspectWeaverTask
Gets the parent AspectWeaverTask.
Public propertyCanTargetAspects
Public propertyDeclarativeConfiguration
Gets the aspect configuration that was provided declaratively, using a custom attribute of type AspectConfigurationAttribute.
Public propertyDependencies
Gets the collection of dependencies (AspectDependency) of the current aspect type (where dependency objects of the current aspect weaver 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 type is instance-scoped.
Public propertyLinesOfCodeAvoidedExplicit
Count of lines of code avoided set explicitly using LinesOfCodeAvoidedAttribute.
Public propertyLinesOfCodeAvoidedImplicitBase
Count of lines of code avoided by each usage of the aspect.
Public propertyModule
Gets the ModuleDeclaration being processed.
Public propertyReflectionObjectBuilder
Gets the ReflectionObjectBuilder able to emit instructions that load the reflection object corresponding to the element of code to which the aspects of this AspectWeaver are applied.
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 propertyRequiresRuntimeReflectionObject
Determines whether the current AspectWeaver shall need a reference to the reflection object representing the element of code to which aspects are applied.
Public propertyTypeLevelDependencies
Gets the collection of dependencies (AspectDependency) of the current aspect type (where dependency objects of the current aspect weaver 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.
Public propertyValidTargets
Gets the kinds of elements of code to which aspects of the current AspectWeaver can be applied.
Public propertyWaivedEffects
Gets the set of effects that are waived (opted out) for the current AspectWeaver.
See Also