• The runtime does not give a type constructor a second chance.

    运行库不会类型构造函数第二机会

    youdao

  • I suppose you'd call that an idempotent type constructor.

    想你调用幂等类型的构造函数。

    youdao

  • You'll need to evaluate the tradeoffs in using an explicit type constructor.

    使用类型构造函数需要进行权衡

    youdao

  • A runtime thread must acquire this lock before invoking the type constructor.

    运行库线程必须调用类型构造函数之前获得

    youdao

  • As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.

    正如前面看到的那样,静态字段初始值设定项代码隐式类型构造函数内部执行

    youdao

  • Another behavior unique to type constructors is how the runtime manages exceptions in a type constructor.

    类型构造函数的一个独特行为运行库管理类型构造函数中的异常方式

    youdao

  • This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.

    程序演示静态字段初始值设定项如何在显式类型构造函数中的代码之前执行

    youdao

  • The second scenario is when a type has a initializer for a static field, in which case the compiler adds a type constructor behind the scenes.

    第二情况类型具有一个用于静态字段初始值设定项这种情况下,编译器会在后台添加类型构造函数

    youdao

  • The runtime will stop any exceptions trying to leave a type constructor and wrap the exception inside of a new TypeInitializationException object.

    运行库停止任何尝试保留类型构造函数异常将该异常包装到一个新的TypeInitializationException对象

    youdao

  • This comes from the Common Language Infrastructure (CLI) spec that guarantees a type constructor will execute only once, unless explicitly invoked by user code.

    这种行为是公共语言架构(Common Language Infrastructure,CLI)规范导致的,该规范确保类型构造函数执行一次除非用户代码进行显式调用。

    youdao

  • Without beforefieldinit, the runtime must run the type constructor at a precise time-just before the first access to static or instance fields and methods of the type.

    如果没有beforefieldinit运行库就必须某个精确时间运行类型构造函数,即,恰好在第一访问类型静态实例字段方法之前

    youdao

  • This flag allows the runtime to execute the type constructor method at any time it chooses, as long as the method executes before the first access to a static field for the type.

    标志使得运行库能够任何时候执行类型构造函数方法只要方法在第一访问该类型的静态字段之前执行即可。

    youdao

  • When an explicit type constructor is present, the compilers will not mark the type with beforefieldinit, and the precise timing restrictions lead to the performance drop hinted at by FxCop.

    存在类型构造函数时,编译不会beforefieldinit标记类型,精确计时限制导致FxCop所暗示性能下降

    youdao

  • In the program run shown in Figure 7, the runtime avoided deadlock by allowing Static2 to access the static Message property of Static1 before the type constructor for Static1 finished execution.

    7程序运行中,运行通过允许Static2Static1类型构造函数完成执行之前访问Static1的静态Message属性,从而避免了死锁。

    youdao

  • Thus, by declaring the variables with this type, you can directly assign the result of a constructor call to the corresponding variable.

    这样通过声明这种类型变量可以直接构造函数调用结果分配对应变量

    youdao

  • But you cannot use a type parameter to access a constructor because, at compile time, you don't know what class is being constructed and therefore what constructors are available.

    但是不能使用类型参数访问构造函数,因为编译时候知道构造什么因此就不知道使用什么构造函数。

    youdao

  • Use assignment context, as in the simple scheme, and also use the type of constructor arguments (call this complex).

    使用赋值上下文简单架构那样,使用构造函数参数类型(称为复杂结构)。

    youdao

  • Constructor injection USES a constructor to determine what type of concrete object to return.

    构造函数注入利用构造函数判断返回具体对象类型

    youdao

  • The constructor can take a simple built-in numerical type or character data.

    构造函数可以接受简单内置数值类型字符数据作为参数。

    youdao

  • In Listing 3, the name and content type of the input document is specified by the constructor.

    清单3中,输入文档名称内容类型构造函数指定

    youdao

  • This type actually defines the signature of a constructor for the specified class and a matching sequence of values.

    类型实际定义指定用于匹配序列构造器签名

    youdao

  • To see this behavior in action, use the patch containing the new constructor, but before applying it, type your own, slightly different, constructor - like the one in Listing 8.

    查看这个行为实际效果可以使用含有构造函数补丁但是应用之前,输入自己的稍微差异的构造函数—清单8中所

    youdao

  • This constraint forces any type 't' to have a default constructor, that is, a constructor that takes no parameters.

    这个约束强制任何类型'T '都必须具有参数的公共构造函数。

    youdao

  • It can also detect if a constructor function of a schema-type is supported; more about that in a moment.

    可以检查是否支持模式类型构造器函数,特别是当时

    youdao

  • An Eclipse SWT GUI, then the type includes, as one of its members, a constructor with one of the following signatures.

    如果是EclipseSWTGUI类型需将具有以下签名之一构造函数作为成员包含进来。

    youdao

  • On the other hand, the complex algorithm yields Box, because that is the most specific type it can infer using the constructor arguments.

    一方面,复杂算法产生Box因为使用构造函数参数可以推断具体类型

    youdao

  • To instantiate a Dictionary object, you need to pass a type string and a DictionaryIO object to its constructor.

    实例化Dictionary对象需要类型字符串DictionaryIO 对象传递给的构造函数。

    youdao

  • First, the program did not hit the catch clause for an exception of type ApplicationException, even though that's the type of exception thrown from the static constructor.

    第一程序不会类型ApplicationException异常寻找catch即使这种类型的异常是从静态构造函数引发也如此。

    youdao

  • Unfortunately, you can't invoke a generic constructor with a wildcard type argument, even though you know such a constructor exists. However, you can do this.

    不幸的是,不能通配符类型参数调用构造函数,即使知道存在这样的构造函数也不行。

    youdao

  • Figure 1 shows a constructor with two arguments of type Point and a destructor modeled for the DrawingSurface class of the sample application used here for illustration purposes.

    1展示示例应用程序(在这里用于举例)drawingsurface建模带有两个Point类型参数构造方法一个析构方法

    youdao

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

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

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