---
title: "Class FluentSettings"
slug: "fluent-sdk--stylelabs.m.sdk.fluent.wrappers.fluentsettings"
abstract: ""
---
# Class FluentSettings

Provides access to settings in a fluent way.

## Inheritance

object

FluentSettings

## Namespace: StylelabsStylelabs.MSdkFluentWrappers

## Assembly: Stylelabs.M.Sdk.Fluent.dll

## Syntax

```csharp
public class FluentSettings
```

## Constructors

### FluentSettings(ISettingsClient, IEntitiesClient, IEntityLoadConfiguration)

Initializes a new instance of the [FluentSettings](https://doc.sitecore.com/ch/en/developers/api-reference/fluent-sdk--stylelabs.m.sdk.fluent.wrappers.fluentsettings.html) class.

#### Declaration

```csharp
public FluentSettings(ISettingsClient settingsClient, IEntitiesClient entitiesClient, IEntityLoadConfiguration entityLoadConfiguration)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ISettingsClient](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.clients.isettingsclient.html) | settingsClient | The [ISettingsClient](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.clients.isettingsclient.html) instance. |
| [IEntitiesClient](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.clients.ientitiesclient.html) | entitiesClient | The [IEntitiesClient](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.clients.ientitiesclient.html) instance. |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) | entityLoadConfiguration | The [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) instance. |

## Methods

### GetSetting(string, string)

Gets the setting with the specified `name` from the specified `category`. If the category or setting could not be found, null is returned.

#### Declaration

```csharp
public FluentEntity GetSetting(string category, string name)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | category | The category to get the setting from. |
| string | name | The name of the setting to get. |

#### Returns

| Type | Description |
| --- | --- |
| [FluentEntity](https://doc.sitecore.com/ch/en/developers/api-reference/fluent-sdk--stylelabs.m.sdk.fluent.models.fluententity.html) | A [FluentEntity](https://doc.sitecore.com/ch/en/developers/api-reference/fluent-sdk--stylelabs.m.sdk.fluent.models.fluententity.html). |

### GetSettingsForCategory(string)

Gets the settings for the specified `category`.

#### Declaration

```csharp
public IList<FluentEntity> GetSettingsForCategory(string category)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | category | The category to get the setting for. |

#### Returns

| Type | Description |
| --- | --- |
| IList<>[FluentEntity](https://doc.sitecore.com/ch/en/developers/api-reference/fluent-sdk--stylelabs.m.sdk.fluent.models.fluententity.html) | A [FluentEntity](https://doc.sitecore.com/ch/en/developers/api-reference/fluent-sdk--stylelabs.m.sdk.fluent.models.fluententity.html). |
