创建通用代码模板。
我将介绍其中的几个代码模板,说明其工作原理。
I'll show you a few of these code templates to illustrate how they work.
按照与代码相同的方式构造模型可以极大地简化代码模板。
Structuring the model the same way as the code can greatly simplify the code templates.
图5:架逻辑构师(Logic Architect)的代码模板。
模板将假定上述情况,并为您提供代码。
这是建议在您的代码中使用的标准模板。
This is the standard template recommended for use in your code.
我需要做的最后一件事情是添加模板引擎特定的代码。
The last thing I need to do is add the template engine-specific code.
不过,要谨防让所有代码成为一系列模板。
Beware, however, of making all your code a series of templates.
没有下一节中的模板文件,这段代码就无法正常工作。
It will not work without the template file from the next section.
模板的代码多数不会被替代。
JPA让持久化变得非常容易,但是仍然需要编写很多模板代码。
JPA has made this task easier, but still requires a lot of boilerplate code.
代码生成基于JET模板。
这里的模板文件可能包含以下代码
下面显示的是在选择了第一个筛选模板时的代码。
Here is the code presented when the first filter template is chosen.
本文中含有一个包含代码、模板以及范例目录结构的zip (rpt_ext . zip)文件,以及范例的目录结构。
This article includes a zip (rpt_ext.zip) file that contains code, templates, and the example directory structure.
但是每一个组织都有其不同的开发Excel代码清单模板的方法。
Each organization has its own methodology for Excel code list templates.
获得创作模板的ID;参见清单8的代码。
Get the ID of the authoring template; see the code in listing 8.
图3. testcase_001XML模板中的代码。
清单36包含模板代码,图6展示了这个表单。
Listing 36 has the code, and Figure 6 demonstrates the form.
此代码与以前的代码完全相同,但模板定义是不同的。
The code is exactly the same as before, but the template definition is different.
使用样板宏可以使这种模板化代码的维护更容易。
Using boilerplate macros can make maintenance of such templated code much easier.
现在可以不再担心所有的代码生成模板,并且可以编写标准的模板。
You can now stop worrying about all your code generation templates and write standard ones.
使用对象的代码填充该模板。
不过,您所需要的代码是很容易模板。
该模板创建实际的源代码会是什么样子?
What will the actual source code this template creates look like?
可以查看和维护窗体或模板的源代码。
You can both view and maintain the source code for a form or a template.
可以查看和维护窗体或模板的源代码。
You can both view and maintain the source code for a form or a template.
应用推荐