예제 #1
0
        /// <summary>
        /// Sets the command executor for this command.
        /// </summary>
        /// <param name="executor">The executor to be setted.</param>
        /// <returns>The current builder.</returns>
        public CommandBuilder WithExecutor(ICommandExecutor executor)
        {
            executor.NotNull(nameof(executor));

            Executor = executor;

            return(this);
        }