The executable code for methods is present in the form of code attributes contained within the method definitions.
方法的可执行代码以包含在方法定义中的代码属性的形式出现。
User billing is based on the purchase of the decryption access codes as indicated by the access code attributes encoded on the media.
用户计费是基于由介质上编码的存取码属性指示的解密存取码的购买。
Note: Production code should handle requests for attributes that do not exist in the array.
注意:生产代码可以处理对数组内不存在的属性的请求。
The following code snippet shows how to update user attributes in CM.
下面的代码片段展示如何在CM中更新用户属性。
The creation of the attribute classification system establishes an easier way to add new attributes without having to perform major code revisions.
属性分类系统的创建,建立了一个不用对代码进行大的修订就可以添加新属性的简便方法。
As you build up your capture instance example, you will see how you can reuse this snippet of code to retrieve instance attributes with a more complex flow.
在您构建您的捕获实例示例过程中,您将看到如何重用这个代码片段、通过一个更复杂的流检索实例属性。
Also, you are able to reorder the struct and union attributes in code and your model will maintain this order.
您还可以将代码中的结构与联合属性进行重新排序,而您的代码将会维持这个顺序。
The latest versions of this framework are moving away from the convention/reflection method to an external configuration that maps user-visible attributes and operations to the code elements.
这个框架的最新版本正在将约定/反映方法转变为外部配置,通过外部配置将用户可见的属性和操作映射为代码元素。
Just as there are no rules that tell you exactly what comments to write in your code, there is no universal list of the "right" attributes.
正如没有哪条规则告诉你代码里的注释一定要怎么写才正确,也不存在“正确”属性的一个普适的列表。
To be safe, namespace all ID attributes, even though doing this can make your code difficult to read, as you can see in Listing 5.
为了安全起见,请对所有ID属性设置名称空间,即使此操作会使您的代码像在清单5中看到的一样难于阅读。
The remedy is to change the code to access the correct attributes.
补救办法是对代码进行更改,以访问正确的属性。
The plain attributes should neither trigger any special code nor suffer the time penalty of working through method code.
这些普通属性不会触发任何特殊代码,也不会因为遍历方法代码而浪费时间。
Reverse engineering preserves initialization of associations by creating attributes with initial values to leverage that information from the code.
通过以初始值创建属性来利用代码的信息,逆向工程保持了联系的初始化。
Write reusable code modules that can be invoked for specific elements and attributes.
编写能够被特定的元素和属性调用的可重用代码模块。
To parse XML safely, ensuring that you protect code that looks for tags or attributes that it might not find and that it fails gracefully, is a lot of work.
为了安全地解析XML,我们一定要对那些可能查找不到标签或属性的代码进行正确的错误处理,这需要很大的工作量。
The code responsible for displaying the top window and keeping its attributes is present in this file.
负责显示这个天窗并保持其属性的代码出现在这个文件中。
The ability to mark code elements with attributes declares your intent that something external operates on the code that follows.
使用属性标记代码元素的能力揭示了您的意图,即让一些外部因素对后面的代码起作用。
For each of those business item attributes, the code determines which processes or components the attributes serve as inputs to or outputs of and makes a list of these dependent processes.
对于那些业务项目属性,代码确定这些属性充当哪些流程或组件的输入或输出,并制作这些相关流程的列表。
Setting and getting attributes happens in the application code.
在应用程序代码中对属性进行设置和获取。
All these syntactical advantages of using XML and JSP become obvious, especially when the code generator needs lots of attributes.
使用xml和jsp的这些句法方面的优点是很明显的,尤其是当代码生成器需要大量属性的时候。
The following code shows the validation when putting an object into session attributes.
下面的代码显示了在将对象放入到会话属性时进行的验证工作。
You might add a check in the metaclass code to see if the attributes were already set in a parent class, but this adds plumbing and it does not give real control on a per-class basis.
也许会在元类代码中添加一个检查,以查看是否在父类中设置了这些属性,但是这样会增加负担,并且不会控制所有的类。
With the column names stored as attributes, extra code is required to locate a collection of all of the elements from a specific column.
将列名存储为属性的话,需要额外的代码来从特定的列找到所有元素的集合。
In the code shown in Listing 8, you access attributes of an element just as you would elements of an array.
清单8所示的代码中,可以像访问数组元素一样访问元素的属性。
Listing 6 changes the code to pass a hash map representing the attributes for a trail.
清单6修改了代码,以传递代表路线属性的哈希映射表。
The code for setting the text style attributes is shown in listing 2.
设置文本样式属性的代码如清单2 所示。
You only need to specify the transaction attributes (no rollback code or rollback directives!)
您只需要指定事务属性(没有回滚代码或回滚指令!)
The following sample code sets the fields attributes to be returned in the query results.
下面的示例代码设置在查询结果中返回的字段属性。
The code fragment in Listing 6 shows attributes of DataSource.
清单6中的代码片段显示DataSource的属性。
You can add more code to the validateUnit(...) method to validate other attributes on the unit.
您可以对 validateUnit(...)方法添加更多的代码,以确认单元上的其他属性。
应用推荐