Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor IApiVersionDescriptionProviderFactory Registration #1077

Merged
merged 5 commits into from
Mar 26, 2024

Conversation

commonsensesoftware
Copy link
Collaborator

Refactor IApiVersionDescriptionProviderFactory Registration

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

Refactors the setup for IApiVersionDescriptionProviderFactory.

  • Enable IApiVersionDescriptionProviderFactory to be single replacement for IApiVersionDescriptionProvider in DI
  • IApiVersionDescriptionProvider can still be individually replaced in DI
  • Simplify default implementation of IApiVersionDescriptionProviderFactory
  • Add IApiVersionDescriptionProviderFactory.Create() extension method
  • Use static lambdas in DI where possible

@commonsensesoftware commonsensesoftware force-pushed the dev/css/refactor-ver-prov-factory branch from 7efff8f to 8557935 Compare March 26, 2024 16:45
@commonsensesoftware commonsensesoftware merged commit 4c6091f into main Mar 26, 2024
6 checks passed
@commonsensesoftware commonsensesoftware deleted the dev/css/refactor-ver-prov-factory branch March 26, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant