要想了解它在实际中是如何工作的,请看附带的示例应用代码。
To see how it works in real life, please see attached sample application code.
通知测试团队及时改写代码(请看图12)。
Inform the test team about the reworked code in time. (See Figure 12.)
getCommand (ID)引起CommandFactory创建command对象(请看下列代码),而且execute是ICommand的操作,执行业务逻辑。
GetCommand (ID) causes CommandFactory to create the command object (see code below), and execute is the operation in ICommand that performs the business logic.
应用推荐