PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IAnnotation­Provider Interface / IAnnotation­Provider Methods / IAnnotation­Provider.​Get­Annotations Method

IAnnotationProvider.GetAnnotations Method

Enumerates the custom attribute instances (IAnnotationInstance) provided by the current task.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IEnumerator<IAnnotationInstance> GetAnnotations()

Return Value

Type: IEnumerator<IAnnotationInstance>
An enumerator of custom attributes provided by the current task.
See Also