Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 220.127.116.11 (18.104.22.168)
public abstract class AspectWeaverInstance : ITaggable, IAspectInstance
Thetype exposes the following members.
Initializes a new.
Gets the compile-time instance of the aspect.
Gets the annotation (custom attribute) constructing the aspect instance, if any.
Gets the field that contains, at runtime, the deserialized instance of the aspect.
Gets the type of the current aspect.
Gets the parent AspectWeaver.
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.
Determines whether the current aspect instance is instance-scoped.
Gets the priority of the current aspect.
Determines whether the current aspect requires a runtime instance.
Determines whether the current aspect requires initialization of the runtime instance.
Gets the field containing the reflection object representing, at run time, the element of code to which the current aspect is applied.
Gets the symbol representing the current aspect instance.
Gets the element to which the aspect is applied.
Gets the reflection object representing the element of code to which the current aspect is applied.
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.
Emits instructions that build the custom attribute from.
Emits instructions that initialize the aspect at runtime. These instructions will be injected in the static constructor of the PostSharp implementation details object, after the field containing the runtime instance of the instance (AspectRuntimeInstanceField) has been initialized.
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 an object (i.e., reference type) from the aspect configuration.
Gets a value (i.e., value type) from the aspect configuration.
Serves as the default hash function.(Inherited from Object.)
Gets the type ofused to serialize the current aspect.
Gets the Type of the current instance.(Inherited from Object.)
Initializes the aspect instance, typically by invoking some CompileTimeInitialize method.
Creates a shallow copy of the current Object.(Inherited from Object.)
This method is invoked afterhas been initialized. The aspect configuration is loaded at this point.
Provides the transformations required by the advice weavers (AdviceWeavers).
Allows aspect weavers to provide other aspects.
Provides the transformations required by the current aspect (not those required by independent advices).
Returns a string that represents the current object.(Overrides Object.ToString().)
Validates the aspect use in itself, without regard to other aspects.
Validates whether the specified type is supported by this aspect weaver.