Add data parser base classes

This commit is contained in:
2025-11-16 16:21:50 +09:00
parent f007d4da19
commit 7991c558cd
7 changed files with 61 additions and 2 deletions

View File

@ -0,0 +1,14 @@
using Hcs.Broker;
using Hcs.WebApp.Data.Hcs;
namespace Hcs.WebApp.BackgroundServices.DataParsers
{
public abstract class DataParserBase(IClient client, IServiceScope scope, Operation operation) : IDataParser
{
protected readonly IClient client = client;
protected readonly IServiceScope scope = scope;
protected readonly Operation operation = operation;
public abstract Task<bool> ParseAsync();
}
}