最后但同样重要的一点是模板参数。
这里显示了使用模板参数定义的类。
It shows the classes that are defined with the template parameters.
图5.创建一个类类型的模板参数。
图6.创建一个整数类型的模板参数。
您也需要创建一个用到该模板参数的方法。
You will also need to create a method that USES the template parameter.
已链接的模式模板参数在图31 中高亮显示。
The linked pattern template parameter appears highlighted in Figure 31.
代码模板参数使用的方式与模式模板参数很相似。
Code template parameters are used in a manner similar to the pattern template parameters.
逐步执行向导并为每个模式模板参数填入需要的值。
Step through the wizard and enter the requested values for each individual pattern template parameter.
在样式表中大量使用全局变量或模板参数作为通信工具。
Heavily using global variables or template parameters as communication vehicles within the stylesheet.
一个增强的用户界面,您可以使用它来选择一个模板参数值以提高实用性。
An enhanced user interface that you can use to select a template parameter value to improve usability.
该转换还提供了一个选项来为类类型的模板参数生成替换class 的关键字。
The transformation also provides an option to generate the keyword in place of class for template parameters of type class.
代码模板通常用来在方法中放置逻辑,可以选择是否依赖XDE模式中所定义的模板参数。
Code templates are used to put logic into methods, and may or may not depend on template parameters defined within a XDE pattern.
像以前一样运行Pattern向导,创建已命名模式绑定(使用从模板参数中派生的唯一名称)。
Run the pattern wizard as before, and create named pattern bindings (use unique names derived from some of the template parameters).
在此类上右击并添加一个名为T的模板参数。 添加诸如isEmpty():bool ,getSize():int之类的操作。
Right-click the class and add a template parameter with name T. Add operations such as isEmpty():bool ,getSize():int.
关键字$rootnamespace$、$safeitemname$以及$safeprojectname$是保留的模板参数
The keywords $rootnamespace$ and $safeitemname$ are reserved template parameters along with $safeprojectname$
问题的另外一个来源就是命名模板及其参数。
Another source of problems is named templates and their parameters.
XSLT 1.0中一种常见的情况是反复传递只需要转给嵌套更深的模板的参数。
A common situation in XSLT 1.0 is repeated passing of parameters that are only passed on further to a more deeply nested template.
使用获取参数的递归模板可以解决此问题。
A recursive template taking a parameter solves this problem.
使用模板返回类型或参数类型的函数。
应用程序实例和模板引入了参数、应用程序角色和成员身份概念,这将在下文介绍。
Application instances and templates introduce the concepts of Parameters, Application Roles, and Membership, which are described below.
参数是模板的输入,并在parameters部分下面列出。
The parameters are inputs to the template and are listed under the parameters sections.
一般来讲,接受流程模板名称作为参数的方法使用后期绑定。
In general, methods that take a process template name as a parameter use late binding.
在清单2,模板不需要参数,因为处理程序负责管理当前节点。
In Listing 2, the templates don't need a parameter because the processor manages the current node.
Firefoxprofile模板位置和其他参数可以指定在标记中。
Firefox profile template location and other arguments can be specified in the tag.
在显示该模板时,将自动调用图像参数处理程序。
The image parameter handler will be automatically invoked when that template is displayed.
在向导的最后一页,您将看到规则模板中定义的每个参数项。
On the final wizard page, you will see entries for each parameter defined in the rule template.
WS响应模板模式接受四个参数
您将创建包括规则条件、规则操作和规则参数的业务规则模板。
You'll create a business rule template that includes a rule condition, a rule action and a rule parameter.
不要在配适器模板的XML文件中编辑分析参数。
Do not edit analysis parameters in the adaptor template XML files.
应用推荐