Beispiel #1
0
 protected override void OnStop()
 {
     ConsoleActions.StopServer();
     Thread.Sleep(1000);
 }
Beispiel #2
0
 protected override void OnStart(string[] args)
 {
     ConsoleActions.StartServer();
 }