---
title: "Class ProductThemeApplier | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model/ProductThemeApplier/"
---

# Class ProductThemeApplier

> **Inheritance:** `System.Object` -> ProductThemeApplier

###### **Namespace**: [Aurigma.DesignAtoms.Model](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class ProductThemeApplier
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### ProductThemeApplier

```csharp
public ProductThemeApplier(ItemDataHandler.Factory itemDataHandlerFactory)
```

## Methods

### Apply

```csharp
public Task Apply(Product product, ProductThemeConfig theme, ThemeBinding themeBinding = null, RenderingConfig renderingConfig = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Product](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model/Product.md) | *product* |  |
| [Aurigma.DesignAtoms.Configuration.ProductThemeConfig](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration/ProductThemeConfig.md) | *theme* |  |
| [Aurigma.DesignAtoms.Model.Items.ThemeBinding](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Items/ThemeBinding.md) | *themeBinding* |  |
| [Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.md) | *renderingConfig* |  |

##### Returns

`System.Threading.Tasks.Task`

### Apply&lt;T&gt;

```csharp
public Task Apply<T>(T item, ProductThemeConfig theme, ThemeBinding themeBinding = null, RenderingConfig renderingConfig = null)
    where T : Item
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `<T>` | *item* |  |
| [Aurigma.DesignAtoms.Configuration.ProductThemeConfig](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration/ProductThemeConfig.md) | *theme* |  |
| [Aurigma.DesignAtoms.Model.Items.ThemeBinding](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Items/ThemeBinding.md) | *themeBinding* |  |
| [Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.md) | *renderingConfig* |  |

##### Returns

`System.Threading.Tasks.Task`
