ClickTwiceManagerExtensions Class

Summary

Extension methods for the ClickTwiceManager
Assembly
Cake.ClickTwice.dll
Namespace
Cake.ClickTwice
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ClickTwiceManagerExtensions"] class Type type-node

Syntax

public static class ClickTwiceManagerExtensions

Methods

Name Value Summary
CleanAfterBuild(ClickTwiceManager) ClickTwiceManager
Enables cleaning the output directory after a complete build
static
ForceRebuild(ClickTwiceManager) ClickTwiceManager
Enables forcing a rebuild of the application, even if a build is up-to-date
static
LogTo(ClickTwiceManager, IPublishLogger) ClickTwiceManager
Adds a new ClickTwice.Publisher.Core.Loggers.IPublishLogger to the Loggers collection
static
SetBuildPlatform(ClickTwiceManager, MSBuildPlatform) ClickTwiceManager
Sets the build platform to use when invoking MSBuild
static
SetConfiguration(ClickTwiceManager, string) ClickTwiceManager
Sets the build configuration to use when invoking MSBuild
static
ThrowOnHandlerFailure(ClickTwiceManager) ClickTwiceManager
Enables aborting the build if an input handlers fails with an error
static
WithHandler(ClickTwiceManager, IHandler) ClickTwiceManager
Adds an input or output handler to the build pipeline
static
WithHandlers(ClickTwiceManager, IEnumerable<IHandler>) ClickTwiceManager
Adds multiple input or output handlers to the build pipeline
static
WithVersion(ClickTwiceManager, string) ClickTwiceManager
Manually sets the publish version to the provided value
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin