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

AspectWeaverInstance.Aspect Property

Gets the compile-time instance of the aspect.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public IAspect Aspect { get; }

Property Value

Type: IAspect
May be null if no runtime instance of the aspect is available, typically if the target assembly is linked against the Compact Framework or Silverlight.

Implements

IAspectInstance.Aspect
See Also