Automatr.AutomatrConfig.Write C# (CSharp) Method

Write() public method

public Write ( string path ) : void
path string
return void
        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);
        }
    }