Skip to content

4. Result Decision Type

Smrecz edited this page Sep 1, 2020 · 1 revision

Result IDecisionResult<T>

Result is a leaf type and serves as a final Decision.


Result instance is created by calling .Build() on DecisionResultBuilder<T>.

Minimal Result configuration can be just a Title.

Title

Title is a string defining Result name.
Title should be unique in scope of decision tree.

Defined by AddTitle(string)

Optional node configurations

Action

Action is an expression that will be called on Result evaluation.

Defined by AddAction(Expression<Func<T, T>>)

Clone this wiki locally