Example #1
0
 public DecisionMaker(
     Guid id,
     string name,
     IActionSetSelectionStrategy actionSetSelectionStrategy,
     IReadOnlyCollection <ActionSet> actionSets)
 {
     Id   = id;
     Name = name;
     ActionSetSelectionStrategy = actionSetSelectionStrategy;
     ActionSets = actionSets;
 }
Example #2
0
 static DecisionMaker DecisionMaker(IActionSetSelectionStrategy strategy, params ActionSet[] actionSets) =>
 new DecisionMaker(
     Guid.NewGuid(),
     Guid.NewGuid().ToString(),
     strategy,
     actionSets);