Esempio n. 1
0
 protected override void OnContinue()
 {
     ServiceLogger.Log(String.Format(@"Resuming {0}.", ServiceName));
     ResumeRunner();
     ServiceLogger.Log(String.Format(@"{0} resumed.", ServiceName));
 }
Esempio n. 2
0
 protected override void OnPause()
 {
     ServiceLogger.Log(String.Format(@"Pausing {0}.", ServiceName));
     PauseRunner();
     ServiceLogger.Log(String.Format(@"{0} paused.", ServiceName));
 }
Esempio n. 3
0
 protected override void OnStop()
 {
     ServiceLogger.Log(String.Format(@"Stopping {0}.", ServiceName));
     StopRunner();
     ServiceLogger.Log(String.Format(@"{0} stopped.", ServiceName));
 }
Esempio n. 4
0
 protected override void OnStart(string[] args)
 {
     ServiceLogger.Log(String.Format(@"Starting {0}.", ServiceName));
     StartRunner();
     ServiceLogger.Log(String.Format(@"{0} started.", ServiceName));
 }
Esempio n. 5
0
 /// <summary>
 ///
 /// </summary>
 protected override void OnContinue()
 {
     ServiceLogger.Log(String.Format(@"{0} continued.", ServiceName));
 }
Esempio n. 6
0
 /// <summary>
 ///
 /// </summary>
 protected override void OnPause()
 {
     ServiceLogger.Log(String.Format(@"{0} paused.", ServiceName));
 }