System.Xml.Xsl.XsltOld.NumberAction.Compile C# (CSharp) Method

Compile() private method

private Compile ( Compiler compiler ) : void
compiler Compiler
return void
        internal override void Compile(Compiler compiler) {
            CompileAttributes(compiler);
            CheckEmpty(compiler);

            this.forwardCompatibility = compiler.ForwardCompatibility;
            this.formatTokens  = ParseFormat(PrecalculateAvt(ref this.formatAvt));
            this.letter        = ParseLetter(PrecalculateAvt(ref this.letterAvt));
            this.lang          = PrecalculateAvt(ref this.langAvt);
            this.groupingSep   = PrecalculateAvt(ref this.groupingSepAvt);
            if (this.groupingSep != null && this.groupingSep.Length > 1) {
                throw XsltException.Create(Res.Xslt_CharAttribute, Keywords.s_GroupingSeparator);
            }
            this.groupingSize  = PrecalculateAvt(ref this.groupingSizeAvt);
        }

Usage Example

Ejemplo n.º 1
0
        public virtual NumberAction CreateNumberAction()
        {
            NumberAction action = new NumberAction();

            action.Compile(this);
            return(action);
        }
All Usage Examples Of System.Xml.Xsl.XsltOld.NumberAction::Compile