搜索具有指定名称的公共嵌套类型。
Searches for the public nested type with the specified name.
已知名称和特性,定义嵌套类型。
描述设计嵌套类型的准则。
避免公开显露嵌套类型。
嵌套类型是作为某其他类型的成员的类型。
A nested type is a type that is a member of some other type.
同一体中的嵌套类型也可以访问那些私有成员。
Nested types in the same body can also access those private members.
嵌套类型是在另一个类型的范围中声明的类型。
A nested type is a type declared within the scope of another type.
如果用于此用途,则嵌套类型不应是外部可见的。
Used for this purpose, nested types should not be externally visible.
清单7输出显示了嵌套类型定义在被解析的签名中的使用方法。
The Listing 7 output shows how nested type definitions are used within the parsed signatures.
嵌套类型的可访问域决不能超出包含类型的可访问域。
The accessibility domain of a nested type never exceeds that of the containing type.
如果嵌套类型为泛型,则此方法返回其泛型类型定义。
If a nested type is generic, this method returns its generic type definition.
类型成员包括字段、方法、属性、构造函数和嵌套类型。
Type members include fields, methods, properties, constructors and nested types.
如果需要由客户端代码实例化类型,则不要使用嵌套类型。
Do not use nested types if they need to be instantiated by client code.
如果可能在声明类型的外部引用类型,则不要使用嵌套类型。
Do not use nested types if the type is likely to be referenced outside of the declaring type.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
嵌套类型包含成员可访问性的概念,不是所有的程序员都清楚了解该概念。
Nested types include the notion of member accessibility, which some programmers do not understand clearly.
嵌套类型可以是分部的,即使它们所嵌套于的类型本身并不是分部的也如此。
Nested types can be partial, even if the type they are nested within is not partial itself.
否则将会导致一个编译时间错误,如 “该嵌套类型Person无法隐藏封闭类型”。
You will have a compile-time error something like: "The nested type Person cannot hide an enclosing type".
类型的行为和状态是由类型的成员定义的,如事件、字段、嵌套类型、方法和属性。
The behavior and state of a type are defined by the members of the type: events, fields, nested types, methods, and properties.
如果嵌套类型和其外部类型之间的关系需要成员可访问性语义,则要使用嵌套类型。
Do use nested types when the relationship between the nested type and its outer type is such that member accessibility semantics are desirable.
有些开发人员会将嵌套类型弄混淆,因此嵌套类型不应是公开可见的,除非不得不这样做。
Nested types are confusing to some developers and should not be publicly visible unless there is a compelling reason to do so.
由于嵌套类型被视为是声明类型的成员,因此嵌套类型可以访问声明类型中的所有其他成员。
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.
然而,通过编译时刻的静态分析可以部分确定指导语句的嵌套类型,这些信息可以用于指导后续的编译与优化。
However, by compiling time static analysis, nesting type can be partly determined and this information can be passed to other compiling phases to guide later translation and optimizations.
本文分析了SQL类查询语句的基本结构,指出任何一个嵌套结构的SQL类语句都可以由四种基本嵌套类型组成。
The structure of SQL-like nested queries is examined. It is shown that any SQL- like nested query can be decomposed into four basic nested types.
唯一的特例是需要声明嵌套类型的变量的情况,在生成子类或其他高级自定义等极少数情况下需要声明嵌套类型的变量。
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.
这也就是说,存在嵌套的容器类型。
某个输入/输出消息是嵌套的或包含复杂的类型。
One of the input/output messages is nested or contains complex types.
这种命名策略可以应用于任何类型的嵌套逻辑环境,而不只是程序单元环境。
This naming strategy can be applied to any type of nested logical contexts, not just program unit contexts.
实际业务应用程序的数据类型通常较大而且内容复杂,并具有许多属性和多层嵌套。
Data types for realistic business applications are often both large and complex, having many properties and many levels of nesting.
这种类型的访问路径被称为使用复合排序的嵌套循环联接(NLJOIN)。
This type of access path is referred to as a nested loop join (NLJOIN) with sort composite.
应用推荐