DotCoverCoverageSettingsExtensions.

WithExcludeAttribute<T>(T, string) Method

Summary

Adds a fully qualified attribute name to exclude from analysis.

Syntax

public static T WithExcludeAttribute<T>(this T settings, string attributeName) 
    where T : DotCoverCoverageSettings

Type Parameters

Name Description
T The settings type, derived from DotCoverCoverageSettings.

Parameters

Name Type Description
settings T The settings.
attributeName string The fully qualified attribute name. Wildcards (*) are allowed.

Return Value

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