While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

Switch.

Switch(DocumentConfig) Constructor

Summary

Defines the delegate that will be invoked against each input document to get the case comparison value.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
Switch

Syntax

public Switch(DocumentConfig value)

Parameters

Name Type Description
value DocumentConfig A delegate that returns an object to compare cases against.

Return Value

Type Description
void
GitHub