
Untitled
By: a guest on
Apr 29th, 2012 | syntax:
C# | size: 0.54 KB | hits: 24 | expires: Never
public void ClearHistoryFull()
{
this.Host.Actions.AddChatText("History Triggered", 5);
IEnumerable<XElement> removeAll =
from elem in document.Descendants("logreport")
select elem;
foreach (XElement s in removeAll)
{
this.Host.Actions.AddChatText(s.ToString(), 5);
s.Remove();
}
SerializeXml();
loadXElementXML();
PopulateHistory();
}