DeploySettingsExtensions.

SetWhatIf(DeploySettings, bool) Method

Summary

Sets if operations will not be executed but events will still be fired
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

Syntax

public static DeploySettings SetWhatIf(this DeploySettings settings, bool whatIf = true)

Parameters

Name Type Description
settings DeploySettings The publish settings.
whatIf bool If operations will not be executed

Return Value

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