Skip to content

Options pattern class naming convention #34384

@backlash1897

Description

@backlash1897

Description

Hello documentation team,

Is it best practice to name the class with the "Options" suffix?

e.g. PositionOptions, NameTitleOptions

In another example in the article the "Settings" suffix is used:

TopItemSettings

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-9.0&preserve-view=true

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

Related Issues


Associated WorkItem - 356542

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions