예제 #1
0
파일: IoC.cs 프로젝트: Praveencls/cxm
 public static void Reset()
 {
     if (resolver != null)
     {
         resolver.Dispose();
     }
 }
예제 #2
0
        public void Dispose()
        {
            if (_isDisposed)
            {
                return;
            }

            _isDisposed = true;
            _container.Dispose();
        }
예제 #3
0
파일: Sweph.cs 프로젝트: ygrenier/SwephNet
 /// <summary>
 /// Internal release resources
 /// </summary>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_Dependencies != null)
         {
             _Dependencies.Dispose();
         }
         _Dependencies = null;
     }
 }
예제 #4
0
 private void DisposeScope(ExceptionCollector exceptionCollector)
 {
     try
     {
         _scope.Dispose();
     }
     catch (Exception exception)
     {
         _exceptionProcessor.UpdateResultsWithException(_result.UpdateScenarioResult, exception);
         exceptionCollector.Capture(exception);
     }
 }
예제 #5
0
 private void DisposeComposite()
 {
     try
     {
         _subStepScope?.Dispose();
     }
     catch (Exception exception)
     {
         _stepContext.ExceptionProcessor.UpdateResultsWithException(_result.SetStatus, exception);
         _exceptionCollector.Capture(exception);
     }
 }
예제 #6
0
 public void Dispose()
 {
     _subStepContainer?.Dispose();
 }
예제 #7
0
 public void Dispose()
 {
     _v1.Dispose();
 }