Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract class AspectWeaver
Thetype exposes the following members.
Initializes a new.
Gets the collection of weavers of advices included in the current aspect type.
Gets the Type of the aspect configuration custom attribute.
Gets the parent AspectInfrastructureTask.
Gets the aspect type processed by the current.
Gets the parent AspectWeaverTask.
Gets the aspect configuration that was provided declaratively, using a custom attribute of type.
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.
Determines whether the current aspect type is instance-scoped.
Count of lines of code avoided set explicitly using.
Count of lines of code avoided by each usage of the aspect.
Gets the ModuleDeclaration being processed.
Gets the ReflectionObjectBuilder able to emit instructions that load the reflection object corresponding to the element of code to which the aspects of this are applied.
Determines whether the current aspect requires a runtime instance.
Determines whether the current aspect requires initialization of the runtime instance.
Determines whether the currentshall need a reference to the reflection object representing the element of code to which aspects are applied.
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.
Gets the kinds of elements of code to which aspects of the currentcan be applied.
Gets the set of effects that are waived (opted out) for the current.
|AddLicenseRequirement|| Obsolete. |
Adds a license requirement for the current.
Remove the effects waived from the current aspect type (as added to the WaivedEffects collection) from transformation.
Creates a new AspectWeaverInstance for a given aspect instance.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets a human-readable name of the current aspect type.
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Initialize the current weaver and its aspect.
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Overrides Object.ToString().)
Validates an aspect instance, i.e. a concrete usage of an aspect of the type supported by the current.