Exemple #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);
        }
Exemple #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);
        }
Exemple #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;
 }
Exemple #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);
 }