COM的客户程序通过获取指向一个对象接口的一个指针,并通过该指针来调用方法以实现与COM对象之间的互相作用,就好像对象驻留在客户程序的地址空间中一样。
A COM client interacts with a COM object by acquiring a pointer to one of the object's interfaces and invoking methods through that pointer, as if the object resides in the client's address space.
在IoC设置中,这些方面通常由一个ioc容器处理,比如,该容器通过调用setter方法将这些依赖项注入组件。
In an IoC setup, these aspects are normally handled by an IoC container that injects the dependencies into the component by calling a setter method, for example.
通过使用SOAPContext的“reponse”对象(该对象是基于“文档”的方法调用的参数)创建MIME附件可以实现这一点。
This is done by creating MIME attachments by using SOAPContext 'reponse' object, which is a parameter to 'document' based method calls.
应用推荐