动机:Add Parameter (添加参数)是一个很常用的重构手法。使用这项重构的动机很简单:你必须修改一个函数,而修改后的函数需要一些过去没有的信息,因此你需要给...
基于753个网页-相关网页
To try out what you learned in this article, you could extend the current XLST plug-in to add parameter support.
您若想试试本文学到的内容,可以扩展当前的 XLST 插件,增加参数支持。
In addition, if your database requires user authentication, you will need to add parameter definitions for user and password.
此外,如果您的数据库需要进行用户身份验证,那么还需要为user和password添加参数定义。
Listing 4. Add parameter values to context.
清单4 .向上下文添加参数值。
应用推荐