Plugins little refactor
This commit is contained in:
13
DiunaBI.Infrastructure/Plugins/BaseDataExporter.cs
Normal file
13
DiunaBI.Infrastructure/Plugins/BaseDataExporter.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user