public MailboxBase(MailAccountBase account, MailAddressBase address, List<MailAddressBase> aliases) { if (account == null) throw new ArgumentException("Invalid account", "account"); if (address == null) throw new ArgumentException("Invalid address", "address"); if (aliases == null) throw new ArgumentException("Invalid aliases", "aliases"); Account = account; Address = address; Aliases = aliases; }
public MailboxBase(MailAccountBase account, MailAddressBase address, List <MailAddressBase> aliases) { if (account == null) { throw new ArgumentException("Invalid account", "account"); } if (address == null) { throw new ArgumentException("Invalid address", "address"); } if (aliases == null) { throw new ArgumentException("Invalid aliases", "aliases"); } Account = account; Address = address; Aliases = aliases; }