System.Xml.Xsl.XsltOld.Compiler.GetUnicRtfId C# (CSharp) Method

GetUnicRtfId() private method

private GetUnicRtfId ( ) : string
return string
        internal string GetUnicRtfId()
        {
            _rtfCount++;
            return _rtfCount.ToString(CultureInfo.InvariantCulture);
        }

Usage Example

Ejemplo n.º 1
0
        internal override void Compile(Compiler compiler)
        {
            this.stylesheetid = compiler.Stylesheetid;
            this.baseUri = compiler.Input.BaseURI;
            CompileAttributes(compiler);
            CheckRequiredAttribute(compiler, this.name, "name");


            if (compiler.Recurse())
            {
                CompileTemplate(compiler);
                compiler.ToParent();

                if (this.selectKey != Compiler.InvalidQueryKey && this.containedActions != null)
                {
                    throw XsltException.Create(SR.Xslt_VariableCntSel2, this.nameStr);
                }
            }
            if (this.containedActions != null)
            {
                baseUri = baseUri + '#' + compiler.GetUnicRtfId();
            }
            else
            {
                baseUri = null;
            }

            _varKey = compiler.InsertVariable(this);
        }