PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IAnnotation­Instance Interface

IAnnotationInstance Interface

Exposes the fact that a custom attribute (IAnnotationValue) is applied to an element (MetadataDeclaration).

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public interface IAnnotationInstance

The IAnnotationInstance type exposes the following members.

Properties
  NameDescription
Public propertyTargetElement
Element on which the annotation value is applied.
Public propertyValue
Custom attribute value.
See Also