mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 04:58:33 +00:00
refactor: Removing unused code
This commit is contained in:
parent
4cd28a8a12
commit
4a411e8990
1 changed files with 2 additions and 15 deletions
|
|
@ -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,13 +1117,11 @@ 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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue