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.
使用模板方法实现中介模式的桥接角色,这种做法提供了一种可以在将来添加外部通信备用类型的机制。
2
In these cases, instead of adding verification points to the test script, testers must code the validation mechanism.
在这种情况下,测试员不是向测试脚本添加确认点,而是对确认机理编码。
3
The mechanism is highly extensible; adding new data types does not change the original vocabulary.