# MentorRecipePrecedence enum

> Who wins between a recipe of a source and a UI action of the page with the same name.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipeprecedence
- Verified with: MentorAgent 1.5.0
- Last updated: 2026-11-26
- Packages: Novior.MentorAgent

## Definition

Namespace: `Novior.MentorAgent.Core`. Package: `Novior.MentorAgent`.

`public enum MentorRecipePrecedence`

```shell
dotnet add package Novior.MentorAgent
```

## Values

| Value | Number | Description |
|---|---|---|
| `Code` | 0 | The page's UI action is offered, and the recipe is not: the log says so once for the session. |
| `Source` | 1 | The recipe is offered, and the page's UI action of that name is not: the log says so once for the session. |

---

- Previous: [MentorRecipeParameterType enum](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipeparametertype.md)
- Next: [MentorRecipeRejection record](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorreciperejection.md)
