rokojori_action_library/Runtime/XML/Nodes/XMLTextNode.cs

19 lines
456 B
C#
Raw Normal View History

2024-07-25 05:40:31 +00:00
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Rokojori
{
public class XMLTextNode:XMLNode
2024-07-25 05:40:31 +00:00
{
public XMLTextNode( XMLDocument document, string textContent ):base( document, XMLNode.NodeType.Text )
2024-07-25 05:40:31 +00:00
{
_textContent = textContent;
}
string _textContent;
public override string nodeValue => _textContent;
2026-04-27 08:15:59 +00:00
public override string textContent => _textContent;
2024-07-25 05:40:31 +00:00
}
}