Bloom.HtmlThumbNailer.HtmlThumbNailer C# (CSharp) Method

HtmlThumbNailer() public method

public HtmlThumbNailer ( NavigationIsolator isolator ) : System
isolator NavigationIsolator
return System
        public HtmlThumbNailer(NavigationIsolator isolator)
        {
            if (_theOnlyOneAllowed != null)
            {
                Debug.Fail("Something tried to make a second HtmlThumbnailer; there should only be one.");
                throw new ApplicationException("Something tried to make a second HtmlThumbnailer; there should only be one.");
            }

            _theOnlyOneAllowed = this;

            _isolator = isolator;

            _syncControl = new Control();
            _syncControl.CreateControl();
        }