Plugins little refactor

This commit is contained in:
2025-12-02 15:21:27 +01:00
parent 587d4d66f8
commit 248106a239
5 changed files with 295 additions and 48 deletions

View File

@@ -0,0 +1,13 @@
using DiunaBI.Domain.Entities;
using DiunaBI.Infrastructure.Interfaces;
namespace DiunaBI.Infrastructure.Plugins;
public abstract class BaseDataExporter : IDataExporter
{
public abstract string ExporterType { get; }
public virtual bool CanExport(string exporterType) => ExporterType == exporterType;
public abstract void Export(Layer layer);
}