Add support for Attributes!

This commit is contained in:
Max
2021-02-25 14:09:54 -06:00
parent 81d901cbcd
commit 83dd0af8d2
54 changed files with 1053 additions and 852 deletions

View File

@ -0,0 +1,10 @@
namespace RobloxFiles
{
public interface IAttributeToken<T>
{
AttributeType AttributeType { get; }
T ReadAttribute(Attribute attribute);
void WriteAttribute(Attribute attribute, T value);
}
}

View File

@ -1,10 +1,10 @@
using System.Xml;
namespace RobloxFiles.XmlFormat
namespace RobloxFiles.Tokens
{
public interface IXmlPropertyToken
{
string Token { get; }
string XmlPropertyToken { get; }
bool ReadProperty(Property prop, XmlNode token);
void WriteProperty(Property prop, XmlDocument doc, XmlNode node);