Skip to content

InvariantManager

KuSpa edited this page Feb 16, 2018 · 3 revisions

What is the InvariantManager?

The InvariantManager is a Class, which holds a WeakIdentityDictionary of Classes referencing to their Invariants. Since it was not recommended to add state to the Behavior class, the Behavior class got fake accessors, which intern lookup their Invariant at the InvariantManager.

Clone this wiki locally