/** * 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); }
/** * 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); }
/** * Build up this agent with an online account. * @param account The account. * @return this. */ public Agent SetAccount(OnlineAccount account) { AddAccount(account); return this; }
/** * Build up this agent with an online account. * @param account The account. * @return this. */ public Agent SetAccount(OnlineAccount account) { AddAccount(account); return(this); }