2024-03-22 09:37:06 +05:00
|
|
|
using AsbCloudApp.Requests.ExportOptions;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services.Export;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Фабрика создания сервисов для экспорта
|
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="TId"></typeparam>
|
|
|
|
public interface IExportServiceFactory<in TId>
|
2024-07-04 11:02:45 +05:00
|
|
|
where TId : struct
|
2024-03-22 09:37:06 +05:00
|
|
|
{
|
2024-07-04 11:02:45 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Создать сервис экспорта
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <typeparam name="TOptions"></typeparam>
|
|
|
|
/// <returns></returns>
|
|
|
|
IExportService<TOptions> CreateExportService<TOptions>(TId id)
|
|
|
|
where TOptions : IExportOptionsRequest;
|
2024-03-22 09:37:06 +05:00
|
|
|
}
|