The contextual information available during a form submission.
Esempio n. 1
0
        /// <summary>
        /// Handles a form submission.
        /// </summary>
        /// <param name="context">
        /// The form submission context.
        /// </param>
        public void HandleForm(FormSubmissionContext context)
        {
            var config = DeserializeConfiguration();

            if (Handler == null)
            {
                Handler = new T();
            }
            Handler.HandleForm(context, config);
        }
Esempio n. 2
0
        /// <summary>
        /// Handles a form submission.
        /// </summary>
        /// <param name="context">
        /// The form submission context.
        /// </param>
        public void HandleForm(FormSubmissionContext context)
        {
            var config = DeserializeConfiguration();

            Handler.HandleForm(context, config);
        }