Original is cloneable and comparable

This commit is contained in:
Matt Nadareski
2026-04-03 13:48:43 -04:00
parent 716abed8b8
commit 62b2fd3325
15 changed files with 56 additions and 30 deletions

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using SabreTools.Data.Extensions;
using SabreTools.Data.Models.OpenMSX;
namespace SabreTools.Serialization.Readers
@@ -163,7 +164,7 @@ namespace SabreTools.Serialization.Readers
{
var obj = new Original();
obj.Value = reader.GetAttribute("value");
obj.Value = reader.GetAttribute("value").AsYesNo();
obj.Content = reader.ReadElementContentAsString();
return obj;