SwitchVolumeBuilder.

WithVolume<T>(T, int, VolumeUnit) Method

Summary

fluent setter for ISupportSwitchVolume.
Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Builder
Containing Type
SwitchVolumeBuilder

Syntax

public static T WithVolume<T>(this T this, int size, VolumeUnit unit = null) 
    where T : ISupportSwitchBuilder<ISupportSwitchVolume>

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T the builder to support the ISupportSwitchVolume.

Parameters

Name Type Description
this T The builder-instance.
size int The size.
unit VolumeUnit The unit.

Return Value

Type Description
T The builder-instance for fluent re-use.