Skip to content

Instantly share code, notes, and snippets.

@tarikguney
Created October 8, 2017 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarikguney/5e4ef09a32627853de7ebe109335db58 to your computer and use it in GitHub Desktop.
Save tarikguney/5e4ef09a32627853de7ebe109335db58 to your computer and use it in GitHub Desktop.
Aggregation with inheritance
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