Beispiel #1
0
 /// <summary>
 /// If the current activity is not active, then try moving to it. SequencingException is not
 /// thrown from this method, since if it didn't work there is nothing the caller can do to
 /// fix the situation.
 /// </summary>
 protected void ActivateCurrentActivity()
 {
     try
     {
         if (m_session.HasCurrentActivity && (!m_session.CurrentActivityIsActive))
         {
             m_session.MoveToActivity(m_session.CurrentActivityId);
         }
     }
     catch (SequencingException)
     {
     }
 }