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

Allow registering a provider in DI #2980

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

jdom
Copy link
Member

@jdom jdom commented Apr 27, 2017

If the user registered a concrete provider in the service collection for DI, then it will use the registration resolve it. Otherwise it falls back to activating a new instance as it was before (still using the container to fulfill dependencies).

If the user registered a concrete provider in the service collection for DI, then it will use the registration resolve it. Otherwise it falls back to activating a new instance as it was before (still using the container to fulfill dependencies).
@ReubenBond ReubenBond merged commit e651275 into dotnet:master Apr 27, 2017
@jdom jdom deleted the enable-preregistered-provider branch April 27, 2017 22:01
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants