wabbajack/Wabbajack.DTOs.ConverterGenerators/Program.cs
2021-10-23 10:51:17 -06:00

20 lines
617 B
C#

using Wabbajack.DTOs.BSA.ArchiveStates;
using Wabbajack.DTOs.BSA.FileStates;
using Wabbajack.DTOs.DownloadStates;
namespace Wabbajack.DTOs.ConverterGenerators;
internal class Program
{
private static void Main(string[] args)
{
var cfile = new CFile();
new PolymorphicGenerator<IDownloadState>().GenerateAll(cfile);
new PolymorphicGenerator<IArchive>().GenerateAll(cfile);
new PolymorphicGenerator<Directive>().GenerateAll(cfile);
new PolymorphicGenerator<AFile>().GenerateAll(cfile);
cfile.Write(@"..\Wabbajack.DTOs\JsonConverters\Generated.cs");
}
}