Beispiel #1
0
 //// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tempXmlFilePath">文件路径</param>
 /// <param name="tempXmlFilePathType">类型</param>
 public XmlOp(string tempXmlFilePath, enumXmlPathType tempXmlFilePathType)
 {
     //
     // TODO: 在此处添加构造函数逻辑
     //
     this.xmlFilePathType = tempXmlFilePathType;
     this.xmlFilePath     = tempXmlFilePath;
     xmlDoc = GetXmlDocument();
 }
Beispiel #2
0
        //// <summary>
        ///
        /// </summary>
        /// <param name="tempXmlFilePath"></param>
        public XmlOp(string tempXmlFilePath)
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //

            this.xmlFilePathType = enumXmlPathType.VirtualPath;
            this.xmlFilePath     = tempXmlFilePath;
            xmlDoc = GetXmlDocument();
            //xmlDoc.Load( xmlFilePath ) ;
        }
Beispiel #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tempXmlFilePath">XML文件路径</param>
 /// <param name="tempXmlFilePathType">文件路径类型</param>
 public XMLHelper(string tempXmlFilePath, enumXmlPathType tempXmlFilePathType)
 {
     this.xmlFilePathType = tempXmlFilePathType;
     this.xmlFilePath     = tempXmlFilePath;
     GetXmlDocument();
 }
Beispiel #4
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public XmlOp()
 {
     this.xmlFilePathType = enumXmlPathType.VirtualPath;
 }
Beispiel #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tempXmlFilePath">XML文件相对路径</param>
 public XMLHelper(string tempXmlFilePath)
 {
     this.xmlFilePathType = enumXmlPathType.VirtualPath;
     this.xmlFilePath     = tempXmlFilePath;
     GetXmlDocument();
 }