1. Stylelabs.M.Sdk.Clients

Interface ICultureClient

Allows fetching culture information from M.

Namespace: StylelabsStylelabs.MSdkClients

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface ICultureClient

Methods

GetAllCulturesAsync()

Gets all installed cultures in M.

Declaration

Task<IList<CultureInfo>> GetAllCulturesAsync()

Returns

TypeDescription
Task<>IList<>CultureInfoAll installed cultures.

GetAllCulturesCachedAsync()

Gets all cached installed cultures in M.

Declaration

Task<IList<CultureInfo>> GetAllCulturesCachedAsync()

Returns

TypeDescription
Task<>IList<>CultureInfoAll cached installed cultures.

GetDefaultCultureAsync()

Gets the default culture in M.

Declaration

Task<CultureInfo> GetDefaultCultureAsync()

Returns

TypeDescription
Task<>CultureInfoThe default culture.

GetDefaultCultureCachedAsync()

Gets the cached default culture in M.

Declaration

Task<CultureInfo> GetDefaultCultureCachedAsync()

Returns

TypeDescription
Task<>CultureInfoThe default culture.
If you have suggestions for improving this article, let us know!