AspectWeaverInstance Methods |
The AspectWeaverInstance type exposes the following members.
Name | Description | |
---|---|---|
EmitAspectConstruction |
Emits instructions that build the custom attribute from AspectInfo.
| |
EmitRuntimeInitialization |
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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetConfigurationNullableValue<TConfiguration, TValue> | ||
GetConfigurationObject<TConfiguration, TValue> |
Gets an object (i.e., reference type) from the aspect configuration.
| |
GetConfigurationValue<TConfiguration, TValue> |
Gets a value (i.e., value type) from the aspect configuration.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLicenseRequirements | ||
GetSerializerType |
Gets the type of AspectSerializer used to serialize the current aspect.
| |
GetTag<T> | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUnsupportedTargetAction | ||
GetWeavingSymbolAttributes | ||
IncrementLinesOfCodeAvoided | ||
InitializeAspect |
Initializes the aspect instance, typically by invoking some CompileTimeInitialize method.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnInitialized |
This method is invoked after AspectWeaverInstance has been initialized.
The aspect configuration is loaded at this point.
| |
ProvideAdviceTransformations |
Provides the transformations required by the advice weavers (AdviceWeavers).
| |
ProvideAspects |
Allows aspect weavers to provide other aspects.
| |
ProvideAspectTransformations |
Provides the transformations required by the current aspect (not those required
by independent advices).
| |
SetTag<T> | ||
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) | |
Validate |
Validates the aspect use in itself, without regard to other aspects.
| |
ValidateTargetType |
Validates whether the specified type is supported by this aspect weaver.
| |
ValidateTargetTypeSignature |
Validates whether the specified type is supported by this aspect weaver.
|