template method
常见例句
- When the assertions fail, the methods throw AssertionFailedError, which TestResult catches and interprets in the result-handling fixture template method.
如果断言失败,那么这些方法将抛出 AssertionFailedError,TestResult 在结果处理装置模板方法中捕获这些异常并进行解释。 - Using the template method for implementing the bridge role of the broker pattern provided a mechanism for adding alternative types of external communication in the future.
使用模板方法实现中介模式的桥接角色,这种做法提供了一种可以在将来添加外部通信备用类型的机制。 - The "bridge" role from the broker pattern was then implemented using the template method pattern to support remote service invocation using several different underlying communication technologies.
中介模式的“桥接”角色是使用模板方法模式实现的,它通过几种不同的基础通信技术,为远程服务调用提供支持。 返回 template method