/// <summary>
        /// Adds the specified command to this <see cref="TaconiteResult"/>.
        /// </summary>
        /// <param name="command">The command to add.</param>
        public void AddCommand(TaconiteCommand command)
        {
            if (command == null)
            throw new ArgumentNullException("command");

              _commands.Add(command);
        }
Exemple #2
0
        /// <summary>
        /// Adds the specified command to this <see cref="TaconiteResult"/>.
        /// </summary>
        /// <param name="command">The command to add.</param>
        public void AddCommand(TaconiteCommand command)
        {
            if (command == null)
            {
                throw new ArgumentNullException("command");
            }

            _commands.Add(command);
        }