Beispiel #1
0
 public void TearDown()
 {
     if (_server != null)
     {
         _server.Dispose();
         _server = null;
     }
 }
        /// ------------------------------------------------------------------------------------
        public void Dispose()
        {
            _scope.Dispose();
            _scope = null;

            if (_bloomServer != null)
            {
                _bloomServer.Dispose();
            }
            _bloomServer = null;
            if (_imageServer != null)
            {
                _imageServer.Dispose();
            }
            _imageServer = null;
        }
Beispiel #3
0
 public void OneTimeTearDown()
 {
     _server?.Dispose();
     _server = null;
 }
 public virtual void OneTimeTearDown()
 {
     s_testServer.Dispose();
 }
 public void Teardown()
 {
     _server.Dispose();
     _server = null;
     Monitor.Exit(_portMonitor);
 }