PostSharpAPI ReferencePost­Sharp.​AspectsAspect­InstanceTarget­Element
Open sandboxFocus

AspectInstance.TargetElement Property

TargetElement

Gets the code element (Assembly, Type, FieldInfo, MethodBase, PropertyInfo, EventInfo, ParameterInfo, or LocationInfo) to which the current AspectInstance is applied.

Declaration
public object TargetElement { get; }
Property Value
Type Description
Object