Interface ICultureClient
Allows fetching culture information from M.
Namespace: Stylelabs.M.Sdk.Clients
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface ICultureClient
Methods
GetAllCulturesAsync()
Gets all installed cultures in M.
Declaration
Task<IList<CultureInfo>> GetAllCulturesAsync()
Returns
Type | Description |
---|---|
Task<IList<CultureInfo>> | All installed cultures. |
GetAllCulturesCachedAsync()
Gets all cached installed cultures in M.
Declaration
Task<IList<CultureInfo>> GetAllCulturesCachedAsync()
Returns
Type | Description |
---|---|
Task<IList<CultureInfo>> | All cached installed cultures. |
GetDefaultCultureAsync()
Gets the default culture in M.
Declaration
Task<CultureInfo> GetDefaultCultureAsync()
Returns
Type | Description |
---|---|
Task<CultureInfo> | The default culture. |
GetDefaultCultureCachedAsync()
Gets the cached default culture in M.
Declaration
Task<CultureInfo> GetDefaultCultureCachedAsync()
Returns
Type | Description |
---|---|
Task<CultureInfo> | The default culture. |
Can we improve this article ? Provide feedback