获取服务(GetService)。服务(Service)一词容易让人误解(我开始以为是跨进程的调用呢),其实这里的服务就是一个单件,也就是说该组件只有一个实例存在。
基于1个网页-相关网页
Clients obtain a service by supplying to the service provider's GetService method the type of the service they want.
客户端通过向服务提供程序的GetService方法提供它们所需的服务类型来获得服务。
youdao
应用推荐
模块上移
模块下移
不移动