/// <summary>
        /// Removes an action from the collection.
        /// </summary>
        /// <param name="action">The action to remove from the collection.</param>
        /// <returns><see langword="true"/> if the action was removed from the collection; otherwise, <see langword="false"/>.</returns>
        internal Boolean Remove(TriggerAction action)
        {
            Contract.Require(action, nameof(action));

            return(actions.Remove(action));
        }
        /// <summary>
        /// Gets a value indicating whether the collection contains the specified action.
        /// </summary>
        /// <param name="action">The action to evaluate.</param>
        /// <returns><see langword="true"/> if the collection contains the specified action; otherwise, <see langword="false"/>.</returns>
        internal Boolean Contains(TriggerAction action)
        {
            Contract.Require(action, nameof(action));

            return(actions.Contains(action));
        }
        /// <summary>
        /// Adds an action to the collection.
        /// </summary>
        /// <param name="action">The action to add to the collection.</param>
        internal void Add(TriggerAction action)
        {
            Contract.Require(action, nameof(action));

            actions.Add(action);
        }