mirror of
				https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
				synced 2025-10-30 17:55:32 +00:00 
			
		
		
		
	Moved unused code into Achive
This commit is contained in:
		
							
								
								
									
										26
									
								
								Archive/HaXMLReader/EvArgs/Tag.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								Archive/HaXMLReader/EvArgs/Tag.cs
									
									
									
									
									
										Normal 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 ""; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										12
									
								
								Archive/HaXMLReader/EvArgs/Text.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Archive/HaXMLReader/EvArgs/Text.cs
									
									
									
									
									
										Normal 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; } = ""; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										8
									
								
								Archive/HaXMLReader/EvArgs/Whitespace.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Archive/HaXMLReader/EvArgs/Whitespace.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| using HaXMLReader.Interfaces; | ||||
|  | ||||
| namespace HaXMLReader.EvArgs { | ||||
|     public class Whitespace : System.EventArgs, IReaderEvArg { | ||||
|         public string Value { get; set; } | ||||
|  | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens