Exemple #1
0
 public QilNode InvokeRegisterDecimalFormat(DecimalFormatDecl format)
 {
     Debug.Assert(format != null);
     return(XsltInvokeEarlyBound(QName("register-decimal-format"),
                                 XsltMethods.RegisterDecimalFormat, T.IntX,
                                 new QilNode[] {
         QName(format.Name.Name, format.Name.Namespace),
         String(format.InfinitySymbol), String(format.NanSymbol), String(new string(format.Characters))
     }
                                 ));
 }
Exemple #2
0
 public QilNode InvokeRegisterDecimalFormatter(QilNode formatPicture, DecimalFormatDecl format)
 {
     CheckString(formatPicture);
     Debug.Assert(format != null);
     return(XsltInvokeEarlyBound(QName("register-decimal-formatter"),
                                 XsltMethods.RegisterDecimalFormatter, T.DoubleX,
                                 new QilNode[] {
         formatPicture,
         String(format.InfinitySymbol), String(format.NanSymbol), String(new string(format.Characters))
     }
                                 ));
 }