此重构操作生成的代码将由封装字段代码段功能来建模。
The code that is generated by this refactoring operation is modeled by the encapsulate field code snippets feature.
您甚至可以添加一行代码来突出显示不正确的字段。
You could even add a line of code to highlight the incorrect field.
在以下代码中,我们创建三个字段编辑器。
由于在程序执行前进行编译,AOT编译器必须谨慎对待它所编译的代码所引用的类、字段和方法。
By compiling before the program executes, the AOT compiler must be conservative about classes, fields, and methods referenced by the code it compiles.
定制代码输入值在引用或者字段引用中。
Custom code input values reside in references or field references.
代码字段可能使用字母值的一个抽象集。
与直接在已编译代码中调用方法或访问字段相比,反射在性能上也处于劣势。
Reflection also suffers a performance disadvantage when compared to calling a method or accessing a field directly in compiled code.
处理表单中的字段、解析XML代码以及解释协议都是典型应用。
Processing fields in a form, parsing XML code, and interpreting a protocol are canonical USES.
所有数据,包括动态sql语句、用户输入数据、用户输出数据以及SQLCA中的字符字段,都是基于该代码页进行解释的。
All data, including dynamic SQL statements, user input data, user output data, and character fields in the SQLCA, is interpreted based on this code page.
客户类型和销售渠道字段都存储为缩写代码。
The customer type and the sales channels fields both store abbreviated codes.
清单2中展示的代码片段使用实例值加载表单字段。
The code snippet shown in listing 2 loads the form fields with instance values.
清单4中的示例代码显示了用于创建带有定制字段的文档的HTTP请求。
The example code in listing 4 shows the HTTP request to create a document with custom fields.
因此,此代码将检索内容字段,然后创建一个可供索引的新文档。
Therefore, the code retrieves the content field and then creates a new one that is ready for indexing.
现在你的代码和公共字段一样简洁精悍。
您只需创建字段名称,然后在代码中使用。
这一命令并不改变正在修改的字段的原代码。
This action does not change the actual source code for the field being modified.
上面的代码行将为您提供字段名的排序后的频率分布,类似以下清单所示。
The above line will give you a sorted frequency distribution of your field names, similar to the following.
源字段中是否使用标准代码,如用户部门或位置代码?
Are standard codes used in source fields, such as user department or location codes?
比如,如果每个字段用十个字符,代码如清单1所示。
For instance, using ten characters per field, you might write something like Listing 1.
添加代码以获得该字段的新值并且把它发布给属性代理。
Add code there to get the new value of that field and to publish it to the property broker.
提供一个输入字段,允许用户输入股票代码,仅获取所输入股票的报价。
Provide an input field for the user to enter stock symbols and fetch the quotes for the entered symbols only.
毕竟,通常没有人能活过32,000岁——而且我相信,即使真的有那么长寿的人,仍然可以重构代码,将该字段改回整型。
People don't generally live beyond 32,000 years, after all — and I think it's safe to suggest that if that does ever become a concern, you'll be able to refactor the code back to an integer field.
代码只要顺着字段循环并对值编码,确保没有无效字符。
Your code just needs to loop through the fields and encode the values to make sure that there are no invalid characters.
代码很简单,它为表单中的字段创建HTML输出。
The code is straightforward and just creates HTML output as a result of the fields that are in the form.
例如,如果字段是ftmemo类型,下方代码将创建一个TDBMemo控件,否则将创建一个常规的TDBEdit控件。
As an example, the code below creates a TDBMemo control if the field is an ftMemo type, or a regular TDBEdit control otherwise.
下面的代码使用一些字段值构建了一个DateTime对象。
This code USES individual field values to construct a DateTime object.
把所有控件绑定到BindingSource对象之后,就可以在XAML代码中访问所有字段。
Once the code binds all controls to the BindingSource object, then all fields are accessible in the XAML part.
用户无需做很多查找,比如查找zip代码字段在哪以及又该如何在地图上做缩放。
There's not a lot of looking around, trying to find where the zip code field is or how to zoom in on a map.
清单3显示了_ form . rhtml片段在移除城市和州输入字段之后的代码。
Listing 3 shows the code for the _form.rhtml partial after removing the city and state input fields.
用户并不了解代码的含义,因此可以在Domino表单中增加一个小小的计算字段,将SAP代码转化成便于阅读的文本。
This code means nothing to your users, so you can add a little computed field to your Domino form that turns the SAP codes into human text.
应用推荐