observer pattern的用法和样例:
例句
- Some of the patterns covered are Singleton, Observer, Template Method, Iterator, and Proxy.
这些模式涵盖了单件模式,观察者模式,模板方法模式,迭代器模式和代理模式。 - While that describes the role of the Decorator Pattern, it doesn't give us a lot of insight into how we'd apply the pattern to our own implementation.
在描述装饰者模式的规则时,并没有在如何应用该模式到我们的实现软件上给我们多少深刻的理解。