Skip to content

5. Action Decision Type

Smrecz edited this page Sep 1, 2020 · 1 revision

Action IDecisionAction<T>

Action performes defined action before following the path.


Action instance is created by calling .Build() on DecisionActionBuilder<T>.

Minimal Node configuration consists of Title, Action and Path.

Title

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

Defined by AddTitle(string)

Action

Action is an expression that will be called before evaluating path's Decision.

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

Path

Path is a reference to another Decision and .Evaluate() will be called on that reference after taking the action.

Defined by AddPath(IDecision<T>)

Clone this wiki locally