• Those module methods then become instance methods of the including class.

    这些模块方法会变成包含它们的类的实例方法。

    youdao

  • Implement the API methods in the service class as public instance methods.

    在服务类中实现作为公共实例方法的API方法。

    youdao

  • Implement the API methods in the controller class as public instance methods.

    在控制器类中实现作为公共实例方法的API方法。

    youdao

  • The API method implementations are defined in the controller class as public instance methods.

    API方法实现是作为公共实例方法定义在控制器类中的。

    youdao

  • The static methods in the Factory class will then call the instance methods of your factory instance.

    然后,Factory类中的静态方法会调用您工厂实例的实例方法。

    youdao

  • The compiler gives instance methods preference over extension methods.

    编译器赋予实例方法的优先级高于扩展方法。

    youdao

  • DriveInfo provides instance methods for accessing information about a drive.

    大意:driveinfo类提供访问驱动器信息的实例方法。

    youdao

  • Extension methods are less discoverable and more limited in functionality than instance methods.

    扩展方法不容易被发现并且在功能上比实例方法更受限。

    youdao

  • This class handles the attributes for the module and introduces the various class and instance methods.

    该类处理模块属性并引入不同的类和实例方法。

    youdao

  • The event handlers you write in the code behind must be instance methods and cannot be static methods.

    在代码隐藏中编写的事件处理程序必须是实例方法且不能是静态方法。

    youdao

  • Therefore, all those assert methods are now instance methods on TestCase, as you can see back in Listing 17.

    因此,这些断言方法现在都是TestCase上的实例方法,如清单17 所示。

    youdao

  • In addition, enumerated types support having constructors, instance methods, and variables, among other things.

    此外,枚举类型支持拥有构造函数、实例方法和变量,等等。

    youdao

  • Although identically named class methods and instance methods are represented by the same selector, they can have different parameter types and return types.

    尽管同名的类方法和实例方法拥有相同的选择器,但它们可以有不同的参数类型和返回值类型。

    youdao

  • Instead, you can pass in the GuiTestObject to the constructor once, and then use the methods to set and get the text as instance methods instead of class methods.

    可以将GuiTestObject只传递到构造函数中一次,然后将设置和获取文本的方法用作实例方法,而不是用作类方法。

    youdao

  • With the direct dispatching approach, the API definition class is attached to the controller class, and the API methods are implemented in the controller class as public instance methods.

    通过直接调度方法,可以把API定义类与控制器类绑定在一起,并且在控制器类中实现作为公共实例方法的API方法。

    youdao

  • Recall that a plug-in author needs three things: a place to put the implementation, a way to expose the DSL (the class methods), and a way to expose the instance methods for the state machine.

    回顾一下插件制作者需要的三个条件:放置实现的位置,公开DSL(类方法)的方法以及为状态机公开实例方法的方法。

    youdao

  • These are not as common as instance methods, but you will often see class methods that are factory methods for creating new instances of the class; this saves you from having to alloc and initialize.

    它们不像实例方法那样常见,但您将会经常看到一些类方法,它们作为创建新的类实例的工厂方法;这免得您必须进行分配和初始化。

    youdao

  • You can use string (instance) methods to operate on any property value, and you can call the static methods of many system classes.

    可以使用字符串(实例)方法来操作任何属性值,还可以调用许多系统类的静态方法。

    youdao

  • You can use string (instance) methods to operate on any property value, and you can call the static methods of many system classes.

    可以使用字符串(实例)方法来操作任何属性值,还可以调用许多系统类的静态方法。

    youdao

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

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

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