/// <summary>
        /// Adds the actions from the specified factory.
        /// </summary>
        /// <param name="actionFactory">The action factory.</param>
        public void Add(IActionFactory actionFactory)
        {
            if (actionFactory == null)
            {
                throw new ArgumentNullException("actionFactory");
            }

            ICollection <Action> newActions = actionFactory.CreateActions();

            Add(newActions);
        }
        /// <summary>
        /// Adds the actions from the specified factory.
        /// </summary>
        /// <param name="actionFactory">The action factory.</param>
        public void Add(IActionFactory actionFactory)
        {
            if (actionFactory == null)
            {
                throw new ArgumentNullException("actionFactory");
            }

            ICollection<Action> newActions = actionFactory.CreateActions();

            Add(newActions);
        }