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