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: 5.0.38.0 (5.0.38.0)
Syntax
C#
public IAspect Aspect { get; }

Property Value

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