Converts an ICommand object to and from other types.
将对象的值转换为不同的数据类型。
The second issue exists in Silverlight 3 because the ICommand interface is provided, but not implemented.
第二个问题存在于Silverlight3 中,因为在Silverlight 3中ICommand接口是提供了,但是没有被实现。
An "undo" feature can be added to this framework relatively easily. An undo operation can be added to ICommand and implemented in each ConcreteCommand.
“undo”特性能被相对容易地添加到这个框架中,undo操作可以被添加到ICommand,并且在每个ConcreteCommand中实现。
GetCommand (ID) causes CommandFactory to create the command object (see code below), and execute is the operation in ICommand that performs the business logic.
getCommand (ID)引起CommandFactory创建command对象(请看下列代码),而且execute是ICommand的操作,执行业务逻辑。
BusinessLayerProxy never knows what command it's executing, only that it's executing some business logic through the ICommand interface (notice the return value from CommandFactory).
BusinessLayerProxy并不清楚执行什么命令,它只是通过ICommand接口执行一些业务逻辑(注意CommandFactory的返回值)。
BusinessLayerProxy never knows what command it's executing, only that it's executing some business logic through the ICommand interface (notice the return value from CommandFactory).
BusinessLayerProxy并不清楚执行什么命令,它只是通过ICommand接口执行一些业务逻辑(注意CommandFactory的返回值)。
应用推荐