private void SM_OnStateChanged(IState priorState, IState formerState)
 {
     OnStateChanged?.Invoke(priorState, formerState);
     OnStateChangedGeneric?.Invoke(priorState as IState <S>, formerState as IState <S>);
 }
Exemplo n.º 2
0
 internal void FireOnStateChanged(IState priorState, IState formerState)
 {
     OnStateChanged?.Invoke(priorState, formerState);
     OnStateChangedGeneric?.Invoke(priorState as IState <S>, formerState as IState <S>);
 }