Esempio n. 1
0
 private void RestServerManager_OnRestServerStopped(object sender, OnRestServerStoppedEventArgs e)
 {
     if (m_EndpointData.Owner == e.RestServer)
     {
         m_RestServerRunning = false;
         SetRestServerEnables(true);
     }
 }
Esempio n. 2
0
 private void RestServerManager_OnRestServerStopped(object sender, OnRestServerStoppedEventArgs e)
 {
     if (e.RestServer == m_RestServerData)
     {
         m_RestServerRunning = false;
         SetRestServerEnables(true);
     }
 }
Esempio n. 3
0
 private void RestServerManager_OnRestServerStopped(object sender, OnRestServerStoppedEventArgs e)
 {
     if (treeViewServices.SelectedNode != null && treeViewServices.SelectedNode.Tag is MockServiceTabPage)
     {
         MockServiceTabPage thisTabPage = treeViewServices.SelectedNode.Tag as MockServiceTabPage;
         if (thisTabPage.MockRestServerUserControl.RestServerData == e.RestServer)
         {
             toolStripButtonRemoveServer.Enabled = true;
         }
     }
 }
Esempio n. 4
0
 private void RestServer_OnRestServerStopped(object sender, OnRestServerStoppedEventArgs e)
 {
     OnRestServerStopped?.Invoke(this, e);
 }