/** * Add an address. * * @param address The address to add. */ public void AddAddress(Address address) { if (this._addresses == null) { this._addresses = new List<Address>(); } this._addresses.Add(address); }
/** * Build up this agent with an address. * @param address The address. * @return this. */ public Agent SetAddress(Address address) { AddAddress(address); return this; }