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