Skip to content

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>

View source

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.

public string Caller { get; init; }

The factory, as every error names it, such as DecisionExecutor.

Value: string

public string Example { get; init; }

How a valid model reads, ending the errors about a value that is no decision model.

Value: string

public string QuestionType { get; init; }

The question type the factory asks: choice or boolean.

Value: string