MentorRecipeRejection record
The MentorRecipeRejection record of Novior.MentorAgent.Core: A recipe left out, and why.
On this page
A recipe left out, and why.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Core. Package: Novior.MentorAgent.
public sealed record MentorRecipeRejection : IEquatable<MentorRecipeRejection>
dotnet add package Novior.MentorAgentConstructors
Section titled “Constructors”public MentorRecipeRejection(string Route, string Name, string ReasonCode, string? Detail)
A recipe left out, and why.
Parameters
Route: The recipe's route, as the source gave it; empty when it had none.Name: The recipe's name, as the source gave it; empty when it had none.ReasonCode: AMentorRecipeRejectionReasonscode.Detail: What to correct. Never an exception's message: forMentorRecipeRejectionReasons.SourceFailed, only its type.
Properties
Section titled “Properties”Detail
Section titled “Detail”public string? Detail { get; init; }
What to correct. Never an exception's message: for MentorRecipeRejectionReasons.SourceFailed, only its type.
public string Name { get; init; }
The recipe's name, as the source gave it; empty when it had none.
ReasonCode
Section titled “ReasonCode”public string ReasonCode { get; init; }
A MentorRecipeRejectionReasons code.
public string Route { get; init; }
The recipe's route, as the source gave it; empty when it had none.
