Interface ICultureLoader

Current version: 4.0

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
TypeDescription
Task<>CultureInfo

All cultures.

GetAllCulturesCachedAsync()

Gets all installed cultures in M (cached).

Declaration
RequestResponse
Task<CultureInfo[]> GetAllCulturesCachedAsync()
Returns
TypeDescription
Task<>CultureInfo

All cached cultures.

GetDefaultCultureAsync()

Gets the default culture in M.

Declaration
RequestResponse
Task<CultureInfo> GetDefaultCultureAsync()
Returns
TypeDescription
Task<>CultureInfo

The default culture.

GetDefaultCultureCachedAsync()

Gets the default culture in M (cached).

Declaration
RequestResponse
Task<CultureInfo> GetDefaultCultureCachedAsync()
Returns
TypeDescription
Task<>CultureInfo

The default cached culture.

Do you have some feedback for us?

If you have suggestions for improving this article,