In an ideal world, each functional area such as process services, would be "pure", offering only one class of services in order to provide a separation of concerns.
在理想情况下,每个功能区(如流程服务)都是“纯”功能区,为了实现关注点分离仅提供了一个服务类。
What's more, in pure DBC terms, a class that abides by DBC rules has a contract with the outside world about the internal consistency that it will maintain, which is known as the class invariant.
另外,在纯dbc术语中,遵循dbc规则的类针对其将维护的内部一致性与外部世界有一个契约,即人所共知的类不变式。
In Figure 3, Shipment is a pure client class and is not assigned to a potential domain package.
在图3中,Shipment是一个纯粹的客户机类并没有分配到一个可能的域包。
应用推荐