コード例 #1
0
        public void Write(string filePath, object value)
        {
            OutputControllerDefinition controllerDefinition = (OutputControllerDefinition)value;
            XElement doc = OutputControllerDefinition.WriteXml(controllerDefinition);

            doc.Save(filePath);
        }
コード例 #2
0
        public object Read(string filePath)
        {
            XElement element = Helper.LoadXml(filePath);

            return(OutputControllerDefinition.ReadXml(element));
        }