예제 #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();
 }
예제 #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 ) ;
        }
예제 #3
0
파일: XMLHelper.cs 프로젝트: sxf359/sxf
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tempXmlFilePath">XML文件路径</param>
 /// <param name="tempXmlFilePathType">文件路径类型</param>
 public XMLHelper(string tempXmlFilePath, enumXmlPathType tempXmlFilePathType)
 {
     this.xmlFilePathType = tempXmlFilePathType;
     this.xmlFilePath     = tempXmlFilePath;
     GetXmlDocument();
 }
예제 #4
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public XmlOp()
 {
     this.xmlFilePathType = enumXmlPathType.VirtualPath;
 }
예제 #5
0
파일: XMLHelper.cs 프로젝트: sxf359/sxf
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tempXmlFilePath">XML文件相对路径</param>
 public XMLHelper(string tempXmlFilePath)
 {
     this.xmlFilePathType = enumXmlPathType.VirtualPath;
     this.xmlFilePath     = tempXmlFilePath;
     GetXmlDocument();
 }