public override bool HasBeenApplied(IPortfolioTransactionList transactions)
 {
     if (ResultingStocks.Any())
     {
         return(transactions.ForHolding(ResultingStocks.First().Stock, ImplementationDate).OfType <OpeningBalance>().Any());
     }
     else
     {
         return(transactions.ForHolding(Stock.Id, ImplementationDate).OfType <Disposal>().Any());
     }
 }
예제 #2
0
 public override bool HasBeenApplied(IPortfolioTransactionList transactions)
 {
     return(transactions.ForHolding(Stock.Id, Date).OfType <UnitCountAdjustment>().Any());
 }
 public override bool HasBeenApplied(IPortfolioTransactionList transactions)
 {
     return(transactions.ForHolding(Stock.Id, PaymentDate).OfType <ReturnOfCapital>().Any());
 }