PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Aspect­Specification Class / Aspect­Specification Properties / Aspect­Specification.​Aspect Property

AspectSpecification.Aspect Property

Gets the aspect instance.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public IAspect Aspect { get; }

Property Value

Type: IAspect
The aspect instance, or null if the AspectConfiguration was provided instead.
See Also