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

Make use of Dependency Injection #80

Open
colgreen opened this issue Dec 10, 2023 · 0 comments
Open

Make use of Dependency Injection #80

colgreen opened this issue Dec 10, 2023 · 0 comments

Comments

@colgreen
Copy link
Owner

There's an opportunity here to use the Microsoft Dependency Injection (DI) subsystem to resolve the various service/strategy implementations that make up a complete sharpneat runtime, which would make overriding one or more of those services much easier.

Typically an extension method (or methods) are provided that register the default implementation using TryAdd(), such that if a custom implementation has already been registered then that is used instead of the default impl.

@colgreen colgreen changed the title Make us of Dependency Injection Make use of Dependency Injection Dec 10, 2023
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

No branches or pull requests

1 participant