SevenZipAliases.

SevenZip(ICakeContext, SevenZipSettings, Action<CommandBuilder>) Method

Summary

Runs 7zip, using SevenZipSettings for configuration and additionally CommandBuilder for fluent configuration of the Command.

Works exactly like Cake.SevenZip.SevenZipAliases.SevenZip(Cake.Core.ICakeContext,System.Action{Cake.SevenZip.Builder.CommandBuilder}) However, the settings are supplied to set e.g. the ToolPath or something else.

DO NOT set Command on the SevenZipSettings, as it will be overwritten by the CommandBuilder.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip
Containing Type
SevenZipAliases

Syntax

public static void SevenZip(this ICakeContext context, SevenZipSettings settings, Action<CommandBuilder> action)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext.
settings SevenZipSettings The SevenZipSettings.
action Action<CommandBuilder> The fluent CommandBuilder-Builder.

Return Value

Type Description
void