System.Xml.Tests.CArgAddExtObj.AddExtObject33 C# (CSharp) Method

AddExtObject33() private method

private AddExtObject33 ( object param0, object param1 ) : void
param0 object
param1 object
return void
        public void AddExtObject33(object param0, object param1)
        {
            ExObj obj = new ExObj(0, _output);
            m_xsltArg = new XsltArgumentList();
            string xslFile = param0.ToString();
            string Baseline = Path.Combine("baseline", param1.ToString());
            ///nonePermSet.PermitOnly(); ;
            m_xsltArg.AddExtensionObject("urn-myobject", obj);
            ///CodeAccessPermission.RevertPermitOnly();
            if ((LoadXSL(xslFile) == 1) && (Transform_ArgList("ExtData.xml") == 1))
            {
                VerifyResult(Baseline, _strOutFile);
                return;
            }
            else
                Assert.True(false);
        }