Interface ICultureClient
Version: 4.0
Allows fetching culture information from M.
Namespace: StylelabsStylelabs.MSdkClients
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface ICultureClient
Methods
GetAllCulturesAsync()
Gets all installed cultures in M.
Declaration
RequestResponse
Task<IList<CultureInfo>> GetAllCulturesAsync()
Returns
Type | Description |
---|---|
Task<>IList<>CultureInfo |
All installed cultures. |
GetAllCulturesCachedAsync()
Gets all cached installed cultures in M.
Declaration
RequestResponse
Task<IList<CultureInfo>> GetAllCulturesCachedAsync()
Returns
Type | Description |
---|---|
Task<>IList<>CultureInfo |
All cached installed cultures. |
GetDefaultCultureAsync()
Gets the default culture in M.
Declaration
RequestResponse
Task<CultureInfo> GetDefaultCultureAsync()
Returns
Type | Description |
---|---|
Task<>CultureInfo |
The default culture. |
GetDefaultCultureCachedAsync()
Gets the cached default culture in M.
Declaration
RequestResponse
Task<CultureInfo> GetDefaultCultureCachedAsync()
Returns
Type | Description |
---|---|
Task<>CultureInfo |
The default culture. |