dotnet / dotnet/dotnet-api-docs

Missing named option instance

Open
#12,672 2 comments 0 reactions 0 assignees View on GitHub
area-Extensions-Options untriaged
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

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.