示例#1
0
文件: Client.cs 项目: GoAll5/OOP
        public override Client GivePassportId(uint passportId)
        {
            VerifiedClient client = new VerifiedClient(Name, passportId);

            if (Accounts != null)
            {
                foreach (Account account in Accounts)
                {
                    account.Verified = true;
                    client.AddAccount(account);
                }
            }
            return(client);
        }
示例#2
0
文件: Client.cs 项目: GoAll5/OOP
        public override Client GiveAddress(string address)
        {
            VerifiedClient client = new VerifiedClient(Name, address);

            client.Address = address;
            if (Accounts != null)
            {
                foreach (Account account in Accounts)
                {
                    account.Verified = true;
                    client.AddAccount(account);
                }
            }
            return(client);
        }