FieldLevelAspectWeaverInstance Class |
PostSharp.Sdk.AspectWeaver.AspectWeaverInstance
PostSharp.Sdk.AspectWeaver.AspectWeavers.FieldLevelAspectWeaverInstance
Namespace: PostSharp.Sdk.AspectWeaver.AspectWeavers
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract class FieldLevelAspectWeaverInstance : AspectWeaverInstance
The FieldLevelAspectWeaverInstance type exposes the following members.
Name | Description | |
---|---|---|
FieldLevelAspectWeaverInstance |
Initializes a new FieldLevelAspectWeaverInstance.
|
Name | Description | |
---|---|---|
Aspect |
Gets the compile-time instance of the aspect.
(Inherited from AspectWeaverInstance.) | |
AspectConstruction |
Gets the annotation (custom attribute) constructing the aspect instance, if any.
(Inherited from AspectWeaverInstance.) | |
AspectRuntimeInstanceField |
Gets the field that contains, at runtime, the deserialized instance
of the aspect.
(Inherited from AspectWeaverInstance.) | |
AspectType |
Gets the type of the current aspect.
(Inherited from AspectWeaverInstance.) | |
AspectWeaver |
Gets the parent AspectWeaver.
(Inherited from AspectWeaverInstance.) | |
Dependencies |
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.
(Inherited from AspectWeaverInstance.) | |
FieldLevelAspect |
Gets the aspect.
| |
IsInstanceScoped |
Determines whether the current aspect instance is instance-scoped.
(Inherited from AspectWeaverInstance.) | |
Priority |
Gets the priority of the current aspect.
(Inherited from AspectWeaverInstance.) | |
RequiresRuntimeInstance |
Determines whether the current aspect requires a runtime instance.
(Inherited from AspectWeaverInstance.) | |
RequiresRuntimeInstanceInitialization |
Determines whether the current aspect requires initialization of the runtime instance.
(Inherited from AspectWeaverInstance.) | |
RuntimeReflectionObjectField |
Gets the field containing the reflection object representing, at run time, the element of code to which
the current aspect is applied.
(Inherited from AspectWeaverInstance.) | |
SymAspectInstance |
Gets the symbol representing the current aspect instance.
(Inherited from AspectWeaverInstance.) | |
TargetElement |
Gets the element to which the aspect is applied.
(Inherited from AspectWeaverInstance.) | |
TargetField |
Gets the target field.
| |
TargetReflectionField |
Gets the FieldInfo of the type to which the current aspect is applied.
| |
TargetReflectionObject |
Gets the reflection object representing the element of code to which the current aspect is applied.
(Inherited from AspectWeaverInstance.) | |
TypeLevelDependencies |
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.
(Inherited from AspectWeaverInstance.) |
Name | Description | |
---|---|---|
EmitAspectConstruction |
Emits instructions that build the custom attribute from AspectInfo.
(Inherited from AspectWeaverInstance.) | |
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.
(Inherited from AspectWeaverInstance.) | |
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> | (Inherited from AspectWeaverInstance.) | |
GetConfigurationObject<TConfiguration, TValue> |
Gets an object (i.e., reference type) from the aspect configuration.
(Inherited from AspectWeaverInstance.) | |
GetConfigurationValue<TConfiguration, TValue> |
Gets a value (i.e., value type) from the aspect configuration.
(Inherited from AspectWeaverInstance.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLicenseRequirements | (Inherited from AspectWeaverInstance.) | |
GetSerializerType |
Gets the type of AspectSerializer used to serialize the current aspect.
(Inherited from AspectWeaverInstance.) | |
GetTag<T> | (Inherited from AspectWeaverInstance.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUnsupportedTargetAction | (Inherited from AspectWeaverInstance.) | |
GetWeavingSymbolAttributes | (Inherited from AspectWeaverInstance.) | |
IncrementLinesOfCodeAvoided | (Inherited from AspectWeaverInstance.) | |
InitializeAspect |
Initializes the aspect instance, typically by invoking some CompileTimeInitialize method.
(Overrides AspectWeaverInstance.InitializeAspect().) | |
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.
(Inherited from AspectWeaverInstance.) | |
ProvideAdviceTransformations |
Provides the transformations required by the advice weavers (AdviceWeavers).
(Inherited from AspectWeaverInstance.) | |
ProvideAspects |
Allows aspect weavers to provide other aspects.
(Inherited from AspectWeaverInstance.) | |
ProvideAspectTransformations |
Provides the transformations required by the current aspect (not those required
by independent advices).
(Inherited from AspectWeaverInstance.) | |
SetTag<T> | (Inherited from AspectWeaverInstance.) | |
ToString | Returns a string that represents the current object. (Inherited from AspectWeaverInstance.) | |
Validate |
Validates the aspect use in itself, without regard to other aspects.
(Inherited from AspectWeaverInstance.) | |
ValidateTargetType |
Validates whether the specified type is supported by this aspect weaver.
(Inherited from AspectWeaverInstance.) | |
ValidateTargetTypeSignature |
Validates whether the specified type is supported by this aspect weaver.
(Inherited from AspectWeaverInstance.) |