Created
October 8, 2017 19:35
-
-
Save tarikguney/5e4ef09a32627853de7ebe109335db58 to your computer and use it in GitHub Desktop.
Aggregation with inheritance
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 Account{ | |
private ILogin _loginInfo; | |
private IProfile _profileInfo; | |
public Account(IProfile profileInfo, ILogin loginInfo){ | |
_loginInfo = loginInfo; | |
_profileInfo = profileInfo; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment