SwitchVolumeBuilder.

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

Summary

fluent setter for ISupportSwitchVolume.
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>

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.
GitHub Discussion