private Command getCommand(CommandCallElement commandCallElement)
        {
            var actualParameters = commandCallElement.ActualParameters.Select(Create);
            var descriptor       = new CommandCallDescriptor(commandCallElement.MethodName, actualParameters);

            return(CommandCallResolver.CreateCommand(descriptor));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandCallControlFlowElement"/> class.
 /// </summary>
 public CommandCallControlFlowElement(CommandCallElement commandCallElement)
     : base(ControlFlowOperationType.CommandCall)
 {
     Assume.NotNull(commandCallElement, nameof(commandCallElement));
     CommandCallElement = commandCallElement;
 }