System.Xml.Tests.CLoadXPathNavigableTest.LoadNavigator3 C# (CSharp) Method

LoadNavigator3() private method

private LoadNavigator3 ( ) : void
return void
        public void LoadNavigator3()
        {
#pragma warning disable 0618
            xslt = new XslTransform();
            XmlValidatingReader xrLoad = new XmlValidatingReader(new XmlTextReader(FullFilePath("XmlResolver/XsltResolverTestMain.xsl")));
#pragma warning restore 0618
            xrLoad.XmlResolver = GetDefaultCredResolver();

            XPathDocument xdTemp = new XPathDocument(xrLoad, XmlSpace.Preserve);
            XPathNavigator xP = ((IXPathNavigable)xdTemp).CreateNavigator();

            xslt.Load(xP, GetDefaultCredResolver());
            if ((Transform("fruits.xml") == 1) && (CheckResult(382.4519733094) == 1))
                return;

            Assert.True(false);
        }

Same methods

CLoadXPathNavigableTest::LoadNavigator3 ( object param ) : void