mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
refactor: Removing unused code
This commit is contained in:
@@ -1100,17 +1100,6 @@ namespace ICD.Common.Utils.Xml
|
|||||||
|
|
||||||
#region Print
|
#region Print
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Prints the xml document.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="xml"></param>
|
|
||||||
[PublicAPI]
|
|
||||||
public static void Print(string xml)
|
|
||||||
{
|
|
||||||
string result = Format(xml);
|
|
||||||
IcdConsole.PrintLine(result);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Formats the given xml string into a human readable structure with indentations.
|
/// Formats the given xml string into a human readable structure with indentations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -1128,12 +1117,10 @@ namespace ICD.Common.Utils.Xml
|
|||||||
IcdXmlDocument document = new IcdXmlDocument();
|
IcdXmlDocument document = new IcdXmlDocument();
|
||||||
document.LoadXml(xml);
|
document.LoadXml(xml);
|
||||||
document.WriteContentTo(writer);
|
document.WriteContentTo(writer);
|
||||||
|
|
||||||
writer.Flush();
|
|
||||||
|
|
||||||
return builder.ToString();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return builder.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user