public bool Contains(Account acc, out LinkAccountType type) { type = LinkAccountType.Unlinked; bool contained = mLinkedAccounts.ContainsKey(acc.AccountID); if (contained) { type = mLinkedAccounts[acc.AccountID]; } return(contained); }
public Account GetAccount(LinkAccountType type) { return(RepositoryMgr.AccountMgr.GetLinkedAccount(type.ToString())); }