> 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/3.1/api/csharp/yarn.saliency/yarn.saliency.icontentsaliencystrategy/yarn.saliency.icontentsaliencystrategy.contentwasselected.md).

# ContentWasSelected(ContentSaliencyOption)

Method in [IContentSaliencyStrategy](/3.1/api/csharp/yarn.saliency/yarn.saliency.icontentsaliencystrategy.md)

## Summary

Called by Yarn Spinner to indicate that a piece of salient content has been selected, and this system should update any state related to how it selects content.

```csharp
void ContentWasSelected(ContentSaliencyOption content);
```

## Remarks

If a content saliency strategy does not need to keep track of any state, then this method can be empty.

## Parameters

| Name                                                                                                                | Description                         |
| ------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [Yarn.Saliency.ContentSaliencyOption](/3.1/api/csharp/yarn.saliency/yarn.saliency.contentsaliencyoption.md) content | The content that has been selected. |
