internal static void ExportView(string viewName, string path, IExportSettings options) { ExportEngine ee = new ExportEngine(); ee.ExportView(viewName, path, options); ee.Close(); // does nothing, not needed }
internal static void ExportCategory(string name, IEnumerable <ICursorFilter> filters, string path, IExportSettings options) { ExportEngine ee = new ExportEngine(); if (filters == null) { ee.ExportCategory(name, path, options); } else { ee.ExportCategory(name, filters, path, options); } ee.Close(); // does nothing, not needed }