22 lines
491 B
C#
22 lines
491 B
C#
using Core.Process;
|
|
using Core.SpecConfig;
|
|
using Generator.Repo;
|
|
|
|
namespace Generator.Services;
|
|
|
|
public class PreGenerationService
|
|
{
|
|
|
|
private readonly PreGenerationRepo _repo;
|
|
|
|
public PreGenerationService(PreGenerationRepo repo)
|
|
{
|
|
_repo = repo;
|
|
}
|
|
|
|
public GenerationProcess ComputeGeneration(string specPath, GenerationType? generationType, PublishType publishType)
|
|
{
|
|
return _repo.GetProcess(specPath, generationType, publishType);
|
|
}
|
|
|
|
} |