Created
August 25, 2017 20:17
-
-
Save AnthonyDGreen/5644da366f0c573a21574371697ad9c1 to your computer and use it in GitHub Desktop.
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
Sub Main() | |
Dim injector As New Mother | |
Dim serviceObject = injector.GetDrinkService() | |
Dim clientObject As New Child(serviceObject) | |
clientObject.Drink() | |
Console.ReadLine() | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment