System.Xml.Xsl.XsltOld.NavigatorInput.NavigatorInput C# (CSharp) Method

NavigatorInput() private method

private NavigatorInput ( XPathNavigator navigator, string baseUri, InputScope rootScope ) : System
navigator System.Xml.XPath.XPathNavigator
baseUri string
rootScope InputScope
return System
        internal NavigatorInput(XPathNavigator navigator, string baseUri, InputScope rootScope) {
            if (navigator == null) {
                throw new ArgumentNullException("navigator");
            }
            if (baseUri == null) {
                throw new ArgumentNullException("baseUri");
            }
            Debug.Assert(navigator.NameTable != null);
            _Next  = null;
            _Href  = baseUri;
            _Atoms = new Keywords(navigator.NameTable);
            _Atoms.LookupKeywords();
            _Navigator = navigator;
            _Manager   = new InputScopeManager(_Navigator, rootScope);
            _PositionInfo = PositionInfo.GetPositionInfo(_Navigator);

            /*BeginReading:*/
            AssertInput();
            if (NodeType == XPathNodeType.Root) {
                _Navigator.MoveToFirstChild();
            }
        }

Same methods

NavigatorInput::NavigatorInput ( XPathNavigator navigator ) : System