定义指定其名称和属性的巢状型别。
说明巢状型别宣告所禁止的编辑。
巢状型别引数就是也是泛型型别的型别引数。
A nested type argument is a type argument that is also a generic type.
定义巢状型别,指定其名称、属性和其扩充的型别。
Defines a nested type, given its name, attributes, and the type that it extends.
也就是说,定义域是型别主体,其中包括所有的巢状型别。
That is, the domain is the type body, which includes all nested types.
受保护的型别适用于进阶自订案例中的子类别和巢状型别。
Protected types can be used in subclasses and nested types in advance customization scenarios.
这可让您在巢状型别的成员定义中使用封入型别的型别参数。
This allows the type parameters of enclosing types to be used in the member definitions of a nested type.
如果您不想让巢状型别变成外部可见,请变更型别的存取范围。
If you do not intend the nested type to be externally visible, change the type's accessibility.
定义巢状型别,指定其名称、属性、其扩充的型别和封装大小。
Defines a nested type, given its name, attributes, the type that it extends, and the packing size.
一般来说,巢状型别不应该针对非其宣告型别以外的型别执行工作。
In general, a nested type should not perform tasks for types other than its declaring type.
定义巢状型别,指定其名称、属性、其扩充的型别和其实作的介面。
Defines a nested type, given its name, attributes, the type that it extends, and the interfaces that it implements.
定义巢状型别,指定其名称、属性、型别的总共大小和其扩充的型别。
Defines a nested type, given its name, attributes, the total size of the type, and the type that it extends.
在衍生类别中覆写时,使用指定的系结条件约束搜寻指定的巢状型别。
When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.
如果巢状结构的目的是将巢状型别进行分类,请改用命名空间建立阶层架构。
If the purpose of the nesting is to categorize the nested type, use a namespace to create the hierarchy instead.
巢状型别应该紧密地与其宣告型别结合,且不能与一般用途的型别一样实用。
Nested types should be tightly coupled to their declaring type and must not be useful as a general purpose type.
若要成为重复的项目,完整名称必须是相同,包括命名空间和所有的巢状型别。
To be duplicates, the full names must be the same, including the namespace and all nesting types.
但是巢状列举和受保护的型别则不受限于此规则。
Nested enumerations and protected types are exempt from this rule.
如果型别具有更广的用途,则很可能不应巢状化。
If a type has a wider purpose, it most likely should not be nested.
如果型别具有更广的用途,则很可能不应巢状化。
If a type has a wider purpose, it most likely should not be nested.
应用推荐