TopshelfSettingsExtensions.

SetServiceName(TopshelfSettings, string) Method

Summary

Specifies the service name returned by the getkeyname operation.
Assembly
Cake.Topshelf.dll
Namespace
Cake.Topshelf
Containing Type
TopshelfSettingsExtensions

Syntax

public static TopshelfSettings SetServiceName(this TopshelfSettings settings, string name)

Parameters

Name Type Description
settings TopshelfSettings The installation settings.
name string The name of the service

Return Value

Type Description
TopshelfSettings The same TopshelfSettings instance so that multiple calls can be chained.