PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / IAspect­Instance Interface / IAspect­Instance Properties / IAspect­Instance.​Aspect Property

IAspectInstance.Aspect Property

Gets the aspect instance.

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

Property Value

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