public void addEvent(Account target, double value, DateTime date) { this.addEvent(new TransferEvent(target, value, date)); }
public TransferEvent(Account target, double value, DateTime date) : base(date) { this.target = target; this.value = value; }
private void addAccount(Account account) { if (this.actAccount < AccountTrunk.MAX_ACCOUNT) { this.accounts[this.actAccount++] = account; } }