tangxu
2024-10-24 3024f6d3d1618d8e90082f5aec0cc1bb6fabeea6
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
// THIS FILE IS PART OF SVG PROJECT
// THE SVG PROJECT IS AN OPENSOURCE LIBRARY LICENSED UNDER THE MS-PL License.
// COPYRIGHT (C) svg-net. ALL RIGHTS RESERVED.
// GITHUB: https://github.com/svg-net/SVG
 
using System.IO;
using System.Xml;
 
namespace AntdUI.Svg
{
    internal sealed class SvgTextReader : XmlTextReader
    {
        public SvgTextReader(Stream stream)
            : base(stream)
        {
            EntityHandling = EntityHandling.ExpandEntities;
        }
 
        public SvgTextReader(TextReader reader)
            : base(reader)
        {
            EntityHandling = EntityHandling.ExpandEntities;
        }
    }
}