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

IAnnotationRepositoryService.GetAnnotationsOfType Method

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