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

AspectWeaverInstance.TargetElement Property

Gets the element to which the aspect is applied.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
public MetadataDeclaration TargetElement { get; }

Property Value

Type: MetadataDeclaration
See Also