Summary
Configures whether to use legacy command syntax.
- Namespace
- Cake
.Common .Tools .DotCover .Cover - Containing Type
- Dot
Cover Cover Settings Extensions
Syntax
public static DotCoverCoverSettings WithLegacySyntax(this DotCoverCoverSettings settings, bool useLegacySyntax = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | Dot |
The settings. |
| useLegacySyntax | bool | Whether to use legacy syntax. Default is false (new syntax). |
Return Value
| Type | Description |
|---|---|
| Dot |
The same DotCoverCoverSettings instance so that multiple calls can be chained. |
