SwitchSetHashFunctionBuilder.

WithHashFunction<T>(T, SwitchSetHashFunction, SwitchSetHashFunction[]) Method

Summary

fluent setter for ISupportSwitchSetHashFunction.

Syntax

public static T WithHashFunction<T>(this T this, SwitchSetHashFunction hashFunction, params SwitchSetHashFunction[] additionalHashFunctions) 
    where T : ISupportSwitchBuilder<ISupportSwitchSetHashFunction>

Type Parameters

Name Description
T the builder to support the ISupportSwitchSetHashFunction.

Parameters

Name Type Description
this T The builder-instance.
hashFunction SwitchSetHashFunction The hash-function.
additionalHashFunctions SwitchSetHashFunction[] Any additional hash-functions.

Return Value

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