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

    Why do we dislike the anonymous types in listing 4?

    youdao

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

    Anonymous types should be avoided for a number of reasons.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

    Anonymous types must be declared with an object initializer.

    youdao

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

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

    youdao

  • 按照以下步骤清单1中的匿名类型转换清单2中的命名类型

    We followed these steps to transform listing 1's anonymous type into listing 2's named type.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • 匿名类型名称编译生成可能编译的不同而不同。

    The name of the anonymous type is compiler generated, and it may vary from compilation to compilation.

    youdao

  • 创建匿名类型时,程序员可以关键词Key表示哪些字段稳定的

    When creating anonymous classes, programmers can use the modifier "Key" to indicate which fields are immutable.

    youdao

  • 清单8例子我们定义一个匿名类型没有明确地命名这个复杂类型

    In the example in Listing 8, we have defined what is called an anonymous type, where no explicit name is given to the complex type.

    youdao

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

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

    youdao

  • 同样属性类型两个匿名类型对象指派自动生成的同样

    Two anonymously typed objects that have the same property names and types will be assigned to the same automatically generated class.

    youdao

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

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

    youdao

  • 代码使用依赖匿名类型名称因为重新编译项目名称可能更改

    Your code should not use or rely on the name of an anonymous type because the name might change when a project is recompiled.

    youdao

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

    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.

    youdao

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

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

    youdao

  • 架构作者构建架构不太可能意识到匿名类型可能会导致潜在问题

    It is unlikely that the authors of such schemas realize the potential problems that they may cause when they build such schemas.

    youdao

  • 提供有关如何LINQ查询结果作为特定类型匿名类型返回示例

    Provides an example of how to return the results of a LINQ query as a specific type instead of as an anonymous type.

    youdao

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

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

    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

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

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

    youdao

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

    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.

    youdao

  • 用于声明匿名类型实例格式类似于使用对象初始值设定项声明命名类型实例使用格式。

    The format you use to declare an instance of an anonymous type resembles the format you use when you declare an instance of a named type by using an object initializer.

    youdao

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

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

    youdao

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

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

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