Beispiel #1
0
        /// <summary>
        /// Xml �� �о�´�
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        public static SnapModel ReadXml(string path)
        {
            SnapXml _snapXml		= new SnapXml();

            XmlTextReader reader	= new XmlTextReader( path );

            _snapXml.ReadSnapXml( _snapXml._snapModel, reader );

            reader.Close();

            return _snapXml._snapModel;
        }
Beispiel #2
0
        /// <summary>
        /// Xml 을 읽어온다
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        public static SnapModel ReadXml(string path)
        {
            SnapXml _snapXml = new SnapXml();

            XmlTextReader reader = new XmlTextReader(path);

            _snapXml.ReadSnapXml(_snapXml._snapModel, reader);

            reader.Close();

            return(_snapXml._snapModel);
        }
Beispiel #3
0
        public void Init()
        {
            string path = Utility.GetAbsolutePath(UmcConfiguration.Core["SnapXmlPath"]);

            _snapModel = SnapXml.ReadXml(path);
        }