DotCoverCoverSettingsExtensions.

WithLegacySyntax(DotCoverCoverSettings, bool) Method

Summary

Configures whether to use legacy command syntax.

Syntax

public static DotCoverCoverSettings WithLegacySyntax(this DotCoverCoverSettings settings, bool useLegacySyntax = true)

Parameters

Name Type Description
settings DotCoverCoverSettings The settings.
useLegacySyntax bool Whether to use legacy syntax. Default is false (new syntax).

Return Value

Type Description
DotCoverCoverSettings The same DotCoverCoverSettings instance so that multiple calls can be chained.