private LightWeightHTMLThinner(string html, string url, ThinnerBehavior behavior) : base(html, url)
 {
     _behavior = behavior;
 }
 public static string ThinHTML(string html, string url, ThinnerBehavior behavior)
 {
     LightWeightHTMLThinner thinner = new LightWeightHTMLThinner(html, url, behavior);
     return thinner.DoReplace();
 }
 public static string ThinHTML(string html, ThinnerBehavior behavior)
 {
     return ThinHTML(html, null, behavior);
 }
Ejemplo n.º 4
0
 private LightWeightHTMLThinner(string html, string url, ThinnerBehavior behavior) : base(html, url)
 {
     _behavior = behavior;
 }
Ejemplo n.º 5
0
        public static string ThinHTML(string html, string url, ThinnerBehavior behavior)
        {
            LightWeightHTMLThinner thinner = new LightWeightHTMLThinner(html, url, behavior);

            return(thinner.DoReplace());
        }
Ejemplo n.º 6
0
 public static string ThinHTML(string html, ThinnerBehavior behavior)
 {
     return(ThinHTML(html, null, behavior));
 }