/// <summary> /// Get the name of the currently running state /// </summary> /// <returns></returns> public string GetCurrentStateName() { if (currentState != null) { return(currentState.GetStateName()); } return(string.Empty); }
/// <summary> /// Get the name of previously run state /// </summary> /// <returns></returns> public string GetPreviousStateName() { if (prevState != null) { return(prevState.GetStateName()); } return(string.Empty); }