Example #1
0
 /// <summary>
 /// Retrieves the previous executed state
 /// </summary>
 /// <typeparam name="T">state type</typeparam>
 /// <returns><c>the state</c>, if state is available else <c>null</c></returns>
 public T GetPreviousState <T>() where T : IState
 {
     return(_fsm.GetPreviousState <T>());
 }