将为事件处理程序的每个实例提供该事件处理程序内定义的所有进程数据和控制行为的私有副本。
A private copy of all process data and control behavior defined within an event handler is provided to each instance of an event handler.
维护成本与日俱增,因为要维护相似或相同服务的多个副本,并且不存在对此类服务的任何控制,从而进一步阻碍了开发。
The maintenance costs are increasing because multiple copies of similar or the same services are being maintained, and there's no control over such services, which halts further development.
第一个选项是最简单的,但是不希望在项目周围出现许多库的副本——即使在版本控制下。
The first option is the simplest but it's not desirable to have many copies of the library floating around across the projects -- even under version control.
应用推荐