System.Xml.Xsl.Xslt.XsltLoader.SetInfo C# (CSharp) Method

SetInfo() static private method

static private SetInfo ( XslNode to, List content, ContextInfo info ) : XslNode
to XslNode
content List
info ContextInfo
return XslNode
        internal static XslNode SetInfo(XslNode to, List<XslNode> content, ContextInfo info)
        {
            Debug.Assert(to != null);
            to.Namespaces = info.nsList;
            SetContent(to, content);
            SetLineInfo(to, info.lineInfo);
            return to;
        }