然后需要为invoke添加方法声明以便类进行编译。
You then need to add a method declaration for invoke so that the class compiles.
还可以添加方法和数据到已有的类中,因为类是开放式的。
You can also add methods and data to existing Ruby classes because classes are open.
然后可以将一个或多个测试方法添加到此类。
这些方法都是添加或替换数据。
可以通过更改这个方法添加自己的功能。
一种方法是添加定制属性到一个 。
这是一些您马上将向它们添加REST方法的操作。
These are the actions to which you shortly will add REST methods.
您可以添加新方法,以符合您的应用软件的用例。
You can add new methods to fit the use cases of your application.
另外,将参数添加到方法中的界面是直观的。
In addition, the interface to add parameters to the method is intuitive.
然后从这里开始添加新的方法。
这就提供了一种可预测的方法来添加,修改和调整业务逻辑。
This provides a very predictable way to add, modify, and debug business logic.
请注意,服务定义只包含用于添加和移除服务的方法。
Note that the service definition simply contains methods to add and remove a service.
请记住,您需要为类添加必要的继承抽象方法。
Remember that you need to add the necessary inherited abstract methods for your class.
对象地图还提供向脚本添加对象的快速方法。
The object map also provides a quick way to add objects to a script.
这很容易在GUI编辑器中完成,方法与您前面添加字段的方法相同。
This is done easily in the GUI editor the same way you added fields earlier.
很容易使用清单15所示的方法添加它们。
You can easily add them using the method shown in Listing 15.
例如,没有方法向信号添加参数。
该方法允许您添加或删除用户并更改用户或组信息。
This approach allows you to add or remove users and change user or group information.
通过使用相同的DHTML方法可以添加该功能。
You could add this functionality by using the same DHTML approach.
添加这些方法后,REST服务基本就可以运行了。
After adding these methods, you are almost ready to see the REST service in action.
您可以为新方法添加新类型。
现在让我们添加形成DSL的类方法。
系统会添加z方法到自动日志210。
向您的数据成员添加相关的获得方法。
将以下方法添加到该接口,然后单击Finish。
在messagesend源文件的execute方法中添加示例代码。
Add example code in the execute method of MessageSend source file.
当然,还要在main方法中添加对例程的调用。
And, of course, add a call to the routine in the main method.
接下来,将下列代码添加到queryRecords方法的末尾。
Next, add the following code to the end of the queryRecords method.
我们只需向方法getContentAssistant()添加如清单12 所示的行。
We simply add the line shown in Listing 12 to the method getContentAssistant().
确保在main方法中添加一个侦听器。
应用推荐