Beispiel #1
0
        public static AgileConfiguration Load(string configFilePath)
        {
            if (!File.Exists(configFilePath))
            {
                return(null);
            }
            XmlDocument document = new XmlDocument();

            document.Load(configFilePath);
            return((AgileConfiguration)SpringFox.ObjectXml(document.ChildNodes[0].OuterXml));
        }
Beispiel #2
0
        public void Save(string configFilePath)
        {
            string text = SpringFox.XmlObject(this);

            FileHelper.GenerateFile(configFilePath, text);
        }