SwitchCompressionMethodBuilder.

WithCompressionMethod<T>(T, Action<SwitchCompressionMethod>) Method

Summary

fluent setter for ISupportSwitchCompressionMethod using an action.

Syntax

public static T WithCompressionMethod<T>(this T this, Action<SwitchCompressionMethod> action) 
    where T : ISupportSwitchBuilder<ISupportSwitchCompressionMethod>

Type Parameters

Name Description
T the builder to support the ISupportSwitchCompressionMethod.

Parameters

Name Type Description
this T The this.
action Action<SwitchCompressionMethod> The action.

Return Value

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