/// <summary> /// Whenever the user request to configure the script's settings, the method will be called with /// latest information from the application's running instance as parameters. Also, a script can /// define and add its own information to the data table and pass them further down to the exporters. /// </summary> public void Setup(IList <IExporter> exporters, IIndexField[] indexFields, IDictionary <string, string> releaseData) { SimpleReleaseSetup setupDialog = new SimpleReleaseSetup(exporters, m_Destination, m_FileTypeId, m_WorkingMode); if (setupDialog.ShowDialog() != DialogResult.OK) { return; } m_Destination = setupDialog.Destination; m_FileTypeId = setupDialog.FileTypeId; m_WorkingMode = setupDialog.WorkingMode; }
/// <summary> /// Whenever the user request to configure the script's settings, the method will be called with /// latest information from the application's running instance as parameters. Also, a script can /// define and add its own information to the data table and pass them further down to the exporters. /// </summary> public void Setup(IList<IExporter> exporters, IIndexField[] indexFields, IDictionary<string, string> releaseData) { SimpleReleaseSetup setupDialog = new SimpleReleaseSetup(exporters, m_Destination, m_FileTypeId, m_WorkingMode); if (setupDialog.ShowDialog() != DialogResult.OK) return; m_Destination = setupDialog.Destination; m_FileTypeId = setupDialog.FileTypeId; m_WorkingMode = setupDialog.WorkingMode; }