AspectInstanceInfo Class |
Stores an AspectSpecification and its target MetadataDeclaration.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class AspectInstanceInfo : IAspectInstance
The AspectInstanceInfo type exposes the following members.
Name | Description | |
---|---|---|
Aspect |
Gets the aspect object, if available.
| |
AspectConfiguration |
Gets the aspect configuration, if any.
| |
AspectConstruction |
Gets the annotation (custom attribute) constructing the aspect instance, if any.
| |
AspectType | ||
IsInitialized | ||
SymAspectInstance |
Gets the symbol representing the current aspect instance.
| |
TargetElement |
Gets the element of code to which the aspect has been applied.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |