Uh oh!
There was an error while loading. Please reload this page.
Add missing API documentation for Microsoft.Extensions.FileProvider - #125445
Conversation
Co-authored-by: svick <287848+svick@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
svick
commented
Mar 11, 2026
cc: @carlossanlop, in case you're still interested |
There was a problem hiding this comment.
Pull request overview
This PR updates XML documentation across the Microsoft.Extensions.FileProviders.* implementations to use more consistent constructor phrasing and clearer parameter descriptions, and adds explicit parameterless constructors where documentation is now provided.
Changes:
- Standardize constructor XML docs to “Initializes a new instance of the … class …”.
- Clarify several parameter descriptions (e.g.,
filters,disposing, and callback/state parameters). - Add explicit parameterless constructors (with docs) for
NullFileProviderandNotFoundDirectoryContents.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingWildCardChangeToken.cs | Constructor XML doc phrasing standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs | Constructor XML doc standardized; callback/state param docs updated. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFilesWatcher.cs | Constructor/parameter XML docs clarified and standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFileProvider.cs | Constructor/parameter XML docs clarified and standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFileInfo.cs | Constructor XML doc phrasing standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalDirectoryInfo.cs | Constructor XML doc phrasing standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Physical/src/Internal/PhysicalDirectoryContents.cs | Constructor/parameter XML docs clarified and standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Composite/src/CompositeDirectoryContents.cs | Constructor XML doc grammar adjusted and standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/NullFileProvider.cs | Adds explicit parameterless constructor with XML docs. |
| src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/NotFoundFileInfo.cs | Constructor XML doc phrasing standardized. |
| src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/NotFoundDirectoryContents.cs | Adds explicit parameterless constructor with XML docs. |
Uh oh!
There was an error while loading. Please reload this page.
…geCallback Co-authored-by: svick <287848+svick@users.noreply.github.com>
Co-authored-by: svick <287848+svick@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
svick
commented
Mar 17, 2026
/ba-g This is effectively a docs-only change, the failures shouldn't be related. |
ActiveChangeCallbacksproperty summary (incorrectly said "always false")Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.