ServiceAliases.

IsServiceStopped(ICakeContext, string) Method

Summary

Checks if the named service is stopped
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static bool IsServiceStopped(this ICakeContext context, string name)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
name string The name that identifies the service to the system.

Return Value

Type Description
bool If the service is stopped.