DotCoverCoverageSettingsExtensions.

WithExcludeProcess<T>(T, string) Method

Summary

Adds a process name to ignore during analysis.

Syntax

public static T WithExcludeProcess<T>(this T settings, string processName) 
    where T : DotCoverCoverageSettings

Type Parameters

Name Description
T The settings type, derived from DotCoverCoverageSettings.

Parameters

Name Type Description
settings T The settings.
processName string The process name to ignore. Wildcards (*) are allowed.

Return Value

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