public void Dispose() { if (_parser != null) { _parser.Close(); _parser.Dispose(); _parser = null; } }
public void CreateParser() { if (oP != null) { oP.Close(); oP = null; } oP = new HTMLparser(); oP.bDecodeEntities = true; // dummy assertion Assert.IsNotNull(oP); }