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 BaseDataImporter : IDataImporter
{
public abstract string ImporterType { get; }
public virtual bool CanImport(string importerType) => ImporterType == importerType;
public abstract void Import(Layer importWorker);
}