Migrate to Serialization package

This commit is contained in:
Matt Nadareski
2023-09-11 01:20:21 -04:00
parent c88105bee7
commit 1d50ab962f
75 changed files with 56 additions and 10160 deletions

View File

@@ -157,7 +157,7 @@ namespace SabreTools.DatFiles.Formats
logger.User($"Writing to '{outfile}'...");
var hashfile = CreateHashFile(ignoreblanks);
if (!Serialization.Hashfile.SerializeToFile(hashfile, outfile, _hash))
if (!(new Serialization.Files.Hashfile().Serialize(hashfile, outfile, _hash)))
{
logger.Warning($"File '{outfile}' could not be written! See the log for more details.");
return false;