Use the required keyword instead of String.Empty in options class #34588
Labels
aspnet-core/svc
fundamentals/subsvc
Source - Docs.ms
Docs Customer feedback via GitHub Issue
⌚ Not Triaged
Description
In the PositionOptions class, maybe we want to use the required keyword because it's the more modern syntax.
Example:
If you agree, we should also change the other instances of String.Empty.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/configuration/options.md
Document ID
dc7e3449-650b-d117-5eac-69e5ccb250cb
Article author
@tdykstra
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: