PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Instance­Info Class

AspectInstanceInfo Class

Stores an AspectSpecification and its target MetadataDeclaration.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class AspectInstanceInfo : IAspectInstance

The AspectInstanceInfo type exposes the following members.

Public propertyAspect
Gets the aspect object, if available.
Public propertyAspectConfiguration
Gets the aspect configuration, if any.
Public propertyAspectConstruction
Gets the annotation (custom attribute) constructing the aspect instance, if any.
Public propertyAspectType
Public propertyIsInitialized
Public propertySymAspectInstance
Gets the symbol representing the current aspect instance.
Public propertyTargetElement
Gets the element of code to which the aspect has been applied.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also