The local bus service was a poor substitute for their car.
他们坐当地的公交车,这比坐自己的汽车可差远了。
The proxy pattern is really nothing more than the creation of an object that represents or ACTS as a substitute for another real object that will eventually complete the call or perform the service.
实际上,代理模式无非是创建一个代表或充当另一个实际对象的替身的对象,另一个对象将最终将调用或执行服务。
This import will now refer to the export we created earlier and will ultimately let us use the custom mediation in that module, thus using the DateProvider as a substitute for an external service.
该导入现在将引用我们先前创建的导出,并最终让我们在模块中使用自定义中介,因而使用 DateProvider 作为外部服务的替代。
应用推荐