PostSharp6.0/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.0.35.0 (6.0.35.0)
Syntax
C#
public IAspect Aspect { get; }

Property Value

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