此重构操作生成的代码将由封装字段代码段功能来建模。
The code that is generated by this refactoring operation is modeled by the encapsulate field code snippets feature.
由于在程序执行前进行编译,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.
在第2部分,我展示了无论是对于字段访问还是方法调用,反射都比直接代码慢很多倍。
Back in Part 2, I showed how reflection is many times slower than direct code for both field access and method calls.
代码字段可能使用字母值的一个抽象集。
应用程序的整个配置都借助于它的配置接口;通过使用现代开发工具,很容易识别哪些代码使用了哪个字段。
An application's entire configuration is characterized by its configuration interfaces; using modern development tools, it is easy to identify which fields are used by what code.
与直接在已编译代码中调用方法或访问字段相比,反射在性能上也处于劣势。
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.
压在开发人员肩上的这副担子无论有多轻,都往往意味着为代码中的常量抛弃配置字段。
The burden, however slight, that this places on the developer means that oftentimes configuration fields are abandoned in favor of constants within the code.
正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。
As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.
上面的代码行将为您提供字段名的排序后的频率分布,类似以下清单所示。
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?
添加代码以获得该字段的新值并且把它发布给属性代理。
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.
另外一种方法是生成一些代码,用于在查明字段的位置以前一直检查是否已经解析字段,然后加载该值。
The alternative is to generate code that always checks to see if the field is resolved before finding out where the field is and then loading the value.
代码只要顺着字段循环并对值编码,确保没有无效字符。
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.
把所有控件绑定到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.
清单2展示了为firstName字段生成的访问器代码。
Listing 2 shows the equivalent code that will be generated for the firstName field.
在更新文档时仅需在文档Atom条目中包含已更新的字段;在上一个代码片段中,我们更新了Price字段。
You need to include only the updated fields in the document Atom entry when updating the document; in the preceding code snippet, we updated the Price field.
应用推荐