Moved unused code into Achive

This commit is contained in:
Simon Martens
2022-11-25 19:15:23 +01:00
parent 5cc684550b
commit 02abfb111a
239 changed files with 51948 additions and 1673 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Text;
using HaXMLReader.Interfaces;
namespace HaXMLReader.EvArgs
{
public class Tag : EventArgs, IReaderEvArg
{
public string Name { get; set; } = "";
public Dictionary<string, string> Values { get; set; } = new Dictionary<string, string>();
public bool IsEmpty { get; set; } = false;
public bool EndTag { get; set; } = false;
// Privides safe access to the values Dict
public string this[string key]
{
get
{
if (Values != null && Values.ContainsKey(key))
return Values[key];
else
return "";
}
}
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
using HaXMLReader.Interfaces;
namespace HaXMLReader.EvArgs
{
public class Text : EventArgs, IReaderEvArg
{
public string Value { get; set; } = "";
}
}

View File

@@ -0,0 +1,8 @@
using HaXMLReader.Interfaces;
namespace HaXMLReader.EvArgs {
public class Whitespace : System.EventArgs, IReaderEvArg {
public string Value { get; set; }
}
}