GetServices() public static méthode

public static GetServices ( ) : System.ServiceProcess.ServiceController[]
Résultat System.ServiceProcess.ServiceController[]
Exemple #1
0
 public IServiceController[] GetServices()
 {
     return(ServiceController.GetServices().Select(controller => new ServiceControllerWrapper(controller)).Cast <IServiceController>().ToArray());
 }