encapsulate field 中文意思是什麼

encapsulate field 解釋
封裝值域
  • encapsulate : vt. 1. 把…包于膠囊等中。2. 壓縮,節略 (=encapsule)。n. -lant 密封用的材料。n. -lation
  • field : n 菲爾德〈姓氏〉。n 1 原野,曠野;(海、空、冰雪等的)茫茫一片。2 田地,牧場;割草場;〈pl 〉〈集...
  1. How to : refactor code with encapsulate field

    如何:用封裝欄位重構代碼
  2. The code that is generated by this refactoring operation is modeled by the encapsulate field code snippets

    此重構操作生成的代碼將由「封裝欄位代碼段」來建模。
  3. To create the new property, the encapsulate field operation changes the access modifier for the field that you want to encapsulate to

    為了創建新屬性, 「封裝欄位」操作將為要封裝為
  4. For example, if you highlight code that is not a field declaration, you can not select the encapsulate field option

    例如,如果突出顯示的代碼不是欄位聲明,則無法選擇「封裝欄位」選項。
  5. The encapsulate field operation is only possible when the cursor is positioned on the same line as the field declaration

    僅當將光標與欄位聲明置於同一行時,才可以執行「封裝欄位」操作。
  6. Available refactoring options include rename, extract method, extract interface, change signature, and encapsulate field

    可用的重構選項包括重命名、提取方法、提取介面、更改簽名和封裝欄位。
  7. Supports more than 15 individual refactoring features, including operations like reorder parameters, extract method, encapsulate field, and create overload

    支持超過15種單獨的重構功能,包括重新排列參數、提取方法、封裝欄位及創建重載等操作。
  8. Encapsulate field refactoring operation enables you to quickly create a property from an existing field, and then seamlessly update your code with references to the new property

    利用「封裝欄位」重構操作,可以從現有欄位快速創建屬性,然後使用對新屬性的引用無縫更新代碼。
  9. For declarations that declare multiple fields, encapsulate field uses the comma as a boundary between fields, and initiates refactoring on the field that is nearest the cursor, on the same line as the cursor

    對于聲明多個欄位的聲明, 「封裝欄位」使用逗號作為欄位之間的邊界,並對與光標位於同一行且距離光標最近的某個欄位啟動重構。
分享友人