Making error messages coming back as list
fixing regression with dialog window showing as markdown (there were assumptions on it not being markdown)
This commit is contained in:
parent
45b1a32e03
commit
34b57c43b0
13 changed files with 127 additions and 141 deletions
|
|
@ -37,8 +37,6 @@ using MatterHackers.MatterControl.Library;
|
|||
|
||||
namespace MatterHackers.MatterControl
|
||||
{
|
||||
public enum ExportResult { Success, Failure, Failure_With_Error };
|
||||
|
||||
public interface IExportPlugin
|
||||
{
|
||||
string ButtonText { get; }
|
||||
|
|
@ -48,7 +46,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
void Initialize(PrinterConfig printer);
|
||||
|
||||
Task<ExportResult> Generate(IEnumerable<ILibraryItem> libraryItems, string outputPath, IProgress<ProgressStatus> progress, CancellationToken cancellationToken);
|
||||
Task<List<string>> Generate(IEnumerable<ILibraryItem> libraryItems, string outputPath, IProgress<ProgressStatus> progress, CancellationToken cancellationToken);
|
||||
|
||||
bool Enabled { get; }
|
||||
string DisabledReason { get; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue