Skip to content

Instantly share code, notes, and snippets.

@bayological
Last active September 28, 2018 01:27
Show Gist options
  • Save bayological/4dd59ab97757cd687fdea1bd66ea4eb4 to your computer and use it in GitHub Desktop.
Save bayological/4dd59ab97757cd687fdea1bd66ea4eb4 to your computer and use it in GitHub Desktop.
Application class with animal types
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