dotnet / dotnet/dotnet-api-docs

Public API document doesn't reflect the actual type of parameter

Open
#8,219 5 comments 0 reactions 0 assignees View on GitHub
area-Extensions-Logging documentation Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

This bunch of [public APIs](https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Logging/src/FilterLoggingBuilderExtensions.cs#L118-L189 ) first parameter is `LoggerFilterOptions` instead of the `ILoggingBuilder` . And the return type is `LoggerFilterOptions` instead of `ILoggingBuilder` as well.

Suggestion
```diff
- /// The to add the filter to.
+ /// The to add the filter to.

- /// The so that additional calls can be chained.
+ /// The so that additional calls can be chained.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.