Exemple #1
0
 public void Dispose()
 {
     if (featureContext != null)
     {
         featureContext.Dispose();
     }
     if (scenarioContext != null)
     {
         scenarioContext.Dispose();
     }
 }
Exemple #2
0
 public void Dispose()
 {
     if (featureContextManager != null)
     {
         featureContextManager.Dispose();
     }
     if (scenarioContextManager != null)
     {
         scenarioContextManager.Dispose();
     }
     if (stepContextManager != null)
     {
         stepContextManager.Dispose();
     }
 }
Exemple #3
0
 public void Dispose()
 {
     featureContextManager?.Dispose();
     scenarioContextManager?.Dispose();
     stepContextManager?.Dispose();
 }