protected internal virtual void createMethodBindings() { Type mapperClass = this.GetType(); COMMAND_CONTEXT_FUNCTION_MAP["currentUser"] = ReflectUtil.getMethod(mapperClass, "currentUser"); COMMAND_CONTEXT_FUNCTION_MAP["currentUserGroups"] = ReflectUtil.getMethod(mapperClass, "currentUserGroups"); }
protected internal virtual void createMethodBindings() { Type mapperClass = this.GetType(); DATE_TIME_FUNCTION_MAP["now"] = ReflectUtil.getMethod(mapperClass, "now"); DATE_TIME_FUNCTION_MAP["dateTime"] = ReflectUtil.getMethod(mapperClass, "dateTime"); }
protected internal virtual void createMethodBindings() { Type spinClass = typeof(Spin); SPIN_FUNCTION_MAP["S"] = ReflectUtil.getMethod(spinClass, "S", typeof(object)); SPIN_FUNCTION_MAP["XML"] = ReflectUtil.getMethod(spinClass, "XML", typeof(object)); SPIN_FUNCTION_MAP["JSON"] = ReflectUtil.getMethod(spinClass, "JSON", typeof(object)); }