It should also implement the execute method that contains the main command logic.
它还应该实现包含主要命令逻辑的execute方法。
Command execute logic should be provided in this method.
在此方法中,应该提供命令执行逻辑。
All concrete commands — all business logic — realize the command interface.
所有的具体指令——所有的业务逻辑——实现命令接口。
Create the logic to execute the command.
创建执行命令的逻辑。
All business logic is encapsulated in Command objects by applying the Command pattern.
所有的业务逻辑通过应用Command模式来封装在Command对象中。
The command-line compiler has built-in MAKE logic to aid in project maintenance.
命令行编译器使用构造逻辑的方式来维护工程。
The command-line compiler has built-in MAKE logic to aid in project maintenance.
命令行编译器使用构造逻辑的方式来维护工程。
应用推荐