///////////////////////////////////////////////////////////////////////////// public void AddTransaction(Transaction transaction) { if (transaction == null || m_Transactions.Contains(transaction)) return; m_Transactions.Add(transaction); }
///////////////////////////////////////////////////////////////////////////// public TransactionOccurs(JulianDay lStartDate, JulianDay lEndDate, Transaction transaction) : this(lStartDate, lEndDate, new Transaction[] { transaction }) { }
///////////////////////////////////////////////////////////////////////////// public TransactionOccurs(JulianDay lStartDate, JulianDay lEndDate, Transaction[] transactions) : this(lStartDate, lEndDate, new List<Transaction>(transactions)) { }