Exemple #1
0
		/// <summary>
		/// Create <see cref="FormRequest"/> instance from the given
		/// <paramref name="response">response</paramref> extracting
		/// form attributes and hidden controls from the form element
		/// with given id.
		/// </summary>
		/// <param name="response">The response to extract values from.</param>
		/// <param name="formId">The id of the form to use.</param>
		/// <remarks>Currently, the <paramref name="formId"/> is ignored, and the
		/// first form is used.</remarks>
		public FormRequest (Response response, string formId)
		{
			_controls = new BaseControlCollection ();
			ExtractFormAndHiddenControls (response, formId);
		}
 /// <summary>
 /// Create <see cref="FormRequest"/> instance from the given
 /// <paramref name="response">response</paramref> extracting
 /// form attributes and hidden controls from the form element
 /// with given id.
 /// </summary>
 /// <param name="response">The response to extract values from.</param>
 /// <param name="formId">The id of the form to use.</param>
 /// <remarks>Currently, the <paramref name="formId"/> is ignored, and the
 /// first form is used.</remarks>
 public FormRequest(Response response, string formId)
 {
     _controls = new BaseControlCollection();
     ExtractFormAndHiddenControls(response, formId);
 }