DotCoverSettingsExtensions.

WithConfigFile<T>(T, FilePath) Method

Summary

Adds the scope.

Syntax

public static T WithConfigFile<T>(this T settings, FilePath configFile) where T : DotCoverSettings

Type Parameters

Name Description
T The settings type, derived from DotCoverSettings.

Parameters

Name Type Description
settings T The settings.
configFile FilePath The DotCover configuration file.

Return Value

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