public void AddStateChangeHandler(IStateChangeHandler handler) { _stateChangeHandlers.Add(handler); }
public TSelfInterface WithStateChangeHandler(IStateChangeHandler <TEntity, TEntityDefinition> stateChangeHandler) { StateChangeHandlers.Add(stateChangeHandler); return((TSelf)this); }