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

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

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

                this.bHTML = null;

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

                if (this.oTP != null)
                {
                    this.oTP.Dispose();
                    this.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));
 }