Last active
August 21, 2017 12:26
-
-
Save insightcoder/7f665c6f8fe1cb156d48750100227032 to your computer and use it in GitHub Desktop.
IC314.01
https://www.insightcoder.com/314/how-angular2-corrected-my-understanding-of-dependency-injection/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Foo : IFoo | |
{ | |
private IBar _bar; | |
public Foo() | |
{ | |
_bar = new Bar(); | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment