WithFilter(Func<ISuppressibleDiagnostic, bool>)
Returns a new instance of the current suppression with a filter that will be applied to the diagnostics.
Declaration
public ISuppression WithFilter(Func<ISuppressibleDiagnostic, bool> filter)Parameters
| Type | Name | Description |
|---|---|---|
| Func<ISuppressibleDiagnostic, bool> | filter |
Returns
| Type | Description |
|---|---|
| ISuppression |