Example #1
0
        /**
         * Add an account.
         *
         * @param account The account to add.
         */
        public void AddAccount(OnlineAccount account)
        {
            if (this._accounts == null)
            {
                this._accounts = new List <OnlineAccount>();
            }

            this._accounts.Add(account);
        }
Example #2
0
        /**
         * Add an account.
         *
         * @param account The account to add.
         */
        public void AddAccount(OnlineAccount account)
        {
            if (this._accounts == null)
            {
                this._accounts = new List<OnlineAccount>();
            }

            this._accounts.Add(account);
        }
Example #3
0
 /**
  * Build up this agent with an online account.
  * @param account The account.
  * @return this.
  */
 public Agent SetAccount(OnlineAccount account)
 {
     AddAccount(account);
     return this;
 }
Example #4
0
 /**
  * Build up this agent with an online account.
  * @param account The account.
  * @return this.
  */
 public Agent SetAccount(OnlineAccount account)
 {
     AddAccount(account);
     return(this);
 }