ServiceAliases.

GetServices(ICakeContext) Method

Summary

Gets a list of System.ServiceProcess.ServiceController on the specified computer.
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static List<ServiceController> GetServices(this ICakeContext context)

Attributes

Type Description
CakeMethodAliasAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The cake context.

Return Value

Type Description
List<ServiceController> A list of System.ServiceProcess.ServiceController on the specified computer.