public void Write(string path)
{
XmlSerializer seralizer = new XmlSerializer(GetType());
using (StreamWriter writer = new StreamWriter(path))
{
seralizer.Serialize(writer, this);
}
AutomatrLog.Log("Wrote config " + path, AutomatrLog.LogLevel.Verbose);
}
}