Class InternationalizationServiceBase
Abstract base class - InternationalizationServiceBase
Inheritance
System.Object
InternationalizationServiceBase
Implements
Cmc.Core.ServiceModel.IEntityService<InternationalizationEntity>
Cmc.Core.ServiceModel.IService
Namespace: Cmc.Nexus.Common.Services
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public abstract class InternationalizationServiceBase : EntityService<InternationalizationEntity>, IInternationalizationService, IEntityService<InternationalizationEntity>, IService
Constructors
InternationalizationServiceBase()
Declaration
protected InternationalizationServiceBase()
Methods
DownloadDataTranslation(DataTranslationDownloadRequest)
Download Data translation file in process time
Declaration
public virtual DataTranslationDownloadResponse DownloadDataTranslation(DataTranslationDownloadRequest request)
Parameters
Type | Name | Description |
---|---|---|
DataTranslationDownloadRequest | request |
Returns
Type | Description |
---|---|
DataTranslationDownloadResponse |
Get(String)
Get by code
Declaration
public virtual InternationalizationEntity Get(string localeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localeName | Locale Name |
Returns
Type | Description |
---|---|
InternationalizationEntity |
GetDefaultActiveLocale()
Get Default Active Locale name
Declaration
public virtual string GetDefaultActiveLocale()
Returns
Type | Description |
---|---|
System.String | Locale Name |
GetResourceFile(String)
Get the Resource for the culture
Declaration
public virtual string GetResourceFile(string localeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localeName | Locale Name |
Returns
Type | Description |
---|---|
System.String | string containing the file contents |
GetTextFile(String)
Get the text file for the client
Declaration
public virtual string GetTextFile(string localeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localeName | Locale Name |
Returns
Type | Description |
---|---|
System.String | string containing the file contents |
GetTextFileJs(String)
Get the text JS file for the client
Declaration
public virtual string GetTextFileJs(string localeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localeName | Locale Name |
Returns
Type | Description |
---|---|
System.String | string containing the file contents |
IsLocaleNameActive(String)
Is the locale name active
Declaration
public virtual bool IsLocaleNameActive(string localeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localeName | Locale Name |
Returns
Type | Description |
---|---|
System.Boolean | boolean |
QueueDataTranslation(DataTranslationQueueRequest)
Queue Data translation file in process time
Declaration
public virtual DataTranslationQueueResponse QueueDataTranslation(DataTranslationQueueRequest request)
Parameters
Type | Name | Description |
---|---|---|
DataTranslationQueueRequest | request |
Returns
Type | Description |
---|---|
DataTranslationQueueResponse |
UploadDataTranslation(DataTranslationUploadRequest)
Upload Data translation file in process time
Declaration
public virtual DataTranslationUploadResponse UploadDataTranslation(DataTranslationUploadRequest request)
Parameters
Type | Name | Description |
---|---|---|
DataTranslationUploadRequest | request |
Returns
Type | Description |
---|---|
DataTranslationUploadResponse |
Implements
Cmc.Core.ServiceModel.IEntityService<>
Cmc.Core.ServiceModel.IService