"But," some clients object, "I tend to talk with my hands if they're on the table. Isn't that bad?"
有些客户反对说:“但是,如果我把手放在桌子上就容易边讲话边做手势,这不会糟糕吗?”
It encapsulates a request (a method call on some object) as an object, which lets you parameterise clients with different requests, queue or log requests, and support un-doable operations.
它将请求(某个对象上的方法调用)作为对象封装,这使您能够通过不同的请求(队列或日志请求)确定客户机的参数并支持无法执行的操作。
The clients would need some way to ask the object for a specific interface, and in fact we already introduced a method for doing so-the IID passed to DllGetClassObject.
客户端需要一些方法来要求对象处理指定的接口,且实际上我们也介绍了一个方法来做这样的事情—传递到DLLGetClassObject的IID参数。
应用推荐