CsQuery.CQ.NewInstance C# (CSharp) Method

NewInstance() private method

private NewInstance ( string html ) : CQ
html string
return CQ
        private CQ NewInstance(string html)
        {
            var cq = NewCqUnbound();
            Encoding encoding = Encoding.UTF8;
            var stream = new MemoryStream(encoding.GetBytes(html));
            CreateNew(cq, stream, encoding, HtmlParsingMode.Auto, HtmlParsingOptions.Default, DocType.Default);
            return cq;
        }

Same methods

CQ::NewInstance ( IDomObject element, CQ context ) : CQ
CQ::NewInstance ( IEnumerable elements ) : CQ
CQ::NewInstance ( IEnumerable elements, CQ context ) : CQ