Exemplo n.º 1
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, Invk_clear)) this.Clear();
   else if (ctx.Match(k, Invk_separators)) return separators_mgr;
   else if (ctx.Match(k, Invk_digits)) {
     digits_translate = true;
     return digits_mgr;
   } // NOTE: only langes with a digit_transform_table will call digits; DATE:2014-05-28
   else if (ctx.Match(k, Invk_digit_grouping_pattern))
     return String_.new_u8(num_grp_fmtr.Digit_grouping_pattern());
   else if (ctx.Match(k, Invk_digit_grouping_pattern_))
     num_grp_fmtr.Digit_grouping_pattern_(m.ReadBry("v"));
   else return Gfo_invk_.Rv_unhandled;
   return this;
 }
Exemplo n.º 2
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, Invk_version)) return Xoa_app_.Version;
   else if (ctx.Match(k, Invk_build_date)) return Xoa_app_.Build_date;
   else if (ctx.Match(k, Invk_free_mem_when_))
     free_mem_when = gplx.core.ios.Io_size_.parse_or(m.ReadStr("v"), Io_mgr.Len_mb * 5);
   else if (ctx.Match(k, Invk_lang)) return lang_key;
   else if (ctx.Match(k, Invk_lang_)) Lang_(m.ReadBry("v"));
   else if (ctx.Match(k, Invk_lang_list)) return Options_lang_list();
   else if (ctx.Match(k, Invk_options_version)) return options_version;
   else if (ctx.Match(k, Invk_options_version_)) options_version = m.ReadInt("v");
   else return Gfo_invk_.Rv_unhandled;
   return this;
 }
Exemplo n.º 3
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, Invk_search)) return page_search;
   else return Gfo_invk_.Rv_unhandled;
 }