There are two main cases where you might want to take some code out of a method and put it in another method.
将一部分代码从一个方法中取出并放进另一个方法中的原因主要有两种。
It also provided a layer of protection between new and legacy code, ensuring the two types of code did not inappropriately affect one another.
它还在新代码和遗留代码之间提供一个保护层,以确保这两种类型的代码不致于对彼此造成不利影响。
The two require_once statements are another interesting part of this code.
这段代码中另一个有趣的部分就是两条require_once语句。
Another way to integrate the two systems involves Web standards and consuming a Domino Web service within.net code.
另一种集成两个系统的方法涉及到Web标准和在. NET代码中使用Domino Web服务。
The code above shows that you need to know two things in order to enable one JSR portlet to communicate with another JSR portlet in a different page.
上面的代码表明,您需要知道两件事才能使一个JSRPortlet能够与其他页面上的另一个JSR Portlet通信。
In the particular example shown in Listing 2, the Lotus script code permits that another job can be created after 120 seconds (or two minutes).
在清单2所示的例子中,lotus脚本代码允许在120秒(即2分钟)之后创建另一个作业。
As you can see in the preceding two code snippets, each entity is using another entity as a navigation property so that you can access the related object from each other.
就像你看到的一样,上面的两个部分的代码块中,每个实体都使用彼此的实体,作为导航属性,因此你可以从任何实体中访问另外的实体。
Keyboard hook procedure, the compressed file contains two parts, code, part of the code is to create hook, another part of the record keystroke code.
键盘钩子程序,本压缩文件包含两部分代码,一部分是创建钩子的代码,另一部分是记录键盘按键的代码。
Qing Code: two fingers simultaneously pressing the new remote unlock, lock, when the lights flash, release a finger, another finger to continue pressing.
清码:两手指同时按着新遥控开锁,关锁,当指示灯快闪时松开一个手指,另一个手指继续按着。
Qing Code: two fingers simultaneously pressing the new remote unlock, lock, when the lights flash, release a finger, another finger to continue pressing.
清码:两手指同时按着新遥控开锁,关锁,当指示灯快闪时松开一个手指,另一个手指继续按着。
应用推荐