(metadataKey: string)
| 17 | constructor(private namespace?: string) {} |
| 18 | |
| 19 | private getMetadataKey(metadataKey: string): string { |
| 20 | // prefix namespace, if provided, to the metadata key |
| 21 | return this.namespace ? this.namespace + ':' + metadataKey : metadataKey; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * define metadata for a target class or it's property/method |
no outgoing calls
no test coverage detected