public ActionSet(
     Guid id,
     string name,
     IActionSelectionStrategy actionSelectionStrategy,
     IReadOnlyCollection <Action> actions)
 {
     Id   = id;
     Name = name;
     ActionSelectionStrategy = actionSelectionStrategy;
     Actions = actions;
 }
Exemplo n.º 2
0
 static ActionSet ActionSet(IActionSelectionStrategy strategy, params Action[] actions) =>
 new ActionSet(
     Guid.NewGuid(),
     Guid.NewGuid().ToString(),
     strategy,
     actions);