/// <summary> /// Creates a new FormsEditor. /// </summary> /// <param name="forms"> Form collection to load.</param> /// <param name="sessionData"> ResponseBuffer data.</param> /// <param name="parserSettings"> Parser Settings.</param> /// <param name="inspectorConfiguration"> The inspector configuration.</param> public FormsEditor(HtmlFormTagCollection forms, ResponseBuffer sessionData, HtmlParserProperties parserSettings, InspectorConfiguration inspectorConfiguration) : this() { this.SessionData = sessionData; this.InspectorConfig = inspectorConfiguration; // set parser settings _parserSettings = parserSettings; // Load tree LoadFormTree(forms); }
/// <summary> /// Creates a new HtmlParser object. /// </summary> /// <param name="properties"> The Html Parser properties to apply.</param> public HtmlParser(HtmlParserProperties properties) : this() { this.ParserProperties=properties; }