Пример #1
0
 public void TearDown()
 {
     if (_server != null)
     {
         _server.Dispose();
         _server = null;
     }
 }
Пример #2
0
        /// ------------------------------------------------------------------------------------
        public void Dispose()
        {
            _scope.Dispose();
            _scope = null;

            if (_bloomServer != null)
            {
                _bloomServer.Dispose();
            }
            _bloomServer = null;
            if (_imageServer != null)
            {
                _imageServer.Dispose();
            }
            _imageServer = null;
        }
Пример #3
0
 public void OneTimeTearDown()
 {
     _server?.Dispose();
     _server = null;
 }
 public virtual void OneTimeTearDown()
 {
     s_testServer.Dispose();
 }
Пример #5
0
 public void Teardown()
 {
     _server.Dispose();
     _server = null;
     Monitor.Exit(_portMonitor);
 }