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

AspectInstanceInfo Class

Stores an AspectSpecification and its target MetadataDeclaration.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AspectInstanceInfo

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
public sealed class AspectInstanceInfo : IAspectInstance

The AspectInstanceInfo type exposes the following members.

Properties
  NameDescription
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.
Methods
  NameDescription
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