规则逻辑本身(无论其位于上下文中任何位置)可能需要作为服务公开,以便能调用来维护特定处理场景的完整性。
The rules logic itself (wherever it's located in the context) might need to be exposed as a service that can be called to maintain integrity for certain processing scenarios.
另外,还有许多模式有助于维护规则体系结构的完整性。
Additionally, there are a number of patterns that may be observed that will assist significantly in maintaining the integrity of a rules architecture over time.
要维护具有不同生存期的对象的完整性,在引用这些对象时必须遵守一条规则:一个对象可能不能引用另一个具有更短生存期(与自身比较)的对象。
To maintain the integrity of objects with different lifetimes, you must follow one rule when referencing objects: an object may not reference another object with a shorter lifetime.
应用推荐