TopshelfSettingsExtensions.

SetDisabled(TopshelfSettings, bool) Method

Summary

Sets if the service should be set to disabled
Assembly
Cake.Topshelf.dll
Namespace
Cake.Topshelf
Containing Type
TopshelfSettingsExtensions

Syntax

public static TopshelfSettings SetDisabled(this TopshelfSettings settings, bool disabled = true)

Parameters

Name Type Description
settings TopshelfSettings The installation settings.
disabled bool if the service should be set to disabled

Return Value

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