命令对象模式的还是真实的?
创建一个新的菜单命令对象。
在实现中,通过使用指向命令对象的指针获取属性。
In your implementation, you get the property by using the pointer to the command object.
你可以创建自己所需要的新的对象或命令类型。
If you need a new type of object or command, you create one.
使用帮助命令可获取关于目标对象和选项的信息。
Use the help command to get information on the target object and options.
图2展示了通过命令行运行此COM对象的输出结果。
Figure 2 shows the output from running this com object from the command line.
使用帮助命令获取关于管理命令的目标对象的信息。
Use the help command to get information on the target object of an admin command.
这里有两个由命令行工具定义的与脚本包相关的对象。
There are two script package-related objects defined by the command line tool.
然后setmqaut命令授予或撤销该对象定义上的权限。
The setmqaut command then grants or revokes authority on the object definition.
我们能用此前讨论过的 @listall命令来查看对象所有的属性。
We can see all the properties of the object using the @listall command discussed earlier.
使用——testall命令行参数重新运行测试用例对象。
Re-run the test case object using the — test all command line argument.
如果命令没有任何目标对象。
使用AdminTask对象运行管理命令。
如果是不支持项的对象,则只能使用“刷新”命令。
If it is an object for an unsupported item, only the refresh command is available.
上下文是一个菜单命令的目标对象。
子类可以重写这个对象发送命令消息给特定的对象。
Subclasses may override this method to perform special dispatching of action messages.
接受命令的对象。
无法创建用于分析该命令的动态脚本主机对象。
Unable to create the Active Script Host object for parsing this command.
这些参数或者数据对象必须跟在命令后。
这些参数或者数据对象必须跟在命令后。
应用推荐