コード例 #1
0
 private void uxStopButton_Click(object sender, RoutedEventArgs e)
 {
     mMinecraft.StopServer(uxGracefulCheckbox.IsChecked.Value);
 }
コード例 #2
0
ファイル: ServerTests.cs プロジェクト: Cylindric/Enigma-MM
 public void FixtureTeardown()
 {
     mPersistentServer.StopServer(false, 0, true);
     WaitForServerStatus(Status.Stopped);
     mPersistentServer = null;
 }