ServiceAliases.

ExecuteServiceCommand(ICakeContext, string, int) Method

Summary

Executes a command on a named service
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static bool ExecuteServiceCommand(this ICakeContext context, string name, int command)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
bool If the command was executed.