mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Original is cloneable and comparable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user