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