// Copyright Keysight Technologies 2012-2019
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, you can obtain one at http://mozilla.org/MPL/2.0/.
namespace OpenTap.Plugins.BasicSteps
{
///
/// Custom handler for exporting a table of values to a file.
///
[Display("Table Export")]
public interface ITableExport : ITapPlugin
{
///
/// The extension of the file including the '.'. For example '.zip'.
///
string Extension { get; }
///
/// Name of the file format. Shown when the user selects the format in the GUI.
/// For example, Compressed Using Zip.
///
string Name { get; }
///
/// Exports a table of values to a file. The table should be arranged as an array of rows.
///
/// The values to put in the CSV file.
/// Location of the file.
void ExportTableValues(string[][] table, string parameterFilePath);
}
}