src/app/services/acronym-catalog.service.ts
The Acronym Translation Service replaces hard to understans acronyms or names used directly on a model's source code. This service therefore provides significant labels when presenting information for end users.
Properties |
|
Methods |
constructor(http: HttpClient, locale: string, errorHandler: ErrorHandlerService)
|
||||||||||||
Class contructor user http client class
Parameters :
|
getAcronymCatalog | ||||||||||||
getAcronymCatalog(modelID: string, lang: string)
|
||||||||||||
Get model acronym catalog by model id and target language
Parameters :
Returns :
void
|
getAcronymDictionary |
getAcronymDictionary()
|
Return a copy of the acronym dictionary
Returns :
any
|
getAcronymUpdateListener |
getAcronymUpdateListener()
|
Return acronym dictionary updated subject
Returns :
any
|
Private acronymCatalog |
Type : any
|
Holds the current acronym dictionary |
Private acronymCatalogUpdated |
Default value : new Subject<any>()
|
Subscription subject to the dictionary |
Public locale |
Type : string
|
Decorators :
@Inject(LOCALE_ID)
|