Esempio n. 1
0
 /// <summary>
 /// Tries to resume the execution of PlanetLab commands.
 /// </summary>
 /// <param name="state">The manager state/</param>
 /// <param name="action">The action to take after the execution was resumed.</param>
 private void TryResume(PlManagerState state, Action action)
 {
     // Resume the execution through the manager state.
     state.Resume();
     // Execute the action.
     action();
 }