using Ion.Sdk.Idi;
using System.Threading.Tasks;

namespace Ion.Sdk.DemoApp.Components
{

    public abstract class FileExporter<T>
    {
        public virtual bool RequiresWorkspace => true;
        public virtual bool IsMultiFileExporter => false;
        public abstract string CommandName { get; }
        public abstract string SaveDialogFilter { get; }
        public abstract Task ExportWorkspace(Workspace workspace, string filenameWithPath);
    }

}
