Exemple #1
0
        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);
        }
Exemple #2
0
 public Account GetAccount(LinkAccountType type)
 {
     return(RepositoryMgr.AccountMgr.GetLinkedAccount(type.ToString()));
 }