Ported libs fo net V6

This commit is contained in:
schnulller
2022-05-17 01:21:10 +02:00
parent cb23a75761
commit 2ffd46cd62
79 changed files with 225299 additions and 124 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Linq;
using System.IO;
using System.Xml;
using System.Collections;
using System.Collections.Generic;
using HaXMLReader.Interfaces;
using System.Xml.Linq;
namespace HaXMLReader
{
public class XElementReader : Reader, IReader
{
private readonly XElement _element;
public XElementReader(XElement element)
{
_element = element;
CreateReader();
}
public XElementReader(XElement element, Action<string[]> Logsink) : this(element)
{
_LogSink = Logsink;
}
public override void Dispose()
{
base.Dispose();
}
protected override XmlReader GetReader() {
return _element.CreateReader();
}
}
}