コード例 #1
0
        private Command getCommand(CommandCallElement commandCallElement)
        {
            var actualParameters = commandCallElement.ActualParameters.Select(Create);
            var descriptor       = new CommandCallDescriptor(commandCallElement.MethodName, actualParameters);

            return(CommandCallResolver.CreateCommand(descriptor));
        }
コード例 #2
0
 /// <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;
 }