register With
Registers this instance as a part of the given Bounded Context.
This method should be only called once. However, it is allowed to register a single instance many times with the same Bounded Context. If the same instance is registered with different Contexts, a runtime exception is thrown.
Parameters
context
the Context to which this instance belongs