准则4:使用条件特性(conditional attribute)代替 #if /#endif 块在相同的代码会编译成不同的版本,大多数会有调试(debug)和发布(release)两个版本。
基于12个网页-相关网页
您可以使用进入标准(如图6所示)来指定开始测试所需的条件,例如,必需的产品和特性质量的最小等级。
You can use entry criteria (shown in Figure 6) to specify the conditions required to begin testing, such as the minimum level of product and feature quality necessary.
例如,可以使用外部内容管理引用特性将条款和条件关联到内容管理系统的图像或文档中。
The external content management reference feature, for example, can be used to relate the terms and conditions to an image or document in a content management system. Examples include.
搜索特性,比如不建立索引而搜索数据库的能力,使用Search Builder为搜索增加条件而不需要编写公式。
Search features, such as the ability to search a database without indexing it, and the ability to add conditions to a search with the search Builder without writing a formula.
应用推荐