示例#1
0
 public void Dispose()
 {
     if (_parser != null)
     {
         _parser.Close();
         _parser.Dispose();
         _parser = null;
     }
 }
示例#2
0
        public void CreateParser()
        {
            if (oP != null)
            {
                oP.Close();
                oP = null;
            }

            oP = new HTMLparser();

            oP.bDecodeEntities = true;

            // dummy assertion
            Assert.IsNotNull(oP);
        }