Example #1
0
        public static AngleSharpHelper FastInit(string html)
        {
            AngleSharpHelper angleSharpHelper = new AngleSharpHelper();

            angleSharpHelper.Init(html);
            return(angleSharpHelper);
        }
Example #2
0
 public static AngleSharpHelper GetInstance(string html)
 {
     if (instance == null)
     {
         lock (obj)
         {
             if (instance == null)
             {
                 instance = new AngleSharpHelper(html);
             }
         }
     }
     return(instance);
 }