Functions -
reflect
getResourceAnnotations |
Function to retrieve the resource's annotation. |
getServiceAnnotations |
Function to retrieve the service's annotation. |
getResourceAnnotations
(service serviceType, string resourceName, string annotName, string? moduleName)
returns anyFunction to retrieve the resource's annotation.
Parameters
- serviceType service
-
The service that the resource belongs to
- resourceName string
-
Name of the resource
- annotName string
-
Name of the annotation
- moduleName string? (default ())
-
Name of the module
-
Return Type
(any) Returns the resource annotation data
Function to retrieve the service's annotation.
Parameters
- serviceType service
-
The service that the annotation belongs to
- annotName string
-
Name of the annotation
- moduleName string? (default ())
-
Name of the module
-
Return Type
(any) Returns the service annotation data