tangxu
2024-10-22 4d9fe5ed98ceb6b8fe9dc52ebfb80860ad1aee99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Xml;
 
namespace DPumpHydr.WinFrmUI.WenSkin.Json.Converters
{
    internal class XmlDocumentTypeWrapper : XmlNodeWrapper, IXmlDocumentType, IXmlNode
    {
        private readonly XmlDocumentType _documentType;
 
        public string Name => _documentType.Name;
 
        public string System => _documentType.SystemId;
 
        public string Public => _documentType.PublicId;
 
        public string InternalSubset => _documentType.InternalSubset;
 
        public override string LocalName => "DOCTYPE";
 
        public XmlDocumentTypeWrapper(XmlDocumentType documentType)
            : base(documentType)
        {
            _documentType = documentType;
        }
    }
}