dotnet / dotnet/dotnet-api-docs
Missing named option instance
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Typo
### Description
What is the expected behavior if for retrieving named options if no options with the provided name has been registered.
I could either be the the default options instance or an exception.
This should be documented within the remarks section of the docs
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ioptionssnapshot-1.get?view=net-10.0-pp&source=docs
### Content source URL
https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml
### Document Version Independent Id
b0cbad50-0306-4f87-4b4f-f2905f02e834
### Platform Id
556d0fe2-d7cf-ed6d-19d4-1e3c88b01ff5
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.