-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templates
Description
I noticed that there are several DiagnosticDescriptor.cs files across the solution, and I believe there are a couple improvements we can make.
For example, we have many repeated strings across descriptors, so we could introduce constants to maintain consistency.
Additionally, where we're using LocalizableResourceString, we could create a helper method to make the code more concise.
I also considered creating a complete helper method to generate the descriptors, but I believe the current structure is more readable and easier to understand.
Metadata
Metadata
Assignees
Labels
area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templates