# MentorRecipeSourceResult record

> The recipes a IMentorRecipeSource gives, and those it left out with their reason.

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

## Definition

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

`public sealed record MentorRecipeSourceResult : IEquatable<MentorRecipeSourceResult>`

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

## Constructors

`public MentorRecipeSourceResult(IReadOnlyList<MentorRecipeDefinition> Recipes, IReadOnlyList<MentorRecipeRejection> Rejected)`

The recipes a [`IMentorRecipeSource`](https://docs.mentoragent.net/api/novior-mentoragent-core/imentorrecipesource) gives, and those it left out with their reason.

**Parameters**

- `Recipes`: The definitions, in the order the source gives them.
- `Rejected`: What the source itself left out, with a [`MentorRecipeRejectionReasons`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorreciperejectionreasons) code or one of its own.

## Properties

### `Precedence`

`public MentorRecipePrecedence Precedence { get; init; }`

Who wins when one of these recipes has the name of a UI action the page registers in code (`RegisterUIAction`): the code, by default, or the source. Any other tool — an action of the application, a tool of an MCP server, one of MentorAgent's — always wins over a recipe.

### `Recipes`

`public IReadOnlyList<MentorRecipeDefinition> Recipes { get; init; }`

The definitions, in the order the source gives them.

### `Rejected`

`public IReadOnlyList<MentorRecipeRejection> Rejected { get; init; }`

What the source itself left out, with a [`MentorRecipeRejectionReasons`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorreciperejectionreasons) code or one of its own.

---

- Previous: [MentorRecipeSourceReport record](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipesourcereport.md)
- Next: [MentorRecipeStepDefinition record](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepdefinition.md)
