DotCoverCoverageSettingsExtensions.

WithScope<T>(T, string) Method

Summary

Adds the scope.

Syntax

public static T WithScope<T>(this T settings, string scope) where T : DotCoverCoverageSettings

Type Parameters

Name Description
T The settings type, derived from DotCoverCoverageSettings.

Parameters

Name Type Description
settings T The settings.
scope string The scope.

Return Value

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