/// <summary> /// This method is used by the Sandcastle Help File Builder to let the plug-in perform its own /// configuration. /// </summary> /// <param name="project">A reference to the active project</param> /// <param name="currentConfig">The current configuration XML fragment</param> /// <returns>A string containing the new configuration XML fragment</returns> /// <remarks>The configuration data will be stored in the help file builder project</remarks> public string ConfigurePlugIn(SandcastleProject project, string currentConfig) { using (XPathReflectionFileFilterConfigDlg dlg = new XPathReflectionFileFilterConfigDlg(currentConfig)) { if (dlg.ShowDialog() == DialogResult.OK) { currentConfig = dlg.Configuration; } } return(currentConfig); }
/// <summary> /// This method is used by the Sandcastle Help File Builder to let the /// plug-in perform its own configuration. /// </summary> /// <param name="project">A reference to the active project</param> /// <param name="currentConfig">The current configuration XML fragment</param> /// <returns>A string containing the new configuration XML fragment</returns> /// <remarks>The configuration data will be stored in the help file /// builder project.</remarks> public string ConfigurePlugIn(SandcastleProject project, string currentConfig) { using(XPathReflectionFileFilterConfigDlg dlg = new XPathReflectionFileFilterConfigDlg(currentConfig)) { if(dlg.ShowDialog() == DialogResult.OK) currentConfig = dlg.Configuration; } return currentConfig; }