Last active
September 28, 2018 01:27
-
-
Save bayological/4dd59ab97757cd687fdea1bd66ea4eb4 to your computer and use it in GitHub Desktop.
Application class with animal types
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 Application : IApplication | |
{ | |
private readonly ICat _cat; | |
private readonly ICow _cow; | |
private readonly IMouse _mouse; | |
public Application(ICat cat, ICow cow, IMouse mouse) | |
{ | |
_cat = cat; | |
_mouse = mouse; | |
_cow = cow; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment