Exemplo n.º 1
0
        private void Stop()
        {
            try
            {
                MemberSearchHost.Stop();
                JobAdSearchHost.Stop();
                JobAdSortHost.Stop();
                ResourceSearchHost.Stop();

                chkSynchroniseIndex.Enabled = true;
                chkRebuildIndex.Enabled     = true;
                btnStart.Enabled            = true;
                btnStop.Enabled             = false;
            }
            catch (Exception ex)
            {
                new ExceptionDialog(ex, "Exception").ShowDialog();
            }
        }
Exemplo n.º 2
0
 public void TestCleanup()
 {
     StopHosts();
     ResourceSearchHost.Start();
 }
Exemplo n.º 3
0
 public void TestInitialize()
 {
     ResourceSearchHost.Stop();
     StartHosts();
 }