Ejemplo n.º 1
0
 /// <summary>
 /// Start a certain service if it is not running
 /// </summary>
 /// <param name="service">
 /// Target service to be started
 /// </param>
 private static void Start(IHelperService service)
 {
     if (service.Status != HelperServiceStatus.Running)
     {
         service.Start();
     }
 }