/// <summary>
        /// Add a <see cref="CommandSecurityTarget"/> to the <see cref="HandleCommand">action</see>.
        /// </summary>
        /// <param name="action"><see cref="HandleCommand">Action</see> to add to.</param>
        /// <returns><see cref="CommandSecurityTarget"/>.</returns>
        public static CommandSecurityTarget Commands(this HandleCommand action)
        {
            var target = new CommandSecurityTarget();

            action.AddTarget(target);
            return(target);
        }
        /// <summary>
        /// Add an <see cref="HandleCommand">action</see> to describe the handling of <see cref="CommandRequest">commands</see>.
        /// </summary>
        /// <param name="descriptorBuilder"><see cref="ISecurityDescriptorBuilder"/> to extend.</param>
        /// <returns><see cref="HandleCommand"/> for describing the action.</returns>
        public static HandleCommand Handling(this ISecurityDescriptorBuilder descriptorBuilder)
        {
            var action = new HandleCommand();

            descriptorBuilder.Descriptor.AddAction(action);
            return(action);
        }