Add support for Attributes!
This commit is contained in:
10
Interfaces/IAttributeToken.cs
Normal file
10
Interfaces/IAttributeToken.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace RobloxFiles
|
||||
{
|
||||
public interface IAttributeToken<T>
|
||||
{
|
||||
AttributeType AttributeType { get; }
|
||||
|
||||
T ReadAttribute(Attribute attribute);
|
||||
void WriteAttribute(Attribute attribute, T value);
|
||||
}
|
||||
}
|
@ -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);
|
||||
|
Reference in New Issue
Block a user