PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Annotation­Repository­Task Class / Annotation­Repository­Task Methods / Annotation­Repository­Task.​Get­Annotations­Of­Type Method

AnnotationRepositoryTask.GetAnnotationsOfType Method

Overload List
  NameDescription
Public methodGetAnnotationsOfType(Type, Boolean, Boolean)
Gets all custom attribute instances of a given custom attribute class, given a base Type.
Public methodGetAnnotationsOfType(TypeDefDeclaration, Boolean, Boolean)
Gets all custom attribute instances of a given custom attribute class, given a base TypeDefDeclaration.
See Also