private void AddFinancialInformationIfChange(FinalcialInformationType type, Dictionary <FinalcialInformationType, decimal> valuesToUpdate, string newValueStr)
 {
     if (decimal.TryParse(newValueStr, out decimal newValue))
     {
         if (newValue != CurrentTransportForm.FinalcialInformation[type])
         {
             valuesToUpdate[type] = newValue;
         }
     }
 }
Esempio n. 2
0
 public void AddFinalcialInformation(FinalcialInformationType type, decimal value)
 {
     FinalcialInformation[type] = value;
 }
Esempio n. 3
0
 public decimal this[FinalcialInformationType type]
 {
     get => _financialInformation[type];