Ejemplo n.º 1
0
        private void Dispose(bool bDisposing)
        {
            if (!bDisposed)
            {
                bDisposed = true;

                if (oChunk != null)
                {
                    oChunk.Dispose();
                    oChunk = null;
                }

                if (sText != null)
                {
                    sText.Dispose();
                    sText = null;
                }

                bHTML = null;

                if (oE != null)
                {
                    oE.Dispose();
                    oE = null;
                }

                if (oTP != null)
                {
                    oTP.Dispose();
                    oTP = null;
                }
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// This function will decode any entities found in a string - not fast!
 /// </summary>
 /// <returns>Possibly decoded string</returns>
 public static string DecodeEntities(string sData)
 {
     return(HTMLentities.DecodeEntities(sData));
 }