> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.saliency/yarn.saliency.randombestleastrecentlyviewedsaliencystrategy/yarn.saliency.randombestleastrecentlyviewedsaliencystrategy..ctor.md).

# RandomBestLeastRecentlyViewedSaliencyStrategy(IVariableStorage)

Constructor in [RandomBestLeastRecentlyViewedSaliencyStrategy](https://docs.yarnspinner.dev/api/csharp/yarn.saliency/yarn.saliency.randombestleastrecentlyviewedsaliencystrategy.md)

## Summary

Initializes a new instance of the [RandomBestLeastRecentlyViewedSaliencyStrategy](https://docs.yarnspinner.dev/api/csharp/yarn.saliency/yarn.saliency.randombestleastrecentlyviewedsaliencystrategy.md) class.

```csharp
public RandomBestLeastRecentlyViewedSaliencyStrategy(IVariableStorage storage)
```

## Parameters

| Name                                                                                                   | Description                                                         |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [Yarn.IVariableStorage](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.ivariablestorage.md) storage | The variable storage to use when determining which content to show. |
