Пример #1
0
		/////////////////////////////////////////////////////////////////////////////
		public void AddTransaction(Transaction transaction)
		{
			if (transaction == null || m_Transactions.Contains(transaction))
				return;

			m_Transactions.Add(transaction);
		}
Пример #2
0
		/////////////////////////////////////////////////////////////////////////////
		public TransactionOccurs(JulianDay lStartDate, JulianDay lEndDate, Transaction transaction)
			: this(lStartDate, lEndDate, new Transaction[] { transaction })
		{
		}
Пример #3
0
		/////////////////////////////////////////////////////////////////////////////
		public TransactionOccurs(JulianDay lStartDate, JulianDay lEndDate, Transaction[] transactions)
			: this(lStartDate, lEndDate, new List<Transaction>(transactions))
		{
		}