单例模式确实能够轻而易举解决无须对每个类的引用都进行存储的问题。
They easily solve the problem of not having to store references to every class.
它还让您可以自由地重构您的类,而无须更改绑定的XML文档结构。
It also gives you the freedom to refactor your classes without needing to change the bound XML document structure.
开发人员再也无须引入众多的类库,或是指定调用方法时的可选参数了。
Developers will be freed both from the need for using a bulky type library, and the need for including optional arguments in their method calls.
应用推荐