As you'll recall, there were 3 pieces of code to write: task code, a loader, and an aggregator.
回忆一下,我们编写了3块代码:任务代码、加载器和聚合器。
To do that, you have to specify the points in task code where the thread is allowed to cut over to another task.
这样做,你必须指定点的任务代码中的线程可以切换到另一个任务。
Task 2: Create a PHP code module to do the necessary business logic and the DB calls.
任务2:创建一个PHP代码模块来执行必需的业务逻辑和数据库调用。
This is a quick lesson on how to use the Task Scheduler from managed code.
本文是一篇快速教程,讲解了如何在托管代码中使用计划任务程序。
Without that definition, the complex task of effectively assembling the code and changes over time is impossible.
如果没有这个定义的话,有效地装配代码和变更这一复杂的任务将是不可能的。
This task is done by using the code shown in listing 11.
这个任务通过使用清单11中所示的代码来完成。
A Task resolution code could be set to Fixed.
可以将任务解决代码设置为处理过的。
Performing the data type conversion is a common task, so this piece of code can be reused.
因为可以重新使用此段代码,所以执行数据类型转换是一项常见任务。
The code snippet shown will accomplish this task.
显示的代码片断将完成这一任务。
Developers write code assuming the only task is to make it perform a function.
开发人员在写代码时,假定唯一的工作就是完成某个功能。
One obvious drawback is that the name of the task gets embedded in the application code, thus adding unwanted maintenance complexity.
它的一个显著缺陷就是,任务名称嵌入到应用程序代码中,从而增加了不必要的维护复杂度。
But writing code is one task that awaits every programmer.
不过写代码是每个程序员都无法逃避的任务。
In this task, we start identifying the code that implements the use cases.
在此任务中,我们开始鉴别实现用例的代码。
The developer adds the necessary code to implement the task, for example, execute the correct rules.
开发人员添加所需的代码来实现这个任务,例如,执行正确的规则。
Writing the actual code is not a trivial task.
编写真实代码并非微不足道的工作。
During the coding activities, the developer's primary task is generating bug-free and customer-relevant code.
在编码活动中,开发人员的主要任务是生成没有错误且与客户相关的代码。
Listing 16 shows the code to perform this task.
清单16给出执行此任务的代码。
The developer will add the necessary code to implement the task, in other words, execute the correct rules.
开发人员为实现该任务添加必要的代码,换句话说,就是执行适当的规则。
Listing 4 shows a snippet of code to perform the task.
清单4显示了执行此任务的代码片段。
You can later add the necessary code to actually implement the task.
您可以添加必要的代码来实现该任务。
The fourth task can be accomplished with the code in Listing 20.
第四个任务可用清单 20中的代码来完成。
The second task can be accomplished with the code in Listing 18.
第二个任务可用清单18中的代码来完成。
The third task can be accomplished with the code in Listing 19.
第三个任务可用清单 19中的代码来完成。
The first task can be accomplished with the code in Listing 17.
第一个任务可用清单 17中的代码来完成。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
But performing a task with interpreted code and performing it with compiled code can take significantly different amounts of time.
但是使用解释后的代码执行任务和使用编译后的代码执行任务在时间上有巨大的差异。
Please review the script in the code archive for how this task is pulled together.
请查看代码归档中的脚本了解如何整合该任务。
As the code base grows, manual testing becomes an impossible task, and every code change made, big or small, could affect the entire application.
随着代码库的增长,手动测试已经变成不可能完成的任务,无论是大是小,所有代码的变化都会对整个应用程序产生影响。
Your task application code will be executed here.
你的任务应用程序代码就将在这里面执行。
Listing 1 is a code snippet that shows how that task can be accomplished.
清单1的代码片段展示了如何完成这一任务。
应用推荐