public Parameters GetParameters(IMatrixData mdata, ref string errorString) { string[] selection = ArrayUtils.Concat(mdata.NumericColumnNames, mdata.ColumnNames); return (new Parameters(ArrayUtils.Concat(PerseusUtils.GetNumFilterParams(selection), PerseusPluginUtils.CreateFilterModeParam(true)))); }
public PerseusLoadMatrixControl(IList <string> items, string filename) { InitializeComponent(); MultiListSelector1.Init(items, new[] { "Main", "Numerical", "Categorical", "Text", "Multi-numerical" }, new Func <string[], Parameters>[] { s => new Parameters(PerseusUtils.GetNumFilterParams(s)), s => new Parameters(PerseusUtils.GetNumFilterParams(s)), null, null, null }); if (!string.IsNullOrEmpty(filename)) { UpdateFile(filename); } }