nested type 中文意思是什麼

nested type 解釋
巢狀類型
  • nested : 巢狀的
  • type : n 1 型,類型,(工業產品的)品種;風格,型式。2 典型,榜樣,樣本,樣板,模範,範本;典型人物;具...
  1. The accessibility of a nested type depends on its

    嵌套類型的可訪問性取決於它的
  2. If the type is a nested type, this property returns the enclosing type

    對象。如果該類型是嵌套類型,則該屬性返回封閉類型。
  3. Nested types must have at least as many generic parameters as the enclosing type

    嵌套類型擁有的泛型參數數目必須至少與封閉類型的一樣多。
  4. This allows the type parameters of enclosing types to be used in the member definitions of a nested type

    這樣允許在嵌套類型的成員定義中使用封閉類型的類型參數。
  5. Generic parameters in a nested type correspond by position to the generic parameters in its enclosing type

    嵌套類型中的泛型參數在位置上與其封閉類型中的泛型參數對應。
  6. A reference type that encapsulates data constants and fields and behavior methods, properties, indexers, events, operators, instance constructors, static constructors, and destructors, and can contain nested types

    一種引用類型,它封裝數據和行為,並可以包含嵌套類型,其中數據包括常數和欄位,行為包括方法、屬性、索引器、事件、運算符、實例構造函數、靜態構造函數和析構函數。
  7. Because a nested type is treated as a member of the declaring type, the nested type has access to all other members in the declaring type

    由於嵌套類型被視為是聲明類型的成員,因此嵌套類型可以訪問聲明類型中的所有其他成員。
  8. Do use nested types when the relationship between the nested type and its outer type is such that member accessibility semantics are desirable

    如果嵌套類型和其外部類型之間的關系需要成員可訪問性語義,則要使用嵌套類型。
  9. The only exception to this is when variables of the nested type need to be declared in rare scenarios such as subclassing or other advanced customization scenarios

    唯一的特例是需要聲明嵌套類型的變量的情況,在生成子類或其他高級自定義等極少數情況下需要聲明嵌套類型的變量。
  10. The accessibility domain of a nested type is at least the program text of the type in which it is declared. that is, the type body, including any nested types

    嵌套類型的可訪問域至少是聲明它的類型的程序文本,即包括任何嵌套類型的類型體。
  11. Ideally, a nested type is instantiated and used only by its declaring type

    理想情況下,嵌套類型僅由它的聲明類型進行實例化和使用。
  12. It is important to note that the type argument count can be found within a nested type name, in which case it is followed by a plus sign

    請務必注意類型參數計數可能位於嵌套類型名稱中,這種情況下它後面帶有一個加號( " + " ) 。
  13. When overridden in a derived class, searches for the specified nested type, using the specified binding constraints

    當在派生類中重寫時,使用指定綁定約束搜索指定嵌套類型。
  14. A nested type is typically used for encapsulating the implementation details of the top - level type

    嵌套類型通常用於封裝頂級類型的實現細節。
  15. When a given member is a nested type

    屬性( property )將在給定的成員是嵌套類型時返回
  16. Defines a nested type given its name and attributes

    已知名稱和屬性,定義嵌套類型。
  17. A using declaration of nested type is no longer allowed

    不再允許嵌套類型的using聲明。
  18. Do not define a nested type as a member of an interface

    不要將嵌套類型定義為介面的成員。
  19. Describes prohibited edits of nested type declarations

    描述禁止對嵌套類型聲明進行的編輯。
  20. Searches for the public nested type with the specified name

    搜索具有指定名稱的公共嵌套類型。
分享友人