Пример #1
0
        /**
         * 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);
        }
Пример #2
0
 /**
  * Build up this agent with an address.
  * @param address The address.
  * @return this.
  */
 public Agent SetAddress(Address address)
 {
     AddAddress(address);
     return this;
 }