public static void Reset() { if (resolver != null) { resolver.Dispose(); } }
public void Dispose() { if (_isDisposed) { return; } _isDisposed = true; _container.Dispose(); }
/// <summary> /// Internal release resources /// </summary> protected virtual void Dispose(bool disposing) { if (disposing) { if (_Dependencies != null) { _Dependencies.Dispose(); } _Dependencies = null; } }
private void DisposeScope(ExceptionCollector exceptionCollector) { try { _scope.Dispose(); } catch (Exception exception) { _exceptionProcessor.UpdateResultsWithException(_result.UpdateScenarioResult, exception); exceptionCollector.Capture(exception); } }
private void DisposeComposite() { try { _subStepScope?.Dispose(); } catch (Exception exception) { _stepContext.ExceptionProcessor.UpdateResultsWithException(_result.SetStatus, exception); _exceptionCollector.Capture(exception); } }
public void Dispose() { _subStepContainer?.Dispose(); }
public void Dispose() { _v1.Dispose(); }