go top

指定初始化方法

网络释义

  Designated Initializer

指定初始化方法designated initializer)就是指能确保所有实例变量都能被初始化的方法, 这种方法是初始化的核心,类的非初始化方法会调用指定初始化方法完成初始化。

基于20个网页-相关网页

有道翻译

指定初始化方法

Specifies the initialization method

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 方法. validate要做进一步检查确保初始实例所用对象属于. _ order中指定相应

    The method.validate performs some further checks to make sure that the objects the instance was initialized with belong to the corresponding classes specified in._order.

    youdao

  • 清单 1显示 onLoad 方法代码片段,它指定方法初始化加载 iWidget 操作所需所有依赖项

    The code snippet shown in Listing 1 for the onLoad method specifies that this method initializes and loads all dependencies that are required for the operation of the iWidget.

    youdao

  • 一般XAML规则类型按照初始化文本(XAML 2009年度的工厂方法)传递成员必须能够任意顺序指定

    The general XAML rule is that members of a type that are not passed as initialization text (or by a factory method in XAML 2009) must be able to be assigned in any order.

    youdao

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

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

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