ModelNeeds
Namespace: E2E.Decision
public sealed record ModelNeeds : IEquatable<ModelNeeds>What a factory needs from its decision model, and how its errors name the fix (upstream’s ModelNeeds).
Inheritance: object
Implements: IEquatable<ModelNeeds>
Constructors
Section titled “Constructors”ModelNeeds(string, string, string)
Section titled “ModelNeeds(string, string, string)”public ModelNeeds(string Caller, string QuestionType, string Example)What a factory needs from its decision model, and how its errors name the fix (upstream’s ModelNeeds).
Parameters
| Name | Type | Description |
|---|---|---|
Caller |
string | The factory, as every error names it, such as DecisionExecutor. |
QuestionType |
string | The question type the factory asks: choice or boolean. |
Example |
string | How a valid model reads, ending the errors about a value that is no decision model. |
Properties
Section titled “Properties”Caller
Section titled “Caller”public string Caller { get; init; }The factory, as every error names it, such as DecisionExecutor.
Value: string
Example
Section titled “Example”public string Example { get; init; }How a valid model reads, ending the errors about a value that is no decision model.
Value: string
QuestionType
Section titled “QuestionType”public string QuestionType { get; init; }The question type the factory asks: choice or boolean.
Value: string