public PortfolioDevelopmentCash(PortfolioDevelopment parent, ValuationCashTypes valuationCashType, string cashTypeDescription, Money amount)
 {
     this.parent = parent;
     this.valuationCashType = valuationCashType;
     this.cashTypeDescription = cashTypeDescription;
     this.amount = amount;
 }
Beispiel #2
0
 private string getCashTypeDescription(IList<ValuationCashType> valuationCashTypes, ValuationCashTypes key)
 {
     string description = "Unknown";
     foreach (ValuationCashType cashType in valuationCashTypes)
     {
         if (cashType.Key.Equals(key))
             description = cashType.Description;
     }
     return description;
 }
 public ValuationCashMutationKey(IAccountTypeInternal account, IInstrument instrument, ValuationCashTypes valuationCashType)
 {
     this.Account = account;
     this.Instrument = instrument;
     this.ValuationCashType = valuationCashType;
 }
 internal LastValuationCashMutationHolder(IAccountTypeCustomer account, ITradeableInstrument instrument, ValuationCashTypes valuationCashType, IValuationCashMutation lastCashMutation)
 {
     this.CashMutKey = new ValuationCashMutationKey(account, instrument, valuationCashType);
     this.LastCashMutation = lastCashMutation;
 }