示例#1
0
 public void Cleanup()
 {
     ScenarioContext.Current.TryGetValue("resourceModel", out IResourceModel resourceModel);
     if (resourceModel != null)
     {
         environmentModel.ResourceRepository.DeleteResource(resourceModel);
         environmentModel.ResourceRepository.DeleteResourceFromWorkspace(resourceModel);
     }
     declaredDependency?.Dispose();
 }
 public void Cleanup() => _containerOps?.Dispose();
 public void DisposeContainer() => _containerOps?.Dispose();
示例#4
0
 public static void CleanupContainer() => _containerOps?.Dispose();
示例#5
0
 public void CleanUp()
 {
     CleanupForTimeOutSpecs();
     _containerOps?.Dispose();
 }
 public static void StopRemoteContainer() => _containerOps?.Dispose();
示例#7
0
 public void MyTestCleanup() => _dependency.Dispose();