forked from ddrilling/AsbCloudServer
19 lines
431 B
C#
19 lines
431 B
C#
|
using System.IO;
|
||
|
using AsbCloudApp.Data;
|
||
|
|
||
|
namespace AsbCloudApp.Services.Parser;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Сервис парсинга файлов
|
||
|
/// </summary>
|
||
|
/// <typeparam name="TDto"></typeparam>
|
||
|
public interface IParserService<TDto>
|
||
|
where TDto : class, IId
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Распарсить файл
|
||
|
/// </summary>
|
||
|
/// <param name="file"></param>
|
||
|
/// <returns></returns>
|
||
|
ParserResultDto<TDto> Parse(Stream file);
|
||
|
}
|