---
title: "Interface ICultureLoader"
slug: "sdk--stylelabs.m.sdk.utilities.icultureloader"
abstract: ""
---
# Interface ICultureLoader

Allows fetching culture information from M.

## Namespace: StylelabsStylelabs.MSdkUtilities

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface ICultureLoader
```

## Methods

### GetAllCulturesAsync()

Gets all installed cultures in M.

#### Declaration

```csharp
Task<CultureInfo[]> GetAllCulturesAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | All cultures. |

### GetAllCulturesCachedAsync()

Gets all installed cultures in M (cached).

#### Declaration

```csharp
Task<CultureInfo[]> GetAllCulturesCachedAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | All cached cultures. |

### GetDefaultCultureAsync()

Gets the default culture in M.

#### Declaration

```csharp
Task<CultureInfo> GetDefaultCultureAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | The default culture. |

### GetDefaultCultureCachedAsync()

Gets the default culture in M (cached).

#### Declaration

```csharp
Task<CultureInfo> GetDefaultCultureCachedAsync()
```

#### Returns

| Type | Description |
| --- | --- |
| Task<>CultureInfo | The default cached culture. |
