dotnet / dotnet/dotnet-api-docs

IHostApplicationLifetime documentation on released artifacts does not match source

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

Description

Perhaps I'm am missing something obvious here, but I noticed, that the doc-comment on `IHostApplicationLifetime.ApplicationStopping` in the current artifacts does not match the one that is present in the source code.

With current artifacts I am referring to https://www.nuget.org/packages/Microsoft.Extensions.Hosting.Abstractions/5.0.0
and also https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.ihostapplicationlifetime?view=dotnet-plat-ext-5.0.

I am comparing this to the source at https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Hosting.Abstractions/src/IHostApplicationLifetime.cs. Which has not changed (in a relevant manner) since Feb 13, 2020. Those changes were triggered by https://github.com/dotnet/extensions/issues/2962 and merged in https://github.com/dotnet/extensions/pull/2963. All well before version 5.0 was released.

As far as I can tell the issue is still present in https://www.nuget.org/packages/Microsoft.Extensions.Hosting.Abstractions/6.0.0-preview.1.21102.12.

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.