• Is it considered poor DI practice to include your app container within the constructor of a service?

    被认为是实践包含应用容器服务构造函数

    youdao

  • In this case, the annotations are specified within the constructor parameters instead of above the field name.

    这种情况下注解指定构造器参数中,而不是放在字段名称上面

    youdao

  • Unless overridden for a specific object, this conversion happens within the constructor of the internal DocumentContext class.

    除非针对特定对象重写,否则这种转变应内部documentcontext构造函数发生

    youdao

  • The catch clause can handle exceptions thrown either from within the member initialization list or from within the constructor body.

    catch子句可以处理成员初始化列表抛出的异常,也可以处理从构造函数函数体中抛出的异常。

    youdao

  • The above constructor takes in the values of these namespaces and saves them within the class.

    上面构造函数接收这些名称空间保存中。

    youdao

  • The important point here is that the constructor form takes only one argument, so you have to enclose the object sequence within parentheses.

    这里重要一点构造函数构成仅有一个变量因此必须在括号中包括对象序列

    youdao

  • We also grab the color and name of the dog, passed in the constructor and stored in the object, within the closure.

    我们闭包获取颜色名字传递构造函数存储到对象中。

    youdao

  • A class can have different constructor methods, differentiated by the different attributes enclosed within the parentheses following the class name.

    可以不同构造函数方法,这些方法是通过名称圆括号内附带的不同属性进行区分

    youdao

  • Moreover, there is certain logic within its constructor that would determine whether an instance can be obtained in the first place.

    此外构造函数内有某种逻辑这种逻辑确定是否获得实例

    youdao

  • The code here USES a local variable diff, which is only defined within this block of code, while later in the constructor a separate variable, fill, is declared at the same level.

    这里代码使用局部变量diff这个局部变量定义代码范围内,之后构造函数中又声明一个相同级别的变量fill

    youdao

  • The application logic shown in Listing 4 is contained within two methods in this class: the constructor and the showProduct method.

    清单4 中所应用逻辑包含这个两个方法中:构造函数showProduct方法

    youdao

  • If you do not write a correct code for the copy constructor, object within a list will have some data members uninitialized.

    如果没有拷贝构造函数正确代码有可能造成list对象某些数据成员没有初始化。

    youdao

  • Making it private is the "old" way of doing it. The constructor still exists, but it is private, and can only be invoked from within another class member function.

    使私人方式这样做。构造函数仍然存在私人的,只能内部调用另一个成员函数

    youdao

  • You can give it a name (that is, a class name), specify parameters (as in a constructor), and even use the .this keyword, which basically means referencing a variable within the scope of the function.

    可以名称(也就是一个),指定参数构造函数中一样),甚至可以使用关键字 .this,意味着在函数范围内引用变量

    youdao

  • Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.

    setUp方法内,collaborator构造方法所需实际实例对象数组

    youdao

  • In the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see Listing 3).

    constructor函数中,会打开一个新的跟踪文件分析数据的地址跟踪就是写入这个文件的;在destructor函数,会关闭这个跟踪文件(参见清单3)。

    youdao

  • Within those method and constructor definitions follows the byte codes of these and it describes what these two items are doing (in byte codes).

    这些方法构造函数定义如下这些字节描述两个项目在做(字节码)。

    youdao

  • A type that implements interfaces does not necessarily expose a constructor, and depending on the access level of a constructor, the code within the generic type might not be able to access it.

    实现接口类型不必公开构造函数,并且受构造函数访问级别限制,泛型类型中的代码可能无法访问构造函数。

    youdao

  • The constructor still exists, but it is private, and can only be invoked from within another class member function.

    构造函数仍然存在私人的,只能内部调用另一个成员函数。

    youdao

  • If you want your derived class to set this property, you should do so within the static constructor or in other initialization routines.

    如果希望派生设置属性应该静态构造函数其他初始化完成此工作。

    youdao

  • Since version 2.5, in addition to the existing functional API, dhtmlxTree also provides object constructor that allows developers to define object properties within a single command.

    自从2.5版本API除了现有功能提供了对象构造dhtmlxTree允许开发人员定义一个命令对象的属性在。

    youdao

  • Since version 2.5, in addition to the existing functional API, dhtmlxTree also provides object constructor that allows developers to define object properties within a single command.

    自从2.5版本API除了现有功能提供了对象构造dhtmlxTree允许开发人员定义一个命令对象的属性在。

    youdao

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

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

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