• Why do we dislike the anonymous types in listing 4?

    我们为何不喜欢清单4中的匿名类型

    youdao

  • Anonymous types should be avoided for a number of reasons.

    基于以下几个原因应该避免使用匿名类型

    youdao

  • Properties of anonymous types cannot contain pointer types.

    匿名别的属性不能包含指标型别。

    youdao

  • Anonymous types must be declared with an object initializer.

    匿名类型必须对象初始值设定项加以声明

    youdao

  • These issues can be remedied by converting anonymous types to named types.

    可以通过匿名类型转换为命名类型来解决这些问题

    youdao

  • Structural Subtyping (duck typing) using type inference and anonymous types.

    使用类型引用匿名类型结构类型转化(动态类型)。

    youdao

  • So if you have the freedom to modify the schemas, it is best to avoid anonymous types.

    因此如果可以自由修改架构最好避免匿名类型

    youdao

  • Structures of anonymous types are more difficult to discuss than structures of named types.

    讨论匿名类型结构讨论命名类型结构更加困难

    youdao

  • VB allows both mutable and immutable anonymous types, with subtly different rules for each.

    VB同时支持可变不可变匿名类型,对于这两种匿名类型,实现和使用规则也略有不同

    youdao

  • The Submap refinement is not available when working with local elements or anonymous types.

    submap细化不可用于处理局部元素匿名类型。

    youdao

  • JAXB is robust enough to allow you to name anonymous types as you need to via the binding file.

    JAXB非常稳健允许通过绑定文件命名需要命名的匿名类型

    youdao

  • In the case of local elements or anonymous types, reusable mappings are not an option at this time.

    对于局部元素匿名类型,目前不能使用可重用映射

    youdao

  • As of WebSphere Process Server 6.0.1, anonymous types use the parent element name appended by _._type.

    对于WebSphereProcessServer6.0.1匿名类型使用后面追加了_ . _type的元素

    youdao

  • The reason VB and C# can use different implementations is that anonymous types are a compiler feature.

    VBC#之所以不同实现方式是因为匿名类型一个编译器特性。

    youdao

  • This article codifies issues that may arise from using anonymous types in hopes that readers will avoid them.

    本文将总结使用匿名类型可能会引起问题希望读者能够避免它们

    youdao

  • Note that in this particular example the final output is not a group, but a flat sequence of anonymous types.

    注意特定示例中,最终输出不是而是匿名类型平面序列

    youdao

  • Query expressions make frequent use of anonymous types, which can only be initialized with an object initializer.

    查询表达式经常使用匿名类型而这些类型只能使用对象初始值设定项进行初始化。

    youdao

  • The CLR itself doesn't have any notion of anonymous types and sees them as normal classes with automatically generated names.

    CLR自己匿名类型没有什么概念,只是它们看作有着自动产生名字普通

    youdao

  • Anonymous types allow you to define a class, then declare and initialize an object of that class, without giving the class a name.

    匿名类型允许定义一个然后给出名称的情况下声明初始该类对象

    youdao

  • Implicitly-typed arrays are usually used in query expressions together with anonymous types and object and collection initializers.

    隐含阵列通常查询运算式中匿名型别物件集合初始设定式一起使用

    youdao

  • Type Inference - the var keyword, which is necessary when using anonymous types, can also reduce redundancy in your other variable declarations.

    类型推断使用匿名类型关键字var必不可少减少其他变量声明中的冗余

    youdao

  • To pass an anonymous type, or a collection that contains anonymous types, outside a method boundary, you must first cast the type to object.

    方法界限外传递匿名包含匿名型别的集合必须型别转型物件

    youdao

  • For anonymous types, the binder implementation should make sure that the returned SOAPElement always has the QName matching the defined schema type.

    对于匿名类型绑定实现应该确保返回SOAPElementQName定义脚本类型匹配

    youdao

  • In order to support data structures like hash tables and query operations like grouping, anonymous types created by LINQ must provide stable hash codes.

    为了支持类似数据结构分组这样查询操作LINQ创建匿名类型必须提供稳定的哈希

    youdao

  • But in our opinion, anonymous types aren't as readable as named types; a deeply nested XML structure is almost always more difficult to understand readily.

    我们认为匿名类型没有命名类型那样的可读性;深层嵌套XML结构通常难以理解。

    youdao

  • The qnameScope property affects how the custom binder interacts with the run time system because of differences between the named types and the anonymous types.

    由于命名类型匿名类型不同qnamescope属性将影响到定制绑定如何运行系统交互

    youdao

  • Query expressions make frequent use of anonymous types, which can only be initialized by using an object initializer, as shown in the following declaration.

    查询运算经常使用匿名别,此型别只能使用物件初始设定式初始化,下列宣告

    youdao

  • Anonymous types provide a convenient way to encapsulate a set of read-only properties into a single object without having to first explicitly define a type.

    匿名提供便利方式属性封装至单一物件不用明确定义型别。

    youdao

  • Anonymous types are somewhat limited at the moment because they cannot be named, but you can use late binding to work with them even outside of the context in which they were declared.

    现在匿名类型某种程度上受限因为它们不能命名但是将来可以绑定应用它们甚至它们声明上下文(Context)外面

    youdao

  • Structural types specify only the structure a subtype must support; you could think of them as "anonymous" types.

    结构类型制定子类型必须支持结构可以它们看作是匿名”类型。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定