Beispiel #1
0
 /// <summary>Close specified state</summary>
 /// <param name="state">state pointer</param>
 public void Close(TSSState state)
 {
     state.Close();
     if (state != currentState)
     {
         return;
     }
     currentState = null;
     if (useEvents)
     {
         OnCurrentStatedClosed.Invoke(state);
     }
 }