Exemplo n.º 1
0
Arquivo: Client.cs Projeto: 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);
        }
Exemplo n.º 2
0
Arquivo: Client.cs Projeto: 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);
        }