예제 #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);
        }