## BasicTextShaperCache class

Implements basic cache for [`ITextShaper`](../itextshaper/) instances. This class is thread-safe.

```csharp
public sealed class BasicTextShaperCache : IDisposable, ITextShaperFactory
```

## Constructors

| Name | Description |
| --- | --- |
| [BasicTextShaperCache](basictextshapercache/)(*[ITextShaperFactory](../itextshaperfactory/)*) | Wraps *factory* and caches [`GetTextShaper`](../itextshaperfactory/gettextshaper/) results. |

## Methods

| Name | Description |
| --- | --- |
| [Dispose](../../aspose.words.shaping/basictextshapercache/dispose/)() | Disposes cached [`ITextShaper`](../itextshaper/) instances. |

### See Also

* interface [ITextShaperFactory](../itextshaperfactory/)
* namespace [Aspose.Words.Shaping](../../aspose.words.shaping/)
* assembly [Aspose.Words](../../)
